Skip to content

Commit

Permalink
Update read_files.py
Browse files Browse the repository at this point in the history
  • Loading branch information
piexpiex authored Jan 24, 2022
1 parent 5ceb688 commit 8f2b815
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CFC_configuration/python_scripts/read_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ def delete_space(A):
while A[len(A)-1]==' ' and A!=' ':
A=A[0:len(A)-1]
return(A)
def delete_space2(A):
if len(A)>0:
while A[0]=='_' and A!='_':
A=A[1:len(A)]
while A[len(A)-1]=='_' and A!='_':
A=A[0:len(A)-1]
return(A)
def delete_folder_name(A):
B=''
key=0
Expand Down

0 comments on commit 8f2b815

Please sign in to comment.