e the GUI for you. You'll have a much stronger
understanding of how things work and fit together if you know how to
code it all.
--
Stand Fast,
tjg. [Timothy Grant]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
'head'?
> if choice == 1 :
> head = head + 1
> # If not 'head' then it must be tail
> else :
> tail = tail + 1
> print "head = ",head
> print "tail = ",tail
>
>
> ___
> Tutor maillist - Tutor@python.org
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\MyCo
npath = C:\\Python25\\MyCode
> what am I doing wrong,
> Thank u for your help,
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
You need to give the full path to your test.p
de: MyMainFrame.
>> m = MySecondFrame(self)
>> m.Show()
>> m.text_ctrl_2.SetValue("This text was generated from the
>> 'MainFrame' window")
>>
>> Also, method and functio
>>>> gauss(x) - Returns the value of the Gaussian
>>>> function
>>>>
>>>> line(n) - Prints a line of n asterisks followed
>>>> by a newline character.
>>>>
>>>> You will need to choose a scale for your plot;
>
tamp the file with the date 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
tter
>> >> up your development directories, depending on the implementation, etc.
>> >>
>> >> Here's a thread from 1999 on the Python mailing list that discusses the
>> >> issue:
>> >> http://mail.python.org/pipermail/python-list/1999-June/004450.html
>> >>
>> >> There's another script towards the end that might even do what you
>> >> want,
>> >> but
>> >> you might want to read what they have to say first :)
>> >>
>> >> Cheers
>> >> ___
>> >> Tutor maillist - Tutor@python.org
>> >> http://mail.python.org/mailman/listinfo/tutor
If it's no big deal to parse the braces, I would encourage you to
write your own python preprocessor to handle that for you.
--
Stand Fast,
tjg. [Timothy Grant]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
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.
--
Sta
ing with file
> associations
> if there is a better way to do this, i am open to suggestion
>
> vista & py2.5
> ___
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/
ell there's one glaring problem, but I'll put that down to a
re-keying error. there are no quote marks around your pattern string.
However, the likely problem is that you are using re.match() instead
of re.search().
Your re will ONLY match if the only thing on the line matches your
()" and "bar()" directly, but it also means that if you have coded
a "foo()" and a "bar()" you will not have access to the functions in
the module you just imported.
--
Stand Fast,
tjg. [Timothy Grant]
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ting; on two delimiters'
>>> re.split(r'[,;]', string)
['this is', ' a test of splitting', ' on two delimiters']
>>> re.split(r'[, ]', string)
['this', 'is', '', 'a', 'test',
rmat_indicator = raw_input("Enter a format indicator: ")
>date_obj.display(format_indicator.upper())
>
> I am having trouble dealing with the case where the user actually types in a
> month's name instead of the number:
> [EMAIL PROTECTED] ./chap13 18
14 matches
Mail list logo