6 lines
99 B
Python
6 lines
99 B
Python
|
|
||
|
def cut_pyc(f_name):
|
||
|
if f_name.endswith('.pyc'):
|
||
|
return f_name[:-1]
|
||
|
return f_name
|