This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class FileType01(object): | |
| """ | |
| Name: FileType01 | |
| Type: Class |