Categories
Mastering Development

DictReader not behaving as expected

My reader doesn’t read and print the rows of the CSV file created in the code above it. The CSV file is generated and is structured as follows (pasted from the CSV file)… id,Timing,GETQUOTE,PORTFOLIO,GETHOLDINGS,LOGOUT,QUOTES,GETCLOSEDORDERS,BUY,HOME,SELL 0,.,.,.,.,.,.,.,.,.,. 1,.,.,.,.,.,.,.,.,.,. 2,.,.,.,.,.,.,.,.,.,. Output from ‘print r’ print r: {‘ ‘: None, “‘”: None, ‘,’: None, ‘C’: None, ‘B’: None, ‘E’: […]