Re: [Pythonmac-SIG] Stupid question

2007-05-20 Thread Kent Johnson
Calder Coalson wrote: > Ok, I have a program with multiple different states, but it does, (to > some extent) run linearly. All I want to do, is to be able to take > chunks of the program and put it in separate files so I don't have to > scroll through a couple thousand lines of stuff every time

Re: [Pythonmac-SIG] Stupid question

2007-05-20 Thread Kent Johnson
Calder Coalson wrote: > I've tried import, but that > doesn't work because the thing has to be completely independent. All > I want to do is split up my file into multiple files, These requirements seem a bit contradictory. If you have one program that you want to split into multiple modules

Re: [Pythonmac-SIG] Stupid question

2007-05-20 Thread Ronald Oussoren
On Saturday, May 19, 2007, at 11:48PM, "Calder Coalson" <[EMAIL PROTECTED]> wrote: >This probably has the simplest solution ever, but how do you run a >python file from another python program? I've tried import, but that >doesn't work because the thing has to be completely independent. All