ABSTRACT

This chapter provides how to install Python to start running your own programs. Learning by doing is the most efficient way of learning. Python is pre-installed in macOS and most Linux distributions. Another way to try Python for learning or even for running programs is by using an online service. Python Anywhere provides a free service for running Python scripts online. They have several plans from $5/month with unlimited Python or Bash consoles, a subdomain to host a web application, one GB of storage, databases and more. Once Python is installed, one should make sure it works. On Windows, double-click on the Python icon. Linux and macOS5 users could open a terminal and then type python. There are two ways to use Python: interactive and batch mode. These methods are complementary and they are used with different purposes. The chapter discusses PyCharm, offers framework-specific support for modern web development frameworks such as Django, Google App Engine, Pyramid, and web2py.