Skip to content

Instantly share code, notes, and snippets.

THE FOUNDER’S GUIDE:
How to Install and Manage Multiple Python Versions on Windows 10
The expanded tutorial with concise explanations and screenshots
David Littlefield
Follow
Jan 13 · 10 min read
Image by Isabella and Louisa Fischer
class FileTests {
public static boolean FileExists(String path){
File f = new File(path);
// Check if the specified file
// Exists or not
if (f.exists()){
System.out.println("Exists");
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>
This paragraph
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>
This paragraph
1. How to Install Docker
Docker website
2. How to Install Docker on VsCode
Command Palette: Ctrl+Shift+P -> Docker extension
3. How to setup project
venv
Flow:
1. Make directory => mkdir testdir
2. Move to directory => cd testdir
3. Make a VENV => virtualenv <name>
* if <name> is not provided, everything placed in .
activate with Scripts\activate
* if <name> is provided, everything placed in <name>
activate with <name>\Scripts\activate
venv
Flow:
1. Make directory => mkdir testdir
2. Move to directory => cd testdir
3. Make a VENV => virtualenv <name>
* if <name> is not provided, everything placed in .
activate with Scripts\activate
* if <name> is provided, everything placed in <name>
activate with <name>\Scripts\activate
Pipenv
Installation: pip install pipenv (linux
python -m pip install pipenv
Pipenv files: Pipfile (All modules in env)
Pipfile.lock (All mods + dependencies)
Create environ: Go to project folder
# Basic Usage
Initiate: git init
Check status: git status
Check log/versions : git log
Changes to Staging: git add <fname>
Changes to Staging: git add .
Commit fr Staging: git commit -m "msg"
Checkout previous: git log (for hash)
git checkout <hash>
Shift to previous git reset hash (dont)
@onlyforbopi
onlyforbopi / Python.Class.FileStruct.v3.py
Last active March 4, 2021 23:40
FileStructClass #python #py #class #template
class FileType01(object):
"""
Name: FileType01
Type: Class