A better Python REPL – bpython vs python interpreter

preview_player
Показать описание

A quick Python tutorial video that demonstrates "bpython", an awesome alternative Python interpreter.

Compared to the vanilla Python interpreter bpython knows a few extra tricks like: syntax highlighting, auto indent (yay!), and auto completion.

Bpython is somewhat similar to the IPython REPL, but personally I like it better. It's nimble and fast and a joy to program with.

Check it out, it’s a really great tool!

* * *

FREE Python Coding Tutorials & News:
Рекомендации по теме
Комментарии
Автор

Haha, did a quick vanity search on youtube, it's pretty strange seeing complete strangers making videos about this. Thanks for taking the time to make and share this ! -Bob (the "b" in bpython).

robertanthonyfarrell
Автор

I cannot believe I waited this long to install bpython. Thanks Dan!

derrickk
Автор

Thanks for the video, learned a few new things about bPython

corypollard
Автор

See syntax highlighting: okay, go on

See autocomplete: installed and created alias to replace python

harrytsang
Автор

thanks for this tip, on OSX to get this working with python 3.x I used:
python3 -m pip install bpython

then to specify which version of Python to use :
python3 -m bpython

PedramBadakhchani
Автор

I really need this.But I don't know anything about Bpython.No one tells me.That's awesome.You save me.

iftekharjoy
Автор

do you know if this can be made to work with sublimeREPL? i have been testing it some but have not been able to get it working.
I use this in my config, changing it to bpython with -i did not work.
cmd": ["python3.6", "-u", "-i", "$file_basename"]

larseneivind
Автор

Hello Dan
Let me start by thanking you for all the great tips and tricks, It's been a huge help for me lately and I'd say that it helped me understand python a lot better than a lot of internet courses/tutorials that I've tried before.

So, here's my question:

Is it possible to configure bpython as pycharm's project interpreter ? I've tried a few things myself and searched a bit around google, but to no avail..

I've seen that you're all for sublime instead of IDEs like pycharm, and I'm actually testing out atom to see if I can make the switch to it, but for now I'm still using pycharm because I'm fairly accustomed to it.

Thank you again for taking your time to make these awesome videos/content in general to help people out.
Much love from Brazil,
Cheers.

LucasSzczepaniki
Автор

I literally thought this is just an another editor.
But this is different. Especially that rewind thing.. :p

DhineshDV
Автор

bpython looks awesome, thanks for the great video. Also ‘ipyhton’ has very similar functionality and has been around forever.

ralphk
Автор

Dan are you using Oh My Zsh or just zsh in your terminal? just curious

RonWaller
Автор

hmmm i seem to be having issues. do you by any chance know how to get it to run with out using python3 -m bpython and just use bpython i am using zsh shell on 18.04 of ubuntu gnome

brockalicousmerk
Автор

Hi Dan, how did you changed the theme of your terminal? It's really looking amazing. Can you tell me how can i do it?

bholaprasad
Автор

what is better in 2020? bpython or ptpython?

valda
Автор

Hi!. Do you have tutorial how to set up bpython on Windows? Thanks.

animalslife
Автор

Hi Dan, nice intro to BPython but; it´s not available for Windows, several unix-only modules still missing and i didn´t find any serious talking if or when these will be converted, sadly. So atm this is a unix-only gadget.

brotherlui
Автор

ipython is cool too ... and it works on windows cmd

abdulelahaljeffery
Автор

Definitely recommend bpython over ipython

BrendanMetcalfe
Автор

I thought the vanilla interpreter was called IDLE not REPL; I think I'm confusing something ?

christopher