Skip to content

'Namespace' object has no attribute 'csv', reading_from_computer_python #25

@nenp93

Description

@nenp93

Hello,
I'm completely new to arduino and python. I need to give my arduino due coordinates from a csv file, which a programs creates on my pc. The arduino is used to controll a robot arm. I'm trying to dive in arduino an python programming and tried to run the example ,,reading_from_computer_python''. I copied the sketch for arduino and uploaded it successfully. When I try to run python --csv hurricanes-csv in the command window on my pc, the following error occures: line 42, in
with open(args.csv .name, 'rb') as f:
^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'csv'. Did you mean: 'csv '?

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions