Select to view content in your preferred language

How can I add a Print Feature to Python

1038
1
08-09-2016 02:46 PM
lelaharrington
Regular Contributor

I have a Python script that takes feature classes and converts all of them to .shp. there are a lot of them. what i want is to print the ones that is does successfully to an .txt file with some note ie. Feature class DBO_TEST Converted Successfully. or Feature class DBD_UCLA Failed Conversion.

how do i write that into the script??

Tags (1)
0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

section 7.2 in 7. Input and Output — Python 3.5.2 documentation

applies to all versions, is this what you were looking for? or a more complete script?