I have developed the python script for Compress ,Rebuild Indexes and Analyze datasets. For that I am getting the list of feature classes using arcpy.ListFeatureclasses() function.It is working in ArcGIS10.2.1 (Python IDLE 2.7.5).It gives propoer results.The same code was executed in ArcGIS10.3.1(Python IDLE 2.7.8).It was not executed and not giving the results.Please help me on this.
Since you haven't included the error message or the code that failed, your only option is to go through the changelogs that occurred in Arcmap between version 10.2 and 10.3 and also look at the version changes in python. These can be found on my blog
Alternately, you can provide the code and error message and details of the environments used during the script execution.
Sorry for the late response. It not gives any error. After the arcpy.ListFeatureclasses() line the code was not executed. I am using the following the code.
dataList = arcpy.ListTables() + arcpy.ListFeatureClasses() + arcpy.ListRasters()
Please suggest any alternate to get the list of feature classes and how to stop the views while rebuilding.
you can't add all those things together, they are different objects...
A single line of code isn't going to help, especially since you can't check that line out... oh yes... print statements would help you dissect the issue