[Tutor] Question

2012-10-27 Thread Amin Memar
Hi there!
How can I use wxpython on python 3.3.0?
thanks

 
Best Regards.
Amin___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Question

2012-10-27 Thread Alan Gauld

On 27/10/12 20:50, Amin Memar wrote:

Hi there!
How can I use wxpython on python 3.3.0?


You can't its not supported yet.
So you will need to either port the code yourself or use Python 2.7.

This is not uncommon with third party modules a lot of them are still on 
v2. It is a lot of work to convert a large code base from Python 2 to 3 
and then test it thoroughly and the people doing the work are nearly all 
volunteers.


So either find another GUI framework (like Tkinter) ) that works with 
Python 3 or downshift to v2.7.


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Help with class example

2012-10-27 Thread bob gailer

On 10/27/2012 4:51 PM, Frank Pontius wrote:

But, this is an if.
When replying please put your response after the text it applies to, and 
delete all irrelevant text. In other words avoid "top-posting".


Sorry I really messed up my reply!

The offending line is:

coin = random.randragge(0,2):
get rid of the colon. That is used only at the start a compound 
statement e;g; if, else, for, while, def class, ...


--
Bob Gailer
919-636-4239
Chapel Hill NC

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor