Re: [Tutor] Web browser

2005-06-12 Thread Liam Clarke
Can Beautiful Soup execute scripts? I was trying to scrape using urllib2, and the _javascript_s messed my navigation up something chronic. On 6/13/05, Liam Clarke <[EMAIL PROTECTED]> wrote: For what Ismael wants, you'd need to use PyXPCOM.  IMAO, on a Win32 box, if you're not browsing dubious site

Re: [Tutor] Web browser

2005-06-12 Thread Liam Clarke
For what Ismael wants, you'd need to use PyXPCOM.  IMAO, on a Win32 box, if you're not browsing dubious sites, it's not really worth the effort of trying to grasp XPCOM, when ActiveX/COM & IE are sitting there ready to use with a simpler interface. My $0.02. On 6/12/05, Terry Carroll <[EMAIL PRO

Re: [Tutor] Python Books

2005-06-12 Thread Chuck Allison
Hello Terry, Practical Python is really good too, although I chose Learning Python over it to teach my class this month. Sunday, June 12, 2005, 9:00:34 AM, you wrote: TC> On Sun, 12 Jun 2005, Kristiano Ang wrote: >> So, I'm prepared to invest in a Python book of some sort that will >> help me

Re: [Tutor] Jimage reader. How to find the pixels?

2005-06-12 Thread Kent Johnson
Joseph Quigley wrote: > I have finally made my very first GUI program!! It needs some work > before I would ever consider putting it on sourceforge (ha ha ha). I > have a problem though. I can't find an image lib that will detect the > picture's height and width automatically. I can use wave to

Re: [Tutor] Python Books

2005-06-12 Thread Adam Cripps
On 6/12/05, Kristiano Ang <[EMAIL PROTECTED]> wrote: > Hey guys, > On and off, I've been looking through the Python tutorials and I've > been following the Josh Cogliati tutorial. While good for the basics, > I find them to be a little incomplete (i.e: Lack of answers/followups > for the excercis

[Tutor] Jimage reader. How to find the pixels?

2005-06-12 Thread Joseph Quigley
I have finally made my very first GUI program!! It needs some work before I would ever consider putting it on sourceforge (ha ha ha). I have a problem though. I can't find an image lib that will detect the picture's height and width automatically. I can use wave to detect mono or stereo but tha

Re: [Tutor] Python Books

2005-06-12 Thread Terry Carroll
On Sun, 12 Jun 2005, Kristiano Ang wrote: > So, I'm prepared to invest in a Python book of some sort that will > help me master the language. Does anyone have any recommendations? Or > perhaps tutorials? I have limited programming experience (a little > dabbling in C++). For a how-to-learn Pytho

[Tutor] Python Books

2005-06-12 Thread Kristiano Ang
Hey guys, On and off, I've been looking through the Python tutorials and I've been following the Josh Cogliati tutorial. While good for the basics, I find them to be a little incomplete (i.e: Lack of answers/followups for the excercises, etc). While this might not be a major issue, I am new to Py

Re: [Tutor] "Print" behaviour inside a loop?

2005-06-12 Thread Kent Johnson
Simon Gerber wrote: > I got it working with > > while ip_addr == "": > sys.stdout.writelines("...") > sys.stdout.flush() > time.sleep(0.5) > ip_addr = get_addr() > if ip_addr != '': > ... You should use sys.stdout.write(), not writelines(). writel

Re: [Tutor] "Print" behaviour inside a loop?

2005-06-12 Thread Simon Gerber
>Just use sys.stdout.writelines(' ... ') > >Example: > >>> import sys > >>> sys.stdout.writelines ('... '); sys.stdout.writelines ('... ') > ... ... >>> > > Thank you for the suggestion Lee, but I'm afraid that doesn't work either. Same problems as described before. Max Noel hit the nail rig