pub fn prompt_py_vers() -> Version {
    print_color(
        "Please enter the Python version for this project: (eg: 3.8)",
        Color::Magenta,
    );
    let mut input = String::new();
    io::stdin()
        .read_line(&mut input)
        .expect("Unable to read user input for version");

    input.pop(); // Remove trailing newline.
    let input = input.replace("\n", "").replace("\r", "");

    fallible_v_parse(&input)
}
/// Ask the user what Python version to use.
Ask the user what Python version to use.
Ask the user what Python version to use .
pub fn prompt_py_vers() -> Version {
    print_color(
        "Please enter the Python version for this project: (eg: 3.8)",
        Color::Magenta,
    );
    let mut input = String::new();
    io::stdin()
        .read_line(&mut input)
        .expect("Unable to read user input for version");
    input.pop(); // Remove trailing newline.
    let input = input.replace("\n", "").replace("\r", "");
    fallible_v_parse(&input)
}
pub fn prompt_py_vers ( ) -> Version { print_color ( " " , Color :: Magenta , ) ; let mut input = String :: new ( ) ; io :: stdin ( ) . read_line ( & mut input ) . expect ( " " ) ; input . pop ( ) ; // Remove trailing newline. let input = input . replace ( " \n " , " " ) . replace ( " \r " , " " ) ; fallible_v_parse ( & input ) }
Ask the user what Python version to use.
Ask the user what Python version to use .