Closed pkong-ds closed 2 weeks ago
ref #69
Previously, filename parsing method is implemented with custom code like split('.') instead of os.path.splitext()
split('.')
os.path.splitext()
Use os.path.splitext instead
os.path.splitext
apple-iphone-15-black-mockup(2).zip
ref #69
Problem
Previously, filename parsing method is implemented with custom code like
split('.')
instead ofos.path.splitext()
Solution
Use
os.path.splitext
insteadTest run
Input
Output
apple-iphone-15-black-mockup(2).zip