Почему я не могу импортировать путь attr из моего модуля, когда он определен внутри него - PullRequest
0 голосов
/ 10 ноября 2018
'''import section'''
    import sqlite3
    import sys
    sys.path.append("E:\PyCharm\Projects\data1.0\main_window")
    from main_window.mi import path
    def main():
''' there is usage of attr'''
        connection=sqlite3.connect(path)
        first_cursor=connection.cursor()
...