Timeline for Using Arcpy.AddMessage() to list out all shapefiles that were converted in a folder
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2017 at 0:17 | answer | added | DEB | timeline score: 2 | |
Jun 14, 2017 at 23:55 | history | edited | PolyGeo♦ | CC BY-SA 3.0 |
deleted 24 characters in body
|
Jun 14, 2017 at 23:52 | comment | added | Michael Stimson | After you've worked that into your code please post, with code, as an answer to your own question. | |
Jun 14, 2017 at 23:52 | history | edited | DEB | CC BY-SA 3.0 |
deleted 128 characters in body
|
Jun 14, 2017 at 23:51 | comment | added | DEB | Thanks Michael, this helped me a bunch and was exactly what I needed. Didn't think to use the .append option. The join is handy! | |
Jun 14, 2017 at 23:50 | history | edited | PolyGeo♦ | CC BY-SA 3.0 |
edited tags
|
Jun 14, 2017 at 23:42 | history | edited | DEB | CC BY-SA 3.0 |
added 222 characters in body
|
Jun 14, 2017 at 23:40 | comment | added | Michael Stimson | You could build a list and then AddMessage after they're done. Unfortunately AddMessage adds a carriage return on the end of the line and cannot be stopped. Start with PjList = [] # new blank list then PjList.append(fc) inside the loop then when done arcpy.AddMessage('Projected {}'.format(','.join(PjList))); ','.join converts the entire list to a string comma delim - quite handy! | |
Jun 14, 2017 at 23:29 | history | asked | DEB | CC BY-SA 3.0 |