Skip to content

Takes an input string + extension and turns it into a sanitized filename.

Notifications You must be signed in to change notification settings

BobbyDusk/py-make-filename

Repository files navigation

makefilename

Takes an input string + extension and turns it into a sanitized filename.

from makefilename import make_filename

name_game = "Counter-Strike 2"

filename = make_filename(name_game, extension=".json")
# filename == "Counter_Strike_2.json"

About

Takes an input string + extension and turns it into a sanitized filename.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages