extract values/renaming filename in python [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I am trying to use python to rename a filename which contains values such as: ~test1~test2~filename.csv I want to rename the file to filename.csv. The tildes being my separator for the first two words, and I do