python - Import module within a class -


i'd make class stores database connection information. when i'm writing ad-hoc analysis, import class , have connection readily available. it's first time using classes here i've tried it's giving me missing self argument.

enter image description here


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -