Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

os.path.sep.join

1
2
3
4
>>> type(os.sep)
<class 'str'>
>>> os.sep.join(["foobar", "/foo/baz/", "whatever"])
'foobar//foo/baz//whatever'
Source by python-forum.io #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+7 =