ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[wxPython-users] Re: Programming Style
by S. David Rose other posts by this author
Dec 13 2004 4:35PM messages near this date
Re: [wxPython-users] Programming Style | [wxPython-users] [Ann] regulex, a regular expression evaluator
Well, 10 years ago I received a minor in Computer Science.  however, the
BASIC-styled languages was where I was strongest -- BASIC, Modula-2, etc.  I
took C, but never really did much with it.  I then abandon it so I could go
on to systems-styled computing.  I'm a Netware CNE.  So, to sum up, a while
ago I programmed, but on simple systems, usually on VAX systems.  My
programming experience is limited.

I've never done event-driven programming until now.  I'm working on a system
that grabs video from multiple networked Axis video cameras and records the
frames to the hard drive.  Then I want to extend the system.  I've bought 3
python books.  I use wxGlade to 'paint' the GUI.  I have Learning Python by
Chris Felihy, The Python Cookbook and Mark Hammond's book on Win32
programming.  I mostly use Windows, but I'd like the portability to use
Linux as my main server so I can reap the benefits of the new Reiser4
filesystem.

I know nothing of MVC, except that something called MVC exists and it's
somehow a model of seperating the program logic from display.  Haven't found
a good HOWTO yet.

I have been programming the system as an entire wxPython program, but with
my relative inexperience with Python and rustyness with programming in
general, I feel as though I'm mostly fighting against myself.  Class
programming is new to me, Event-driven is new to me but I think I can handle
it.  GUI is new to me also, but I'm getting thru it I believe with tools
like wxPython and wxGlade.

-Dave
----- Original Message ----- 
From: "Peter Damoc" <pdamoc@[...].net> 
Newsgroups: gmane.comp.python.wxpython
Sent: Monday, December 13, 2004 10:28 AM
Subject: Re: Programming Style


>  On Mon, 13 Dec 2004 10:03:35 -0500, GMane Python
<s_david_rose@[...].com>  wrote:
> 
>  > I wanted to ask what the accepted or recommended programming style in
>  > wxPython was;  is it recommended to build integrated applications, or to
>  > build python scripts which 'communicate' with a GUI like the SETI
program?
>  >
>  > Is it possible to have 'regular' python scripts communicate with and
utilize
>  > the EVENT_* type functionality of wxPython?  Any examples would also be
>  > appreciated.  I'm reasonably new to python, if it isn't painfully
obvious.
>  > Thank you for you help in advance!
> 
>  are you new to python or new to programming in general?
>  what's you previous experience?
>  What do you know about Event Driven Programming?
>  How about software patterns? MVC?
> 
>  and now after so many questions... one answer.
>  Use whatever programming style fits the problem. It is the problem that
drives the programming not the other way around.
> 
>  -- 
>  Peter Damoc
>  jack of all trades, master of none
>  http://www.sigmacore.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Thread:
GMane Python
Peter Damoc
S. David Rose

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved