Open in TheBrain

Google's Python Class

<p>Feb 26, 2013 02:03 PM

&#160;

this contains the supplementary materials, code etc.

&#160;

<b>Guido van Rossum</b> works at Google... created in 1990.

&#160;

quick and light language... bang out code and be done.

&#160;

scripting language... &#160;similar to &#160;ruby, javascript, perl, bash, ruby etc. &#160;(no heavy type system)

lot of momentum;

&#160;

just try it immediately; &#160;no compile; &#160;small projects;

within google &#160;it is used a lot for small projects &#160;(debate abt whether it is good for

big projects)

&#160;

read, eval, print loop

&#160;

uses the types of what the vars are at runtime;

&#160;

a = 'hello'

&#160;

len(a) = 5

&#160;

<b>interpreter... do little experiments</b>!!!

&#160;

str(6) &#160;will turn 6 into a string

&#160;

'hello' &#160;+ &#160;str(6)

returns &#160;'hello6'

&#160;

use control D to exit &#160;(rather than quit)

&#160;

&#160;

&#160;

&#160;

&#160;

&#160;

&#160;</p>

Attachments