[Tutor] How Do I Make Imports Work
Rob Andrews
rob.andrews at gmail.com
Thu Dec 27 15:04:13 CET 2007
Can you show us an example of the code where you're attempting to
import and the error you get?
-Rob A.
On Dec 27, 2007 7:40 AM, <james.homme at highmark.com> wrote:
>
> Hi,
> I am just starting to learn about making classes, so I wanted to put some
> code into a module and use it. I know the code works because when I put it
> in the same file that calls it, it does what it's supposed to do. When I
> move it into its own file and try to use an import statement to bring it
> in, I get errors that say that methods don't exist. I looked at a Windows
> tutorial that instructs me to edit my registry. The tutorial seemed to be
> talking about the version of Python from python.org. I have ActiveState
> Python. I'm OK with editing the registry, but I'd rather not do it. If I
> have to, is there documentation somewhere that helps me work with
> ActiveState Python to do this. If I don't have to, where can I find
> documentation that helps me make this work?
>
> Thanks lots.
>
> Jim
>
> James D Homme, , Usability Engineering, Highmark Inc.,
> james.homme at highmark.com, 412-544-1810
>
> "Never doubt that a thoughtful group of committed citizens can change the
> world. Indeed, it is the only thing that ever has." -- Margaret Mead
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
"Quise ahogar mis penas, pero las muy putas flotan"
SabidurĂa popular
More information about the Tutor
mailing list