Le samedi 12 février 2022 à 11:36:49 UTC+1, W D Joyner:

>
> Also, you can use the version command: 
>
> sage: version() 
> 'SageMath version 9.3.rc0, Release Date: 2021-03-23' 
>


Or to also get the Python version:
```
sage: print('{}, Python {}.{}.{}'.format(version(), *sys.version_info[:3]))
SageMath version 9.6.beta0, Release Date: 2022-02-06, Python 3.9.10
```

More elaborate command for more concise output:
```
sage: print("SageMath {}, released {}. Python {}.{}.{}."
....:       .format(sage.version.version, sage.version.date, 
*sys.version_info[:3]))
SageMath 9.6.beta0, released 2022-02-06. Python 3.9.10.
```

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ff11d2b6-afd0-4e34-9d7e-8dc9e4ee927dn%40googlegroups.com.

Reply via email to