The Location Field is the New Command Line: Difference between revisions
No edit summary |
|||
Line 19: | Line 19: | ||
== Python Basics == | == Python Basics == | ||
* Loops & Variables (See [[Prototyping/Soldier Soldier Will You Marry Me]]) | * Loops & Variables (See [[Prototyping/Soldier Soldier Will You Marry Me]]) | ||
* Working with Lists, Dictionaries | * '''Working with Lists, Dictionaries (See [[JSON ]])''' | ||
* Text manipulation & Regular Expressions | * Text manipulation & Regular Expressions | ||
* Working with files | * Working with files |
Revision as of 13:51, 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
- ideas to link command line options to cgi?
- http://pagekite.net/
- Python Crash Course
- http://www.guardian.co.uk/info/developer-blog/2011/oct/07/programming-developer-journalist -- nice link jonas!
Python Basics
- Loops & Variables (See Prototyping/Soldier Soldier Will You Marry Me)
- Working with Lists, Dictionaries (See JSON )
- Text manipulation & Regular Expressions
- Working with files
- Functions, Calling & defining
- Reading and Posting data from/to a URL
- Posting a file to a URL
- Reading a feed