Getting Started Programming with Python. ( part — 3 )
python guide from scratch
In this article we gonna be going over just interactive command prompts , IDEs( Integrated Development Environments ) what the are ,what are the different practices running python codes and quick intro for why we choose Jupiter notebook system.
if you are wondering how do i actually run python code? this is it.
if you are using windows you have to find Anaconda Command Prompt , linux or mac it doesn’t matter after installing Anaconda distribution open your terminal. commands are does not depend on your operating system.
*IS-Mac:~ IS$ Python
So what other options for running python code.I go through a couple of options in different ways to run python code in general then i discuss Jupiter notebook system further.
You can imagine some really long code i don’t wanna type that code on terminal in line by line. then i use text editor for write python code.
First i create folder on Desktop called python.
Then open a text editor. i use Sublime Text. you can use your own method for text editor it is up to you.
Then create file called first_program.py on previously created folder and write down python code as i write.
Then open your terminal and give the file path for run python command.
IS-Mac:~ IS$ cd Desktop
IS-Mac:Desktop IS$ cd python
Then run your python file.
IS-Mac:python IS$ python first_program.py
what are really other options ?
there are ton of options out there. i am going through some common and better ways.
Komodo Edit
According to Actvestate,
Komodo Edit is a simple, polyglot editor that provides the basic functionality you need for programming.
Also you can use Komodo edit run python,
PyCharm
According to Jetbrains,
PyCharm provides smart code completion, code inspections, on-the-fly error highlighting and quick-fixes, along with automated code refactoring and rich navigation capabilities.
PyCharm is from Jetbrains. I think it is better solution for python developer because it has most of famous python libraries and interpreters for developing. You can use it as a advanced method.
And then another one, which is a little different is Jupiter. This is the one we going to be running our guide. After this guide you will be a fan of Jupiter notebook system.
Now i think your workflow is ready for some actions.
let’s start..
feel free to hugs & bugs ️👻