Web Hosting Talk







View Full Version : Python Version #


wintek
06-25-2003, 03:53 PM
Does anyone know how I can tell what version of Python is on my server. I know it's there version loaded by cPanel but I don't know the actually version number.

Thanks in advance for your replies.

plugged
06-25-2003, 03:56 PM
$ python -V

cubision
06-25-2003, 03:58 PM
Originally posted by plugged
$ python -V

Actually, that's not a valid option, at least not in stable versions of python, I'd have to check more recent ones.

Well, if you type in "python" at a shell prompt, it should load up the interactive programming interface, and before it gives you a prompt like ">>>", it should print the version number.

Hope that helps!

wintek
06-25-2003, 04:14 PM
Thank you both for taking the time to respond. That did the trick.

I'm running: Python 1.5.2 (#1, Jan 31 2003, 10:58:35)


Thanks again.