[Tutor] Project tree

2014-11-10 Thread Wiktor Matuszewski
World! 42 **) - gives error message: Traceback (most recent call last): File E:\tests\project_name\start.py, line 1, in module from src import moda File E:\tests\project_name\src\moda.py, line 1, in module import modb ImportError: No module named 'modb' -- Best regards, Wiktor Matuszewski

Re: [Tutor] most useful ide

2014-02-02 Thread Wiktor Matuszewski
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
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 ___ Tutor maillist - Tutor

Re: [Tutor] Naming variables

2014-01-19 Thread Wiktor Matuszewski
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 | Python 'py{}@wu{}em.pl'.format('wkm', 'ka') | newbie