Welcome to the Forum

Creating an account is currently only possible via registration at SimFin.

Problem with Python csv extraction to XLSX

Hello,

Sorry if this is really a dumb question, but I have used the GitHub archives and extractor.py works great, then I run processSimfin.py and I can't get to enter the inputFile.

Terminal:

-----

Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 7.2.0 -- An enhanced Interactive Python.

runfile('C:/DATA/extractor.py', wdir='C:/DATA')

runfile('C:/DATA/processSimfin.py', wdir='C:/DATA')
No input file name given!
--inputFile=<> - specify the CSV to be parsed (mandatory)
--delimiter=<> - specify the CSV delimiter (defaults to semicolon)
--minYear=<> - will only include entries from this year onwards
--tickers=<> - will only include entries from this year onwards
--help - print this information

--inputFile=output-semicolon-wide.csv
File "", line 1
--inputFile=output-semicolon-wide.csv
^
SyntaxError: can't assign to operator

-----
Haven't used Python since University so no idea what I'm doing anymore.

Thanks in advance,
GA

Comments

Sign In to comment.