From the course: Python for JavaScript Developers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Running Python programs

Running Python programs - Python Tutorial

From the course: Python for JavaScript Developers

Start my 1-month free trial

Running Python programs

- [Instructor] There are few ways to run Python programs to suit various needs. A very straightforward way of running Python is using the command line and that's what we'll be doing in this course. You may also configure your IDE or code editor to run Python. In the world of web development, the Python code that you'll write will often run in the context of a web server. In the scientific community, prominently in data science, a tool called Jupyter Notebook is very common. It's also a great learning tool. It basically gives you a great interface where you can document code and run code within your browser. So let's take a look at how we run a basic program from the command line. I'm going to head over to my code editor and here I am at CH_01_03.py. And here I have a one-line program where I use print to print to the console the string Are you ready? And to run this, I'll head over to my terminal, I'll make sure…

Contents