Re: [Tutor] using separate py files for classes

2011-11-02 Thread Steven D'Aprano
Chris Hare wrote: I would like to put each of my classes in separate files to make it easier to edit them and keep the various files as small as possible for editing purposes. Perhaps you need a better editor, one with a class browser that lets you see the layout of your classes and the relati

Re: [Tutor] using separate py files for classes

2011-11-02 Thread Chris Hare
A…. thanks Hugo!! Chris Hare ch...@labr.net http://www.labr.net On Nov 2, 2011, at 2:14 AM, Hugo Arts wrote: > On Wed, Nov 2, 2011 at 7:29 AM, Chris Hare wrote: >> >> I would like to put each of my classes in separate files to make it easier >> to edit them and keep the various files as s

Re: [Tutor] using separate py files for classes

2011-11-02 Thread Alan Gauld
On 02/11/11 06:29, Chris Hare wrote: I would like to put each of my classes in separate files to make it easier to edit them and keep the various files as small as possible for editing purposes. I have come across a couple of problems: 1. I have to use import statements like "from file import

Re: [Tutor] using separate py files for classes

2011-11-02 Thread Hugo Arts
On Wed, Nov 2, 2011 at 7:29 AM, Chris Hare wrote: > > I would like to put each of my classes in separate files to make it easier > to edit them and keep the various files as small as possible for editing > purposes. > I have come across a couple of problems: > 1.  I have to use import statements l

[Tutor] using separate py files for classes

2011-11-02 Thread Chris Hare
I would like to put each of my classes in separate files to make it easier to edit them and keep the various files as small as possible for editing purposes. I have come across a couple of problems: 1. I have to use import statements like "from file import class" instead of "import file" 2