Append os.listdir neatly
With this code in a TextCtrl I get:
os.listdir(self.dirname)
self.bottomview.AppendText(str(os.listdir(self.dirname)))
>>>[u'a.txt', u'b.txt', u'c.txt']
How would you append os.listdir so that is list like:
a.txt
b.txt
c.txt
No comments:
Post a Comment