@veer66 #python interpreter _does_ convert python source to python bytecode which kinda counts I guess :D
Been using #nushell for a few months now and I'm entirely unconvinced by it's scripting engine.
The design is so restrictive that I usually just revert to #python for anything more than a few lines of code. Block scoping is such a PITA in particular - why can't I populate my mutables in loops? The final scripts end up being so unnecessarily complex and impossible to maintain which defeats the entire purpose of a shell language.
My shell quest continues to https://www.marceltheshell.org/ next :)
Enhanced templating in Semantic Kernel for Python
Hello to all Python enthusiasts working with Semantic Kernel! We are very happy to share some of the latest work we have been doing, namely we introduced not one but two new options for templates: Handlebars and Jinja2. And we also made some updates to the ‘semantic-kernel'
https://devblogs.microsoft.com/semantic-kernel/enhanced-templating-in-semantic-kernel-for-python/
By: Eduard van Valkenburg
#microsoft #semantic-kernel #python
testing it with Mark Twain's "The Adventures of Tom Sawyer"
#AI #GenAI #OpenAI #Langchain #Unstructured #JupyterNotebooks #Python
Why Do Python Lists Multiply Oddly? Exploring the CPython Source Code
https://codeconfessions.substack.com/p/why-do-python-lists-multiply-oddly
Discussions: https://discu.eu/q/https://codeconfessions.substack.com/p/why-do-python-lists-multiply-oddly
#cprogramming #programming #python
@glyph heh, well, my first instinct when encountering a weird code thing is to post it on Mastodon, so I can relate.
And the situation makes sense, thanks for explaining. I do run into that situation myself from time to time, not often though, and definitely never thought to employ walrus operators in decorators to deal with it!
I kind of want to legitimize the name "walrus decorators" now 😂 I mean when else would that phrase ever come up
I am trying to get this tutorial code to work. It simply will not work. The worst part is that every time I ask for help everyone acts like I’m absolutely crazy. I’m going to chew glass. #godot #python
Truth tables with #sympy in #Python #ZM
It seems I have a @Codeberg account now: https://codeberg.org/jssfr/aioxmpp/issues/397
This is the #Python/#aioxmpp edition, after the Perl/Net::XMPP one (linked in the issue).
@cazabon @fohrloop Wait people really do that? 😅 I mean, I don't doubt that it happens sometimes, but I'm not sure I've ever seen it in the wild. Maybe like once or twice, if that, so I wouldn't think it to be all that common. And I think that's a relatively weak argument against using src layout. (Like, whatever convention you have, some people will always do it wrong, but in this case it's not hard to get right and not hard to fix if you screw it up at first.)
#statstab #61 Interactive Plots
Thoughts: It is inevitable that interactive papers will be the future. For now, I'll focus on plots.
#dataviz #plots #stats #python
https://www.miriamheiss.com/final-project/interactive.html
Close call to enter into #30DayChartChallenge #Day01 part to whole. Not pretty, but should qualify…
Number of cities of over a million inhabitants.
This year just very few plots, but all will be done in #python on my mobile phone. Also I’ll limit my time per chart to 30 mins max. Let’s see how this experiment goes…
#datavizonthego #dataviz
Source: https://de.wikipedia.org/wiki/Liste_der_Millionenst%C3%A4dte
Working with "Carnets - Jupyter (with Scipy)" app, code will follow soon.