Implement division with bit-wise operator

The standard way to do division is by implementing binary long-division. This involves subtraction, so as long as you don’t discount this as not a bit-wise operation, then this is what you should do. (Note that you can of course implement subtraction, very tediously, using bitwise logical operations.) In essence, if you’re doing Q = … Read more

WindowsError: [Error 193] %1 is not a valid Win32 application in Python

I wish to import liblas module in Python 2.7 on window 64bit. If I import the module with IDLE (Python GUI) I have no problem. If I use PyScripter “PyScripter-v2.5.3-x64-Setup.exe” I get this error message. I have used liblas in PyScripter many times without problem and right now I can load all standard modules (e.g.: numpy, GDAL, etc.), but … Read more