By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,961 Members | 2,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,961 IT Pros & Developers. It's quick & easy.

What version of python is running a script

P: n/a

Hi,

How can my script tell which version of python is running it?

Thanks
Mar 7 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Fernando Rodríguez wrote:

Hi,

How can my script tell which version of python is running it?

Thanks


import sys
# examine these variables
sys.version_info
sys.version
Mar 7 '06 #2

P: n/a
In article <a3*************************@news.supernews.com> ,
Fernando Rodríguez <fr*@easyjob.net> wrote:

Hi,

How can my script tell which version of python is running it?

Mar 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.