Skip to content

Commit

Permalink
console script that works with gevent
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Aug 25, 2024
1 parent e7d551f commit 350bd81
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/console.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env python
# This is needed instead of running ipython directly,
# for the same issue as described here:
# https://github.com/ipython/ipython/issues/11730
import gevent.monkey
gevent.monkey.patch_all()

import IPython
IPython.start_ipython()

0 comments on commit 350bd81

Please sign in to comment.