@lukasz.langa.pl Hey Łukasz! Implemented this after listening to your conversation about pyscript in the latest core. py episode (pycon recap).
It also captures and outputs any python code errors to the terminal.
It's built on top of pyscript!
@lukasz.langa.pl Hey Łukasz! Implemented this after listening to your conversation about pyscript in the latest core. py episode (pycon recap).
It also captures and outputs any python code errors to the terminal.
It's built on top of pyscript!
Evaluating python expressions at a breakpoint is coming soon to pykernel!!
Along with monitoring changes to local vars as you step through your code, you can also evaluate expressions.
What else do you think is critical when debugging?
Also works with the `git blame` cli command when used with a flag --ignore-revs-file
@mkennedy.codes @brianokken.bsky.social Hey guys! Just listened to episode 427 of python bytes and wanted to share about a `.git-blame-ignore-revs` file. Commits included in this file will be ignored from GitHub’s git blame view. This can be used to ignore large linting or formatting only commits.
My #AOC day 9 - part 2 takes around 4s to run on local #python installation and 7s on pykernel which is based on #pyodide.
I see people posting in python discord that their solutions take less than a second to run! Seems like I have a lot of optimization left to do.
www.pykernel.com/aoc/2024/09
🎄Done with Day 8 (Resonant Collinearity) of #AdventOfCode! Nothing beats the feeling of finishing part 2 with minimal code changes!
Today's heroes:
- itertools.combinations
- collections.defaultdict
Check out my solution for today's challenge: www.pykernel.com/aoc/2024/08
🚀 New on pykernel: file uploads! 📂
Upload files and use them in Python scripts. Try this: snap a pic, upload it, and use OpenCV to turn it black & white with a blur!
Try it out in the example below! 💻✨ #Python #OpenCV
Join the waitlist on the homepage—PyKernel launches later this month!
🎄 Advent of Code is back! As always, I’m solving puzzles with #Python 🐍—but with a twist. I’m using my site, where you can write, run, and debug Python code in the browser.
Dogfooding my tool and sharing my takes on AoC here: pykernel.com/aoc
Check it out! 💻✨ #adventofcode
Definite yay.
But I think a “for…else” doesn’t feel intuitive and hence I tend to get confused when the else is executed. If it was something I used regularly, then I would remember.
But “try..except..else..finally” does feel intuitive.
Pykernel.com screenshot showing the Mandelbrot fractal.
pykernel is now more intuitive to use on mobile devices after the recent update.
Here is the Mandelbrot fractal with code from TheAlgorithms Python repo
Just prefix pykernel.com/ to any GitHub Python file link and it will automatically import code and installs the required Python packages. #python
🚀 Exciting Announcement!
Meet pykernel.com — a new platform for coding in Python, designed to be the easiest way to edit, run, debug, and share code directly in your browser, no setup needed! 🎉
Join the waitlist and be among the first to experience pykernel! #Python #CodeEditor #pykernel #pyscript