How do I find out the Python version in CMD?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Press CMD + Space to see the Python version in CMD. This activates Spotlight. Type "terminal" into this box and hit Enter. Type python –version or python -V and press enter to run the program. The python version will be returned in the line following the command.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Press CMD + Space to see the Python version in CMD. This activates Spotlight. Type "terminal" into this box and hit Enter. Type python –version or python -V and press enter to run the program. The python version will be returned in the line following the command.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about repr function?
What is the difference between a Mutable datatype and an Immutable data type?
How do you sort a list in python?
What do you mean by *args and **kwargs?
Consider multiple inheritances here. Suppose class c inherits from classes a and b as class c(a,b). Classes a and b both have their own versions of method func(). If we call func() from an object of class c, which version gets invoked?
What are static methods for?
What is __init__.py used for in python?
Is python better than ruby?
What is the difference between Xrange and range?
What is __ main __ in python?
What is a static relationship?
What does do in c?