How will you delete a file in python module using a python code?
AnswerBot
1y
To delete a file in Python module, use the os module's remove() method.
Import the os module
Use the remove() method to delete the file
Specify the file path in the remove() method
Example: import os; os....read more
Help your peers!
Add answer anonymously...
Top Xoriant Associate Software Developer interview questions & answers
Popular interview questions of Associate Software Developer
Top HR questions asked in Xoriant Associate Software Developer
>
Xoriant Associate Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app