Hidden/Spoiler:
Python scripting help
Moderator: Moderators
- Oceans14
- Command Sergeant Major
- Posts: 296
- Joined: Mon Apr 27, 2015 7:09 pm
- Projects :: Athenova Campaign
- Location: Planet 4546b
Python scripting help
I'm creating a python addon for ArcMap, one of the programs I use heavily for my major. The purpose of the script is to autosave the document periodically in the event of a hang or crash (which is somewhat common since the program deals with extremely large map files and datasets). In any event, I've pieced together the script, but my knowledge of coding is limited to lua and even then I'm not that great. If somebody who knows python could look this over and give me some pointers on the syntax, I would be very grateful.
PS - This is not a project for class, its just my attempt at making a utility that has some practical use. Thanks for reading!
-
- Droid Pilot Assassin
- Posts: 2002
- Joined: Sat Nov 15, 2008 1:57 pm
- xbox live or psn: ScorchRaserik
Re: Python scripting help
You're missing
import threading
import time
Timer is a threading object.
import threading
import time
Timer is a threading object.