DEVELOPER ESSENTIALS

Quick-Start Guide: Minimalistic Python Workflow

Get up and running with Python, git Bash, and VS Code in ~30 minutes.

Accessing the terminal

Image for post
Image for post
This is the Ubuntu 19.04 terminal. Don’t let the blank screen scare you.

Installing and Verifying Python

Installing Python on Windows 10

Installing Python on Ubuntu 18+

Command 'python3' not found, but can be installed with:sudo apt install python3
sudo apt update && upgrade
sudo apt install python3

Verifying the installation (Windows 10 or Ubuntu 18+):

Image for post
Image for post
>>> print('Hello, world!')
>>> x = lambda x : print('<3' * x); x(9000);
>>> qerfwerfwerg
Image for post
Image for post
>>> exit()
sudo apt install pip
sudo apt install pip3

Installing git Bash

git status
fatal: not a git repository (or any of the parent directories): .git
git config --global user.name "YourUserName"
git config --global user.email "YourEmail@SomeDomain.com"

Installing and Configuring Visual Studio Code

{
"window.restoreWindows": "none",
"editor.mouseWheelZoom": true,
"editor.renderWhitespace": "all",
"workbench.startupEditor": "newUntitledFile",
"window.titleBarStyle": "custom",
"editor.minimap.maxColumn": 50,
"editor.minimap.renderCharacters": false,
"breadcrumbs.enabled": true
}
Image for post
Image for post
The top right (see the cursor) has a button you can click to manually paste in the settings above.

Conclusion and further reading

Written by

Data wrangler, musician, and gamer. Writer for Towards Data Science, The Startup, and Digital Diplomacy.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store