villares, to genart Portuguese
@villares@pynews.com.br avatar
ramikrispin, to python
@ramikrispin@mstdn.social avatar

This looks like a really cool course 👇🏼

College Precalculus – Full Course with Python Code by Ed Pratowski and freeCodeCamp focus on the foundation of calculus with Python implementation. This 12 hours course covers the following topics:
✅ Core trigonometry
✅ Matrix operation
✅ Working with complex numbers
✅ Probability

https://www.youtube.com/watch?v=Y8oZtFYweTY

#python #DataScience #MachineLearning #math

doctormo, to python
@doctormo@floss.social avatar

Are there any videos for ? I saw a bunch of comments about the keynote and other talks about they seemed really interesting, but I can't find anything after the fact.

niccokunzmann, to python
@niccokunzmann@toot.wales avatar

I just found #Flet - which allows you to build #Python apps for the browser, Mac, Windows, Linux, Android and iOS! https://flet.dev/ 😍 I am excited!

treyhunner, to python
@treyhunner@mastodon.social avatar

With Python's slicing syntax, the first item is the start index, and the second item is the stop index.

Read more 👉 https://trey.io/ZEuawA

leanpub, to python
@leanpub@mastodon.social avatar
chrisjrn, to python
@chrisjrn@social.coop avatar

Now that #PyConUS is over, why not attend and support a regional #Python conference?

PyCon US sold out this year, and it will probably continue to do so. Smaller, regional events are going to be a more important part of how we support the growth of our community, but we need your support -- attendance and sponsorship -- to fulfil that role.

I run @NorthBayPython (#NBPy), but there's plenty of others in the US, including fellow @ThePSF events @pycascades and @pyohio off the top of my head.

pyOpenSci, to opensource
@pyOpenSci@fosstodon.org avatar

We’re closing out our Editor Spotlight with a focus on Bane Sullivan, from KoBold Metals!

AND we’re looking for additional volunteer editors to join our team, especially if you have expertise in climate and/or energy!

pyOpenSci Editors:

🔍 find reviewers
👷 oversee the entire review process for a
💜 support submitting authors and reviewers
✅ determine if package is in scope

Questions? Drop ‘em below!

djangonews, to django
@djangonews@socialhome.network avatar

Django 5.1 alpha 1 released

Django 5.1 alpha 1 is now available. It represents the first stage in the 5.1 release cycle and is an opportunity for you to try out the changes coming in Django 5.1.

Django 5.1 brings a kaleidoscope of improvements which you can read about in the in-development 5.1 release notes.

This alpha milestone marks the feature freeze. The current release schedulecalls for a beta release in about a month and a release candidate about a month from then. We'll only be able to keep this schedule if we get early and often testing from the community. Updates on the release schedule are available on the Django forum.

As with all alpha and beta packages, this is not for production use. But if you'd like to take some of the new features for a spin, or to help find and fix bugs (which should be reported to the issue tracker), you can grab a copy of the alpha package from our downloads page or on PyPI.

The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.

https://www.djangoproject.com/weblog/2024/may/22/django-51-alpha-1-released/

moiss, to python Spanish
@moiss@mastodon.social avatar

Una recomendación de libro de un poco mas "avanzado". Python Distilled.

Llevo la mitad mas o menos y estoy aprendiendo un montón de cosas últiles.

Posit, to python
@Posit@fosstodon.org avatar

The April 2024 release of Posit Package Manager brings support for air-gapped PyPI repositories, more flexible curated CRAN repositories, performance improvements and more!

Learn about it in the blog post: https://posit.co/blog/posit-package-manager-2024-04-0/

bbelderbos, to python
@bbelderbos@fosstodon.org avatar

🐼📊 Skip unnecessary rows & columns when loading Excel data with

🔍 In the example below we skip 7 rows and load only cols C & D.

scy, to python
@scy@chaos.social avatar

Since sometimes I'm eagerly waiting for to update to a new version, I now have a small command to check it for me.

https://codeberg.org/scy/dotfiles/src/commit/5679998191b7c6f76058050b26976b94c35e1e52/bin/codeberg-version.py

(Made it a goal to not require third-party libraries or tools for such a small task, but damn I totally get why nobody is using 's builtin HTTP client directly 😬)

adamchainz, to python
@adamchainz@fosstodon.org avatar

🐍♦️ Use Git to pass pytest a list of all modified test files:

pytest $(git diff --name-only '/test_.py')

Adjust the pathspec (Git’s “glob” syntax) if you have a different test file naming convention.

nixCraft, to python
@nixCraft@mastodon.social avatar

Python has for loop syntax with else clause. They also have a while-else construct too. Would you use it?

djangoconeurope, to python
@djangoconeurope@fosstodon.org avatar

🚀 Don't forget to check out our sponsors' job offers! 💼 Explore exciting opportunities and discover your dream job today: https://2024.djangocon.eu/sponsors/jobs/ 🌟

carlton, to python
@carlton@fosstodon.org avatar

This article from Jacob Padilla (not on Mastodon?) that builds from scratch is well worth your time. 🎩

https://jacobpadilla.com/articles/recreating-asyncio#yield-to-await

villares, to python Portuguese
@villares@pynews.com.br avatar
villares, to python Portuguese
@villares@pynews.com.br avatar
villares, (edited ) to comics Portuguese
@villares@ciberlandia.pt avatar
villares, to python
@villares@ciberlandia.pt avatar

I wrote this to demo a quick conversion of an image to grayscale with a dialog to select the file... then applied it to a picture of me and @rennerocha
taken by John as we were flying back home after wonderful :)

from tkinter.filedialog import askopenfilename<br></br>from pathlib import Path<br></br><br></br>from PIL import Image<br></br><br></br># Open a select file dialog (a bit ugly on my OS)<br></br>file_path_str = askopenfilename() # '' if cancelled<br></br>if file_path_str:  # guards against a cancelled dialog<br></br>    file_path = Path(file_path_str) # a pathlib.Path object from the str<br></br>    new_name = file_path.stem + '_altered' + file_path.suffix # keep suffix<br></br>    # Make it output a PNG if you want LA mode to keep alpha<br></br>    # new_name = file_path.stem + '_altered.png' maybe I should check for PNGs?<br></br>    output_path = file_path.parent / new_name<br></br>    try:  # to handle any exceptions (runtime errors while converting/saving)<br></br>        with Image.open(file_path) as im:  # load image<br></br>            altered_im = im.convert('L')   # to grayscale (use 'LA' to keep alpha)<br></br>            altered_im.save(output_path)   # save image<br></br>            print(f'Saved {output_path.name}!')<br></br>    except Exception as err:  # ... treat exception<br></br>        print(err)<br></br>
miketheman, to python
@miketheman@hachyderm.io avatar

Well, another is done (for me - continue for another couple of days!)

It was excellent catching up with old friends and meeting tons of new ones. Pittsburgh was definitely a super cool vibe, 2025 should be fun too.

I'm looking forward to recharging my depleted physical batteries, so I can jump into all the important work we have ahead of us to continue to support this amazing community.

See you online somewhere!!

codeandsupply, to Pittsburgh
@codeandsupply@hachyderm.io avatar

Hey folks, one last entreaty before the #PyConUS hashtag trails off.

We could really use your financial support. Our non-profit #ScholarshipFund is the travel sponsor for #PyCon US 2024.

We've recouped only 4% of what we gave. We're here to serve & happy to do it but could really use some boosts across the fediverse to drive donors so we can do it again.

Pls donate to help more people experience #Pittsburgh through tech conference travel:

https://codeandsupply.fund/donate

And then boost!

#Python

leanpub, to gpt
@leanpub@mastodon.social avatar

LLM Prompt Engineering For Developers by Aymen El Amri is on sale on Leanpub! Its suggested price is $29.00; get it for $12.50 with this coupon: https://leanpub.com/sh/YM2oXmFa

danzin, to python
@danzin@mastodon.social avatar

Did anyone in the fediverse attend the online/remote way?

I'm interested in trying it next year (hoping it'll be available again), but haven't seen any toots from online attendees.

In related news, it's been a blast watching all the PRs and issues from the sprints landing, I hope to participate next year.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines