A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1240/ below:

sys.path missing `''` as first entry when kernel launched without interface · Issue #1240 · ipython/ipython · GitHub

Quite simply, if I launch ipython or ipython console or ipython qtconsole, then import sys, it should be the case that sys.path[0] is '', so that modules in the current directory can be found, just like in a standard python session. However, if I begin by launching ipython kernel, and then attach a console/qtconsole to the kernel, this item is not in sys.path, so modules in the current directory cannot be imported (unless the current directory is in $PYTHONPATH to start with). To confirm, this bug is not present if I launch a console/qtconsole and then attach another interface to the existing session.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4