importing mysql data getting errors. #13267
Unanswered
fiercetartan
asked this question in
Help: Other Questions
Replies: 1 comment
-
it seems that the community are stumped on this issue too. Perhaps I will just save it as a .json file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting this errors when trying to import text from a mysql file. The errors I am getting range from
sample error:
Traceback (most recent call last): File "C:\PycharmProjects\fakevrealnews\outputtestwithseperatelines2.py", line 62, in self.body_model = os.path.join(*self.body_model) NameError: name 'os' is not defined
with open(self.body_model, "r", encoding="utf-8") as f:
OSError: [Errno 22] Invalid argument: 'JPMorgan Chase & Co., is building up its Canadian
The code below reflects the latest code attempt which is outlined below:
Here is the code:
Beta Was this translation helpful? Give feedback.
All reactions