On Tue, 02 Dec 2014 at 08:49AM -0800, SiL588 . wrote:
> but it gives the following error:
> TypeError: 'module' object does not support item assignment
> 
> What does it mean? It seems a pretty simple operation to me and I can't 
> understand what it is that i'm doing wrong.

In addition the problems Jim pointed out, "sys" is already defined as a
Python module. You can overwrite that definition, as he suggested, but
be aware that you won't be able to import and use the sys module then.

(See https://docs.python.org/2.7/library/sys.html for what the sys module
does.)


Dan

-- 
---  Dan Drake
-----  www.math.wisc.edu/~ddrake/
-------

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to