Re: integer >= 1 == True and integer.0 == False is bad, bad, bad!!!

2010-07-11 Thread Brendon Wickham
"i had once considered you one of the foremost intelligent minds within this group. However, after your display within this thread i am beginning to doubt my original beliefs of you." "Oh ... grow a spine already, really. I can't help but thinking of the spineless Robert Ford every time you open y

Re: Few questions on SOAP

2010-02-18 Thread Brendon Wickham
On 19 February 2010 08:07, Mark Lawrence wrote: > Muhammad Alkarouri wrote: >> >> Your question is borderline if not out of topic in this group. I will >> make a few comments though. > > This might be a Python group, but threads often drift way off topic, which > added to the language itself make

Re: Web development with Python 3.1

2009-10-25 Thread Brendon Wickham
> > Anyway, for simple web programming, frameworks are not worth the > hassle. Just use the cgi module. > > I can vouch for what Paul says. I started in Python 3 years ago, and I did so with a web application (still working on it!). I'm using the cgi approach, and it certainly teaches you the conc

Re: What do I do now?

2009-10-12 Thread Brendon Wickham
Speaking of itch, that's exactly the phrase Eric Steven Raymond uses for the same purpose in his famous essay: "Cathedral and the Bazaar" (http://www.catb.org/~esr/writings/cathedral-bazaar/). Someone Something, you should read this essay first, before anything else. Cheers, Brendon PS: I agree w

Re: IDE for python similar to visual basic

2009-09-11 Thread Brendon Wickham
> > > The interface really should be configurable by the user according to their > needs. The code doesn't need to *know* the position or dimensions of > a widget, or its label or colour or spacing, let alone dictate them. > Perhaps...but the user needs a framework in order to understand the funct

Getting cookie "expires" value

2009-07-22 Thread Brendon Wickham
Hi there, My web application uses a cookie to set/get a session id. This is working fine. However, I'm unable to work out how to get the cookie "expires" value. Below is test code that replicates the problem. It creates a simple web page and shows a cookie value if it's found, or creates a new on

Re: What IDE support python 3.0.1 ?

2009-04-15 Thread Brendon Wickham
> On IDE's, I'm afraid I'm not going to be much help because I don't use > them.  I prefer to use a decent editor (Emacs in my case, others have > their own preferences) and run my scripts from the command line.  That > said, IDLE (which comes packaged with Python) is a perfectly decent > little ID

Re: need to start a new project , can python do all that ?

2009-04-15 Thread Brendon Wickham
Python is a programming language, and like practically any programming language it can do all those things. I'm not sure your requirements are based on a full understanding of the implications. A "health care center' cannot be made with a few "drag and drop", "plug and play" modules that you manipu

Re: python for loop

2009-03-31 Thread Brendon Wickham
Since when should a machine (that's what a computer is after all), be forced to contort itself into something that is capable of reflecting the laws of physical matter? Better perhaps to look at it from another angle - it's counter-intuitive to think that the digital should mirror the analogue. Th

Accessing shell output from HTTP

2009-03-30 Thread Brendon Wickham
Hi there, I would like users of my web application to be able to download a backup file of a database (using* *MySQL's *mysqldump* command). My strategy is to use *zipfile* to create a zip file object (with the * mysqldump* output as the contents of the zipped file) and then use * sys.stdout* to

Accessing shell output from HTTP

2009-03-29 Thread Brendon Wickham
Hi there, I would like users of my web application to be able to download a backup file of a database (using* *MySQL's *mysqldump* command). My strategy is to use *zipfile* to create a zip file object (with the * mysqldump* output as the contents of the zipped file) and then use * sys.stdout* to