I want to inform the user which python version they should use: import sys assert sys.version_info >= (3, 6), "Use Python 3.6 or newer" print(f"a ...
I want to inform the user which python version they should use: import sys assert sys.version_info >= (3, 6), "Use Python 3.6 or newer" print(f"a ...
The Makefile parameters to gcc A certain Makefile` in an Open-Source project contains the following call: The -Og parameter was introduced to gcc ...
I'm checking the windows version in an installer (made with NSIS) by checking the following registry key: According to this post and this page from ...
To keep all of my config files in sync I have a Github repository with all of my settings. While this works fairly well in most cases, some apps have ...
I have a piece of functionality which needs to differ between IE8 and IE9 (IE9 uses a very nice library that is the main code path, but a slight minor ...
My approach now is … … but I have no experience with IIS, and after searching for a while I found no information how reliable that is. The server s ...
I'm working on a component installer (only for Delphi XE2) and I would like to detect if the Delphi XE2 IDE is running. How would you detect it? P.S. ...
I need to determine programmatically if the database supports the Geography data type and Spatial indexes. These features were introduced in 2008. I a ...
This is related to the "fix" for position:fixed in older versions of iOS. However, if iOS5 or greater is installed, the fix breaks the page. I kn ...
Most modern browsers (Chrome 10, Firefox 4, IE9) are all shortening their UserAgent identifiers. As a result, the supported .NET versions are no longe ...
I know we can detect the major version and SP version from user-agent string. However, I need to distinguish between Revisions as well, i.e. are d ...
I'm just reading this documentation about Javascript 1.2, but I'm wondering which version of Javascript is being used in the most popular browsers. h ...
Is it possible to check the minor version number of GCC in cmake? I want to do something like this: ...
Is there GWT api that will tell me which browser version it detected? I've found a flaw with IE7's regex handling and need to code around some tricky ...
Is it possible to find out in what browser version a browser hosted application (XBAP) runs (eg. IE6, IE7 or IE8)? I want to find out the browser vers ...
Just to start I'm fairly new to wix. I am currently using version 3.0 with the Votive Visual Studio plug in. I know the upgrade code of an existing s ...
I'm updating a legacy app and it has some functionality that detects the version of Internet Explorer that's installed, just for display and error rep ...
This is related to another Delphi-version question but still different; I'm looking for a way to detect the service-pack (or build number) of the Del ...
Does anyone know of a good place where I can find the complete list of version defines for all the Delphi versions, right up to Delphi 2009? ...
I have an ASP .NET website that hosts a Java applet. The Java applet requires version 1.6 Update 11 of the Java runtime. How can I detect that a clie ...