hi all,
I am getting the following error when running my python script from Jupyter
'C:\program is not recognized as an internal or external command, operable program or batch file.'
I have created a python file in Jupyter that shows correct and saved as a .py file. and ran as an "Import File" in the Python tool... Any ideas on this error?
your path should be in some form of quotes. my hypothesis your path is something like c:\program files\...... - without quotes this is being truncated at the first space.
Thanks, @apathetichell , how would you suggest moving the code from Jupyter to alteryx?
sorry, this is my first Python script
@ThornhillTaylor definitely worth looking into this https://community.alteryx.com/t5/Data-Science/Introducing-the-Jupyter-Flow-Tool/ba-p/779654 . This way you're calling on the notebook rather than having to copy and paste code across. Especially helpful if you need to manage virtual environments.
If you're just trying to get off the ground with moving code over, I think copy and pasting isn't going to cause harm as long as you retain indentation.
All the best,
BS