[BangPypers] how to Identify file type

Sibtey Mehdi sibtey.mehdi at gmail.com
Fri Jul 15 10:42:35 CEST 2011


Hi ,

I am writing a script in python to identify the type of a file.In most of
the cases I got the correct file type on the basis of file extension.
Is there any way to identify a PLSQL, TSQL or SQl file as these files may
have the same 'sql' extension.

Thanks
Sibtey


More information about the BangPypers mailing list