On Sun, Nov 29, 2009 at 18:12, limodou <[email protected]> wrote: > On Mon, Nov 30, 2009 at 9:47 AM, Richard D. Moores <[email protected]> wrote: >> So 2 questions. Can Ulipad handle Python 3? Win 7? >> >> Thanks, >> >> Dick Moores >> > > For python 3, you can run python file in ulipad, just set python 3 > interpreter,
Do you mean this? <http://www.rcblue.com/Misc/UlipadPrefs.png> . I tried to run a script in Ulipad (using F5) that employs features new to Python, in 3.1. x = 343456346 print(round(x,-4)) (This gets me 343460000.0 . Should get an integer, 343460000) print(format(1234567, ',d')) (This gets me NameError: name 'format' is not defined . Should get 1,234,567 from collections import Counter print(Counter(['red', 'blue', 'red', 'green', 'blue', 'blue'])) This gets me ImportError: cannot import name Counter . Should get Counter({'blue': 3, 'red': 2, 'green': 1}) And so on. How do I run a Python 3.1 file in Ulipad? > but you can't run ulipad in python 3 directly. Because > many packages have not ported to python 3, especially wxpython. > > For win 7, I think ulipad can run on it. Good. Dick Moores
