- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-26-2023 10:32 PM
I need to create some report and I am using pandas module for that but unable to read the file from my local rdp desktop. Note: I am using xsoar from web Interface. I try to use with "\\" to avoid escape sequence mistake. It is unable to read the file even the path is correct. Can anyone help me with that. I just started my xsoar journey.
*** code ***
import pandas as pd
df = pd.ExcelFile("C:\\Users\\Users.name\\fileNAme.xlsx")
Error: No such file or directory exists.
07-31-2023 03:08 AM
Hi,
I think you should check here.
https://xsoar.pan.dev/docs/reference/api/demisto-class#getfilepath
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!