bad argument type for built-in operation

F

Florian Lindner

Hello,
I've the traceback:

Traceback (most recent call last):
File "visualizer.py", line 8, in ?
main()
File "visualizer.py", line 5, in main
g = GraphCreator(f)
File "/home/florian/visualizer/GraphCreator.py", line 13, in __init__
self.conf = ConfigReader(config)
File "/home/florian/visualizer/ConfigReader.py", line 53, in __init__
graph.sourceReader = CSVReader(filename, firstline, delimiter)
File "/home/florian/visualizer/ConfigReader.py", line 13, in __init__
self.reader = csv.reader(f, delimiter=Adelimiter)
TypeError: bad argument type for built-in operation

f ist file object, Adelimiter is ",".

What is wrong there?

Thanks,
Florian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top