npub106g4...uas2 1 year ago I think I just found my least favorite way to accurately check whether a string (value) represents a number in #Python. 😬 value.removeprefix("-").replace(".", "", 1).isnumeric()
npub106g4...uas2 1 year ago I feel very honored to be selected as a PSF fellow this week alongside @npub180dm...m4nr and @npub18f4d...hxlr, who are 2 of the most welcoming folks I know in the Python community. 💖 Jay's post on becoming a fellow: https://kjaymiller.com/blog/on-becoming-a-psf-fellow.html
npub106g4...uas2 1 year ago The / indicates that every argument before the / is a positional-only argument. Read more 👉 Understanding help() in PythonWhen using Python's help function, have you ever wondered what the various symbols (/, *, [, and ]) mean? Understanding those symbols will help you... #Python
npub106g4...uas2 1 year ago You can think of the tokenize, ast, and dis modules as progressively deeper steps in the process of parsing the code in a Python module. Read more 👉 Python's many command-line utilitiesEvery command-line tool included with Python. These can be run with python -m module_name. #Python