Created
March 11, 2013 22:55
-
-
Save raziyeaydin/5138686 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#-*- coding:utf8 -*- | |
class Oyun: | |
def __init__(self): | |
enerji=50 | |
para=100 | |
fabrika=4 | |
isci=10 | |
print"enerji:",enerji | |
print"para:",para | |
print"fabrika:",fabrika | |
print"isci:",isci | |
macera=Oyun() | |
from Tkinter import * | |
class Arayuz: | |
def __init__(self): | |
pencere=Tk() | |
dugme=Button(text="tamam") | |
dugme2=Button(text="hayır") | |
dugme.pack() | |
dugme2.pack() | |
uygulama=Arayuz() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment