BPython on Arch Linux

What is BPython

BPython in an interactive and fancy interface for Python interpreter, It supports Mac OS, Windows, Linux, and BSD.

Why use BPython?

The benefit of using BPython is it offers on the fly autocomplete and suggestion, which helps in being more efficient when testing a block of code.

All it takes is a simple command to install it.

Install BPython

sudo pacman -S bpython

Executing BPython

To open BPython, enter.


Thank you for reading.

Python3 on Mac

Mac by default does not ship with Python 3 this means you have to install it manually.

There are many ways of installing it, the first way is to download pre-build package from the official website and install it on your system.

The second way is by compiling it on your system.

While both the way listed above is the correct way to install Python3 updating to the latest version might a bit of a work because the above methods don’t update by themselves or with a help of any command line tools.

The third way is to install it with the help of Homebrew

Homebrew is a package for Mac that lets you install any package available in its repository with less than 4 commands depending on the install instructions.

If you have Homebrew already installed on your system you are good to go, if not you can install it from here

Python3 can be installed by entering this simple command in the terminal.

brew install python3

Linking Python3 apps and utilities by entering this command

brew linkapps python3

You can update to the latest version of Python 3 by entering this command

brew upgrade python3

Now you are good to go with your Python3 based development environment on your Mac

Happy Coding!