Re: Declaring a class level nested class?

2009-12-03 Thread cmckenzie
On Dec 3, 9:59 am, cmckenzie wrote: > Sigh, I'm using Google Groups and it seems I can't see my original > post and everyone's replies. I'm really keen to reply back, so I'll > just re-post my follow up for now and make sure I don't make a habit > o

Declaring a class level nested class?

2009-12-03 Thread cmckenzie
Sigh, I'm using Google Groups and it seems I can't see my original post and everyone's replies. I'm really keen to reply back, so I'll just re-post my follow up for now and make sure I don't make a habit of this. (I'll get a news reader) Here goes: I agree, I'm C# and Java influenced, but I've got

Declaring a class level nested class?

2009-12-02 Thread cmckenzie
Hi. I'm new to Python, but I've managed to make some nice progress up to this point. After some code refactoring, I ran into a class design problem and I was wondering what the experts thought. It goes something like this: class module: nestedClass def __init__(): self.nestedClass =

Python reflection and loading/calling external module classes

2009-12-01 Thread cmckenzie
Hi! I've been putting off playing with Python for sometime now and I recently came up with a worthwhile project for my first hack. One technical challenge I'm trying to work out is dynamically loading modules from a directory (glob'd for a specific filename format) then importing them for calling l