Need a quick chart or graph for your blog? Try our reStructured Text renderer.
Join Siafoo Now
or
Learn More
Browse
|
|
|
dictionary comprehensions | (1) |
|
|
generator expressions | (1) |
|
|
type checking | (1) |
|
|
reduce | (1) |
|
|
strings | (1) |
|
|
tips | (1) |
|
|
functions | (1) |
|
|
decorators | (1) |
|
|
map | (1) |
|
|
filter | (1) |
|
|
dictionaries | (1) |
|
|
python | (1) |
|
|
truthfulness | (1) |
|
|
substrings | (1) |
|
|
iterate | (1) |
|
|
tricks | (1) |
|
|
list operators | (1) |
|
|
lambda functions | (1) |
|
|
zip | (1) |
|
|
switch statements | (1) |
|
|
quotes | (1) |
|
|
list comprehensions | (1) |
| Showing 1 - 2 of 2 | Showing 1 - 2 of 2 |
Want to write shorter, cleaner code? Have an unfortunate situation where you need to fit as much as you can in one expression? Prefer a quick dose of hacks to spending the rest of your life...
You shouldn't type-check in Python, but if you do, know what method is best. We discuss the pros and cons of built-in functions 'type' and 'isinstance' and property '__class__'.
| Showing 1 - 2 of 2 | Showing 1 - 2 of 2 |