import random, os
count = len(os.listdir(os.getcwd()))
print random.randint(1,count-1)
Well, /h/?
>>4107518
the fuck is this and what does it have to do with asian cartoon porn?
import random, os
count = len(os.listdir(os.getcwd()))
print (random.randint(1,count-1))
you mean you fucking idiot,
>>4107923
python3 is shit
>>4107933
These filthy "I'm an advanced programmer" (pythonfags) need to go to /g/ and learn a real language
>>4107518
what the fuck is the point in printing a random integer bounded by the number of things in the dir? I mean I could understand if it printed os.listdir(os.getcwd())[count].
Even then you're a faggit
install gentoo