So I’m trying to write some little static designs with py5 in Thonny, and when I run the program, the sketch window opens but closes immediately, so I can’t really see what I’ve drawn. It only seems to happen when there is no “def draw():” component in the program (so, non-animated programs which only have the “def setup():” part). Is there a setting somewhere to tell Thonny to keep the sketch result open after running? #py5#Python#Thonny
I created a #python script to generate a custom #emulationstation collection of all 5-star #retrogaming games present on #steamdeck. this is a great way to have the best games easily at hand, especially when using large collections.
Hey Sphinx users, does anyone know how to configure a Sphinx project to not use #idN in inline anchors for subheadlines which start with integers (e.g. versions in release notes/changelogs)? I mean, other than prefixing the subheadline with 'v’ or ‘Release’? #python#sphinx
Dear #lazyweb, is there any good guide to configuring #Jupyter to have multiple kernels associated with distinct #Python virtual environments?
I know that this is a thing that can be done and I have done it, but only by cobbling together the information from docs and partially-useful posts on forums/etc.
I have never encountered a good write-up of it that is beginner-friendly.
(I know that you can install Jupyter into each venv and switch servers, but this is NOT what I am asking about)
I am completely happy using pip, conda/mamba to manage my dependencies and environments.
Lately (and not so lately) I've seen poertry, pixi, hatch, pipenv, pdm, rye, uv,... Of course I feel I'm missing something. What are your thoughts/comments about these tools?
I am excited to present at the Dev AI conference in Paris on June 19!
I am going to run a workshop about the deployment and monitoring of ML pipelines with free and open-source tools. This includes using tools such as GitHub Actions and Pages, Docker, Python, Quarto, etc.
Want to follow along with Nate Ohlson who's working on adopting hardened compiler options for #Python as a part of Google Summer of Code 2024? They're publishing to Mastodon!
🚀 Anúncio: Nova Versão do Módulo Python crossfire!
A nova versão do módulo Python crossfire, desenvolvida por mim e @cuducos está disponível!
✨ Novidades:
Bug corrigido: Agora compatível com Google Colab!
Funcionalidade extra: Parâmetro que desempacota dados aninhados para facilitar a análise.
Ideal para jornalistas de dados e analistas! Cadastre-se na API do Fogo Cruzado e acesse os dados direto no Python.
🗺️ Who doesn’t love a good map? And with EOMaps, from Raphael Quast, you have a Python package that makes it easy to visualize, analyze, and compare geographical datasets at your fingertips!
In the above example, we start by building an array of things that we want to embed, embed them using nomic-embed-text and Chroma DB, and then use llama3:8b for the main model.
Two big differences that you will notice between the other two examples and this one is that the date no longer contains the year and I added a statement of what today’s date is, so that you can ask for “Today’s flavors”.
CMY Tangled Squares, a work originally conceived April 2018 and been evolving and iterating ever since. The abstract works can be enjoyed far away as well as close up. Using only three primary ink colors, the movement and flows of the strokes endlessly flow across the page. Many see things is the swirls of line and color. What do you see?