Re: [Tutor] RE Silliness

2009-01-05 Thread Omer
./\?=\R]+) re.findall(UglyUrlMask,text) ['http://this.is.a/url?header=nullbr', 'http://and.another.url'] Anyone?) On Mon, Jan 5, 2009 at 12:08 AM, spir denis.s...@free.fr wrote: On Sun, 04 Jan 2009 14:09:53 -0500 bob gailer bgai...@gmail.com wrote: Omer wrote: I'm sorry, burrowed

[Tutor] RE Silliness

2009-01-04 Thread Omer
character via []s. I for some reason thuoght it'll be ()s, but no help there- it just returns only the br. Anybody? Thx, Omer. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Fwd: Class Extend Help

2008-12-28 Thread Omer
...@tds.net: On Tue, Dec 23, 2008 at 9:31 AM, Omer jaggojaggo...@gmail.comjaggojaggo%2...@gmail.com wrote: from urllib import urlopen class fetch(urlopen): ... def __init__(self,*args): ... urlopen.__init__(self, *args) ... self.content = self.read() ... Traceback

[Tutor] Fwd: Class Extend Help

2008-12-23 Thread Omer
) self.content = self.read() This probably doesn't behave exactly the same way as the google class, but it should be similar enough? --- Richard Roadie Rich Lovely, part of the JNP|UK Famile www.theJNP.com 2008/12/20 Omer jaggojaggo...@gmail.com jaggojaggo%2...@gmail.com: Hey. I'm trying

[Tutor] Class Extend Help

2008-12-20 Thread Omer
(url.com).content to replace urlopen(url.com).read() Mind, content is not a method. Thoughts? Thx. Omer. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] dealing with user input whose value I don't know

2008-10-05 Thread Omer
On Fri, Oct 3, 2008 at 9:45 AM, David [EMAIL PROTECTED] wrote: Here is the code: def main(): import string Hey, lagging a bit behind the list, import string is unnecessary, mate. ___ Tutor maillist - Tutor@python.org

Re: [Tutor] Tutor Archives and PC Crash

2008-10-04 Thread Omer
(Or you could start using Gmail, which conveniantly archives Qs with their As, based on subject line,) On Wed, Oct 1, 2008 at 12:26 AM, Alan Gauld [EMAIL PROTECTED]wrote: Danny Yoo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yup. See:

Re: [Tutor] Text Scatter Plots?

2008-10-04 Thread Omer
You could check out Google Visualization API. supposed to be fairly nifty; haven't had time to check it out myself though. On Wed, Oct 1, 2008 at 4:49 PM, R. Alan Monroe [EMAIL PROTECTED]wrote: Is there a text graphics module that does say scatter plots or histograms? I'm thinking of stuff

Re: [Tutor] Current path (of program)

2008-09-26 Thread Omer
No, I shouldn't think it is. Lots o' folk use this list in archived mode and the important bit is that each question comes with an answer, regardless of the actual persons involved. On Thu, Sep 25, 2008 at 10:58 PM, Adrian Greyling [EMAIL PROTECTED] wrote: Is it a faux pas to answer your own

Re: [Tutor] Printing Scripts with color/good formatting

2008-09-14 Thread Omer
I went through a similar process: I got used to PyWin on XP, then when switching to Vista pywin did not install with Python. So I simply downloaded and installed it. (link: http://sourceforge.net/projects/pywin32/ ) Hth, Omer. On Sat, Sep 13, 2008 at 5:41 AM, Mike Meisner [EMAIL PROTECTED] wrote

Re: [Tutor] Win32 extensions

2008-09-13 Thread Omer
On Fri, Sep 12, 2008 at 2:31 AM, Alan Gauld [EMAIL PROTECTED]wrote: Yes if you spend a lot of money. You can buy a set of libraries from a comany called Bristol Technology (I think, it's over 8 years since I used it!) that allows you to build Windows software on a Unix box. A bit like cygwin

Re: [Tutor] Looking at a String as a Struct?

2008-09-11 Thread Omer
:)] self.Surname = str[str.find(Last name:)+len(Last name:):str.find(date_of_birth)] And just create a list of these, adding various get methods for easy information retrieval. (Here's for wandering whether my way of doing it counts as Pythonic.) HTH. Omer. On Thu, Sep 11, 2008 at 4:58 PM, Wayne

[Tutor] Online Scripting

2008-09-07 Thread Omer
.) Sorry about this message's length, Help will be appreciated, thank you for your time. Omer. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor