Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Friday, February 26, 2016

command line

very helpful tool is to know how to deal with the command line

https://www.codecademy.com/learn/learn-the-command-line


this command line is a terrific intro - follow it through to the end
nice thing about codecademy is that you can do bite size pieces and not have to think large scale -- every piece is chewable.


this command line is very much worth MASTERING.
objective: be able to teach someone every aspect of this, without resorting to notes.

the same command line interface is available in your ubuntu "terminal" or "xterm"
and in the "bash" console in pythonanywhere

Ubuntu linux

Ubuntu is one of many free linux distributions that you can easily install and will have python and other programming tools already installed and ready to use.

1. download the disk image ( .iso file)
2. burn to a DVD disk
3. boot your computer from that disk and either:

3a. run it "live" from the disk without touching your system
3b. install the operating system to your boot disk and replace your old one
3c. install Ubuntu linux beside your existing one, and boot to either.


This last one 3c, is great but you can only use one at a time (your original operating system or Ubuntu).

Actually more fun, when you get to that point, is to download and install a free desktop virtualization software (VMWare Player, VirtualBox, ..  ), create a virtual machine and boot that VM with the .iso image that you downloaded.    Everything in the VM (virtual machine) runs as if it were on a physical machine.  This needs enough memory and disk space, but you can create different workspaces for different projects.

Even on a single computer, you can create separate "virtual environments" using this: https://virtualenv.readthedocs.org/en/latest/  or read up http://docs.python-guide.org/en/latest/http://docs.python-guide.org/en/latest/  (hint: google "virtualenv" for latest info).