Skip to content

Instantly share code, notes, and snippets.

View SaurabhG20's full-sized avatar

Saurabh Gangrade SaurabhG20

  • Working @ TCS
  • Bengalore
View GitHub Profile
@SaurabhG20
SaurabhG20 / readme.md
Created June 30, 2021 17:42 — forked from jondkelley/readme.md
Bash getopt long options with values usage example.

Bash getopt long options with values usage example

#!/bin/bash -e
# default args
TEST_MODE=FALSE
ENDPOINT_HOSTNAME=""
AUX=""

FLAG_LIST=(
@SaurabhG20
SaurabhG20 / show_python_path.md
Created June 29, 2021 18:00 — forked from jackiekazil/show_python_path.md
How do I identify what is on my python path (where python looks to import modules)?

What is on my python path?

Knowning where python is trying to find files is important.

Let's say try to import a module and you get an Import Error.

Like this:

>>>  import foo
---------------------------------------------------------------------------