Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. /arcgis/server/tools/python

    Code Block
    >>import arcpy, os
    >> sdList = os.listdir('c:/')
    >> print sdList
    ['Program Files', 'Program Files (x86)', 'ProgramData', 'Python27', 'users', 'windows



Python3 via Wine cmd

See [3] for running conda like Windows environment.

  1. $wine cmd
  2. c:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3>

Python3 via wine only

  1. $wine ./server/framework/runtime/ArcGIS/bin/Python/envs/arcgispro-py3/python.exe
  2. wine $wine ./server/framework/runtime/ArcGIS/bin/Python/Scripts/conda.exe

...

  1. https://enterprise.arcgis.com/en/server/10.3/publish-services/linux/deploying-custom-python-packages.htm
  2. https://www.linux.org/threads/running-windows-batch-files-on-linux.11205/
  3. https://enterprise.arcgis.com/en/server/latest/publish-services/windows/deploying-custom-python-packages.htm

Content by Label
showLabelsfalse
max5
spacesSDT
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "arcpy" and type = "page" and space = "SDT"
labelsarcpy

...