Invalid literal for int() with base 10?
Keith Thompson
Keith.S.Thompson+u at gmail.com
Fri May 26 04:46:09 EDT 2023
Keith Thompson <Keith.S.Thompson+u at gmail.com> writes:
> "Kevin M. Wilson" <kevinmwilson1956 at yahoo.com> writes:
>> Ok, I'm not finding any info. on the int() for converting a str to an
>> int (that specifies a base parameter)?!
>
> https://docs.python.org/3/library/functions.html#int
[...]
Or `print(int.__doc__)` at a Python ">>>" prompt, or `pydoc int`
(or `pydoc3 int`) at a shell prompt. The latter may or may not be
available.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u at gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */
More information about the Python-list
mailing list