Learn Programming From Google

/ By Webmaster [+Watch]

Replies: 485 / 10 years 28 days 15 hours 8 minutes 9 seconds

  1. Download Python 2.7
  2. Download the Exercises

Next Watch Video Lectures From Google

  1. Introduction
  2. Lists and Sorting
  3. Dicts and Files
  4. Regular Expressions
  5. Utilities
  6. Conclusions

Start Here

youtube: http://www.youtube.com/watch?v=tKTZoB2Vjuk

Roleplay Reply. Do not chat here. (50 character limit.)

Custom Pic URL: Text formatting is now all ESV3.

Roleplay Responses

Oh, that's it? SDFHGSATG
  ES APPRENTICE PROGRAMMER / Omio / 9y 141d 11h 30m 11s
php just outputs html/text, never php itself. the content-type header in http protocol tells how the browser should process info
  Webmaster / 9y 141d 11h 46m 38s
  ES APPRENTICE PROGRAMMER / Omio / 9y 141d 16h 57m 41s
Rocks... =/
  ES APPRENTICE PROGRAMMER / Omio / 9y 141d 17h 45m 54s
I had to.
  BOOBIES! / ES APPRENTICE PROGRAMMER / Omio / 9y 141d 20h 25m 22s
On a random note, making a work-in-progress website to serve these needs: Pragma Zone

Jimmy, on a server, where you have PHP spitting out HTML code... ...how does a browser recognize it as HTML code?
  ES APPRENTICE PROGRAMMER / Omio / 9y 142d 9h 10m 59s
I'm after functionality first. Then I'll worry about performance.

Also, can I get a few erlang examples from you? The documentation isn't helping me one bit. It's helping me understand syntax, kinda, but I really need better interpretation of the logic...
  OOCCrap / ES APPRENTICE PROGRAMMER / Omio / 9y 186d 15h 38m 7s
you don't. Also you can't make a chat in pure javascript. Well, maybe with node.js as the server, but it's pretty shit.
  Webmaster / 9y 186d 18h 34m 49s
Jimmy, how would I get PHP or other normally-unseen-by-users code from a server? [Planning on making a chat in purely Javascript]
  OOCCrap / ES APPRENTICE PROGRAMMER / Omio / 9y 186d 20h 3m 55s
Wait, Gwynn, you're learning Python? Eek, I'd better step up, and learn the crapload of other languages. D=

Jimmy, PM sent about manually making a 'exponent
expbase, float exppower
' method.
  OOCCrap / ES APPRENTICE PROGRAMMER / Omio / 9y 204d 16h 6m 57s
yeah it works now.
  Retired / 9y 247d 9h 31m 39s
Google's examples were designed for python27. If you want to use python31 there's a minor differences trying to make the language more standardized. You can have both versions installed at the same time though. There's some good intros to 3.1 elsewhere.

The changes not a big deal and mostly deal with "print" for most examples. You need to add parenthesis, eg
instead of
print "Hello World"
  Webmaster / 9y 247d 9h 36m 13s
C:\Python31>python ./google/hello.py
File "./google-python-exercises/hello.py", line 29
print 'Hello', name
SyntaxError: invalid syntax

alright, so is there a way I can run it without doing this every time I want to run a python file?
  Retired / 9y 247d 9h 45m 21s
my bad
windows key + R then type cmd
or start -> run -> cmd

You need to open a console first, then navigate to python directory or examples directory to run properly.
  Webmaster / 9y 247d 9h 59m 49s
yeah, it just keeps closing.
  Retired / 9y 247d 10h 12m 19s

All posts are either in parody or to be taken as literature. This is a roleplay site. Sexual content is forbidden.

Use of this site constitutes acceptance of our
Privacy Policy, Terms of Service and Use, User Agreement, and Legal.