> Can anyone point me to a tutorial on bit manipulations (testing and > setting) in Python? Look at the sidebar in my OS topic. It covers using bitmasks to test the bits set by the file stat functions. HTH, Alan G Author of the learn to program web tutor http://www.freenetpages.co.uk/hp/alan.gauld