Skip to content

Instantly share code, notes, and snippets.

@scanbix
Last active February 25, 2024 10:02
Show Gist options
  • Save scanbix/88cf98a7ba70c218e8831d660f7a381b to your computer and use it in GitHub Desktop.
Save scanbix/88cf98a7ba70c218e8831d660f7a381b to your computer and use it in GitHub Desktop.
python -m venv .venv
.\.venv\Scripts\activate
python -m pip install --upgrade pip
deactivate
python -m pip install -r requirements.txt
python -m pip freeze
The --user option may be useful if you do not have permission to write to system directories, and proxy if needed.
python -m pip install oracledb --user --proxy=http://proxy.example.com:80
if __name__ == '__main__':
print(f'Hi, {name}')
# Check if specific value exist in the column "REP_SECTION_TXT" != None
row = local_ref_cursor.fetchone()
rep_section_txt = row[3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment