[Tutor] 'root' dir of a package from within the package ?

2007-01-08 Thread Dave S
Hi all, I have written a python package, which works fine, the 'root' directory is 'my_app' with sub directories within in, complete with there __init__.py files. I need to work out the path to the root directory from within the app, os.path gives me pythons path! - oh and its in XP. Any sugg

Re: [Tutor] 'root' dir of a package from within the package ?

2007-01-12 Thread Dave S
On Tuesday 09 January 2007 10:55, Michael Lange wrote: > On Mon, 8 Jan 2007 19:24:37 + > > Dave S <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have written a python package, which works fine, the 'root' directory > > is 'my_ap

[Tutor] pyw bug ?

2007-01-21 Thread Dave S
Hi all, My GUI app dumps some diagnostic output to the terminal, starting it from an XP terminal, all is well. Starting it as app.pyw so no terminal is needed - and err - the app randomly locks because the diagnostic output is - backing up ? Remove diagnostic output & app.pyw is 100% reliable.

Re: [Tutor] Best IDE for Python

2007-01-26 Thread Dave S
On Thursday 25 January 2007 03:12, Shadab Sayani wrote: > Hi, > I am using vim editor to code my project in python.Is there a good IDE > where in I type the name of the class object and then dot then all the > attributes of the object are displayed so on.I tried to install IDLE but I > have n

[Tutor] My Python project - an update

2007-03-23 Thread Dave S
Just to say thank you. Over the last few months I have been asking a lot of dumb questions about python (and qt on the qt mailing list) ... anyhow I finished my pet project, all 5500 lines of it. I previously explained what it was but to recap ... I developed a QT Python app that scans both con

Re: [Tutor] My Python project - an update

2007-03-31 Thread Dave S
Very valid points, I was not aware that MD5 had been cracked :) Dave ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Talking between C++ & Python ?

2007-04-05 Thread Dave S
Hi all, I have written a Python app, a company who don't use Python want to integrate its back end with their C++ coded GUI. At the moment they are proposing using CSV files to communicate between the Python & C++, ie C++ GUI generates a CSV, calls Python back end, back end does the work and g

Re: [Tutor] Talking between C++ & Python ?

2007-04-05 Thread Dave S
On Thursday 05 April 2007 18:54, Alan Gauld wrote: > "Dave S" <[EMAIL PROTECTED]> wrote > > > At the moment they are proposing using CSV files to communicate > > between the > > Python & C++, ie C++ GUI generates a CSV, calls Python back end, > > b

Re: [Tutor] Talking between C++ & Python ?

2007-04-06 Thread Dave S
On Friday 06 April 2007 08:29, Alan Gauld wrote: > "R. Alan Monroe" <[EMAIL PROTECTED]> wrote > > >> I have written a Python app, a company who don't use Python want to > >> integrate > >> its back end with their C++ coded GUI. > >> > >> The data to & from the C++, Python code consists of fairly la

<    1   2