Help - Search - Members - Calendar
Full Version: How To Delete File With Python?
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > XBMC for Xbox Forums > XBMC Python Scripting Forum
Affini
I've tried os.unlink(file) and also os.system('rm '+file)

neither seem to work.

I need to delete plain ol text files.

thanks!
Rockstarr
Hi.

Did you do "import os"?
Whats the Error Message?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.