I am trying to convert an application into an executable file. Which in itself works fine :)

Except there is a runtime error which does not come when I run the script itself.

https://gist.github.com/3826519 Here is the piece of code that seemingly causes the error.

The error that occurs is :

AttributeError: 'module' object has no attribute 'File'