Skip to main content
2 votes
1 answer
107 views

With iPython, is there any way to clear output from all cells? I am looking for a command that can do it in one shot. I see that clear_out like below can do the cleaning work, but it works for one ...
ThomasIsCoding's user avatar
0 votes
1 answer
61 views

I'm using a Jupyter notebook as a tutorial for a command-line tool. However, I noticed that regardless of whether I use a shell command (!) or line magic (%), an error does not cause the cell to fail, ...
Adam Stewart's user avatar
  • 2,243
0 votes
1 answer
56 views

I'm using VSCode with a keybinding that sends a command to the terminal, where IPython is running (not Jupyter Notebook, just plain IPython in the terminal). I want to select a line of code (e.g. ...
Nguyễn Cảnh Dũng's user avatar
0 votes
0 answers
75 views

I installed GPflow and just tried to import it with ipython. But, I got an error like below. --------------------------------------------------------------------------- TypeError ...
sadradio's user avatar
1 vote
1 answer
89 views

I'm trying to run a jupyter notebook featuring interactive ipywidgets using a new laptop with a new installation of jupyter/ anaconda, but consistently get the error 'Javascript Error: IPython is not ...
iambirdy's user avatar
1 vote
1 answer
252 views

I'm new to VS Code and Python. When I tried to use interactive window I failed to install IPykernel. I am using Mac system and have already installed Jupyter and Python in VS Code. I am using conda ...
Chessia Huang's user avatar
1 vote
1 answer
77 views

I installed IPython with pip install ipython and I was able to install it. However PyCharm gives this error: C:\Users\HP\PycharmProjects\CE475Exercises\CE475Project.py:150: FutureWarning: Passing ...
Beliz Yazici's user avatar
-1 votes
2 answers
212 views

I'm trying to find an IPython counterpart to Spyder's runfile. According to this page, "exec() will execute the input code in the current scope" by default. Therefore, I expect the ...
user2153235's user avatar
  • 1,265
0 votes
0 answers
28 views

I was looking for how to echo commands to the console as a Python script is executing. Google pointed me to the trace module, but what I found online shows that it must be specified when invoking ...
user2153235's user avatar
  • 1,265
0 votes
0 answers
43 views

I have a dashboard that gets node count, etc. from slurm and displays that as a button grid, and is refreshed every n seconds. I want the ability to click on any of the buttons and have something ...
kmt's user avatar
  • 65
4 votes
5 answers
336 views

Best practice for Python is to use venv to isolate to the imports you really need. I use python -m venv. For development, it's very convenient to use IPython and notebooks for exploring code ...
SRobertJames's user avatar
  • 9,367
0 votes
0 answers
107 views

I have a string variable I've defined in one Jupyter notebook that I'd like to use in another Jupyter notebook. I know from here that %store is an approach, but when I use %store -r <variable> ...
slackbinhead's user avatar
0 votes
0 answers
79 views

IPython/Jupyter has built-in functionality to visualise JSON structures as an interactive tree where you can expand and collapse nodes. I like using it for lists and dictionaries, but now I want to ...
sTievie's user avatar
  • 75
1 vote
0 answers
92 views

I have encountered an issue when trying to export jupyter notebooks that contains any form of text in "Markdown cells". The export is succesful IF the notebook only contains "code cells&...
user29984476's user avatar
-1 votes
1 answer
40 views

I am currently transitioning from using Jupyter notebooks to .py files, and I want to to able to execute certain lines of code in my program interactively I know that if I (1) select the block of code ...
HHH's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
481