python

Back Open Paginator
02.04.2024 05:31
wraptile (@wraptile@fosstodon.org)

@veer66 #python interpreter _does_ convert python source to python bytecode which kinda counts I guess :D




Show Original Post


02.04.2024 05:23
wraptile (@wraptile@fosstodon.org)

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 marceltheshell.org/ next :)




Show Original Post


02.04.2024 05:01
msftdevblogs (@msftdevblogs@dotnet.social)

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'

devblogs.microsoft.com/semanti

By: Eduard van Valkenburg

#microsoft #semantic-kernel #python




Show Original Post


02.04.2024 03:29
shish (@shish@techhub.social)

testing it with Mark Twain's "The Adventures of Tom Sawyer"

#AI #GenAI #OpenAI #Langchain #Unstructured #JupyterNotebooks #Python





Show Original Post


02.04.2024 03:18
python_discussions (@python_discussions@mastodon.social)

Why Do Python Lists Multiply Oddly? Exploring the CPython Source Code

codeconfessions.substack.com/p

Discussions: discu.eu/q/https://codeconfess




Show Original Post


02.04.2024 03:10
diazona (@diazona@techhub.social)

@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

#Python




Show Original Post


02.04.2024 03:03
beanjbunny (@beanjbunny@nerdculture.de)

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




Show Original Post


02.04.2024 02:51
linuxgal (@linuxgal@techhub.social)

Truth tables with #sympy in #Python #ZM





Show Original Post


02.04.2024 01:32
CyrilBrulebois (@CyrilBrulebois@mamot.fr)

It seems I have a @Codeberg account now: codeberg.org/jssfr/aioxmpp/iss

This is the #Python/#aioxmpp edition, after the Perl/Net::XMPP one (linked in the issue).




Show Original Post


02.04.2024 00:47
diazona (@diazona@techhub.social)

@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.)

#Python




Show Original Post


02.04.2024 00:19
mzloteanu (@mzloteanu@mastodon.social)

#61 Interactive Plots

Thoughts: It is inevitable that interactive papers will be the future. For now, I'll focus on plots.

miriamheiss.com/final-project/




Show Original Post


02.04.2024 00:11
basepair (@basepair@scicomm.xyz)

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: de.wikipedia.org/wiki/Liste_de

Working with "Carnets - Jupyter (with Scipy)" app, code will follow soon.





Show Original Post


1 ...219 220 221 222 223 224 225 226 227 228 229 ...285
UP