Bacwards 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 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 wordwrapping, etc...)

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


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

Homepage: http://code.activestate.com/recipes/577872-bacwards-compatibility-part-2/?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


A pattern using metaclasses for "blessing" classes into Singletons.

developer Developer: Anand B Pillai
license License: Freeware
operating systems Operating System: Windows


This function creates a proxy for a class so that you can count how many times each method called.

developer Developer: Yasar Arabac?
license License: Freeware
operating systems Operating System: Windows