Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
from jnius import autoclass
Stack = autoclass('java.util.Stack')
stack = Stack()
stack.push('hello')
stack.push('world')
print stack.pop() # --> 'world'
print stack.pop() # --> 'hello'
File "C:\Users\Yurt Bilgisayar\Desktop\deneme.py", line 8
print stack.pop() # --> 'world'
^
teşekkür ederim ancak böyel hata alıyorum
Kod:File "C:\Users\Yurt Bilgisayar\Desktop\deneme.py", line 8 print stack.pop() # --> 'world' ^
1 import curses
2
3
4 def pbar(screen):
5 y,x = screen.getmaxyx()
6 screen.addstr(y - 1, 1 ,"Bir yeni bildiriminiz var!")
7 screen.re-fresh() # - olmayacak
8 screen.getch()
9
10 curses.wrapper(pbar)
~
Bildirim paneli deyince aklima ilk gelen curses. Soyle bi seyler yapabilirsin belki:
Kod:1 import curses 2 3 4 def pbar(screen): 5 y,x = screen.getmaxyx() 6 screen.addstr(y - 1, 1 ,"Bir yeni bildiriminiz var!") 7 screen.re-fresh() # - olmayacak 8 screen.getch() 9 10 curses.wrapper(pbar) ~
Ama curses'i bilmen gerekiyor bi arastir derim.Yazbel belgelerde turkce olarak anlatiliyor.
teşekkür ederim ancak modülü inririrken hata veriyor manuel olarakmı kurmam lazım
Windows kullaniyorsan malesef desteklenmiyor :/
Güncel sorununuz için buraya bakabilirsiniz.