Skip to content

obscuritylabs/PythonFundamentals

Repository files navigation

Run on Repl.it

Python Fun(damentals)

Course TOC

The course is built to be taught in a structured order:

  1. Python 3 Setup
  2. Python 3 Core
  3. Python 3 Types
  4. Python 3 Variables
  5. Python 3 Flow Control

Course Introduction

This course was designed in free time for our team who are not already or currently studying basic programing principles. It is built to introduce them to a few concepts that are key to understanding the Python programing language and syntax. Many of the lessons as a seasoned programmer come only with time, this course is meant to arm a programmer with the thought process and how logic works within the programing world and the basic concepts to apply that thought process to get Python to do what you need it get the job done.

setup guide

Windows 10

You will need Chocolatey, this can be installed easily with a one-line download:\

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

NOTE: Install guide can be found here https://chocolatey.org/docs/installation#installing-chocolatey

choco install -y python vscode git cmder
python -m pip install -U pip
pip install --user --upgrade pipenv

You may need to add pipenv to your path (Ex. here was my path):

C:\Users\Killswitch3\AppData\Roaming\Python\Python36\Scripts

Now our environment is ready to start to get to work within PowerShell:

PS C:\Users\Killswitch3\tools> git clone https://github.com/obscuritylabs/PythonFundamentals.git 
PS C:\Users\Killswitch3\tools> cd .\PythonFundamentals\
PS C:\Users\Killswitch3\tools> python -m pipenv install
PS C:\Users\Killswitch3\tools> python -m pipenv shell

MacOS

You will need Homebrew which is a package manager for MacOS.:

xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

NOTE: Install guide can be found here https://brew.sh/

alexanderrymdeko-harvey@alexandersMBP2:~/tools/PythonFundamentals$  brew install python3 pipenv git
alexanderrymdeko-harvey@alexandersMBP2:~/tools/PythonFundamentals$  python3 -m pip install -U pip

Now our environment is ready to start to get to work within Terminal:

alexanderrymdeko-harvey@alexandersMBP2:~/tools$ git clone https://github.com/obscuritylabs/PythonFundamentals.git
alexanderrymdeko-harvey@alexandersMBP2:~/tools$ cd PythonFundamentals
alexanderrymdeko-harvey@alexandersMBP2:~/tools/PythonFundamentals$ pipenv install 
alexanderrymdeko-harvey@alexandersMBP2:~/tools/PythonFundamentals$ pipenv shell
(PythonFundamentals) alexanderrymdeko-harvey@alexandersMBP2:~/tools/PythonFundamentals$ python --version
Python 3.6.6

Ubuntu 18.04

You will need apt, but ubuntu is easy...

sudo apt update && apt install -y python3 python3-dev python3-pip 
python3 -m pip install -U pip
sudo pip3 install --user --upgrade pipenv

About

Python Fundamentals training and video series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published