Skip to content

How to use googletrans’s Translator on SQLAlchemy object

I am trying to translate couple of columns in cloud MySQL table using googletrans’s Translator function. Here I read the MySQL table: And then here I try to translate it: But when I try to see if the translation took place using below code, I get no output. I am new to SQLALchemy and unable to find a so…

Python skipping functions when ran in VS Code

I have written the following python code to read in XYZ data as CSV and then grid to a GTiff format. When I run the code I am getting no errors. However, after trying to debug, I added some print statements and noticed that the functions aren’t actually being called. How can I run this script so that it…