Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Learning Python: need projects for beginners

Name: Anonymous 2008-05-07 12:52

Hello EXPERT PROGRAMMERS

I am re-learning python/reinforcing what I know and I have written some simple apps, one is a cgi youtube downloader. I am going to write some stuff for del.icio.us and other API's.

Please post some ideas for some projects that would help me become more comfortable with python. Bonus points for web related/irc related.

Please keep the ideas at the beginner level as I am not an
EXPERT PROGRAMMER

Name: Anonymous 2008-05-07 13:07

import re
def substr(arg1, arg2):
    if re.search(arg1, arg2) == None:
       print 'No match found'
    else:
       print "found match at " + repr(re.search(arg1, arg2).span())

>>> substr("jarrod", "asldkjfhsalkdfjhasdkfljhasdfkjarrodshdfdafasdf")

found match at (29, 35)


>>> substr("jarrod", "asldkjfhsalkdfjhasdkfljhasdfkjarodshdfdafasdf")

No match found

Next test please. I will be back later. I want to build something cool. Like a web mp3 player so I can learn more.

Please give me more tests.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List