In Script Factory application, a selected python file from the workspace tree can be deleted.

How to delete a python Script from the workspace tree?
  Select a python file in the workspace tree.
  Click on the icon DELETE in the FILES menu or right click on the selected python file and then select the “Delete” option.
  Click on “Yes” to confirm the file delete.