Tkinter is Python's de-facto standard GUI (Graphical User Interface) package.

learn more… | top users | synonyms

1
vote
0answers
62 views

Using file opened by GUI in python?

I have these lines of code: import tkFileDialog, arcpy, arcpy.da, numpy as np, Tkinter import arcpy.mapping as mapping fc = tkFileDialog.askopenfilename(filetypes=[('shapefiles','*.shp')],title='...
0
votes
0answers
31 views

Displaying details of geographic transformation using Tkinter and ArcPy?

I am using Tkinter V8.5.15 and Python V2.7.8 I am writing a tkinter program using python v2.7 and I would like to display the details of a selected geographic transformation. Esri describe how to ...
1
vote
2answers
181 views

Python Add-In Dialog with Textboxes in ArcPy?

With Python Add-In Wizard I created a ButtonTool with which I: click in the map get the coordinates of the mouseclick-location in a dialog with textboxes I want to receive the coordinates in a ...
0
votes
0answers
66 views

Tkinter function causing code to crash ArcMap10.1?

The crash I'm getting is very generic, it just stops working, pops up with a window to send the code to ESRI. I talked to the ESRI help but they aren't making any headway and neither am I. Thought ...
0
votes
1answer
157 views

Arcpy scripts run time dialog keeps deactivating tkinter window

I'm using tkinter in my scripts to get field names of the user in case the hard coded field names were not found in the target feature. it runs from python IDE, but when run from arcmaps toolbox the ...
3
votes
2answers
386 views

Trying to use Tkinter to open dialog box in ArcMap

The following script works great from the command line but crashes from the pythonaddin: import Tkinter import tkFileDialog root = Tkinter.Tk() root.withdraw() pathtest = tkFileDialog....
0
votes
1answer
661 views

Creating Tkinter dialog box in arcpy?

I would like to create a dialog box which pops up when the user click on a button from a Python Add-In toolbar. The user will navigate to their preferred file and select any shapefiles they wish to ...
1
vote
1answer
128 views

Progress dialog box of ArcGIS Python script tool stealing focus from TKinter GUI?

I created a script tool in the custom toolbox, it runs like this: But the default progress dialog keep stealing focus from the Tkinter GUI, that makes me so hard to move/resize the OpenFileDialog, ...
2
votes
0answers
314 views

How to install pygame or Tkinter for QGIS Python?

So i have downloaded pygame and installed it. Now i want to write scripts and run them through the QGIS console that implement methods of pygame but when the console reads "import pygame" i get a ...
0
votes
1answer
235 views

How to show the attribute table of selected features using arcpy?

Is there a way to show the attribute table of selected features using arcpy? Maybe in the mapping module? I would like to be able to select some features and then have an Add-In button that ...
2
votes
1answer
512 views

Prompting “parameter window” during execution of ArcGIS Python script tool (or model)?

I am pretty new to ArcGis and ArcPy, so I apologize if my question seems straightforward. However, I have been looking on the web for quite a while and didn't find any answer so far. I am using ArcGIS ...
1
vote
0answers
28 views

Delete a file engaged in a process

I am trying to delete a file which is involved in a process. Using the following line to obtain the file name. Tkinter file_output_name = os.path.abspath((tkinter.filedialog.asksaveasfile())....
2
votes
2answers
427 views

Specify a GDB feature class using Python Tkinter dialogue box

I tried to specify a feature class from a GDB dataset through Python Tkinter tkFileDialog.askopenfilename. Below is the script. It worked for me in the past when I was dealing with .txt or .las files. ...
1
vote
0answers
240 views

How can a script tool share (dynamic) variables among different modules?

I'm running a python script from the toolbox window (as a script tool). I have a second python (tkinter) module that I use as an input interface. Now, I know that the script tool can call the ...
1
vote
0answers
226 views

Python add-in user input not working ArcGIS 10.1

I made an add-in in python and it works fine on my machine, but on other machines it spits out an error, sometimes for Tkinter widget and when I use Tkfiledialog using a separate file, it spits out ...
7
votes
2answers
772 views

How can I speed up my arcpy script?

I have written an application that does a lot of geoprocessing using arcpy. Once started, the application itself runs at an acceptable speed, but it is very slow to boot. It can take 30 seconds or so ...
3
votes
1answer
443 views

TKinter to provide variables

I've been looking for a way to enter a unique field name into an attribute table for up to 40 feature classes. I need the field names to be meaningful, not just 'field1', 'field2' etc. For example, if ...
1
vote
1answer
398 views

Conflicts using Tkinter/wxPython with Python AddIn scripting?

I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within ...
4
votes
1answer
1k views

Using Gui tools and arcpy.mapping

For a project I want to create a little program that does simple things like export a map from the python command line, but also users are able to edit said map (without having to open arcmap) e.g ...
13
votes
4answers
6k views

Developing GUI in Python for ArcGIS geoprocessing using PyQT?

I want to develop a GUI in Python for ArcGIS geoprocessing. Can I use PyQT for GUI programming in ArcGIS? I have also considered using Tkinter and wxPython.
5
votes
5answers
5k views

How do I build a form within ArcMap?

I am building a file geodatabase using ArcGIS. The gdb is going to be distributed to dozens of 'stand alone' machines. End users are expected to populate the gdb with data. End users do have ArcGIS ...