Jupyter notebook code in uipath

Can someone suggest if we can invoke python code in jupyter notebook in uipath
thanks in advance

You could execute the notebook by using the invoke python activity and use the API interface.

thanks @ronanpeter
can you suggest how to proceed …

This guide will help you write the InvokePython code:

You could also execute the notebook using powershell and command line arguments, as also suggested in the link above.

simple python pgms I able to do
What is it that I have to tweek further

thank you. let me try

This is a quick example of running a command line activity via powershell.

Maybe in your case, it might be easier to simply run your notebook from the command line:

jupyter nbconvert --to notebook --execute mynotebook.ipynb

CommandLine.zip (1.8 KB)