I import my module (a file of a few lines of simple stuff), edit the file,
then attempt to reload and get an error.  I have to quit python, restart
python to get the revised file.  Can I get some clues here?

Thanks,
-Denis

parents@R2D4:~/Documents/Denis/Python$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pins_init import*
>>> cols  #test to illustrate that the code was read
5
>>> reload(pins_init)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'pins_init' is not defined
>>>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to