[Tutor] Is this a "Class" problem?

2008-08-18 Thread Adrian Greyling
Hi folks! I hope I'm in the right place to ask this question. I'm new to Python and have been working through some tutorials and have made it to the GUI creation stage. All I was hoping to do with the code below, was to open a "secondary" window and have some text end up on a text_ctrl, but I ge

Re: [Tutor] Is this a "Class" problem?

2008-08-29 Thread Adrian Greyling
from a new function definition, aren't I creating a brand new frame_2 object that has "blank" attributes, so to speak? I'm sure I've made things clear as mud, but hopefully with my blathering, someone will undertand my utter confusion! Thanks everyone! Adrian On Mon, A

Re: [Tutor] Is this a "Class" problem?

2008-09-02 Thread Adrian Greyling
I appreciate the feedback! I'll check out the pubsub module and see how that works out and I'll subscribe to the wxPython group too! Thanks again! On Fri, Aug 29, 2008 at 5:31 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Fri, Aug 29, 2008 at 12:19 PM, Adrian Greyling

[Tutor] Current path (of program)

2008-09-25 Thread Adrian Greyling
I've been using "os.getcwd()" to get my program's "current path". I know it's actually returning my "current working directory", but it's been working okay, until today... I used py2exe (and InnoSetup) to create a standalone executable (for Windows) and then a shortcut icon on the desktop to "MyP

Re: [Tutor] Current path (of program)

2008-09-25 Thread Adrian Greyling
hat folks... Adrian On Thu, Sep 25, 2008 at 3:25 PM, Adrian Greyling <[EMAIL PROTECTED]>wrote: > I've been using "os.getcwd()" to get my program's "current path". I know > it's actually returning my "current working directory", b

[Tutor] pysqlite and SQLite

2008-09-29 Thread Adrian Greyling
Probably a really dumb question, but... Do I have to download and install SQLite before pysqlite will work properly? Thanks, Adrian ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] pysqlite and SQLite

2008-09-29 Thread Adrian Greyling
another... Adrian On Mon, Sep 29, 2008 at 1:09 PM, Chad Crabtree <[EMAIL PROTECTED]> wrote: > If you are using Python 2.5 or newer then no you will not need to install > SQLite. > > On Mon, Sep 29, 2008 at 1:05 PM, Adrian Greyling < > [EMAIL PROTECTED]> wrote:

[Tutor] Delete file before function ends

2008-10-06 Thread Adrian Greyling
Greetings all, Not sure if this is possible, but I'll ask anyway. Below is a code snippet that creates my "problem"... What I'd like to do, is create a plain text file, use the associated program to open said textfile, (using os.startfile) and after the associated program has what it needs to op

Re: [Tutor] Delete file before function ends

2008-10-06 Thread Adrian Greyling
nks for all the input, I might even be learning something! Warmest regards, Adrian On Mon, Oct 6, 2008 at 1:31 PM, Alan Gauld <[EMAIL PROTECTED]>wrote: > > "Adrian Greyling" <[EMAIL PROTECTED]> wrote > > that creates my "problem"... What I&#x

Re: [Tutor] Delete file before function ends

2008-10-06 Thread Adrian Greyling
I'll take a peek at the subprocess docs Steve, and see if I can learn something there... Thanks for the suggestion! I'm using WinXP as well Wayne.. Not too sure why yours works, and mine doesn't.. I'll revisit what I'm doing and also check into Steve's suggestion. Adrian On Mon, Oct 6, 200