python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to print(dump) a list of interactively~ user-defined (not imported) function names and definitions?
in answer to:
Can Python print a function definition?
What's wrong with this?
# Get a list of all user-defined functions and print their definitions
import inspect, sys, types
# sys.stdout.write(insp...

BlipBertMon
Votes: 0
Answers: 1
Detecting if ipython notebook is outputting to a terminal
I want to detect if a Jupyter Notebook is being executed in a terminal e.g. via ipython --TerminalIPythonApp.file_to_run command, as opposite to a HTML enabled notebook. Note that this is different fr...
Mikko Ohtamaa
Votes: 0
Answers: 2
How to change iPython error highlighting color
I'm using IPython with iterm2 in macOS. I had never had issues before with the color scheme, but this time when an exception occurs, it highlights certain parts in a color combination that I find very...
maraujop
Votes: 0
Answers: 2
Running a small python program in background inside Jupyter notebook without blocking the main process
Let suppose I have this simple function:
def fun():
for i in range(5):
print(i)
sleep(2)
and I want to run it in background without interrupting the main code flow, is this achiev...
Deshwal
Votes: 0
Answers: 1