Integer range when using 64bit jdk

The size of an int in Java is completely independent of the 32-bitness or 64-bitness of a JDK. It is always 4 bytes = 32 bits = −2,147,483,648 to 2,147,483,647. If you want a 64-bit integer, use a long, which is always 64 bits = 8 bytes.

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