[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Making A Module



import module
print module.function1
print module.function2
print module.function3
print module.function4

You can also use something like:

dir = "Data/Objects"
sys.path.append(dir)

If you put your modules in other folders to organize them.

Ian