atom-community / atom-community/atom-script
Not finding text file
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm loading a text file using numpy.loadtxt('filename.extension'). When I try to run this script in atom, it cannot find the file, though the python file with the code and this file are in the same directory. I run the code via the terminal and it works just fine, though.
Best,
Murti
Contributor guide
Research direction
Reproduce the script through Atom and through the terminal, using the numpy.loadtxt('filename.extension') entry point, and compare the working directory used by each. Trace Atom's script execution path to identify the relative-path difference; done means the text file beside the Python script is found when run from Atom, with a regression test or documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100