Python 3.8 error
ImportError: cannot import name \'mydb\' from partially initialized module \'connection\' (most likely due to a circular import) (C:\\U sers\
As mentioned above, most likely you are using a code formatter which puts all the import statements at the top. Just go to settings and disable the format on save.
Go to the file with error, correct the order of import statements and save.