I have to automate REST API web service. I have been provided with the parameters of the tabs that i need to work in the form of javascript but they cannot be used on their own. So python script will be used . In python funtions i will provide those parameters and then it will work but i am not able to correlate this. Can anyone help me out with this?
you are integrating python with uipath? right?
yes right
thank you
let me know if this works
yes i am trying it now and i will let you know
i have downloaded this xaml when i am using it i found the error saying activity could not be loaded because of errors in xaml. i am sharing the screenshot of that.
which version of uipath and python you have used?
install python package from manage packages
i have already installed that.
1.1.6863.33404
i have the same version. I refreshed it and i can see the code now. Thanks
Guys, I am trying to load this python file via a python script but it crashes with a ‘Pipe is Broken’ error. Can you guys help me out?
Link to pickled model: pickled_model.sav - Google Drive
Python Script:
import pickle
import numpy as np
def predict_label(x_test):
filename = 'D:\\My POCs\\UiPath - Pickled Model\\pickled_model_2.pkl'
loaded_model = pickle.load(open(filename, 'rb'))
file1 = open("D:\\My POCs\\UiPath - Pickled Model\\Model_pickling\\myfile.txt","w")
file1.write(x_test)
file1.write('\n')
file1.close()
I know I have chosen the right activities because this script works when I comment out the pickle.load command.
Thanks