Issue 16087: How to open a csv file in universal new line mode? (original) (raw)
Issue16087
Created on 2012-09-29 17:31 by kason561, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg171580 - (view) | Author: Kason (kason561) | Date: 2012-09-29 17:31 |
I am trying to follow the tutorial at http://www.slideshare.net/niloyghosh1984/qgis-tutorial-1 and I got to slide 24 of 47 whereupon I tried to use the mmqgis plugin to open the csv file, but I got this error: Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode? After searching for solutions to this error it indeed appears that I need to open this file in universal-newline mode...rU How do I do that? | ||
msg171582 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2012-09-29 17:41 |
The bug tracker isn't a good place to get help on using Python. You are more likely to find people to answer this sort of question on the python-list mailing list. If you are using python3, the answer is to use newline='', as discussed in the documentation. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:36 | admin | set | github: 60291 |
2012-09-29 17:41:54 | r.david.murray | set | status: open -> closedtype: compile error -> assignee: ronaldoussoren -> nosy: + r.david.murraymessages: + resolution: not a bugstage: resolved |
2012-09-29 17:31:59 | kason561 | create |