-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Слияние всех .csv в один и .gitignore
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.csv | ||
|
||
*.json | ||
!003-data-example.json | ||
|
||
*.zip | ||
|
||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
python 001-order.py -f | ||
python 002-fetch.py | ||
python 003-parse.py | ||
python2 001-order.py -f | ||
python2 002-fetch.py | ||
python2 003-parse.py | ||
|
||
head -1 $(ls opendata-115-2* | head -1) > opendata-115-all.csv | ||
tail -n+2 -q opendata-115-2* >> opendata-115-all.csv | ||
|
||
zip "dataset-115.bel-$(date +'%Y%m%d-%H%M%S').zip" opendata* | ||
python 008-build.py | ||
|
||
python2 008-build.py |
5c1dd60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А что с 3им питоном не так было?
5c1dd60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ругается, что у модуля urllib нету метода urlopen, и на строки в некоторых местах тоже, т.к. во втором питоне 'строка' - тип byte, а в третьем - тип str. @abitrolly
5c1dd60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
115/001-order.py
Line 36 in a118ce9