atom-community / atom-community/atom-script

Error Reading CSV File from Disk

Open
#875 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Code below works fine running straight from command line on Mac. Running python 3.5. Atom was launched from command line.

FileNotFoundError: [Errno 2] No such file or directory: 'driving.csv'

```
import csv

with open('driving.csv', encoding='utf-8') as csvfile:
reader = csv.DictReader(csvfile)
for row in reader:
print(row['ACCELEROMETER X (m/s)'], row['ACCELEROMETER Y (m/s)'])
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.