Backwards Compatibility part

Category: Python - Miscellaneous

Some example lines to add to any test code you write that work from Python 1.4.0 to 3.2.2
on various platforms.

It is all Public Domain and you can do with it as you please...

I really don't care how you vote and/or rate this as I try to write Python code for my
usage to work on the platforms and versions inside the code.

Some people will know this but very MANY won't and there will be more to come that involve
platform and version compatibility...

Enjoy finding simple solutions to often VERY difficult problems...

(Watch out for word wrapping, etc...)

Bazza, G0LCU... Date: 24 March, 2012


All Versions - Amiga - Backwards Compatibility - E Uae - Linux - Windows - Winuae

Homepage: http://code.activestate.com/recipes/577903-backwards-compatibility-part-4/?in=lang-python

Developer: Barry Walker

License: Freeware

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

"execfile()" IS BACK.

developer Developer: Barry Walker
license License: Freeware
operating systems Operating System: Windows


Some example lines to add to any test code you write that work from Python 1.

developer Developer: Barry Walker
license License: Freeware
operating systems Operating System: Windows


A conversion of an Amiga first person shooter.

developer Developer: cytadela
license License: GNU General Public License (GPL)
operating systems Operating System: All 32-bit MS Windows (95/98/NT/2000/XP), All POSIX (Linux/BSD/UNIX-like OSes), OS Portable (Source code to work with many OS platforms)


A simple DEMO to show how to enhance Python inside a Terminal.

developer Developer: Barry Walker
license License: Freeware
operating systems Operating System: Windows


I needed a simple standard Python analogue and digital display along with an overload beep when used as a
basic voltmeter.

developer Developer: Barry Walker
license License: Freeware
operating systems Operating System: Windows


This little module gives a clear screen and beep for the classic AMIGA, WinUAE, Windows and Linux all in
CLI/Command-Prompt/Terminal mode.

developer Developer: Barry Walker
license License: Freeware
operating systems Operating System: Windows


This DEMO is not for the big guns.

developer Developer: Barry Walker
license License: Freeware
operating systems Operating System: Windows


This recipes demonstrates how to use recursive generator to implement permutation and combination.

developer Developer: Shao-chuan Wang
license License: Freeware
operating systems Operating System: Windows


A one-liner that returns the list of prime numbers up to n.

developer Developer: Maxim Krikun
license License: Freeware
operating systems Operating System: Windows