[Tutor] Batch file copy script

2007-08-05 Thread Majid
Hi all, I am new to Python and this mailing list. I wondered if someone would be kind enough to give me a basic python skeleton to achieve the following. Many thanks in advance Majid - Here are the assumptions: 1. we have a list.txt file with entries like

Re: [Tutor] more encoding confusion

2007-08-05 Thread Jon Crump
On Sun, 5 Aug 2007, Kent Johnson wrote: Hmm...actually, isupper() works fine on unicode strings: In [18]: s='H\303\211RON'.decode('utf-8') In [21]: print 'H\303\211RON' HÉRON In [22]: s.isupper() Out[22]: True :-) I modified uppers to include only the latin characters, and added the apostroph

Re: [Tutor] Newbie College Student

2007-08-05 Thread Alan Gauld
"TheSarge" <[EMAIL PROTECTED]> wrote > information (name and email). I think I am lost on whether or not my > actual > py script needs to link to a cgi script or if I can do it all in a > py Your python script is a CGI script and it needs to run under a web server. There is a simple CGI serve

Re: [Tutor] Newbie College Student

2007-08-05 Thread Bob Gailer
TheSarge wrote: > Hi All, > > Been tasked with an assignment that is kicking my butt. We have been asked > to write a py utilizing cgi to ask for simplistic web form guestbook > information (name and email). I think I am lost on whether or not my actual > py script needs to link to a cgi script or

Re: [Tutor] more encoding confusion

2007-08-05 Thread Kent Johnson
Jon Crump wrote: > > Kent, Many thanks again, and thanks too to Paul at > http://tinyurl.com/yrl8cy. > > That's very effective, thanks very much for the detailed explanation; > however, I'm a little surprised that it's necessary. I would have > thought that there would be some standard module

Re: [Tutor] more encoding confusion

2007-08-05 Thread Jon Crump
Kent, Many thanks again, and thanks too to Paul at http://tinyurl.com/yrl8cy. That's very effective, thanks very much for the detailed explanation; however, I'm a little surprised that it's necessary. I would have thought that there would be some standard module that included a unicode equivalent

[Tutor] Newbie College Student

2007-08-05 Thread TheSarge
Hi All, Been tasked with an assignment that is kicking my butt. We have been asked to write a py utilizing cgi to ask for simplistic web form guestbook information (name and email). I think I am lost on whether or not my actual py script needs to link to a cgi script or if I can do it all in a py

[Tutor] Python Challenge

2007-08-05 Thread bhaaluu
Greetings: Here's a fun site, though probably geared more for intermediate Python programmers, than for beginners: http://www.pythonchallenge.com/ It's 33 levels of riddles that can be solved with Python in some way or another. =) So you have the site up in your browser, and your Python interpre

Re: [Tutor] Python Editors .. which do you reccomend for a amateur?

2007-08-05 Thread Alan Gauld
"Alan Gauld" <[EMAIL PROTECTED]> wrote > > %PYTHON%\lib\site-packages\wx-2.6-msw-unicode\wx\py > > Just drag a shortcut to the file into the menu or onto the desktop. I forgot to mention that it helps to change the file extension to .pyw to avoid the console window popping up. Alan G _