Feb-13-2017, 12:07 PM
(This post was last modified: Feb-13-2017, 12:25 PM by BruderKellermeister.)
thanks a lot for your help.
Since I picked up Python (actually: programming) just a few weeks ago, Im only familiar with the very basic concepts.
As for example Datatypes, very simple while / for - loops and so on.
My Material is a book (1100 pages) + internet research (stackoverflow etc.) + youtube.
I really do want to try to improve and also try to invest time in research before asking - but as soon as I start writing a program I have lots of questions and it seems as if research usually only leads to more questions.
Any ideas on how to approach getting better at this?
when trying to run your code from above I get:
csvwriter.writerow([line[0], line[columnumber]])
TypeError: a bytes-like object is required, not 'str'
Since I picked up Python (actually: programming) just a few weeks ago, Im only familiar with the very basic concepts.
As for example Datatypes, very simple while / for - loops and so on.
My Material is a book (1100 pages) + internet research (stackoverflow etc.) + youtube.
I really do want to try to improve and also try to invest time in research before asking - but as soon as I start writing a program I have lots of questions and it seems as if research usually only leads to more questions.
Any ideas on how to approach getting better at this?
when trying to run your code from above I get:
csvwriter.writerow([line[0], line[columnumber]])
TypeError: a bytes-like object is required, not 'str'