def check_installed_python_version(logfile, print_log_name):
""" Returns version of python that Warrior is running on.
:Arguments:
1. print_log_name (str) = Name of the print_log file
2. logfile (file object) = Contains the file object for the
console_log file. This file object is the 'opened' console_log
file with mode set to 'a'
:Returns:
str = python version
"""
print_info("The current python version installed is: " +
platform.python_version(), logfile, print_log_name)
return platform.python_version()
评论列表
文章目录