Python Limitations


Can' thank you , enough .


I'm going to finish chapter five of the http://www.ibiblio.org/obp/thinkCSpy/index.htm tutorial today, and I'm finding things quite interesting.

I'm picking most things up, but am having some major difficulties with creating my own functions .

Aside from that, and some of the more complex mathmatical functions (like sin), which I can't ever see myself needing to know anyway ... I'm grasping things.

Once again ... thanks .
Posted On: Friday 28th of December 2012 05:27:00 AM Total Views:  160
View Complete with Replies

RELATED TOPICS OF Python Programming PROGRAMMING LANGUAGE




Re: Regex Help

Support Desk wrote: > the code I am using is > > regex = r'' that's way too fragile to work with real-life HTML (what if the link has a TITLE attribute, for example or contains whitespace after the HREF) you might want to consider using a real HTML parser for this task. > page_text = urllib.urlopen('http://somesite.com') > page_text = page_text.read() > > links = re.findall(regex, text, re.IGNORECASE) the RE looks fine for the subset of all valid A elements that it can handle, though. got any examples of pages where you see that behaviour
VIEWS ON THIS POST

33

Posted on:

Wednesday 7th November 2012
View Replies!

grin 1.1

grin is a new grep-like tool for recursively searching through text files, primarily source code. Download: http://pypi.python.org/pypi/grin Wiki: https://svn.enthought.com/enthought/wiki/Grin SVN: https://svn.enthought.com/svn/sandbox/grin/trunk Basically, it does exactly what I want grep to do 99% of the time with the least amount of ...
VIEWS ON THIS POST

74

Posted on:

Sunday 11th November 2012
View Replies!