¡@

Home 

python Programming Glossary: mypak

different import results at different directories

http://stackoverflow.com/questions/6945592/different-import-results-at-different-directories

import results at different directories I have a package MyPak and a module MyMod. The files are organized in the following.. The files are organized in the following way somedir MyPak MyMod.py in MyMod.py there is only a Class whose name is also.. only a Class whose name is also MyMod in directory somedir MyPak if I do the import import MyMod I got MyMod imported as a Module...

how to reload a Class in python shell?

http://stackoverflow.com/questions/6946376/how-to-reload-a-class-in-python-shell

for details. In Python shell or ipython shell if I do from MyPak import MyMod MyModule is always imported as Class thus I can.. can not reload it reload works only for modules . Run from MyPak import MyMod again does not seem to update the Class definition... ipython biopython share improve this question import MyPak reload MyPak from MyPak import MyMod However instances of the..