You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
os.getcwd() returns project folder instead of the folder of the executed file on Windows/VS code.
Problem only occurs when executing .py files, notebook files are fine.
Alternative: os.path.dirname(__file__)
Technical questions
Description
os.getcwd()
returns project folder instead of the folder of the executed file on Windows/VS code.Problem only occurs when executing .py files, notebook files are fine.
Alternative:
os.path.dirname(__file__)
What I Did
The text was updated successfully, but these errors were encountered: