Add file from working directory into code

ruedi

Is there a 'shortcut' way to add a file in the code in pycharm? I have this structure everything is in a folder called 'myFolder' that you cannot see on the picture.

enter image description here

Using e.g. Visual Code I was able to reference the file like this:

df = pd.read_csv('in/test_DS.csv', sep=';', encoding='iso-8859-1')

is there a similar way in Pycharm or do I have to do full reference?

Sergey K.

There is currently no such feature, but there is a corresponding feature request https://youtrack.jetbrains.com/issue/PY-33254 which is In Progress and expected to be in 2019.2 version.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

VS Code - Add a new file under the selected working directory

git add file from directory

Cannot remove file from working directory

Docker - COPY file from different working directory to another is not working

Copying my working directory to experiment with code, then create a new repository from this

Copying file from host to Docker container's working directory

Extract extension of file from working directory and check condition

Shell script Copy file from one directory to another not working

How to load javascript source from the working directory of the current source file?

Geopandas not working after importing a file from a different directory

How to save all python objects from working directory to a file

How to move a file from the staging area to the working directory in Git?

Docker add no such file or directory

android - add images from drawable folder into a created file directory

Docker build from Dockerfile shows "ADD failed - No such file or directory"

How to add class files and folders to a jar file from a directory in Java

How to debug a file from current directory with Python in VS Code?

Run spark from source code on Windows - no such file or directory error

A js code is working fine from developer tool but not from js file

How to make a maven project recognize a file from its own directory instead of working directory?

Python renaming a file using contents from within the file for all files of that file type in working directory

Java Change File Working Directory

Directory.Exists(file) not working

"No such file or directory" but it exists and it's working

Cannot Read File in Working Directory

Script stopped working - No such file or directory

In CakePHP, how to add a controller file to the /app/controllers/ directory, extending this class from a controller in the /core/cake/ directory?

Is it possible to create a single batch file that can remove the contents of a directory and then add new files to it from another directory?

why git status shows "working directory clean" even after I add a new file