Hello Micheal,

Thank you for your reply.

If anyone wants a gander, my stuff can be found at
http://bazaar.launchpad.net/~eckeroo/+junk/yeoman/files

the main script is yeoman_v0_91_2.py

The main dependencies are:
Python v2.6.5-3
wxpython 2.8.11.0-1
wxgtk 2.8.11-1

Module dependencies:
python-numpy 1.4.1-1
python-scipy 0.7.2-1

Instructions: (further instructions can be found at the top of the
main script)

Copy all the files to one directory. Ignore the folder titled
'Subdirectory'. Once you've ran the main script, a window will appear,
go to file pull down down menu and select 'Open'. Then select the file
'save.yeo'. This will load an example containing some calcs and
hopefully give you an idea of what the program is for.

Basically, a calculation is loaded from a module containing one class.
The user can create as many instances of that calc and all the calcs
are organised in a tree using a wxpython tree control. There are left
and right mouse button bindings, so you can right-click cut and paste
and so on.

To create a new branch on the tree or add a new calc, double click on
a non-calc item.

When you double click on a calc item, a new split frame appears with
the input data on the top and the ouptut data on the bottom with a
'calc' button in-between. You can edit the data in the input and it is
saved once the calc button is pressed. The calculation is carried out
when the calc button is pressed and the output data is updated.

The purpose of the program is to organise all my engineering calcs. I
have some more modules. But before I concentrate on developing those,
I want to get my yeoman script working fully. There are some extra
things I want the script to do which I'll explain later. But the
script does work so please have a go and tell me what you think.

The next version of this script uses the Pickle module which will make
obsolete a lot of the current functions. I need pointers on wxpython
and I wonder if I've assigned needless 'self.object' instant
attributes. My difficulty is that the script is getting a bit big for
me and I don't know how to use IDE such as IDLE, so adding more code
to the script is becoming a bit of a headache. Does anyone use PyCrust
with wxpython? How can I make this thing easier?

Cheers

Alex


On Jul 1, 11:34 am, Michael Sparks <[email protected]> wrote:
> Hi,
>
> On Jun 28, 9:39 pm, eck <[email protected]> wrote:
>
> > Hello all,
>
> > I'm new at programming and I'm currently trying to code my own GUI
> > that manages engineering scripts. I have a launchpad account with some
> > code posted. What I've come up with so far does work but is a bit
> > messy so I'm after some pointers. If anyone is interested I can post a
> > link.
>
> Why not? If it's already up, we lose nothing by saying where it is and
> have the potential for interesting stuff. Doesn't guarantee anything,
> but
> it's no loss :-)
>
> > A couple of questions:
>
> > 1. Are there any group rules or etiquette I should read first?
>
> I think the only rule is that stuff should be (potentially) of
> interest to people who like/use python in the north west. I asked a
> while back about posting code release announcements for example and a
> small discussion about what sort are welcome, and the general feeling
> was that if it was developed by someone local that it made sense,
> whereas posting that there's a new release of Django didn't make
> sense. There's always exceptions worth handling :-)
>
> > 2. Can I post up links to my Python code? I know specific coding
> > questions are best asked at Stackoverflow, but can I expect to get
> > help here for more general Python guidance for larger, non-trivial
> > scripts?
>
> Expect is hard, but please do ask, and I'm sure there will be
> replies. :-)
>
> > 3. I live in Manchester, so would it be better if I came along to the
> > monthly meetings at MadLab to discuss my project?
>
> I don't think this is an either or thing. You can post here, and come
> along to the monthly meetings. I can't make it as often as I'd like,
> but personally I think discussing projects is helpful. For example
> last month I discussed the work in process I've got around API design/
> implementation, and I think that sort of thing works well.
>
> Even if you don't find a particular toolset fits your needs,
> discussion of how it was built/designed, etc can be extremely
> interesting. I tend to use opportunity to talk about things as an
> opportunity to ask "is this dumb". Sometimes the answer is yes,
> sometimes it's no. Often thogh it's "Interesting. You could also do
> this, that and the other".
>
> Michael.

-- 
To post: [email protected]
To unsubscribe: [email protected]
Feeds: http://groups.google.com/group/python-north-west/feeds
More options: http://groups.google.com/group/python-north-west

Reply via email to