how can i update the demo.py file to be formatted for Python 3 and create a demo.bakbackup file of my original script
You would have to show the script to get suggestions.
Most 2.7 functionality is directly transferable to 3.6.
'print' will be the biggest stumbling block for most code.
There is a 2to3.py script that can flag most issues during the transition process, but seeing what you have would be easier.
yes thanks i have another question i searched for spyder to work in arcgis pro 2.0 with python 3 i tried to type conda install spyder but i can't find it is it download by default or i must download nit and how i download and install it thx Dan
As a noob to PRO, I would recommend that you install your packages through the Package Manager with ArcGIS PRO.
Launch PRO... click on about ArcGIS on the bottom left... go to the python link... it will show you the installed packages, those that need updating and those that you can install... locate spyder, install, wait, then close and create a shortcut as per the link
anaconda and spyder https://community.esri.com/blogs/dan_patterson/2016/07/17/anaconda-spyder-and-arcgis-pro
spyder shortcuts https://community.esri.com/blogs/dan_patterson/2017/07/01/arcgis-pro-2-creating-desktop-shortcuts
spyder general https://community.esri.com/blogs/dan_patterson/2018/01/28/spyder
Retrieving data ...