Monday, June 18, 2012

"Python - Diving In" Chapter 2

"Python - Diving In" Chapter 2

Setting up a Virtual Environment
  • pip install virtualevn
  • virtualenv NAME
  • cd NAME
  • source bin/activate
  • which python
  • deactivate
  • which python
Activating and deactivating determine whether your script is using your normal environment or the virtual one you've created. 

Important Facts
  • Indentation (NOT {} ) determine function start/end
  • Everything is an object
  • Strongly and Dynamically typed
    • Strong - must explicitly cast
    • Dynamic - determines types at runtime
  • Does not support in-line assignments

Side Project Updates
I documented the Arduino+BT+Android door opening adventure in a README on github.
First encounter with markdown. 

This Markdown Editor was particularly helpful.

No comments:

Post a Comment