Python not interpreting wildcard * properly?

前端 未结 0 841
刺人心
刺人心 2020-12-31 11:17

For some reason, python doesn\'t seem to recognize my wildcard command using *.r. A MWE:

filepath = "C:/outputs"
os.remove(f\'{filepath}/*.r\')


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题