Re: Compleated Begginers Guide. Now What?

2006-04-08 Thread Martin Christensen
> "Jay" == Jay <[EMAIL PROTECTED]> writes: Jay> when i seperate things up into classes i carnt get one class to Jay> tell the other class somthing. it just opens another coppy of the Jay> class. i am confused. I'm sorry, it's very difficult to understand what you mean. You'll have to be a lo

Re: How can I reduce the number of queries to my PostgreSQL database?

2006-04-08 Thread Martin Christensen
> "SR" == <[EMAIL PROTECTED]> writes: SR> Scenario: I have a python script which creates web page listing SR> all books in the database, and all authors for each book. My SR> python script does essentially three things: SR> 1. retrieve a list of all book_ids and book_titles. SR> 2. for each

Re: Which Python web framework is most like Ruby on Rails?

2005-12-21 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Kent" == Kent Johnson <[EMAIL PROTECTED]> writes: Kent> In the text you quoted I said, "a small in-house project that Kent> might possibly be distributed to business partners or become a Kent> product some day." Sounds like distribution to me.

Re: Which Python web framework is most like Ruby on Rails?

2005-12-21 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Ben" == Ben Sizer <[EMAIL PROTECTED]> writes: Ben> Unfortunately, that doesn't really satisfy the GPL's concerns. Ben> The work arguably "contains or is derived from" Karrigell, which Ben> is explicitly covered in section 2b of the GPL. If you s

Re: Which Python web framework is most like Ruby on Rails?

2005-12-21 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Kent" == Kent Johnson <[EMAIL PROTECTED]> writes: Kent> [Karrigell is GPL'ed] Unfortunately this makes it impossible for Kent> me to consider using Karrigell in my work. I recently needed a Kent> stand-alone web server for a small in-house proje

Re: PHP = Perl Improved

2005-12-14 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Tin" == Tin Gherdanarra <[EMAIL PROTECTED]> writes: Tin> Xah Lee wrote: >> recently i got a project that involves the use of php. In 2 days, i >> read almost the entirety of the php doc. Finding it a breeze >> because it is roughly based on Per

Re: Still Loving Python

2005-12-14 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Bengt" == Bengt Richter <[EMAIL PROTECTED]> writes: Bengt> De gustibus non disputandum, or whatever ;-) Yeah, and quidquid latine dictum sit, altum viditur. :-) Martin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Us

Re: I want a Python Puppy !

2005-12-13 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Diez" == Diez B Roggisch <[EMAIL PROTECTED]> writes: Diez> In the current c't there is an article how to customize Diez> knoppicilin, the knoppix-based antivirus distribution. I didn't Diez> have a deeper look so far, but I'm eager to see if tha

Re: OO in Python? ^^

2005-12-10 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Matthias" == Matthias Kaeppler <[EMAIL PROTECTED]> writes: Matthias> sorry for my ignorance, but after reading the Python Matthias> tutorial on python.org, I'm sort of, well surprised about Matthias> the lack of OOP capabilities in python. Hones

Re: How to find the type ...

2005-12-09 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Lad" == Lad <[EMAIL PROTECTED]> writes: Lad> How can I find out in Python whether the operand is integer or a Lad> character and change from char to int ? In Python, the canonical way of doing this would be to simply assume that the argument c

Re: Getting milliseconds in Python

2005-02-17 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Brian" == Brian Beck <[EMAIL PROTECTED]> writes: Brian> Man, this is the hottest topic on c.l.py since that Lazaridis Brian> guy... ... which was really the point of my joke, even if it did belly flop somewhat. This whole discussions brought to

Re: newbie question - iterating through dictionary object

2005-02-17 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Miranda" == mirandacascade <[EMAIL PROTECTED]> writes: Miranda> 1) Is there any advantage to use the Miranda> y = a.keys() Miranda> for z in y: While you're at it, you could save y altogether and just use for z in a.keys(): ... Miranda>

Re: Getting milliseconds in Python

2005-02-17 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Brian" == Brian Beck <[EMAIL PROTECTED]> writes: Brian> Despite a millisecond being a thousandth of a second [...] A math teacher! A math teacher! My kingdom for a math teacher! Martin - -- Homepage: http://www.cs.auc.dk/~factotum/ GPG

Re: multi threading in multi processor (computer)

2005-02-15 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Irmen" == Irmen de Jong <[EMAIL PROTECTED]> writes: Irmen> Naah. What about: http://www.razorvine.net/img/killGIL.jpg Some people have too much spare time and too weird senses of humour... Fortunately for the rest of us. :-) This one actually

Re: Suggesion for an undergrad final year project in Python

2005-02-13 Thread Martin Christensen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Sridhar" == Sridhar <[EMAIL PROTECTED]> writes: Sridhar> I am doing my undergrade CS course. I am in the final year, Sridhar> and would like to do my project involving Python. Our Sridhar> instructors require the project to have novel ideas.