AnsweredAssumed Answered

ListFeatureClasses : no result

Question asked by Magaly.Clement on Feb 28, 2018
Latest reply on Mar 6, 2018 by Magaly.Clement

Hi!

 

Here is a script that works on my machine : 

 

 

#-*- coding: utf-8 -*-
import arcpy
arcpy.env.workspace = r"\\nassig\service$\geomatique\archi\6-Traitements\2-Python-36\2-Execution\cnx\PROD_donvdr_DC.sde"
print(arcpy.env.workspace)
fcList = arcpy.ListFeatureClasses()
for fc in fcList:
print(fc)

 

call "C:\PROGRA~1\ArcGIS\Pro\bin\Python\Scripts\propy" \\NASSIG\service$\geomatique\archi\6-Traitements\2-Python-36\1-Scripts\tests\test.py

 

It doesn't work on my server. I have no error.

 

Any idea ?

 

Thanks for help !

 

Python 3.6.2

Attachments

Outcomes