IterTools in Python
#Python #PythonTips #PythonProgramming #LearnPython #PythonTricks #Coding #Programming #CodeNewbie #DevLife #PythonDev #PythonDeveloper #itertools #PythonBuiltins #PythonForBeginners #TechTips #CodeDaily #SoftwareDevelopment
I need to add #itertools groupby in my classes :)
https://wesmckinney.com/book/python-builtin#generators_itertools
[Formations #Python] Dernière formation de l'année "Les structures avancées avec #Python"
N'hésitez pas à nous contacter pour vous inscrire
📅 le 16 décembre en ligne
#python#pythonscientifique #machinelearning #Pythonavancées
#données #algorithmique #ai #algo
#itertools #generateur #decorateur
@pokateo use of python `itertools` to map `shapely` functions onto geometric linear and point objects
Mia Bajić: The Standard Library Tour @ PyCon Ireland 2023
The Standard Library Tour is designed to provide attendees with an understanding of Python's standard library less known features. Have you ever found yourself writing complex code only to discover that Python has tools available within its library that could have made your job easier? Then this talk is for you!
#ArtAdventCalendar Day 4.
I started working through the book "Indra's Pearls" by David Mumford, Caroline Series, and David Wright. And by working, I mean implementing the pseudo-code in #python. It's fun when you recognize that a messy triple-nested loop algorithm in the book can be replaced by a single `itertools.product` followed by a `filter` call - which makes one appreciate the ease of coding in Python!
This is a "Theta-Schottky group" fractal inspired by Exercise 4.2 in the book.
♻️ Master the art of efficient looping! Join Pratibha Jagnere in the talk "Itertools – iterators for efficient looping" and level up your Python skills. 🚀🔁 Don't miss it: https://cz.pycon.org/2023/program/talks/74/
#Python #Itertools #PyConCZ23
Ano passado eu gravei um curso em vídeo de introdução ao desenho com código, usando #Python + #Processing (#py5) para o HomeostasisLab, está disponível *totalmente de graça* em:
https://homeostasislab.org/cursos/info/131
Parece que uma centena de pessoas acessaram esse #cursoGrátis de #ProgramaçãoCriativa, mas eu não tive retorno. Estranhei que deveria ter legendas em inglês mas não as encontrei :((
Adoraria que mais gente visse e que me mandassem comentários (de preferência construtivos). Assisti ontem um trechinho em que eu tento explicar #itertools #combinations #permutations e #ItertoolsProduct e achei que estava bem razoável.
Se você gosta do meu trabalho, pode me apoiar em https://gumroad.com/villares, com PayPal (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HCGAKACDMVNV2) ou PIX (chave: 46c37783-5edb-4f1c-b3a8-1309db11488c)
#Processing #py5 #Python #itertools 120 combinations of 2 elements from a 4x4 grid. #CreativeCoding #Loop #GIF
sketch_2022_06_19 #Processing #Python #py5 #itertools #combinations https://github.com/villares/sketch-a-day
UPDATE: No need to use that cumbersome lambda, it was there because of some previous experiments... I refactored it out:
...
for z, positions in zip(range(-100, 101, 20), cs):
py5.fill((255 + z + i * 20) % 255, 200, 200)
for pos in positions:
element(pos + (z,))
🌗 函數式編程 HOWTO — Python 3.11.4 文件
➤ Python 的函數式編程特性
✤ https://docs.python.org/3/howto/functional.html
本文介紹 Python 的函數式編程特性,包括迭代器、生成器、itertools 和 functools 等庫模塊。函數式編程將問題分解為一組函數,並鼓勵使用純函數,即只接受輸入並生成輸出,不修改內部狀態。函數式編程具有形式化可證明、模塊化、可組合、易於調試和測試等優點。
+ 很好的介紹了 Python 的函數式編程特性,讓我更好地理解了函數式編程的概念和優點。
+ 這篇文章很有用,尤其是對於那些想學習函數式編程的 Python 開發人員來說。
#Python #函數式編程 #iterators #generators #itertools #functools
Today I implemented some neat optimizations for my current project at work: the problem I found was that the #rust #itertools library does not ensure minimal allocation size for the partition_result adaptor.
I made a custom implementation of this adaptor that does not allocate itself, but receives preallocated collections for the partitions.
Was a pretty nice experience.
Ano passado eu gravei umas aulas em vídeo para o HomeostasisLab, é de graça, sobre desenhar com #Python e #py5 e um pouquinho de #itertools https://homeostasislab.org/cursos/info/131
sketch_2022_02_25 #Processing #Python #py5 #itertools github.com/villares/sketch-a-day
sketch_2022_02_21 #Processing #Python #py5 #itertools combinações de 7 pontos de um heptágono ligados dois a dois por linhas tracejadas.
Will I get the hang of using #py5 on #JupyterLab ? Trying the py5bot kernel...
O meu curso com #Python #py5 #itertools no #homeostasislab vai ser amanhã, quarta-feira 9/11, 19h, horário de Brasília, inscreva-se em https://homeostasislab.org/cursos/info/131 :D