Blog / Software Development

How to check if a file is locked in Python

December 14, 2010

My colleague showed me a trick on how to do this earlier. What I was trying to do is poll a folder for a bunch of files and if they’re not there keep polling until they arrive, then process them. The problem is before they can be processed we need to be sure that the file transfer is complete.

The trick on how to do this is to try and open the file once it …

P4A PHP Framework

January 1, 2008

Here’s a nice PHP framework called P4A (stands for PHP For Applications) for those interested in creating web applications quickly. I’ve built a few web applications for work using this framework and I really like how fast you can build things with it. You don’t even need to know much about PHP to get started (I’ve never worked with PHP before I started playing around with this framework). As long as you know some basic …

Newer