Skip to content

Instantly share code, notes, and snippets.

@markscottwright
Created July 5, 2023 11:46
Show Gist options
  • Save markscottwright/026d3b6d95235051a83f5a21f16d0947 to your computer and use it in GitHub Desktop.
Save markscottwright/026d3b6d95235051a83f5a21f16d0947 to your computer and use it in GitHub Desktop.
My PyCharm console startup script
import sys
sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS])
from pprint import pprint as pp
try:
import dotenv
dotenv.load_dotenv()
except ModuleNotFoundError:
pass
print('Python %s on %s' % (sys.version, sys.platform))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment