How to install python in windows

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
shivambhatele

How to install python in windows

Post by shivambhatele »

Hello Everyone, I am new to this community and I don't know this is the right place to ask this query. I want to know how to install python in window with latest python version 3.7.3, I am in learning face in python. So I want to more explore python programming language and want to know compared with Perl and tcl. Can anyone know?
Andy2011
Posts: 115
Joined: Sun Sep 22, 2019 4:26 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte A520M S2H
processor: AMD Ryzen 5 PRO 4650G 6 Core CPU
ram: 16 GB
Video Card: Integrated Radeon Vega GPU
sound_card: on board
Hard_Drive_Capacity: 2500 GB
Monitor/Display Make & Model: BENQ GW2760HS + Benq T905 as second monitor
Corel programs: Aftershot Pro 3, Paint Shop Pro 2020
Location: UK

Re: How to install python in windows

Post by Andy2011 »

This forum may not be the best place to start with Python.
Getting Pyton 3.7 for Windows is easy - go to https://www.python.org/
However, Paintshop Pro uses Python 2.7 for scripting (macros) and there are some important differences between Python versions 2 and 3. For example, in V2, "print " is a statement such as print 'xyz' whist in V3, print is a function as print('xyz').
Python is very powerful and has lots of libraries (modules) available. As an example of what it can do, I recently wanted to download some weather data from a site and save it in my own database. One module ("requests") had all the functionality to get the data off the internet with just a couple of lines of code. Another module (sqlite3) made it very easy to write the values to a database. Obviously a lot more code is needed for validation, error checking and so on but the modules did the 'heavy lifting'. (I dabble in programming though I have more experience in writing SQL database queries etc. - but that was 10 years ago.)
I suggest your favourite search engine may be the best way to proceed. There are lots of free courses available.
Good luck with your investigations.
Knowledge is recognising that a tomato is a fruit: experience is not putting it in a fruit salad.
Post Reply