Added: 1 year ago
From: GoogleDevelopers
Views: 72,924
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (56)

Sign In or Sign Up now to post a comment!
  • what you'd call a pig with 3 eyes?

    piiiig @_@

  • Trinity lul

  • PIIIG hahahahahaha

  • Baby Names Database! :P

  • Class Day is almost over.

  • Does anybody know what will be the pattern you need to use to get the 5th, 7th or 13th character of a string????

  • @LikeToLMFAO no need for a search, just use the index value. e.g. stringVar='this is the string' then the 3rd character ('i') is simply stringVar[2]

  • @Gr1pp717 thx!!!!

  • hetalksreallyfast!

  • Reminds me of Hawkeye from M*A*S*H*, I wish he could be my lecturer for everything.

  • This is definately a suspenseful video... I almost wet myself when he got to re.findall

  • whenever things get interesting, it means you're gonna be in big trouble :)

  • r'\S+@\S+' worked nicely as a pattern for me when looking for an email. Of course this assumes there is whitespace infront of and after the email address.

  • 3 people find regular expressions too hard.

  • piiiiig!

  • hahahahahaha piiig

  • someday everybody will be able to program. It will be even easier..

  • THE CUP IS BACK!!! OMG!!!

  • @TheZigius1 ITS GOING TO FALL

  • @xxbondsxx as long as it doesnt land on ur freakin' head...leave the cup alone

  • BIIIIIG FAAAAN !!!!

  • Has anyone seen the re.match() expression occur in Iron Man 2? Look closely at the screens when Ivan Vanko builds his lightning thingy. The code pretty much looks like python.

  • @MrXStark Damn, now I'll have to watch it all over again.

  • I've never used regular expressions in Python before

  • Does anybody know why I cannot get baby*.html to work in windows 7? It doesn't seem to break it into a list of all files starting with baby, but instead just tries to open a file called baby*.html. When the script tries to open that file the program crashes.

  • @im2emo4myshrt paste your actual script on a code share site (like pastebin) , link it back here, and then maybe someone can help you

  • @im2emo4myshrt

    I'm also wondering how to get baby* to work, even using the posted solution code, it just tries to open a file exactly named 'baby*.html' Did you figure it out, or is it just a "windows thing?"

  • On Windows, the shell doesn't do it for you. Try using a batch file to launch it:

    for %%f in (c:\google-python-exercises\ba­bynames\baby*.html) do call babynames.py --summaryfile %%f

  • Baby names database? Are congratulations in order?

  • It's not a regular expression dot, it's just a regular dot.

    Genius

  • ahhaa "okay well theres some poorly written css and whatever." classic. this teacher is the man.

  • Anyone know how to run the assignment program on all the babyname files when using windows? I 'as error....

  • social security administration baby names....?

  • Regexp implementation in python is absolutely horrid, it is a friggin nightmare.

    Perl's regexp is so much easier to utilize.

    Python is so OOP crazy that they've convoluted the whole purpose that regexp is supposed to make extracting text/data easier.

    One would think that considering that the python programmers lifted so much from perl they would have lifted this the same.

  • @ThunderAppeal couldn't you write/find your own regular expressions module that you prefer? you're not tied down to the module that ships with python...

  • @JettPrograms I'm not in the business of writing modules. Why cant python ship with regexp built in the right way like perl? And why is regexp in a seperate 'module' in the first place? What kind of stupid thing is that that I should have to write my own module for something as basic as regexp? If I were google and had deep pockets and employed programmers who have nothing better to do all day than write modules I might cook something up.

  • he says "like" enought o sink a ship

  • Piiig.

    Well... Alrighty then!

  • Awesome Netscape T-shirt!

    Real shame they went under, damn MS [insert favourite swear word here]

  • how much adderall XR is this guy on

  • ummm allrighteee then

  • They should have mic'ed the question-askers in the audiance a LOT better. Or at least have the lecturer repeat the questions a little better before answering. It's REAL annoying not being able to hear the questions. Otherwise an excellent coverage and presentation.

  • i love the way he talks

  • loving these python classes :)

  • Wow, this is super useful. I've never used regular expressions in Python before. This is awesome

  • Personable guy. Easy to follow....

    And at only 9:00, I've found 20 places to apply this.

  • nerd

  • Allrighty!

  • @niesloanfreddy Made my day! :d

  • I like his 'N' shirt. classic.

  • @kamsky1975 how the hell does he still have a netscape shirt :S

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more