python

Back Open Paginator
10.12.2025 02:14
display (@display@friendica.chilemasto.casa)

#datocurioso

¿Sabían que el lenguaje de programación Python fue bautizado en honor al programa de comedia británico Monty Python's Flying Circus y no por la serpiente?

Su creador, Guido van Rossum, era un gran admirador de la serie de la BBC a finales de la década de 1980, y eligió el nombre como un tributo a ese humor absurdo.

La filosofía detrás de Python está recogida en un documento conocido como "El Zen de Python". Principios como "Bello es mejor que feo" y "La legibilidad cuenta" no son solo guías de estilo para codificar, sino casi máximas que buscan la claridad y la sencillez.

Es fascinante cómo la búsqueda de una comunicación clara y humana se traduce en eficiencia al comunicarnos con las máquinas.

#Python #Programacion #Historia #Tecnologia #Software #LenguajesDeProgramacion





Show Original Post


10.12.2025 02:06
meejah (@meejah@mastodon.social)

What even is an "extra", ?

Is it "part of the package"? Is it just some fluff that can be ignored?

Motivation: what happens when you say "pip install foo[quux]" .. all good if those two things exist, but what if there is no "quux" extra? What if there _was_ a "quux" extra last release, but not this one?




Show Original Post


10.12.2025 01:30
johnlehet (@johnlehet@mas.to)

I can't do anything in terminal "No module named 'conda'"

Alias to Anaconda Navigator won't do anything.
Also no uninstall.sh script, so it's going to be a manual uninstall.

I'm thinking of ditching Anaconda Navigator altogether and just nuking it all except my .py files.

Any suggestions for a Python environment on the mac short of doing everything in terminal?

2/2

#Python #Anaconda




Show Original Post


10.12.2025 01:28
johnlehet (@johnlehet@mas.to)

#Python

As I was learning a bit of python to build my web site on MacOS (I made a handful of scripts that do various things to generate hundreds of web pages), my son, a scientist, suggested I use #Anaconda Navigator as a python environment. That's been working great for two years now.

Today Anaconda broke after updating to 2.7 and trying to update Spyder, totally broken.
1/2




Show Original Post


10.12.2025 00:52
jnpn (@jnpn@mastodon.social)

pretty cute feature youtube.com/watch?v=pjX5-KadaWA

`literal_eval`




Show Original Post


10.12.2025 00:11
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


09.12.2025 23:30
h4ckernews (@h4ckernews@mastodon.social)

Django: what’s new in 6.0

adamj.eu/tech/2025/12/03/djang




Show Original Post


09.12.2025 23:26
davemq (@davemq@fosstodon.org)

I finished part 2 of day 2 of #AdventOfCode2025. I found #Python sets to be quite useful.




Show Original Post


09.12.2025 23:24
albertcardona (@albertcardona@mathstodon.xyz)

@GWeindel

PyCharm isn't a bad IDE for #python, but frankly, since I spend more time thinking than actually writing the code, I use ViM with syntax highlighting, ipython on a terminal to try stuff, and git from the command line, sometimes aided by git gui.

There are quite a few others.




Show Original Post


09.12.2025 23:22
adw99 (@adw99@mastodon.social)

Content warning:AOC Day 9 Chatter


"Movie Theatre" - Day 9 - Advent of Code 2025

Well, things got complicated. On reading part 2 I thought "I don't know how to do that!" 😂

Google'd some options. Tried to flood-fill from the outside which would have worked eventually, but not quickly. Started another algo but even intermediate steps were very complex. Broke down and used Shapely. Took a bit to understand the lib but I finally got there.

adventofcode.com/2025/day/9
github.com/adw99/advent-of-cod




Show Original Post


09.12.2025 23:18
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

🚀 Người sáng tạo nhỏ giới thiệu video độc đáo: Điều khiển ma trận bằng Python + drone tự động trồng cây 🌳🤖. Video bao gồm: dùng tọa độ X,Y, logic di chuyển drone không lối thoát, thuật toán trồng cây theo mô hình, cùng những lỗi vui nhộn 😅. Dự án tự sáng tạo từ đầu, mong nhận phản hồi & hỗ trợ từ cộng đồng! 💻🌱
#Python #VideoGame #Drone #Programming #CôngNghệ #LậpTrình #TrồngCâyTựĐộng

reddit.com/r/SideProject/comme




Show Original Post


09.12.2025 22:17
PythonPeak (@PythonPeak@mastodon.social)

Python Turtle - Kaleidoscope Explosion

Symmetrical kaleidoscope with explosive energy

youtube.com/watch?v=0fFMt5mGE7o




Show Original Post


1 ...845 846 847 848 849 850 851 852 853 854 855 ...1572
UP