Comments (5)
This is a common problem I've encountered in a product of my own. You'll find similar issues with things called ~com etc, there are several reserved words. My solution was to prefix files with underscore etc
from robintrack.
Hi guys, I'm experiencing the same issue when extracting the data into Python. I'm a beginner in Python.
I download the Robintrack tar.gz file manually via the website. I then try to extract the files using tarfile in Python:
import tarfile
tf = tarfile.open(fname)
tf.extractall()
But I get the error: FileNotFoundError: [Errno 2] No such file or directory: '.\tmp\popularity_export\PRN.csv'
Any solution to overcome this without manually extracting the files out of Python first?
Thanks very much for any help
from robintrack.
Thanks for the reply dalexj - how do I use this write_csv_file script (or all the popularity_history_exporter script in general) to export the tar.gz file? Sorry if this is a basic question.
I have the path name of my tar.gz file - where do I go from there to just extract all that data into Python?
from robintrack.
The changes to prefix file names that are reserved on Windows has been pushed and the current archive available for download shouldn't have any issues on Windows.
@pp92391 you don't need to run the script yourself, it runs automatically and is used to produce the archive available for download on the Robintrack website.
from robintrack.
The changes to prefix file names that are reserved on Windows has been pushed and the current archive available for download shouldn't have any issues on Windows.
@pp92391 you don't need to run the script yourself, it runs automatically and is used to produce the archive available for download on the Robintrack website.
Thank you very much Ameobea, works very well now. Appreciate the help!
from robintrack.
Related Issues (20)
- Last data is from 08-14-2020 HOT 3
- Add CSV download for current view of popularity changes page HOT 1
- Replace dashes to periods in symbol search
- Robintrack Popularity History compressed file is corrupted while the archive generates HOT 12
- Incrementally clear cache after update rather than all at once
- What is the purpose of the ssh_tunnel in Justfile HOT 2
- Error when fetching neighboring popularity stocks for most popular stock (F)
- Lock tokens seem to not get dropped sometimes
- Retry failed requests on the frontend indefinitely
- Calculating Popularity Value from cURL Request HOT 2
- Data Download not working on site HOT 4
- Stale Data? Symbols/Popularity JSON File Missing Ticker Symbols HOT 4
- Data Download on Site Contains Stale (7/18) Data HOT 1
- Data Download not working on site HOT 3
- MTCH missing data after Jun 30 HOT 1
- `popularity_history_exporter` Cron job? Website has stale data HOT 1
- Chart on number of new users vs time HOT 2
- Cryptos HOT 1
- More often scrapes HOT 3
- Still working?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robintrack.