Building a Python Library for returning basic file info (ongoing)

Things are going smoothly so far since working with strings and filenames are pretty straight forward in python 3.6

my github project so far:

going with the simplest task of extracting filename from a path in python comes with a built in module called os.path,really useful

 getting the filesize of the file was a bit more tricky as it could be either an absolute path or relative path as it is more complicated I'll use a code snippet from my github


Popular posts from this blog

#Brave-laptop dev: Being brave with my first issue (WIP)

#Python-dev: First contribution to (c)python

#Brave-laptop dev: interesting issue part 2