python


How to make Jupyter notebook use PYTHONPATH in system variables without hacking sys.path directly?


Same problem as in this question sys.path different in Jupyter and Python - how to import own modules in Jupyter?. In pure Python, it prepends my system environment variable PYTHONPATH to sys.path but Jupyter notebook doesn't, so I can't import my own module.
There are many similar questions asked on SO, and the solution is to directly manipulate sys.path in the script.
Is there a way to make Jupyter notebook use my system PYTHONPATH variable, as in pure python?

Related Links

Writing a list to a file without a newline Python
Generate a csv file partly based on user input with python
How can I write input on new lines in files in python, without adding an empty line?
python reading sql db encoding error at /python2.7/json/encoder.py
Base64 decode to pdf on Windows OS with python
Partial parameters are duplicated
accessing nested element in HTML by CLASS_NAME using selenium
Where is the cfnbootstrap folder?
Want requests.get to wait for redirection during some time
How to run a program by being activated in another program in python
Django: what is the purpose of “$” symbol in urlpatterns?
Installed the google-cloud-storage module 0.22.0, Imports fine by itself but not as an import of an import
replace double quotes with '\"' in python
How to replace sublists within a list?
How to listen for an AUDIO file using Python and Selenium Webdriver
Storing Encrypted Data On A MySQL Database with Python, Pandas and SQLAlchemy [Connection Lost]

Categories

HOME
python
paypal
meshlab
winapi
vs-team-services
qpython3
ubuntu-12.04
windows-store-apps
flyway
java-home
iis-7.5
i2c
xcode8.3
x11
image-recognition
abcpdf
tee
x-frame-options
pdo
bootstrap-popover
yeoman-generator
derived
flat-file
mousewheel
sensu
tarantool
binutils
philips-hue
data-cleansing
geopandas
version-numbering
cgal
ivy
picturebox
spring-profiles
preg-grep
swiftcharts
ocs
mapguide
ios-ui-automation
recurrence-relation
honeysql
precedence
hashcat
rider
nlb
xamarin.uitest
sql-like
polyfills
cgo
onbackpressed
productivity
stereo-3d
context-free-language
azure-availability-set
defold
broadcast
shutdown
pdflib
webkit2
multifile-uploader
contour
spring-repositories
multinomial
jta
sourcegear-vault
app.xaml
programming-paradigms
built-in
ytplayerview
ubercart
criteria-api
lines-of-code
obfuscar
proximity
jquery-autocomplete
fragment-tab-host
humanizer
code-testing
mfmailcomposeviewcontroll
picat
sgml
edit-in-place
visual-studio-addins
nservicebus4
execvp
ruboto
surveyor-gem
android-4.0
css-tables
xgettext
static-variables
datarepeater
redirectstandardoutput
maven-ant-tasks
driving-directions
hashalgorithm
selectmanycheckbox
dcpu-16
zend-form-element
carbide
trampolines
callgrind
outlook-form
project-lifecycle

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App