```
>>> def g(x: 3) -> itertools:
... ...
...
>>> g.__annotations__
{'x': 3, 'return': <module 'itertools' (built-in)>}
```
```
>>> def g(x: 3) -> itertools:
... ...
...
>>> g.__annotations__
{'x': 3, 'return': <module 'itertools' (built-in)>}
```
#Python #bolhatech #py #programadores #fundamentos #itertools
#linguagemPython
#Python #bolhatech #py #programadores #fundamentos #itertools
#linguagemPython
docs.rs/itertools/la... Itertools in itertools - Rust
docs.rs/itertools/la... Itertools in itertools - Rust
I’m describing replaces blanket impls with newtypes in a way that effectively corresponds to ML modules for things that would be blanket impls in Rust (eg to use itertools need to call some transformer to make your iterator a type that implements Itertools)
I’m describing replaces blanket impls with newtypes in a way that effectively corresponds to ML modules for things that would be blanket impls in Rust (eg to use itertools need to call some transformer to make your iterator a type that implements Itertools)
realpython.com/podcasts/rpp...
realpython.com/podcasts/rpp...
But you’ll enjoy it more if you’re interested in Python.
Especially if you don’t often use the itertools module
www.thepythoncodingstack.com/p/itertools-...
But you’ll enjoy it more if you’re interested in Python.
Especially if you don’t often use the itertools module
www.thepythoncodingstack.com/p/itertools-...
How often do you use `itertools`?
If the answer is “never” or “rarely”, you probably ought to spend a bit more time getting acquainted with it
—
I’m on two articles so far in The `itertools` Series. More to come…
www.thepythoncodingstack.com/p/the-iterto...
How often do you use `itertools`?
If the answer is “never” or “rarely”, you probably ought to spend a bit more time getting acquainted with it
—
I’m on two articles so far in The `itertools` Series. More to come…
www.thepythoncodingstack.com/p/the-iterto...
It's perfect for data processing, counting runs, and simplifying repetitive sequences.
Python Functions in Depth — Writing Clean, Reusable, and Powerful Code pythonclcoding.gumroad.com/l/kuvib
It's perfect for data processing, counting runs, and simplifying repetitive sequences.
Python Functions in Depth — Writing Clean, Reusable, and Powerful Code pythonclcoding.gumroad.com/l/kuvib
✨itertools ✨
If you need advanced iterator ops like intersections, sorting, interleaving, merging, grouping, this crate is for you. I wonder if these will eventually be part of rust std but for now this crate rocks!
📦 Crates:
✨itertools ✨
If you need advanced iterator ops like intersections, sorting, interleaving, merging, grouping, this crate is for you. I wonder if these will eventually be part of rust std but for now this crate rocks!
📦 Crates:
How can Python's built-in itertools library enhance your skills? This week on the show, we speak with @mathspp.com about teaching Python through his blog and his passion for the itertools library.
buff.ly/dEVrE9L
How can Python's built-in itertools library enhance your skills? This week on the show, we speak with @mathspp.com about teaching Python through his blog and his passion for the itertools library.
buff.ly/dEVrE9L
Nah!
Let's use `itertools.product()` instead
www.thepythoncodingstack.com/p/itertools-...
Nah!
Let's use `itertools.product()` instead
www.thepythoncodingstack.com/p/itertools-...