Jul-24-2020, 08:54 PM
You could reduce the input number by 1
f1 = input("Select a file: ") f2 = list1[int(f1)-1]
Select correct item from list for subprocess command
|
|
Messages In This Thread |
Select correct item from list for subprocess command - by pythonnewbie138 - Jul-24-2020, 06:15 PM
RE: Select correct item from list for subprocess command - by Yoriz - Jul-24-2020, 06:36 PM
RE: Select correct item from list for subprocess command - by pythonnewbie138 - Jul-24-2020, 07:59 PM
RE: Select correct item from list for subprocess command - by Yoriz - Jul-24-2020, 08:27 PM
RE: Select correct item from list for subprocess command - by pythonnewbie138 - Jul-24-2020, 08:42 PM
RE: Select correct item from list for subprocess command - by Yoriz - Jul-24-2020, 08:54 PM
RE: Select correct item from list for subprocess command - by pythonnewbie138 - Jul-24-2020, 09:09 PM
|