Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Python
What version of python is running a script
What version of python is running a script
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Fernando Rodríguez
#1
What version of python is running a script
Mar 7 '06, 03:15 PM
Hi,
How can my script tell which version of python is running it?
Thanks
Juho Schultz
#2
Mar 7 '06, 03:25 PM
Re: What version of python is running a script
Fernando Rodríguez wrote:[color=blue]
>
> Hi,
>
> How can my script tell which version of python is running it?
>
> Thanks
>
>[/color]
import sys
# examine these variables
sys.version_inf o
sys.version
Comment
Post
Cancel
Cameron Laird
#3
Mar 7 '06, 04:25 PM
Re: What version of python is running a script
In article <a33bd841ffe78c 81017243bdd70@n ews.supernews.c om>,
Fernando Rodríguez <frr@easyjob.ne t> wrote:[color=blue]
>
>Hi,
>
>How can my script tell which version of python is running it?[/color]
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment