Deze handleiding gaat er van uit dat u geen eerdere kennis van programmeren heeft en is bedoeld als introductie voor het scripten met Python in QGIS (PyQGIS).
This tutorial assumes no prior programming knowledge and is intended to give an introduction to python scripting in QGIS (PyQGIS).
Daarnaast kan het nodig zijn om de requests-module voor Python te installeren.
It could be required that you install the requests module for Python.
Deze handleiding zal laten zien hoe een aangepast script voor Python te schrijven dat deel kan uitmaken van het framework Processing in QGIS.
This tutorial will show how to write a custom python script that can be part of the Processing Framework in QGIS.
Het begin van het script moet voldoen aan de specificaties voor invoer en uitvoer om een script voor Python te kunnen laten herkennen als een script voor Processing.
For a python script to be recognized as a Processing script, the beginning of the script must be the specifications of the input and outputs.
In de vorige handleiding Een plug-in in Python bouwen (QGIS3), leerde u hoe een plug-in voor Python te maken - inclusief de gebruikersinterface en aangepaste logica voor het verwerken van de gegevens.
In the previous tutorial Building a Python Plugin (QGIS3), you learnt how to create a python plugin - including the user interface and custom logic for processing the data.
De code-tutorial bood een praktische manier om Python te leren.
The in code tutorial offered a hands-on approach to learning Python.
Het is prettiger je zo dan je Python te moeten noemen.
It's so much nicer not to have to call you Python.
Ik leerde van mijn collega een nieuw trucje om nettere functies in Python te programmeren.
I picked up a trick from my colleague for coding cleaner functions in Python.
Ik heb hem gekocht om mijn oom's python te voeren.
I bought it to feed my Uncle's pet python.
Ik heb hem gekocht om mijn oom's python te voeren.
Vraag rond op comp.lang.python - of probeer zelf Python te compileren.
Ask around on comp.lang.python - or just try compiling Python yourself.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple