explain references, function calls,
exceptions etc.
For more info and downloads see http://thonny.cs.ut.ee/ [1]
best regards,
Aivar Annamaa
University of Tartu
Institute of Computer Science
http://thonny.cs.ut.ee";>Thonny 2.0 - Python IDE for
beginners
Thanks for all the comments!
It seems that the best way is still just to teach students self discipline.
And hope that they (for now) believe some things (eg. dangers of global
variables) without seeing.
Aivar
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I'm looking for a trick or hidden feature to make Python 3 automatically
call a "main" function but without programmers writing `if __name__ ==
"__main__": ...`
I found rejected PEP 299, but i thought that maybe there's something new
already.
Here's why I want such a thing:
I'm teaching intr
As was recently pointed out in a nearly identical thread, the -3
switch only points out problems that the 2to3 converter tool can't
automatically fix. Changing print to print() on the other hand is
easily fixed by 2to3.
Cheers,
Chris
I see.
So i gotta keep my own discipline with print() then :
Hi
I'm getting started with Python and in order to get good habits for
Python 3, i'd like to run my Python 2.6.1 with Python 3 warning mode.
When i run
python -3
and execute statement
>>> print 4
then i expect to see a warning because i've understood that this
statement is not valid in Pyth