14.04 - Help on Python Ubuntu - Ask Ubuntu


i installed bpython3 store. seems work fine , don't know how can run code writed. can me ?

bpython fancy interface python interpreter. can't python development environment spyder install in python virtual environment, bpython installed there , runs ok.

  1. bpython3 run terminal. open terminal , type bpython3 start bpython3.

  2. type program 1 line @ time , press enter go new line. every time press enter python3 interpreter reads , executes current line interactively. can see screenshot, bpython3 has in-line syntax highlighting feature.

  3. you can save bpython3 session @ time using keyboard shortcut ctrl+s. prompted type name saved file. session saved default home directory.

  4. type exit() after python interpreter prompt or use keyboard shortcut ctrl+d exit bpython3.

    enter image description here


Comments

Popular posts from this blog

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

drivers - No wi-fi network after install - Ask Ubuntu