Extensions

  • VS Intellisense
  • VS-code Icons
  • Code Runner
  • Material Theme
  • Material Theme Icons (Community)
    • Pick the theme you like
    • Started with dark high contrast
  • Gitlens
  • Live Server
  • PyQt Integration
  • Rainbow Brackets

Setting the Python Path

  • In the terminal, get into python editor by typing ‘python3’
  • Then enter, ‘import sys’ hit enter, then enter ‘print(sys.executable)
  • Copy the python path
  • Go to Preferences and find settings
  • In upper right corner, click on icon to go into the settings.json file
  • Enter ‘pythonpath’ and choose the appropriate choice
  • Paste the copied path over the word ‘python’

geckodriver-autoinstaller

https://pypi.org/project/geckodriver-autoinstaller/

Automatically download and install geckodriver that supports the currently installed version of firefox. This installer supports Linux, MacOS and Windows operating systems.

Installation

pip install geckodriver-autoinstaller

Usage

Just type import geckodriver_autoinstaller in the module you want to use geckodriver.

Example of Python code for geckodriver

from selenium import webdriver
import geckodriver_autoinstaller


geckodriver_autoinstaller.install()  # Check if the current version of geckodriver exists
                                     # and if it doesn't exist, download it automatically,
                                     # then add geckodriver to path

driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title

Setting Theme and Color

CTRL+SHIFT+P gets the menu
then type Theme
then pick the Theme from the list

Linux Keyboard Shortcuts Link: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf

Sample of Text created at textcraft.net