Re: [Tutor] IDE / development environment

2007-04-22 Thread Kent Johnson
Rikard Bosnjakovic wrote: > And now, Alan, see the charm of "reply all": this mail gets three > recipients: the list and two persons on the list, meaning they both > will get two copies. The next person replying this mail will add it up > to another person, and in the final step there is no need f

Re: [Tutor] IDE / development environment

2007-04-22 Thread Rikard Bosnjakovic
On 4/22/07, Vince Teachout <[EMAIL PROTECTED]> wrote: > I just twit-filtered him. I got tired of his one line robotic complaint > in MY mailbox. Good for you, because as long as this list keeps being braindead about not adding reply-to-tags (i.e. forever) I'm piping it back in here. And now, Al

Re: [Tutor] Exceptions while dealing with MySQL

2007-04-22 Thread Alan Gauld
"Kent Johnson" <[EMAIL PROTECTED]> wrote > > I like Martin Fowler's "Patterns of Enterprise Application > Architecture". I agree, except the title can be slightly misleading. Just to make it clear, the book is about application architecture for larger scale applications (not really enterprise s

Re: [Tutor] An identity question

2007-04-22 Thread Andreas Kostyrka
* Cecilia Alm <[EMAIL PROTECTED]> [070422 22:34]: > The differences in cases 1 and 3 vs. 2 is due to 'common values' of > name assignments being treated a bit differently, right? Also, it's > clear why case 5 evaluates to false. But, why does the case 4 > equality check evaluate to True, whereas c

Re: [Tutor] An identity question

2007-04-22 Thread Cecilia Alm
OK. I guess the same holds for the below list-internal values. It doesn't seem that this could lead to unexpected aliasing 'conflict' when assigning new values to names. Thanks, C >>> def foo3(): ...x = [232131, 321321, 432432] ...return x ... >>> a = foo3() >>> b = foo3() >>> a is b False

Re: [Tutor] An identity question

2007-04-22 Thread Kent Johnson
Cecilia Alm wrote: > The differences in cases 1 and 3 vs. 2 is due to 'common values' of > name assignments being treated a bit differently, right? Also, it's > clear why case 5 evaluates to false. But, why does the case 4 > equality check evaluate to True, whereas case 1 and 3 don't? > > case 4:

[Tutor] An identity question

2007-04-22 Thread Cecilia Alm
The differences in cases 1 and 3 vs. 2 is due to 'common values' of name assignments being treated a bit differently, right? Also, it's clear why case 5 evaluates to false. But, why does the case 4 equality check evaluate to True, whereas case 1 and 3 don't? case 1: >>> a = 1 >>> b = 1 >>

Re: [Tutor] IDE / development environment

2007-04-22 Thread Rob Andrews
> What does everyone use as their development environment for Python, > particularly web dev? Komodo (by ActiveState). For web dev in dynamic languages, it's tough to actually beat. I scored mine at a $100 discount thanks to a coupon ActiveState handed out at PyCon this year. -Rob A. ___

Re: [Tutor] Exceptions while dealing with MySQL

2007-04-22 Thread Kent Johnson
John Clark wrote: > I know that there is a text book > out there called "Database Access Patterns", can anyone provide a > recommendation or a critique of the book? Are there other (better) > references I should be consulting in designing the database interaction > layer of my application? I like

Re: [Tutor] IDE / development environment

2007-04-22 Thread Peter Garceau
On 4/22/07, Rohan Deshpande <[EMAIL PROTECTED]> wrote: What does everyone use as their development environment for Python, particularly web dev? I've been using PIDA for a while. http://pida.co.uk/ It's not nearly as fancy as Eclipse, but it does everything that I need it to do. I think it

Re: [Tutor] Exceptions while dealing with MySQL

2007-04-22 Thread Alan Gauld
"John Clark" <[EMAIL PROTECTED]> wrote >>> MySQL database. The logic of the program is unavoidably coupled >>> with >>> query results I get from various tables. >>That's pretty unusual, it normally indicates a non OO design. > > Database persistance has always been a frustration of mine in OO >

Re: [Tutor] screen scraping without the request

2007-04-22 Thread Martin Walsh
Hi Rohan, You might also try the LiveHTTPHeaders firefox extension, it is also very good for this type of reverse engineering. http://livehttpheaders.mozdev.org/index.html HTH, Marty Luke Paireepinart wrote: > Kent Johnson wrote: >> Rohan Deshpande wrote: >> >>> Hi All, >>> >>> the previous

Re: [Tutor] IDE / development environment

2007-04-22 Thread Martin Walsh
Eike Welk wrote: > On Sunday 22 April 2007 10:51, Rohan Deshpande wrote: >> What does everyone use as their development environment for Python, >> particularly web dev? > > I use PyDev an extension for Eclipse: > http://pydev.sourceforge.net/ +1 for pydev. The additional plugins (wtp, aptana, and

Re: [Tutor] IDE / development environment

2007-04-22 Thread Vince Teachout
Alan Gauld wrote: > Having said that I do appreciate that web mail tools in particular > are often quite brain-dead and make Reply All hard to find - I > recently got caught out by a web tool that hasd ReplyAll as > its default and I wound up sending to the list when I intended > sending to the sen

Re: [Tutor] IDE / development environment

2007-04-22 Thread Alan Gauld
"Luke Paireepinart" <[EMAIL PROTECTED]> wrote > for fear that the person who can't remember whether to use reply or > reply-all for this group I won't get into the whole philospohy bit here but the rule is quite simple and standard and should work on any standard mail tool.. Read the From header

Re: [Tutor] Exceptions while dealing with MySQL

2007-04-22 Thread John Clark
Alan Gauld wrote: >"Thanos Panousis" <[EMAIL PROTECTED]> wrote > >> I am developing a network management system that relies heavily on a >> MySQL database. The logic of the program is unavoidably coupled with >> query results I get from various tables. > >That's pretty unusual, it normally indic

Re: [Tutor] IDE / development environment

2007-04-22 Thread Luke Paireepinart
Angela K. Foughty wrote: > Hey, you know what? Whether someone replies to the list address or your > address, it's still going to end up in your mailbox, so chill out. It's > a simple matter to change the list preferences to make the list address > the reply-to address. If the list owner won'

Re: [Tutor] screen scraping without the request

2007-04-22 Thread Rohan Deshpande
Hi Luke/Kent, Assuming I can find the POST, is mechanize the way to go to mimic browser functionality? or do i need other/extra libraries? Thanks, Rohan On 4/22/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Kent Johnson wrote: > Rohan Deshpande wrote: > >> Hi All, >> >> the previous thread

Re: [Tutor] screen scraping without the request

2007-04-22 Thread Luke Paireepinart
Kent Johnson wrote: > Rohan Deshpande wrote: > >> Hi All, >> >> the previous thread on screen scraping got me thinking of starting a >> similar project. However, the problem is I have no idea what the POST >> request is as there is no escape string after the URL when the resulting >> page co

Re: [Tutor] IDE / development environment

2007-04-22 Thread Vince Teachout
Angela K. Foughty wrote: > Hey, you know what? Whether someone replies to the list address or your > address, it's still going to end up in your mailbox, so chill out. It's > a simple matter to change the list preferences to make the list address > the reply-to address. If the list owner won'

Re: [Tutor] IDE / development environment

2007-04-22 Thread Angela K. Foughty
Hey, you know what? Whether someone replies to the list address or your address, it's still going to end up in your mailbox, so chill out. It's a simple matter to change the list preferences to make the list address the reply-to address. If the list owner won't do that, your beef is with him

Re: [Tutor] IDE / development environment

2007-04-22 Thread Rikard Bosnjakovic
On 4/22/07, Jia Lu <[EMAIL PROTECTED]> wrote: > SPE under Linux > PyScripter under windows Stop replying to my mailbox. -- - Rikard - http://bos.hack.org/cv/ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] screen scraping without the request

2007-04-22 Thread Kent Johnson
Rohan Deshpande wrote: > Hi All, > > the previous thread on screen scraping got me thinking of starting a > similar project. However, the problem is I have no idea what the POST > request is as there is no escape string after the URL when the resulting > page comes up. I essentially need to p

[Tutor] screen scraping without the request

2007-04-22 Thread Rohan Deshpande
Hi All, the previous thread on screen scraping got me thinking of starting a similar project. However, the problem is I have no idea what the POST request is as there is no escape string after the URL when the resulting page comes up. I essentially need to pull the HTML from a page that is gene

Re: [Tutor] IDE / development environment

2007-04-22 Thread Rikard Bosnjakovic
On 4/22/07, Rohan Deshpande <[EMAIL PROTECTED]> wrote: > What does everyone use as their development environment for Python, Emacs. -- - Rikard - http://bos.hack.org/cv/ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/

Re: [Tutor] IDE / development environment

2007-04-22 Thread Eike Welk
On Sunday 22 April 2007 10:51, Rohan Deshpande wrote: > What does everyone use as their development environment for Python, > particularly web dev? I use PyDev an extension for Eclipse: http://pydev.sourceforge.net/ It is good at syntax completion but it is quite slow. PyDev also lacks an interac

[Tutor] IDE / development environment

2007-04-22 Thread Rohan Deshpande
Hey guys, I've been using Linux for a long time but this is my first foray into app development. Therefore, I have never had to properly set up a development environment for myself. I am partial to vim as an editor, and have configured it for the python templating language i'm using with Pylons