Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

.split python

path = "xlsx_files/risk_on/feature/US10Y.csv"
name = path.split("/")
print(name)

#['xlsx_files', 'risk_on', 'feature', 'US10Y.csv']
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
3+8 =