.ipynb files visible in Jupyter but not from Windows File Explorer - python

I'm able to see my .ipynb files when using Jupyter (installed through Anaconda), but I just can't see them in my Desktop or wherever they're saved when using Windows File Explorer. What could cause this and how can I locate the files?
Here is what I mean:
Windows File Explorer
Jupyter

I was having the same problem has you, my solution download the file through jupyter.
File -> Download.
I still can't understand the reason why but after I downloaded the file from the same folder into the same folder it start appearing in my windows explorer folder

I had the same problem as you but realized that it was just a minor thing.
For me, I had installed Anaconda only for the current user. So it was using "C:\Users\username\Desktop" and not "C:\Users\Public\Desktop". The latter is the usual Desktop that is referred to as "This PC\Desktop".
Try looking into "C:\Users\username\Desktop".

Related

PyCharm Professional not recognizing .ipynb files

PyCharm not recognizing .ipynb files:
I installed 'jupyter notebook' using pip3 but whenever I create a jupyter notebook file on pycharm professional, it doesn't recognize it.
Check File Type settings for Jupyter notebooks - ipynb should be assigned to it.
I know this question was asked almost two years ago but for anyone with the same problem going forward, it appears as of Dec. 22, 2022, .ipynb files are only supported in PyCharm Professional:
https://www.jetbrains.com/help/pycharm/jupyter-notebook-support.html
From the link it says, "Available only in PyCharm Professional: download to try or compare editions."
The link suggests DataSpell as an alternative and the trial version is free. DataSpell also supports anaconda, R, and SQL.

Where does Spyder 3 (for Linux) keep track of open tabs and recently opened files?

I upgraded to a new Linux Mint machine and I want to keep the settings of my fav editor (Spyder 3.3.6, Mint 19, Ubuntu bionic).
Specifically, at Spyder's startup I want to open the same files that it opened on the old machine.
When Spyder starts on the old machine, it opens about 30 python files. These files are all stored in different folders. I use the files to refer to existing code, so it is great to have them always open.
The folders with *.py files are all present on the new machine on the same locations (/home/myusername/... etc).
It would be great if Spyder on my new machine opens the same files at startup. Can that be done?
(Spyder maintainer here) Our configuration files are saved in
~/.config/spyder-py3
if your Linux distro follows the XDG standard, or simply in
~/.spyder-py3
if it doesn't, or if you're on Windows or macOS.

Cannot see computer files in Anaconda's Jupyter

I have downloaded Anaconda with the hopes of using Jupyter for python. A colleague of mine had it working so that when it opened he was able to open up any file on his computer, mine does not give me that option. So when I go to open a file I am not able to see the majority of my computer drives or folders (including desktop). Any ideas?
Change the blue part (rom Step1) to "jupyter notebook" and click enter, it will open path on jupyter notebook.
Step1 Step2

How to open ipynb files into browser by double-click

Previously, I had Canopy installed and at that time, I could simply double click on ipynb files and open them into the browser.
However, later I needed Anaconda and once I installed it, this feature was gone.
Now I just want to be able to simply double click on ipynb files and the file gets open into the Firefox. Is it possible?
I read about this:
nbopen
pip install nbopen
python -m nbopen.install_win
But it didn't solve my problem. I appreciate any help.
Yes, this is possible. Running python -m nbopen.install_win installs the executable nbopen.exe in the Scripts folder of your anaconda directory. For me this is:
PS> (gcm nbopen).Path
E:\Programs\anaconda\Scripts\nbopen.exe
The first line gets the path of the nbopen command (using PowerShell). If you are not using PowerShell you can find your conda directory by right-clicking on any (I)Python executable in your start menu and look at where it links to.
You can then associate the nbopen.exe file with the .ipynb filetype:
Right-click on a .ipynb file.
Click on Properties
Click on the Change button next to "Open With:"
Click on Browse, browse to the path you found out and select nbopen.exe.
Double-clicking on .ipynb files now checks if a notebook server is running and opens the notebook. If no server is running, one is started in the active directory.
Checkout this Firefox plugin. Python Notebook Viewer.
This plugin lets you view/render python notebooks without running notebook server. Once installed, set Firefox as default app to open ipynb files. From now onwards, you can simply open ipynb files by simply double clicking on it!
This saves a lot of time as most of the time developers are just keen on seeing a code. It also saves a hassle of browsing directories in Jupyter Notebook window to reach to a specific file.
If m00am's solution doesn't work and nbopen.exe file doesn't show up then do the following:
Uninstall Anaconda.
Install Anaconda again and make sure you add Anaconda to Windows path during the installation.
Then try m00am's solution again.
This worked for me:)

How to view my computer folders in ipython?

When I open the Ipython dashboard in my browser it opens the folder that I selected as the default local folder for ipython. However, it is not showing any of the subfolders and ipynb files that are inside that local folder.
How can I view this local folder and all of the subfolders in my Dashboard?
I have tried..
ipython notebook --notebook-dir=
creating a profile
I know there is a way since I made it work a long time ago in another computer. I just don't remember the code that I used.
I'm working in Linux Mint 17 computer. Python 2.7. I don't know what other information I should give

Categories