Skip to content

Interactive data science environment runs in a temp directory by default #3764

Description

Environment data

  • VS Code version: 1.29.1
  • Extension version (available under the Extensions sidebar): 2018.10.1
  • OS and version: MacOS 10.14.1
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda, 3.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A

Actual behavior

If I open a notebook, I expect my working directory to be the notebook directory, so I can load up others files in that directory using paths starting with "./". However, it appears the working directory is a temporary directory (e.g. /private/var/folders/gq/1zp9x1h125j7w4_gbb4kryv00000gn/T)

Expected behavior

Working directory should be notebook directory by default.

Steps to reproduce:

  1. Run:

    #%%
    !pwd

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions