From the course: QGIS and Python for AEC

Unlock the full course today

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

What is Python?

What is Python? - QGIS Tutorial

From the course: QGIS and Python for AEC

Start my 1-month free trial

What is Python?

- [Instructor] In this video, we're going to look at what is Python, and how does it relate to QGIS and AEC? Well, first of all, Python is a way to create macros and plugins, especially within QGIS. It's a script language for automating tasks, such as loading data, running analysis, even calculating areas. Python does not get compiled. It stays as a text file. You can open it up in Notepad. For example, myPython.py is a text file that you can open up. It never gets compiled. It's always readable. It's very unique in that it uses spaces to understand looping and logic and if statements. It uses spaces and tabs. And that's how you know if something is inside of a logic loop or not, with a space. Now Python is usually bundled with QGIS. That means you can run Python after QGIS is installed. Sometimes it's good to review your packages that are being installed when you use the advanced install with QGIS. So don't install…

Contents