The Location Field is the New Command Line: Difference between revisions

From XPUB & Lens-Based wiki
Line 18: Line 18:


== Python Basics ==
== Python Basics ==
* Loops & Variables (See [[Prototyping/Solider Solider Will You Marry Me]])
* Loops & Variables (See [[Prototyping/Soldier Soldier Will You Marry Me]])
* Working with Lists, Dictionaries
* Working with Lists, Dictionaries
* Working with files
* Working with files

Revision as of 10:13, 28 October 2011

Used by technology blogger John Gruber, "The Location Field is the New Command Line", is a programmer's reflection of the movement, and related tensions, of application development away from the single PC to the network.

Topics:

  • argparse to build your own Python scripts with options
  • What is CGI?

Contrast / connect the commandline with:

  • An Inkscape effect ("old school" application)
  • Modern web API, and RSS Feeds

Exercise: Turning a simple Python script into a CGI script (dynamic web page)

Resources

Python Basics

  • Reading and Posting data from/to a URL
  • Posting a file to a URL
  • Reading a feed