Jump to content

Problem with an Arcpy code


Benomar

Recommended Posts

Hi everybody,

This is my first time to this forum and I have a little problem with arcpy code:

 

#Current map document

mxd = arcpy.mapping.MapDocument("CURRENT")

 

#Export 

x = raw_input("Insert the Name please ")

 

arcpy.mapping.ExportToJPEG(mxd,x+".jpg")

 

what is wrong with this code, I need your help Please.

 

Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist