Python
Web development with django
Version control software
Server Administration
Databases (lightly)
Web servers
PCI DSS compliance on a server (a security standard)
Data analytics
Installation Python
Setting up a python workspace.
How to write your first application in python
Setting up a python project, so that you can easily improve it and test it.
Windows, Mac, and Linux (Ubuntu)
For more info go to: https://www.howtogeek.com/197947/how-to-install-python-on-windows/
For more info go to:
http://docs.python-guide.org/en/latest/starting/install3/osx/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
brew install python
sudo apt install python3
We'll be using Ubuntu for the rest of the talks, and we'll provide a VirtualBox machine for everyone.
Pipenv, python and you!
sudo apt install python3-pip
For more info go to:http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvironments-ref
pip install --user pipenv
The first iteration.
print("I love dans cats, and i wished that he showed them more.")
python3 print.py
I love dans cats, and i wished that he showed them more.
name = input("what is your name? ")
print("Hello {}!".format(name))
python3 user_input.py
Hello Dan!
name = input("what is your name? ")
if name == 'Dan':
print("Hello Master {}!".format(name))
python3 master_if.py
Hello Master Dan!
name = input("what is your name? ")
if name == 'Dan':
print("Hello Master {}!".format(name))
else:
print("Hello {}, I guess....".format(name))
python3 master_if.py
Hello Steve, I guess....
age = input("what is your age? ")
dots = ''
for i in age:
dots += '.'
print(dots)
python3 for.py
...
def get_fortune(name, age):
print("Hello {} year old {}, and your lucky numbers are 3 5 6".format(age, name))
name = input("Please enter your name: ")
age = input("Please enter your age: ")
get_fortune(name, age)
python3 function.py
Hello 28 year old Daniel, and your lucky numbers are 3 5 6
def get_fortune(name, age):
print("Hello {} year old {}, and your lucky numbers are 3 5 6".format(age, name))
while True:
fail_condition = input('Do you want your fortune? ("x" to quit, or enter to continue)\n')
if fail_condition == 'x':
break
name = input("Please enter your name: ")
age = input("Please enter your age: ")
get_fortune(name, age)
print('Thank you! \n\n')
python3 while.py
Congrats on the early prototype though!
The second iteration of fortunato.
pipenv install -e .
pipenv install -d -e .[dev]
Useful commands for pipenv that we'll be using
This is going to create two files for us that are important:
(which is at least more than last time.)