ContributionsMost RecentMost LikesSolutionsRe: i want to remove a file from my desktop . i have tried :- def a(): userName = Sys.UserName Log.Message(userName) try: import os os.remove(r"C:\Users\userName\Desktop\export.csv") except Exception as e: Log.Message(str(e)) However this is giving me error message " [WinError 3] The system cannot find the path specified: 'C:/Users/userName/Desktop/export.csv' Please help Re: i want to remove a file from my desktop . zkhz8zd is mu login id in below code and I want to make it generic for the other user who looged with there respective id. Please help me out. Pls i want to remove a file from my desktop . i want to remove a file name (export.csv) from my desktop . I have code in python working fine for this. Code :- try: import os os.remove(r"C:\Users\zkhz8zd\Desktop\export.csv") except Exception as e: Log.Message(str(e) Now I want it to make generic so that whoever run on there respective machine, it should work. I am using Sys.UserName for this, however not able to do this. I have changed ....os.remove(r"C:\Users\zkhz8zd\Desktop\export.csv") to os.remove(r"C:\Users\ + str(Sys.UserName) + \Desktop\export.csv") Can anybody please help me with the code SolvedRe: I have a Excel name "CCP_MARGIN_2017-09-11_risk_cpm_stg.xlsx" in C drive. I am reading it and using hi , in my case the excel file name is changing everyday (CCP_MARGIN_2017-09-11_risk_cpm_stg.xlsx) ,the date. Tomorrow it will be (CCP_MARGIN_2017-09-12_risk_cpm_stg.xlsx). That's problem. Please help! Re: I have a Excel name "CCP_MARGIN_2017-09-11_risk_cpm_stg.xlsx" in C drive. I am reading it and using Please help how can I read the that excel file I have a notepad having some number stored in it . How to get the row count for that notepad. I have a notepad having some number stored in it . How to get the row count for that notepad. attaching the notepad for example. Please help. I need this in Python I have a Excel name "CCP_MARGIN_2017-09-11_risk_cpm_stg.xlsx" in C drive. I am reading it and using I have a Excel name "CCP_MARGIN_2017-09-11_risk_cpm_stg.xlsx" in C drive. I am successfully reading it through excellib.excelRW('C:\temp\CCP_MARGIN_2017-09-11_risk_cpm_stg.xlsx'). The Problem is that if (2017-09-11) date will change if I run it on different date,Example :-(CCP_MARGIN_2017-09-12_risk_cpm_stg.xlsx) . I am using PYTHON. Please help SolvedRe: How to Copy Data from Notepad and paste it in application under test through notepad Yes Sir,this a business functionality to open the Notepad to copy(control a) the contents & (Control V) will do my scenario. Thanks Re: How to Copy Data from Notepad and paste it in application under test through notepad Hi Thanks, However this is not working . This time I am attaching the notepad with sample data and screen print for application also. The notepad contain data, which basically need to copied. I mean , I want (Control A) and Control (C). After that I want (Control V) in my application( which is a grid and have attached screen print for the same.) Please help sir. this is a bit urgent . Again please help Re: How to Copy Data from Notepad and paste it in application under test through notepad please help ! this is a bit urgent