[Tutor] How can I overwrite the previous version on linux ?

2012-12-18 Thread Dae James
My linux distribution is CentOs 6.3. And python attached to the OS is 2.6. How can I overwrite the previous version with python 2.7 ? Or how can I uninstall the previous version? Dae James___ Tutor maillist - Tutor@python.org To unsubscribe or cha

[Tutor] Why VPython can't be searched out in PyPI?

2012-10-17 Thread Dae James
I found that VPython is not in PyPI(python packet index from www.python.org). Why ? Dae James___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] Question about language code

2012-10-11 Thread Dae James
Here is a example in "Python v2.7.2 document": >>> import locale >>> loc = locale.getlocale() # get current locale # use German locale; name might vary with platform >>> locale.setlocale(locale.LC_ALL, 'de_DE') However, the result of executing on my computer is: >>> locale.setlocale(locale.LC_ALL

[Tutor] How can I convert a variable name to a string?

2012-09-21 Thread Dae James
How can I convert a variable name to a string ? For example: testVariable = 1000; How can I get the string "testVariable" ? Thank you~ Dae James___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.