Re: my first software

2006-10-27 Thread Steve Holden
Bjoern Schliessmann wrote: > Fredrik Lundh wrote: > > >>cygwin? > > > I thought so too, but cygwin would use #!/cygdrive/c/..., IIRC. > Cygwin is actually pretty liberal about paths, and will often take a Winwos-style path (unlike the snotty cmd.exe program that insists on treating forard sl

Re: my first software

2006-10-27 Thread Bjoern Schliessmann
Fredrik Lundh wrote: > cygwin? I thought so too, but cygwin would use #!/cygdrive/c/..., IIRC. > exemaker? some kind of web server? Okay, didn't know that :) Regards, Björn -- BOFH excuse #22: monitor resolution too high -- http://mail.python.org/mailman/listinfo/python-list

Re: my first software

2006-10-26 Thread Leo Kislov
[EMAIL PROTECTED] wrote: > I am a beginner of programming and started to learn Python a week ago. > last 3 days, i write this little tool for Renju.if you have any advice > on my code,please tell me > s = '' > > for i in range (0,len(done) - 1): > s = s +str(done[i][0]) + str(done

Re: my first software

2006-10-26 Thread Gabriel Genellina
At Thursday 26/10/2006 09:39, [EMAIL PROTECTED] wrote: def openfile(): global mark global step global done global interator global mainname global beensaved Too many globals for my taste... -- Gabriel Genellina Softlab SRL __

Re: my first software

2006-10-26 Thread John Salerno
Chelonian wrote: > [EMAIL PROTECTED] wrote: >> I am a beginner of programming and started to learn Python a week ago. >> last 3 days, i write this little tool for Renju... > > Tell you what, I will trade you my fluent English for your ability to > write that in 3 days as a beginning programmer who

Re: my first software

2006-10-26 Thread Chelonian
[EMAIL PROTECTED] wrote: > I am a beginner of programming and started to learn Python a week ago. > last 3 days, i write this little tool for Renju... Tell you what, I will trade you my fluent English for your ability to write that in 3 days as a beginning programmer who started learning Python a

Re: my first software

2006-10-26 Thread Fredrik Lundh
Bjoern Schliessmann wrote: >> #!C:\\Python25 > > Just from curiosity: Since when does the hash bang work in Windows? cygwin? exemaker? some kind of web server? -- http://mail.python.org/mailman/listinfo/python-list

Re: my first software

2006-10-26 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > #!C:\\Python25 Just from curiosity: Since when does the hash bang work in Windows? Regards, Björn -- BOFH excuse #417: Computer room being moved. Our systems are down for the weekend. -- http://mail.python.org/mailman/listinfo/python-list

my first software

2006-10-26 Thread [EMAIL PROTECTED]
I am a beginner of programming and started to learn Python a week ago. last 3 days, i write this little tool for Renju.if you have any advice on my code,please tell me ps:sorry for my poor english bow. #!C:\\Python25 # -*- coding: GBK -*- from Tkinter import * import os import tkFileDialog import