Learn Programming From Google

/ By Webmaster [+Watch]

Replies: 485 / 9 years 153 days 10 hours 36 minutes 16 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
ZOMG WTF D'AWW.
  ES APPRENTICE PROGRAMMER / Omio / 8y 266d 6h 58m 18s
php just outputs html/text, never php itself. the content-type header in http protocol tells how the browser should process info
  Webmaster / 8y 266d 7h 14m 45s
Sorry...
  ES APPRENTICE PROGRAMMER / Omio / 8y 266d 12h 25m 48s
Rocks... =/
  ES APPRENTICE PROGRAMMER / Omio / 8y 266d 13h 14m 1s
I had to.
  BOOBIES! / ES APPRENTICE PROGRAMMER / Omio / 8y 266d 15h 53m 29s
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 / 8y 267d 4h 39m 6s
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 / 8y 311d 11h 6m 14s
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 / 8y 311d 14h 2m 56s
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 / 8y 311d 15h 32m 2s
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 / 8y 329d 11h 35m 4s
yeah it works now.
  Retired / 9y 7d 4h 59m 46s
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
print
instead of
print "Hello World"
  Webmaster / 9y 7d 5h 4m 20s
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 7d 5h 13m 28s
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 7d 5h 27m 56s
yeah, it just keeps closing.
  Retired / 9y 7d 5h 40m 26s
12345678910..33

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.
Roleplay
12345678910..33