Intro to Coding Python On Linux


Details
Learn the setup and environment management of python on a Linux platform along with an intro to basic coding.
We will go over the basics and give an overview of object-oriented programming. This class is a start class free to the public people are encouraged to bring laptops and follow along.
Before attending if you wish to follow along, please download install or upgrade Vagrant and Virtualbox. As I will be using the latest Vagrant and Virtual Box to manage the virtual machine, I am coding on in the class.
Virtual Box - https://www.virtualbox.org/wiki/Downloads
Vagrant - https://www.vagrantup.com/downloads.html
Note you will need to reboot after installing both of the programs.
Additionally, you will need a command line tool if you don’t already have one such as
Cmder (http://cmder.net/) or babun (http://babun.github.io/).
I Also recommend downloading notepad++ as we will be using to code our python
https://notepad-plus-plus.org/
After installing vagrant and other software start your terminal using Cmder or babun,
Create a directory which you wish to store your project files we will init the vagrant machine in this folder Such as Desktop vagrantvm/python. -- Terminal Commands
#mkdir vagrantvm
#mkdir vagrantvm/python
#cd vagrantvm/python
Next, you’ll need to setup your virtual machine by executing the vagrant command below
#vagrant init bento/centos-7.4
#vagrant up
#vagrant ssh
Once that has run, you should be able to ssh into your box by running “vagrant ssh.”
If you wish to share files between your VM and your host machine you would be able to see files in vagrant by using the shared folder which should show up as /shared on your Linux machine and will have the files from the python folder in it.

Intro to Coding Python On Linux