Nov-09-2023, 01:15 PM
Search is very wide subject and "how" depends on very many factors.
For Python I personally follow this pattern:
1 Search Python built-in help
2. Search Python documentation at python.org
3. Search internet with Google
This specific subject was about string formatting so following should be pretty self-explanatory:
For Python I personally follow this pattern:
1 Search Python built-in help
2. Search Python documentation at python.org
3. Search internet with Google
This specific subject was about string formatting so following should be pretty self-explanatory:
>>> help('format') Help on built-in function format in module builtins: format(value, format_spec='', /) Return value.__format__(format_spec) format_spec defaults to the empty string. See the Format Specification Mini-Language section of help('FORMATTING') for details. >>> # very helpful hint what to search >>> help('FORMATTING') # oh boy, this will spill out lengthy and quite comprehensive information
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.