Python

6681 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
326
 
 

@beeware is doing some pretty cool stuff for #python @python
So cool to see my python program running on my #android phone.

327
 
 

Concurrency has a lot to do with sharing one resource, and Python has dedicated tools to deal with that depending on the resource you must share.

If you have to share one CPU while waiting on the network, then the specialized tools for this are asyncio, twisted, trio, gevent, etc.

Asyncio is the current standard to do this, but tornado, gevent and twisted solved this problem more than a decade ago. While trio and curio are showing us what the future could look like

But chances are, you should use none of them.

Discussion on Hacker News

328
329
 
 

Microsoft is bringing popular programming language Python to Excel. A public preview of the feature is available today, allowing Excel users to manipulate and analyze data from Python.

You won’t need to install any additional software or set up an add-on to access the functionality, as Python integration in Excel will be part of Excel’s built-in connectors and Power Query. Microsoft is also adding a new PY function that allows Python data to be exposed within the grid of an Excel spreadsheet. Through a partnership with Anaconda, an enterprise Python repository, popular Python libraries like pandas, statsmodels, and Matplotlib will be available in Excel.

330
331
332
333
38
submitted 2 years ago by jnovinger to c/python
334
335
 
 

One of my fav Python writeups. I love Python and luckily I get to dictate how it's being written in my job, so I'm forcing types down the through of my colleagues. Saved a bunch of debugging time, so I can waste more time on Lemmy while still getting paid. Good shit

336
337
338
 
 

Via https://fosstodon.org/@adamchainz/110887736229965200

Just released time-machine 2.12.0 with #Python 3.12 wheels, thanks to the latest cibuildwheel release from @joerick . time-machine won't be a blocker for testing Python 3.12 now 😊

https://pypi.org/project/time-machine/

339
21
How Python dictionaries work (tenthousandmeters.com)
submitted 2 years ago by jnovinger to c/python
 
 

cross-posted from: https://lemmy.sdf.org/post/2101280

Nice article reviewing hash tables and how python dictionaries are implemented with them.

340
341
 
 

cross-posted from: https://lemmy.world/post/3025539

For the last 6 months or so I’ve been working on Pinepods. I have never been able to find the perfect self-hosted podcast app that I wanted to use. podgrab’s player is rather lackluster and misses a lot of features that I would like.

With Pinepods you can play, download, and keep track of podcasts you enjoy. It allows for searching new podcasts using The Podcast Index or Itunes and provides a modern looking UI to browse through shows and episodes. In addition, Pinepods provides simple user managment and can be used by multiple users at once using a browser or app version. Everything is saved into a Mysql database including user settings, podcasts and episodes. It’s fully self-hosted, and I provide an option to use a hosted API or you can also get one from the podcast API and use your own. There’s even many different themes to choose from! Everything is fully dockerized and I provide a simple guide found below explaining how to install Pinepods on your own system.

There’s also lots of modern features like MFA, self-service password resets, and some Podcast 2.0 functionality (more to come)

In addition to all that, I’ve built a client version of the app that can connect via API to your home server over something like a reverse proxy or tailscale.

Pinepods is currently a couple beta releases in with all the basic functionality implemented. Currently, you’re likely to experience issues, but I certainly invite pull requests or opening issues if you have the time. Even assistance with debugging/creating documentation would be unbelievably helpful. You can also get setup assistance on the discord server. I invite you to try it out!

Check out the official site here:

https://www.pinepods.online/

Github here:

https://github.com/madeofpendletonwool/PinePods

Discord server:

https://discord.gg/kCHuH6UH

342
343
344
345
346
 
 

And, of course, the English version for those of us not yet fluent in Spanish: https://2023.es.pycon.org/en/

347
348
 
 

Tutorial for Python beginners- Python Data types - Set, List, Tupe, Dictionary, String, Numbers

349
 
 

cross-posted from: https://derp.foo/post/112170

There is a discussion on Hacker News, but feel free to comment here as well.

350
 
 

So i struggle with learning new things but i think i can manage but its hard because it feels like i need someone to hold my hand or give me a powerpoint about something new. im dying to make a video game or something and i think maybe visual novels are the way to go because i also want to tell a story even if its lame. my interest seem to change alot but how do i learn renpy without getting overwhelmed? i havent even open the software yet because im afraid of failing also ive only used a little of unreal engine 4 intill i relised it was overheating my pc and its slow. ive probably used something else like scratch but i forgot.

view more: ‹ prev next ›