Re: [Tutor] Open Source database software

2008-11-24 Thread W W
On Mon, Nov 24, 2008 at 6:19 PM, Mike Meisner <[EMAIL PROTECTED]> wrote: > Y'all have been so good with suggestions on my programming problems in > the past, I wonder if anyone could provide a suggestion on a more general > topic. > 5. And, everything either in Python or with APIs that Python ca

[Tutor] Open Source database software

2008-11-24 Thread Mike Meisner
Y'all have been so good with suggestions on my programming problems in the past, I wonder if anyone could provide a suggestion on a more general topic. I'd like to get away from using Microsoft Access. I have a number of Access databases to convert. My needs are: 1. A relational database man

Re: [Tutor] file locations

2008-11-24 Thread Kent Johnson
On Mon, Nov 24, 2008 at 2:10 PM, Jeff Peery <[EMAIL PROTECTED]> wrote: > Hello, > I have a wxapp from which I would like to execute another wxapp. the 'child' > wxapp is located in a sub directory of the 'parent' wxapp. The problem I'm > having is that I execute the child app from the parent app an

Re: [Tutor] My horrible looking program needs improvement.

2008-11-24 Thread Peter van der Does
On Mon, 24 Nov 2008 11:00:59 -0500 Peter van der Does <[EMAIL PROTECTED]> wrote: > I wrote my 1st Python program and it works as I want it to work but > ,IMHO, it looks horrible. > > As to what my program does: > It downloads a file from the web, downloads .htaccess and Apache log > file from a F

Re: [Tutor] file locations

2008-11-24 Thread W W
On Mon, Nov 24, 2008 at 1:10 PM, Jeff Peery <[EMAIL PROTECTED]> wrote: > Hello, > I have a wxapp from which I would like to execute another wxapp. the > 'child' wxapp is located in a sub directory of the 'parent' wxapp. The > problem I'm having is that I execute the child app from the parent app a

[Tutor] file locations

2008-11-24 Thread Jeff Peery
Hello, I have a wxapp from which I would like to execute another wxapp. the 'child' wxapp is located in a sub directory of the 'parent' wxapp. The problem I'm having is that I execute the child app from the parent app and it cannot find the modules/images/files etc that it needs because it i

Re: [Tutor] My horrible looking program needs improvement.

2008-11-24 Thread Kent Johnson
On Mon, Nov 24, 2008 at 11:00 AM, Peter van der Does <[EMAIL PROTECTED]> wrote: > I wrote my 1st Python program and it works as I want it to work but > ,IMHO, it looks horrible. > > Is this the place where somebody could go over my program and give > some pointers on how to improve the structure or

Re: [Tutor] My horrible looking program needs improvement.

2008-11-24 Thread Alan Gauld
Everything is in main(), I would like to use functions but ran into problems with the scope of my variables. Did your functions have parameters? Thats usually how to deal with passing names between scopes. Is this the place where somebody could go over my program Yes. If this is the place,

Re: [Tutor] My horrible looking program needs improvement.

2008-11-24 Thread W W
On Mon, Nov 24, 2008 at 10:00 AM, Peter van der Does <[EMAIL PROTECTED] > wrote: > I wrote my 1st Python program and it works as I want it to work but > ,IMHO, it looks horrible. Nothing to be ashamed of, unless you don't mind it looking horrible. The fact that you want a clean program is a good

[Tutor] My horrible looking program needs improvement.

2008-11-24 Thread Peter van der Does
I wrote my 1st Python program and it works as I want it to work but ,IMHO, it looks horrible. As to what my program does: It downloads a file from the web, downloads .htaccess and Apache log file from a FTP site, using the IP's from the Apache log it checks if the IP exists in the web-file, if it

Re: [Tutor] the sense of brackets

2008-11-24 Thread Lie Ryan
On Sat, 22 Nov 2008 22:58:48 +0100, spir wrote: > W W a écrit : > > On Sat, Nov 22, 2008 at 9:42 AM, spir <[EMAIL PROTECTED]> wrote: > > > >> I have long thought "[]" /simply/ is a list constructor syntax. What > >> do you think of the following? > >> > >> t = "aze" > >> print t, list(t), [

Re: [Tutor] faulty code (maths)

2008-11-24 Thread Roel Schroeven
David schreef: Hello everybody, I recently came across a book by Prof. Langtangen: Indroduction to Computer Programming: http://folk.uio.no/hpl/INF1100/INF1100-ebook-Aug08.pdf I am trying to solve exercise 1.18 ("Why does the following program not work correctly?"), but I don't find the mist