noamraph / dreampie

DreamPie - The Python shell you've always dreamed about!
www.dreampie.org
GNU General Public License v3.0
235 stars 53 forks source link

No `help` in Python 3.x #41

Open cool-RR opened 10 years ago

cool-RR commented 10 years ago

Another bug is that site-packages isn't put on sys.path; I'm guessing it's because of the site module not being run.

ubershmekel commented 10 years ago

Noticed this oddity too.

nnen commented 8 years ago

This seems to have the same cause as #48 . Workaround is to open Edit > Preferences > Shell and put the following lines in Execute this code automatically when starting the subprocess:

import site
site.main()

DreamPie needs to be restarted afterwards for this to take effect, but it needs to be done only once.