[Tutor] Project tree

2014-11-10 Thread Wiktor Matuszewski
t changed between 2.x and 3.x versions? *) - gives output: Hello World! 42 **) - gives error message: Traceback (most recent call last): File "E:\tests\project_name\start.py", line 1, in from src import moda File "E:\tests\project_name\src\moda.py", line 1, in impo

Re: [Tutor] most useful ide

2014-02-02 Thread Wiktor Matuszewski
-) There is also PyCharm Community Edition. Free for all projects. And if you'd ask me, it would be my answer. :) -- Best regards, Wiktor Matuszewski ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Naming variables

2014-01-19 Thread Wiktor Matuszewski
,0] but nothing works. Any solution? >>> y = 1900 >>> exec('year{} = [0, 0]'.format(y)) >>> year1900 [0, 0] But I still think, that solution with dict with lists is better. -- Best regards, Wiktor Matuszewski | Py

Re: [Tutor] Naming variables

2014-01-19 Thread Wiktor Matuszewski
r [0,0]) one hundred lists would be easy with for loop. Accessing/changing list representing particular year is much more easier: years[1980]. -- Best regards, Wiktor Matuszewski | Python 'py{}@wu{}em.pl'.format('wkm', 'ka') | newbie __