Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 46073

Version 2.7 of the Python programming language

2 votes

Creating standalone python Script using PyQGIS?

First, for QGIS3 it is important to have a proper environment. You'll find a solution in the osgeo4w/bin directory. Inside there is a template for calling python.exe with that environment (it is calle …
Andreas Müller's user avatar
2 votes

Can't retrieve geometry (Python, OGR, Rtree)

I recommend using gdal.UseExceptions() to enable errors for try-except. If an operation on a geometry throws an exception you coul catch it with a continue. This discussion may help you: GDAL and Pyth …
Andreas Müller's user avatar
1 vote

Using PyScripter with ArcGIS for Desktop?

Perhaps, instead of "hardcoding" into the system's environment (as below, can't comment there...), you could use a batch file instead: @echo off set PYSC_DIR=%~dp0 set ARC_VER="ArcGIS10.2" set ARC_DI …
Andreas Müller's user avatar