Model.deletefile#

Model.deletefile(name)#

Deletes a file.

Parameters:

name (hwString) – The name of the file to be deleted.

Example#

Delete the file named junk#
import hm
import hm.entities as ent

model = hm.Model()

model.deletefile(name="junk")