question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't we access other Drives except C: by using Spyder file explorer?

See original GitHub issue

Description of your problem

I am new to Spyder, My some data pre-processing files are in D: derive but I’m not able to access those files because there is no option instead C: which are automatically picked by spyder file explorer. What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below

Versions and main components

  • Spyder Version:
  • Python Version:
  • Qt Version:
  • PyQt Version:
  • Operating system:

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

15reactions
csabellacommented, Jan 17, 2018

I was able to select other folders on Windows 7 with Spyder 3.2.5. To do so, I had to change the Current Working Directory (the line above the File Explorer in the screen shot) by selecting the Folder icon next to the entry box. The calltip (if you hover over the Current Working Directory box) mentions that it is the working directory for the file explorer.

1reaction
CAM-Gerlachcommented, Sep 15, 2018

@kevindRuby There’s really no reason to do all that just to switch drives, since:

  • You can just paste it directly into the working directory bar in the main Spyder UI
  • You can also browse for the drive from there, and
  • That hardcodes the working directory for whenever Spyder is launched and all projects opened, so projects do not set the working directory properly as they normally would (which is one of their main functions at the moment).

If you really want something like that, its more flexible just to use projects instead, so your directory is automatically set to your project directory upon opening, which will be wherever you set it. The usecase for that setting is really only if you only ever work in one main directory no matter what, or you want your working directory to always be the same (e.g. top level) directory while keeping different sessions associated with directories within that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Open Jupyter Notebook from a Drive Other than C Drive
You can launch it from any drive/location you want with the --notebook-dir option. For example: jupyter notebook --notebook-dir=D:/.
Read more >
Files — Spyder 5 documentation
You can view and filter files according to their type and extension, open them with the Editor or an external tool, and perform...
Read more >
Show Local Disks Under This PC in File Explorer Like ...
Go into File Explorer > View > Options > Change Folder and Search Options. On General Tab set Open File Explorer to This...
Read more >
Arduino With Python: How to Get Started - Real Python
Note: You'll be using the Arduino IDE in this tutorial, but Arduino also provides a web editor that will let you program Arduino...
Read more >
Image Processing with Python - Data Carpentry
Rather than loading it from a file, we will generate this example using numpy. # set the random seed so we all get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found