I'm trying to distinguish between folder and package on a mac using a python code.
os.path.isfile('package') returns false and os.walk('package') walks trough the package as if it where any ordinary folder.
Thanks for thinking along:)
I'm trying to distinguish between folder and package on a mac using a python code.
os.path.isfile('package') returns false and os.walk('package') walks trough the package as if it where any ordinary folder.
Thanks for thinking along:)