Python For Beginners Non-Programmers (Python Basic Installation)
=======================================================
Almost all of us is subjected to daily routinic procedures repeated everyday on our PCs which can be probably related to common issues like:
file management,image simple processing, basic computational tasks or even web-based simple tasks.
Eventually as non-programmers, we end up with it either registering existing products or hiring someone to finish this for us, but normally we don't even imagine that we can do such things "BY OUR SELVES".
Thanks to PYTHON simplicity you can "DIY"
Issues like this by your self and from scratch,even if you don't have ANY experience in programming.
It's not and has never been complex even for beginners or non-programmers to do so and already millions of regular users allover the world are doing these issues on their own using PYTHON.
I'm sure that if you tried to do it once you will never stop it, and who knows may be this a starting point for further progress in programming for some of us.
In the previous video we discussed how to copy different files path and how to use "COMMAND PROMPT" to open different files.
Actually this was an important introduction to "Python Scripting for Beginners" as you will be always dealing with python ".py" files and you need to know how to open it.
In this video we will be discussing how to install python on your device and how to write your first basic "python" script.
Those are the simple steps which are discussed in the videos please refer to them if you need more details or some revision.
Also below are the websites navigated in this tutorial:
1- http://www.python.org
2- http://www.7-zip.org
Even if you are an absolute beginner, you can do it in 5 minutes.
===========================================================================================================
How to install "Python"
=======================
1-Go to www.python.org/downloads
2-Choose your favourite version (in this tutorial we will use python 3.6.4)
3- Scroll to "Files" section
4- Choose "GZipped source tarball"
5- Download and save to your prefered location(in this tutorial i will put on desktop)
6- Go to www.7-zip.org
7- Choose your version (in this tutorial i will use 16.04(64-bit X64) for windows.
8- Download an follow installation instructions.
9- Right click on the "python.tar.gz" file which you downloaded.
10- Extract it using "7zip".
11- Navigate to "python" folder.
12- Check "python.exe" file, this is the file which we will work on.
Now you've got "python" installed an ready for action.
In the previous video we learnt how to open any file ".exe" ".txt" ".mp4" using "CMD"
Python is just a ".exe" application which we can run, HOWEVER...
In this time we will not just normally run it
We will "pass arguments" to it.
Lets see that first then we will demonstrate it later.
1- create an empty file on the desktop.
2- name it "test.py".
3- insert this line into the file which you created
print("This is my first python script")
4- Open "Command Prompt/CMD".
5- copy "python.exe" path
Don't forget[SHIFT+RIGHTCLICK]
6- paste it into "CMD"
7- put space into the cmd|Activate the "CMD" then press space.
8- copy "test.py" path
Don't forget[SHIFT+RIGHTCLICK]
9- paste it into "CMD"
10- press enter
11- see the results.
That's it, in 1 vidoe you wrote your first python script, super easy
===========================================================================================================
Thanks for watching.
Please share your feedback.
Maybe this could help someone.