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
Are there any videos for #PyConUS? 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.
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.
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.
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.
The April 2024 release of Posit Package Manager brings support for air-gapped PyPI repositories, more flexible curated CRAN repositories, performance improvements and more!
(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 #Python's builtin HTTP client directly 😬)
I wrote this to demo a quick #Python#Pillow#PIL 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 #PyConUS24 :)
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>
Well, another #PyConUS is done (for me - #Sprints 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.
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: