Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python system with exemplary organization/coding style

Reply
Thread Tools

Python system with exemplary organization/coding style

 
 
TomF
Guest
Posts: n/a
 
      05-14-2009
I'm looking for a medium-sized Python system with very good coding
style and good code organization, so I can learn from it. I'm reading
various books on Python with advice on such things but I'd prefer to
see a real system.

By medium-sized I mean 5-20 classes, 5-20 files, etc; a code base that
has some complexity but isn't overwhelming.

Thanks,
-Tom

 
Reply With Quote
 
 
 
 
CTO
Guest
Posts: n/a
 
      05-14-2009
On May 14, 7:01*pm, TomF <tomf.sess...@gmail.com> wrote:
> I'm looking for a medium-sized Python system with very good coding
> style and good code organization, so I can learn from it. *I'm reading
> various books on Python with advice on such things but I'd prefer to
> see a real system.
>
> By medium-sized I mean 5-20 classes, 5-20 files, etc; a code base that
> has some complexity but isn't overwhelming.
>
> Thanks,
> -Tom


I'd recommend screenlets. Good documentation and pretty good style,
and
they have some external dependencies so you can see how that operates,
and of course you can see what your code is and isn't doing pretty
quickly.

<URL: http://www.screenlets.org>

Geremy Condra
 
Reply With Quote
 
 
 
 
TomF
Guest
Posts: n/a
 
      05-16-2009
On 2009-05-14 16:18:07 -0700, CTO <> said:

> On May 14, 7:01*pm, TomF <tomf.sess...@gmail.com> wrote:
>> I'm looking for a medium-sized Python system with very good coding
>> style and good code organization, so I can learn from it. *I'm reading
>> various books on Python with advice on such things but I'd prefer to
>> see a real system.
>>
>> By medium-sized I mean 5-20 classes, 5-20 files, etc; a code base that
>> has some complexity but isn't overwhelming.
>>
>> Thanks,
>> -Tom

>
> I'd recommend screenlets. Good documentation and pretty good style,
> and
> they have some external dependencies so you can see how that operates,
> and of course you can see what your code is and isn't doing pretty
> quickly.
>
> <URL: http://www.screenlets.org>


Thanks, this does look pretty good. Too bad it's grapics oriented, but
I suppose I can filter out the graphics dependencies.

-Tom



 
Reply With Quote
 
Aahz
Guest
Posts: n/a
 
      05-16-2009
In article <2009051416013116807-tomfsessile@gmailcom>,
TomF <> wrote:
>
>I'm looking for a medium-sized Python system with very good coding
>style and good code organization, so I can learn from it. I'm reading
>various books on Python with advice on such things but I'd prefer to
>see a real system.
>
>By medium-sized I mean 5-20 classes, 5-20 files, etc; a code base that
>has some complexity but isn't overwhelming.


Actually, that's what I'd call "small". "Medium" would be about 30-50
classes (Python mostly has multiple classes per file, unlike Java, so
number of files is usally a poor measure of complexity). Something about
the right complexity level for what you're looking for can be found in
several parts of the Python standard library, including the thread,
threading, and Queue modules (although I haven't looked at the code
recently, so I can't vouch for its quality).

Another option would be dnspython, but that's getting a bit larger than
you're looking for.
--
Aahz () <*> http://www.pythoncraft.com/

"In 1968 it took the computing power of 2 C-64's to fly a rocket to the moon.
Now, in 1998 it takes the Power of a Pentium 200 to run Microsoft Windows 98.
Something must have gone wrong." --/bin/fortune
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Django as exemplary design TomF Python 17 05-13-2010 12:37 PM
Re: Another Exemplary Tale (this time for Drug Addicts) Fred Tehbot Computer Support 2 08-30-2009 06:57 AM
ISO exemplary Python scripts kj Python 2 05-10-2009 11:10 PM
Suggestions for exemplary c99 code cs C Programming 4 09-04-2007 05:44 AM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM



Advertisments