On 4/25/2012 1:54, Rotwang wrote:
On 25/04/2012 00:42, Kiuhnm wrote:
On 4/25/2012 1:18, Rotwang wrote:
Sorry if this is a stupid question, but what is up with this:
>>> from calendar import*
>>> Calendar
Traceback (most recent call last):
File "", line 1, in
Calendar
NameError: name 'Calendar
see
http://docs.python.org/tutorial/modules.html#importing-from-a-package
http://stackoverflow.com/questions/2187583/whats-the-python-all-module-level-variable-for
I know the 1st link is for importing from a package but the same
applies for modules
--
http://mail.python.org/mailman/listinfo/pytho
On 25/04/2012 00:42, Kiuhnm wrote:
On 4/25/2012 1:18, Rotwang wrote:
Sorry if this is a stupid question, but what is up with this:
>>> from calendar import*
>>> Calendar
Traceback (most recent call last):
File "", line 1, in
Calendar
NameError: name 'Calendar' is not defined
>>> from
On 4/25/2012 1:18, Rotwang wrote:
> Sorry if this is a stupid question, but what is up with this:
>
> >>> from calendar import*
> >>> Calendar
>
> Traceback (most recent call last):
> File "", line 1, in
> Calendar
> NameError: name 'Calendar' is not defined
> >>> from calendar import Calenda
On 04/24/12 18:18, Rotwang wrote:
Sorry if this is a stupid question, but what is up with this:
>>> from calendar import*
>>> Calendar
Traceback (most recent call last):
File "", line 1, in
Calendar
NameError: name 'Calendar' is not defined
>>> from calendar import Calendar