Jan-13-2022, 03:38 PM
Hi, i am a little bit newbie in programming python. I have this problem:
I want to python give me the max value (integer) of a directory folder, the files are with .txt extension . For example i have this path:
inside the hghg folder there are this files
I want python give me the highest number of the file without (22)
the result in this case will be 39 because is de highest number but i cant get it
all the codes I tried failed. Can you help me with this task?
Sorry for my english.
regards
I want to python give me the max value (integer) of a directory folder, the files are with .txt extension . For example i have this path:
inside the hghg folder there are this files
I want python give me the highest number of the file without (22)
the result in this case will be 39 because is de highest number but i cant get it
all the codes I tried failed. Can you help me with this task?
Sorry for my english.
regards