DEV Community

Samandar Ravshanov
Samandar Ravshanov

Posted on

Convert a string to a valid filename

Convert a string to a valid safe filename for both unix-like and windows systems

from functorflow import f

r = f('safe-name', '<foo/bar>')
Enter fullscreen mode Exit fullscreen mode

Stop wasting time installing and configuring Python libraries. Use them right away. FunctorFlow instantly auto-install and auto-config them for you.

Top comments (0)