IPython ignore "Open IPython console here"
See original GitHub issueProblem Description
When right-clicking a project folder and clicking “Open IPython console here”, an IPython console is created.
But then when typing pwd
, I always get the home/user directory instead of the current project directory.
What steps reproduce the problem?
- Right-click a project folder and click “Open IPython console here”
- Type
pwd
in the IPython console
What is the expected output? What do you see instead?
I see the home/user directory instead of the current project directory. Reproducible both on macOS and Windows.
## Versions
* Spyder version: 5.3.2
* Python version:
* Qt version:
* PyQt version:
* Operating System name/version: macOS 12, Windows 10
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
IPython reference — IPython 3.2.1 documentation
This behavior is different from standard Python, which when called as python -i will only execute one file and ignore your configuration setup....
Read more >Disable IPython console in PyCharm - Stack Overflow
To disable the use of Ipython for current project. Go to File-->Settings-->Build, Execution, Deployment-->Console , uncheck the box Use Ipython ...
Read more >Terminal IPython options — IPython 8.7.0 documentation
Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit',...
Read more >Working with Jupyter Notebooks in Visual Studio Code
Jupyter (formerly IPython Notebook) is an open-source project that lets you ... When you are in command mode, you can enable or disable...
Read more >VSCode's Python Interactive mode is AMAZING! - YouTube
I've gone from serial Jupyter Notebook user to someone that almost never uses them and it's all thanks to VSCode's interactive mode for ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll take care of this. This error was probably introduced by the changes I made to improve how we handle the current working directory.
Hi @divideconcept thank you for the feedback! I was able to reproduce this. We will try to implement a fix for this in a future release 👍