Skip to main content

os -list modülü

#!usr/bin/env python

-- coding:utf-8 --

import os
a=os.listdir("/home/semrelin")
c=0
for dosyalar in a :
if c<len(a):
c=c+1
print c,".", dosyalar

Comments

Comments powered by Disqus