Questions tagged [pythonwin]
Python Editor for Windows.
23
questions
0
votes
1
answer
69
views
PythonWin not running
Can anyone help? Since moving from Arcmap 10.7 to 10.8
(running Python2.7.18 (v2 )
Window Pop Up message reads:
2
votes
2
answers
164
views
Using Accented character in ArcPy
I am trying to export a map using Python/ArcPy script. The problem that the title of the exported map containts somthing like "A(c)" instead of the accent "é" I wrote. The date (dt) is printed (in ...
0
votes
1
answer
389
views
Identifying ArcMap document versions with PythonWin?
ArcPy method to determine ArcMap document version
I want to be able to identify ArcMap documents by the folder using PythonWin.
When using Ryan's script (link above) I ran into some kind of problem....
0
votes
0
answers
45
views
Debugging Python script tool that contains space in location using PythonWin from ArcCatalog?
I have created a python script that is on a network drive, and in a folder that has spaces in the location e.g.
\\server\Team name\scripts\myScript.py
I have added the script to a script tool in ...
0
votes
1
answer
331
views
Starting pythonWin in QGIS directory?
I have python installed here:
C:\Program Files\QGIS 2.18\apps\Python27\Lib\site-packages\pythonwin
When I click on pythonWIn I get this error:
The application cannot locate win32.ui.pyd (or Python) ...
1
vote
0
answers
99
views
Cannot import pyqgis into PythonWin
I'm new to pyqgis so I may be headed in the wrong direction on this. I imported qgis on python consolde in qgis, no problem. However when I try to do this in PythonWin, I get an error saying the ...
3
votes
1
answer
1k
views
Understanding red X over Python Toolbox icon
I've been updating a toolbox script, and I keep getting barred from accessing the script through ArcCatalog:
I make my updates on pythonWin, then check its validity in ArcMap. I've tried restarting ...
2
votes
1
answer
507
views
Installing Pythonwin for use with ArcPy?
I have ArcGIS 10.0
And installed pythonwin 2.6.5
When wrote a script in Python Shell - it works just fine
But in pythonwin - i get import arcpy error as below
>>> import arcpy
Traceback (...
1
vote
1
answer
116
views
Debugging ERROR 000967 from standalone script?
The following script is working in the Python window of ArcMap but not standalone in the PythonWin IDE:
import arcpy
from arcpy import env
env.workspace = r"J:\Non_RS_MXDs\LongHaul.gdb"
...
3
votes
3
answers
917
views
Syntax error running script in PythonWin after success in ArcPy
I am building a script to automate a water outage map(I'm new to Python). In the ArcGIS Desktop 10.1 window the script runs fine. However in Pythonwin and IDLE I get syntax errors(In Pythonwin reads: ...
1
vote
1
answer
707
views
GetParameterAsText(arcpy) does not work
I am new in this area. I was practicing the function GetParameterAsText(). I know that when you run the code (for example in PythonWin) it works like the function raw_input(), therefore it should ...
3
votes
1
answer
2k
views
Using ArcPy to Remove Join?
I am trying to remove a join in arcpy and have been all over the forums and help topics but cannot get my script to remove the join.
I have tried many combinations of inputs to the remove join but to ...
2
votes
1
answer
7k
views
Where should PythonWin be located?
I have a question about PythonWin. Does it come with the DVD when you install it or does it have to be installed manually separately from the ESRI DVD ?
On my computer at work, it does not come with ...
3
votes
3
answers
2k
views
Using GDAL translate in Pythonwin
I want GDAL translate in Pythonwin to process some GeoPDFs to GeoTiffs. I can't call up GDAL module in Pywin. I used the OSGeo4 installer for original GDAL install and can leverage GDAL properly from ...
1
vote
1
answer
3k
views
Cannot find pythonwin on my ArcGIS 10.1?
What is the version for the Python in ArcGIS 10.1 and what is the build ? My laptop does not show having pythonwin in the folder under
C:\Python27\ArcGIS10.1\Lib\site-packages\pythonwin.
Is there ...
1
vote
1
answer
2k
views
Python IDEs (PyScripter,PythonWin) crashing when installed with ArcGIS for Desktop?
I am learning Python, so here is a real newbie question!
Everything writen in ArcGis Python's windows is working fine. The same lines, correctly writen in an IDE, when run, are crashing it.
Working ...
2
votes
0
answers
392
views
Clip Management won't work outside of ArcMap/Catalog [closed]
Okay so I have a short script that works great when copied into the python window in ArcMap or ArcCatalog, but refuses to work in an IDE for whatever reason. The error that is thrown is:
Start Time: ...
1
vote
2
answers
1k
views
Help needed with incorporating SQL query into ArcGIS python script
I'm new to python and have been trying to learn how to use it within ArcGIS. I have primarily been using the free Penn State courseware available here - http://open.ems.psu.edu/courseware
I have ...
-1
votes
3
answers
2k
views
Use VB to calculate an area of a shape
I'm using Arcmap 10.1, running python 2.7 on a Windows 8.1 machine. I have a script that uses the arcpy.CalculateField_management function to calculate the area of a shape, however, for some reason ...
4
votes
4
answers
18k
views
What might cause "python.exe has stopped working" when closing ArcPy script?
I created a script that takes a .tab file and joins it to a shapefile. The script works perfectly but when it finishes, it gives me an unhandled exception which crashes Python.
I don't know what ...
1
vote
2
answers
3k
views
Import Arcpy using PythonWin
I tried to install pythonwin26-212 from ArcGIS10.0 Desktop CD. pythonwin26-212 stops working as soon as I press "Enter" in the interactive window. (ps. I downloaded pythonwin26-212 from sourceforge ...
1
vote
1
answer
2k
views
Getting ImportError no module named arcpy when importing into PythonWin?
Here is the error i get when i use the import arcpy command in pythonwin:
Traceback (most recent call last): File "", line
1, in ImportError: No module named arcpy
Can any one tell me how to ...
4
votes
1
answer
1k
views
Python scripts runs from PythonWin but not ArcCatalog (ArcGIS 10)
I add a field to the target FeatureClass it is not present, via arcpy.AddField_management(...). Works fine from PythonWin, but the AddField call fails when the script is run from ArcCatalog. I have ...