Hello:
I am still using Python 2.4.3, I haven't upgraded yet.
However, I would like to know if my 2.4.3 programs will run
in 2.5 without modification.
Is there any way to test that my software is compatable
with 2.5 (or any other version), without actually installing
that version?:
I have been told that the .pyc are not compatable. Is it
possible, to convert a 2.4.x .pyc to a 2.5 .pyc?
Thanks in advance:
Michael Yanowitz 4 986
On Nov 21, 7:24 am, "Michael Yanowitz" <m.yanow...@kearfott.comwrote:
I am still using Python 2.4.3, I haven't upgraded yet.
However, I would like to know if my 2.4.3 programs will run
in 2.5 without modification.
Is there any way to test that my software is compatable
with 2.5 (or any other version), without actually installing
that version?:
You need to install 2.5. If you're on linux or similar OS, get the
source and
do
./configure
make altinstall
This installs almost everything, but does not overwrite your link to
2.4.3.
Then you can test your code using
python2.5 myfile.py
When you're all set, just change the link "python" to point to the new
python2.5.
I have been told that the .pyc are not compatable. Is it
possible, to convert a 2.4.x .pyc to a 2.5 .pyc?
Very unlikely.
-- George Young
Thanks in advance:
Michael Yanowitz
ge**********@gmail.com a écrit :
On Nov 21, 7:24 am, "Michael Yanowitz" <m.yanow...@kearfott.comwrote:
> I am still using Python 2.4.3, I haven't upgraded yet. However, I would like to know if my 2.4.3 programs will run in 2.5 without modification. Is there any way to test that my software is compatable with 2.5 (or any other version), without actually installing that version?:
You need to install 2.5. If you're on linux or similar OS, get the
source and
do
./configure
make altinstall
This installs almost everything, but does not overwrite your link to
2.4.3.
Then you can test your code using
python2.5 myfile.py
When you're all set, just change the link "python" to point to the new
python2.5.
Hum, IMHO it's a bad idea to change the python link to another Python
version (other than de distro default).
Can put the Python version in script header (and make it executable)
#!/bin/env python2.5
Can write a small script shell starting the Python script with the
ad-hoc Python version.
> I have been told that the .pyc are not compatable. Is it possible, to convert a 2.4.x .pyc to a 2.5 .pyc?
The magic code.
Just rm -rf *.pyc from your own scripts directories, they will be rebuilt.
A+
Laurent.
Michael Yanowitz schrieb:
Hello:
I am still using Python 2.4.3, I haven't upgraded yet.
However, I would like to know if my 2.4.3 programs will run
in 2.5 without modification.
Is there any way to test that my software is compatable
with 2.5 (or any other version), without actually installing
that version?:
I have been told that the .pyc are not compatable. Is it
possible, to convert a 2.4.x .pyc to a 2.5 .pyc?
No. Why should there if there's such an easy way to build it
from scratch?
Georg
>>I have been told that the .pyc are not compatable. Is it
>>possible, to convert a 2.4.x .pyc to a 2.5 .pyc?
The magic code.
Just rm -rf *.pyc from your own scripts directories, they will
be rebuilt.
Just take care in the event that you have files that were
distributed in bytecode format (.pyc) rather than source
form...if you don't have any such .pyc files, then Laurent's
solution is fast and easy. If you do, you may have to protect
them before trying such a stunt.
-tkc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andrea Griffini |
last post by:
I did it.
I proposed python as the main language for our next CAD/CAM
software because I think that it has all the potential needed
for it. I'm not sure yet if the decision will get through, but...
|
by: Sarah Akers |
last post by:
GgF
----gL5cJ72EqiGIQ0SK65Rz
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
|
by: Blake Mandelbaum |
last post by:
bgc
----mDuNni7bWv1kUF0gGK
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE=
: 10px;...
|
by: Jorge King |
last post by:
qim
----KZbS7hrbznJi92oKn
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE=
: 10px;...
|
by: Gary James |
last post by:
This may not be a direct C# question, but since I'll be using using C# for
development, I thought I'd pose the question here.
I'll soon be involved in the design of a new software product that...
|
by: Lars-Erik Aabech |
last post by:
Hi!
Guess it's my day again.. Tried to deploy a test release of a new asp.net
web today, and got a terrible error.
The web is running swell on three development computers, but when it's
copied...
|
by: Sally Whitfield |
last post by:
8Zcc
----uMyItidGBFcIxNvn7Ubo
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE=
: 10px;...
|
by: LW |
last post by:
Who among this group believes that Microsoft (or any other creator of
intellectual property) does NOT have both a RIGHT and a DUTY to
protect the product of their minds?...
|
by: relisoft |
last post by:
SEATTLE, Washington. - July 12, 2006: Reliable Software® announces
the upcoming release of Code Co-op® version 5.0. Code Co-op is an
affordable peer-to-peer version control system for distributed...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |