Web Analytics

Python os.remove() Method

OS & SystemFile System

The os.remove() method deletes a file.

Syntax

os.remove(path)

Return Value

None.

Example

Output
Click Run to execute your code