This file contains 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
# ref https://realpython.com/python-logging/ | |
import logging | |
# filter for logging handler - console_handler_debugs | |
def show_only_debugs(record): | |
return record.levelname == 'DEBUG' | |
# instantiate logger and handlers |
This file contains 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
import uuid | |
from io import StringIO | |
import pandas as pd | |
import sqlalchemy as sql | |
import sqlalchemy.dialects.mssql as mssql | |
from sqlalchemy import ( | |
Column, | |
Identity, | |
Integer, |
This file contains 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
import csv | |
import json | |
import sys | |
from io import StringIO | |
import pandas as pd | |
import requests | |
# setting path for vscode interactive window | |
sys.path.append('/home/<user>/Code/python_playground') |
This file contains 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
// Place your key bindings in this file to override the defaults | |
[ | |
// NAVIGATION | |
{ | |
"key": "ctrl+shift+n", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus | editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+j", |
This file contains 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 problem is that the curent user is not the owner of the directory. I got the same problem in Ubuntu, this line solves the issue: | |
sudo chown -R $USER <path-to-folder> |