Quick actions

cmd+k|ctrl+k

Navigation

Languages

3.3

Snippet info

Language

Python

Visibility

public

Author

ninhvunguyen

Created

2016-09-21T08:22:46Z

Updated

2016-09-21T08:22:46Z

i = str(input("plz input your file name with full extension: "))
print(i)
print("your full file name:",i)
x = 0
for w in range(len(i)):
    if i[w] == '.':
        x = w
print("your file name without extension:",i[:x])
   
    
INFO