Jan-03-2018, 10:29 PM
Thank you all for your very helpful and informative responses.
Unfortunately, I'm still having the problem.
I cannot use regular text writing function write() because some of the data has "commas", which leads to misinterpretation by the CSV reader. That because I'm using csv package.
I would appreciate if you kindly lake a look at my code in GitHub repository in this link:
GitHub repository for converting .bib 2 CSV
Please Open "ReadingBib1.py"
Two problems I have in the resultant "ConferencePublication.csv" file:
Please notice that the Python code write each line of CSV using the command:
Thanks again for you all ...
Unfortunately, I'm still having the problem.
I cannot use regular text writing function write() because some of the data has "commas", which leads to misinterpretation by the CSV reader. That because I'm using csv package.
I would appreciate if you kindly lake a look at my code in GitHub repository in this link:
GitHub repository for converting .bib 2 CSV
Please Open "ReadingBib1.py"
Two problems I have in the resultant "ConferencePublication.csv" file:
- The file has to header. Header's content is in a "List variable" named: CSVHeader. It's printed at the end of the code in line no. 62.
- I do not know why I always get an empty line between the lines in "ConferencePublication.csv" file!
Please notice that the Python code write each line of CSV using the command:
CSVWriterPointer.writerow(CSVLineContent)in line no. 61
Thanks again for you all ...