What's the best way to do cross-platform hidden file detection? I want
to do something like weed-out the files that should be 'hidden' from
os.listdir() (which would be files that start with '.' under Unix,
files that have the hidden attribute set on windows, and whatever it is
that makes Mac file
with these facts (with a little bit of
discomfort ;) ) -- just wanted to make sure that I understood.
Lenny G.
--
http://mail.python.org/mailman/listinfo/python-list
amespace takes precendence. I tried using
the renaming trick inside of Crypto.py, but it still can't find the
original python-crypto Crypto. Maybe there's something I can do in the
__init__.py? Maybe something with __path__? Is there a better way to
access namespaces from the modul
thon-crypto
'import Hippo.Crypto' # to refer to Hippo.Crypto
but the 2nd item doesn't seem to work from within the Hippo module.
What am I missing?
Thanks,
Lenny G.
--
http://mail.python.org/mailman/listinfo/python-list
I use 's = os.read(fd, 12)' to grab 12 bytes from a file. Now, I want
to create a string, s1, which contains 16-12=4 bytes: 4,0,0,0, followed
by the contents of s.
I know how to 's1 = "\x04\x00\x00\x00"' and how to 's3 = s1+s', but I
don't know how to construct s1 dynamically (i.e., given N, cons
Is there a way to make a c/c++ extension have a useful method
signature? Right now, help(myCFunc) shows up like:
myCFunc(...)
description of myCFunc
I'd like to be able to see:
myCFunc(myArg1, myArg2)
description of myCFunc
Is this currently possible?
Thanks,
Lenny G.
--