venture of iit bombay vjti alumni rename file from test txt to test txt os rename"test txt""test txtthe remove(method you can use the remove(method to delete files by supplying the name of the file to be deleted as the argument syntax os remove(file_nameexample following is the example to delete an existing file test txt #!/usr/bin/python import os delete file test txt