Classes in modules
Benjamin
musiccomposition at gmail.com
Wed Apr 2 22:29:09 EDT 2008
On Apr 2, 8:05 pm, hexusne... at gmail.com wrote:
> I'm trying to get this source code split into multiple files:
>
> http://pygermanwhist.googlecode.com/files/pygermanwhist.12.py
>
> I've been trying to make so that I have one class per file for easier
> readability. My problem is that the interpreter keeps saying that it
> can't find methods and so forth whenever I try to split the code up.
Have you read the modules part of the tutorial? http://docs.python.org/tut/node8.html
>
> This has been a recurring problem for me in languages such as C++ and
> Java. I'm used to programming in C.
More information about the Python-list
mailing list