User:Michael Murtaugh/Notes: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 8: Line 8:
  export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib
  export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib


* optparser (Inkscape!)


* Rudimentary understanding of BASH scripts
* Rudimentary understanding of BASH scripts

Revision as of 15:21, 18 September 2011

  • Performing a script
  • The concept of a "PATH"
    • Creating a "bin" folder, ensuring it's in the path.
    • Creating a "pythonlib" folder and adding it to the PYTHONPATH

Open .bash_aliases in your HOME directory, and add:

export PYTHONPATH=$PYTHONPATH:$HOME/pythonlib
  • optparser (Inkscape!)

Bash

what is a script?

what is a variable?

what is a loop?

sources of (live) information:

  • date
  • traceroute