1

I have a computer with python 2.5
I have written a software that runs on python 2.5 (rather big, over 30k lines of code)

I am thinking about upgrading my computer to python 2.7 because i want to implement multithreading.
However, I have some concerns whether this would break my software or not.

Is there guidelines to make this transition smooth?
any tips?

rypel
4,8742 gold badges27 silver badges36 bronze badges
asked Sep 12, 2013 at 3:51
1

1 Answer 1

3

This would be a good use case for using a Python virtual environment to test your code, see the virtualenv :

http://www.virtualenv.org/en/latest/

You can use the --python flag to specify a Python version in your virtual environment:

virtualenv --python /path/to/python2.7 env_27
answered Sep 12, 2013 at 4:28
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.