I would like to create a program in Pyro 2.7 which makes a list of all the files in that folder. I want to print it the name, size, if it is a file and writes "d" then "f" writes, if it is a folder that can help me, I would be very grateful!
OK, this is your answer, but I can only do what @martijnpatters said. .. Try OS. Path.isdir (f) OS. Path.getsize (f), 'd' oslistdir ('./') for f
some first! Else 'f' And here are some of the hints you can find yourself:
-
- < Li>
No comments:
Post a Comment