How can I add a Print Feature to Python

851
1
08-09-2016 02:46 PM
lelaharrington
New Contributor III

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 Esteemed Contributor

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?