Re: bpython with python2/python3

2016-09-21 Thread Pierre Puiseux
Perfect ! Just what I needed. Maybe it could be documented more in detail in the official doc ? Thanks Sebastian. > Le 21 sept. 2016 à 14:54, Sebastian Ramacher a écrit : > > > > On Wednesday, September 21, 2016 at 2:49:49 PM UTC+2, pierre wrote: > Hello, > > > i need

Re: Change the prompt to show the current dir?

2016-09-21 Thread Andreas Stührk
Hi, setting the prompt to the current working directory should already be possible in bpython (or even plain Python) with a custom displayhook (see https://docs.python.org/3/library/sys.html#sys.displayhook). The displayhook can be set for example in a PYTHONSTARTUP script (see

Re: failed to start bpython

2016-09-21 Thread Sebastian Ramacher
On Sunday, April 3, 2016 at 10:59:08 AM UTC+2, John Zhao wrote: > > I installed latest version of bpython successfully, but failed to start > it, see error below. > > Can experts help? > > Thanks, > > John > > > [centos@dev01 ~]$ python --version > Python 2.7.9 > [centos@dev01 ~]$ ls -l

Re: bpython with python2/python3

2016-09-21 Thread Sebastian Ramacher
On Wednesday, September 21, 2016 at 2:49:49 PM UTC+2, pierre wrote: > > Hello, > > > i need to use bpython with both Pyhton2.6 and Python3. > In the bpython doc I've found : > >> *Python 3 support* >> >> *bpython supports Python 3. It's as simple as running setup.py with >> Python 3.* >> > >

bpython with python2/python3

2016-09-21 Thread pierre
Hello, i need to use bpython with both Pyhton2.6 and Python3. In the bpython doc I've found : > *Python 3 support* > > *bpython supports Python 3. It's as simple as running setup.py with Python > 3.* > !! for me it's not so simple !! I'm running on MacosX El Capitan Thanks