3. Defs In Out, download of images and output to a file - SheilaOM/TFG GitHub Wiki
In/Out
Until now, I had a simple file that only had one main. I create the Creator class and separate the data input (data extraction from .csv) from the data output (Latex text output), creating the defs DataIn and DataOut.
Link to commit of In/Out. This commit has small errors in the main. Fixed in next commit.
Download of images
Before, the image was downloaded by hand to my store. Now it is automatically downloaded from a url. This url is one of the .csv fields.
Output to a file
Until now, the generated Latex text was returned with print to the console, which I copied to the generated.txt file. Now the text is written directly into that file.