Make usefull examples modules!
wrenaud gave us this very nice example of a directory-script see
E.g he has succeeded making a 'scrollable' layer and more!
and what I just did is this:
I moved the "class filebrowser" into a file "filebrowser" (which seems to get automatically the extension py!!!_
imported it like this: from filebrowser import filebrowser as fs and then finally (after putting class filebrowser between ''' and ''' )
And it works!!!
So this means that it would be worthwhile (if allowed) to put those very useful classes as modules into your local space making the using modules much smaller because one line importing something is much shorter than the whole ;-)
What do you think ... finally these generally modules if not directly available in the app (to stay 'small') should be somewhere (gist, wiki?) available???
So, py-files in lib are not shown in the Pythonista lib, ok? For helper modules not necessary.
So question remains for me: where and how to create 'lib'?
Will be done shortly ;-) Thanks!