Hello
I've been programming for a few years, mainly scripts and small
applications that monitor folders and performs actions based on content
of files and so on.
I recently got the idea of trying to do a small game that is capable of
illustrating some common problems in my field, now the gam
uliarities such as the one Brett Ritter pointed.
On Tue, May 10, 2011 at 8:45 AM, Brett Ritter <mailto:swift...@swiftone.org>> wrote:
On Tue, May 10, 2011 at 8:17 AM, Tommy Bell mailto:to...@enkelthed.dk>> wrote:
> scandir('c:\tmp')
> this doesnt work
Hey, quite new at python and I have been trying to make a script that
will list folders and files, but so far its not working
import os, glob
def scandir(path):
direc = []
file = []
for current in glob.glob(os.path.join(path,'*')):
if os.path.isdir(current):
direc