Re: [Tutor] A tutorial for Python and QT4

2008-11-12 Thread Timothy Grant
how to code it all. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] (no subject)

2008-10-01 Thread Timothy Grant
/tutor Please let us know if Pierre gets an an A on that assignment or not Kayla. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] python: can't open file 'test.py' : [Errno 2] No such file or directory

2008-09-30 Thread Timothy Grant
, ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor You need to give the full path to your test.py file. PYTHONPATH sets the python library search path. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor

Re: [Tutor] python: can't open file 'test.py' : [Errno 2] No such file or directory

2008-09-30 Thread Timothy Grant
On Tue, Sep 30, 2008 at 9:01 PM, Pierre Dagenais [EMAIL PROTECTED] wrote: Timothy Grant wrote: On Tue, Sep 30, 2008 at 12:58 PM, Pierre Dagenais [EMAIL PROTECTED] wrote: The file test.py is in I:\Python25\MyCode, if I enter: C:\Python25\MyCode\python25 test.py at the DOS prompt

Re: [Tutor] Is this a Class problem?

2008-08-29 Thread Timothy Grant
the wx.lib.pubsub module. It will allow you to publish data in one object and subscribe to it in another. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] how to read Messages sorted by thread in thunderbird

2008-08-19 Thread Timothy Grant
to the digest, you likely have to read the messages in the order the digest provides them. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Timestamp

2008-08-18 Thread Timothy Grant
it was created when you download the file. Why do you not want to use any python libraries or modules? -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread Timothy Grant
preprocessor to handle that for you. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] How to reference a wx.grid.Grid outside the methodinwhich it was created?

2008-08-12 Thread Timothy Grant
On Mon, Aug 11, 2008 at 10:40 PM, Lauren Snyder [EMAIL PROTECTED] wrote: Will do! Thanks again, Lauren :-) Let me just add a plug for the wx-python mailing list. it's a good place to learn if you're using wxpython. -- Stand Fast, tjg. [Timothy Grant

Re: [Tutor] running python script

2008-08-10 Thread Timothy Grant
___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor Have you tried using pythonw instead of python? -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org

Re: [Tutor] IP address parse

2008-08-09 Thread Timothy Grant
re.match() instead of re.search(). Your re will ONLY match if the only thing on the line matches your pattern. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Confused about import Numeric vs import numpy for Arrays

2008-08-08 Thread Timothy Grant
. -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] date formatter

2008-08-07 Thread Timothy Grant
() . except AttributeError: process this as a string instead of a number -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Split string on 2 delimiters ?

2008-08-07 Thread Timothy Grant
) ['this is', ' a test of splitting', ' on two delimiters'] re.split(r'[, ]', string) ['this', 'is', '', 'a', 'test', 'of', 'splitting;', 'on', 'two', 'delimiters'] -- Stand Fast, tjg. [Timothy Grant] ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman