All things Python

here is some good content for those who want to learn python in a free and efficient way. join the site. [https://chat-to.dev/post?id=298](https://chat-to.dev/post?id=298) [\#python](https://kbin.social/tag/python)

1
0

**Created URL shortener with Tracker and API using Flask and PostgreSQL** Hello, I have created URL shortener using Flask and PostgreSQL hosted on Vercel and using neon.tech PostgreSQL database and IPInfo Geolocation API. It tracks every click of shorten link and also provide API for integration to other projects. Link to URL shortener: [https://www.f4nsix.xyz](https://www.f4nsix.xyz) [\#python](https://kbin.social/tag/python)

1
0
https://engineering.fb.com/2023/08/15/developer-tools/immortal-objects-for-python-instagram-meta/

Instagram has introduced Immortal Objects – PEP-683 – to Python. Now, objects can bypass reference count checks and live throughout the entire execution of the runtime, unlocking exciting avenues...

1
1

There doesn't seem to be an active python learning community so I'll post here. Feel free to redirect me if there is somewhere more appropriate. I've finished a couple of fairly beginner python courses (introtopython.org and 100 days of python on Replit), and was wondering if people had suggestions of where to go next? Are there more intermediate level courses? Should I just start working on a project or something?

2
3

Hello! I'm teaching Python from scratch at local charity this September. I'll use existing lessons from other Python courses I've done in the past. I need your help with the starting project. In my other courses I usually do a mix of text editor, flashcards, note taking, to-do list, calculator, dice rolling, quiz game, etc. Those have worked in the past and will do the job, but are kinda lame. I'll will still go trough some of those as there are lessons there. Looking for something that will capture attention at start. Trying to create a "Aha!" moment for the students. Is there a perfect starter app that can be built up from a small start? Thank you for any answers!

1
1
https://discuss.python.org/t/a-steering-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474

Posting for the whole Steering Council, on the subject of @colesbury’s PEP 703 (Making the Global Interpreter Lock Optional in CPython). Thank you, everyone, for responding to the poll on the no-GIL proposal. It’s clear that the overall sentiment is positive, both for the general idea and for PEP 703 specifically. The Steering Council is also largely positive on both. We intend to accept PEP 703, although we’re still working on the acceptance details.

6
1

**Completely Automated, AI-Powered Newsletter: Top Headlines in Politics, Events, Technology, and Business** Hello Everyone! I'm excited to announce my newest project - an entirely automated Top Headlines Newsletter, powered by GPT-4. Top news that is picked and written entirely by AI is delivered to your inbox every morning at 9 AM PST. Our system is **fully automated**, taking care of everything from selecting topics to sending the newsletter. This means that if I were to die today, you would still receive a newsletter every morning. Our newsletter is integrated with our site, and all stories use **2 left, 2 center, and 2 right wing sources** (characterized by AllSidesMedia). I truly think that AI can revolutionize how we consume news, from mitigating polarization, stopping misinformation spread, and minimizing bias. Please let me know your opinions below! [https://www.neuraltimes.org/newsletter](https://www.neuraltimes.org/newsletter) [\#python](https://kbin.social/tag/python)

0
0

**Completely Automated, AI-Powered Newsletter: Top Headlines in Politics, Events, Technology, and Business** Hello Everyone! I'm excited to announce my newest project - an **entirely automated Top Headlines Newsletter**, powered by GPT-4. Top news that is picked and written entirely by AI is delivered to your inbox every morning at 9 AM PST. Our system is\*\* fully automated\*\*, taking care of everything from selecting topics to sending the newsletter. This means that if I were to die today, you would still receive a newsletter every morning. Our newsletter is integrated with our site, and all stories use\*\* 2 left, 2 center, and 2 right wing sources\*\* (characterized by AllSidesMedia). I truly think that AI can revolutionize how we consume news, from \*\*mitigating polarization, stopping misinformation spread, and minimizing bias. \*\*Please let me know your opinions below! [https://www.neuraltimes.org/newsletter](https://www.neuraltimes.org/newsletter) [\#python](https://kbin.social/tag/python)

1
0

Did any of you ever tried to compile a python app that uses selenium with PyInstaller? The app works perfectly if launched as a python script, but when in binary format I get an error like this: ``` selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /opt/google/chrome/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) ``` [\#python](https://kbin.social/tag/python)

1
1
https://pyfound.blogspot.com/2023/06/announcing-2023-psf-board-election.html?m=1

Congratulations to the five new Board members-elect! Cheuk Ting Ho Denny Perez Georgi Ker Christopher Neugebauer KwonHan Bae

5
0

I'm learning python and starting learning list comprehension. I though I would create a quick list from 1 to 50 in .1 increments to test logic etc and notice when I run the program the output is as shown below. My question is why am I not just getting .3. Which would be the next number in the sequence To get the output I want would I have to use a rounding function? Or limit the value to one place. Thanks [0, 0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999, 0.9999999999999999, 1.0999999999999999, 1.2, 1.3, 1.4000000000000001, 1.5000000000000002, 1.6000000000000003, 1.7000000000000004, 1.8000000000000005, 1.9000000000000006, 2.0000000000000004, 2.100000000000000 count = 0 a = [] while count \< 50.1: a.append(count) count = count + .1 print(a) [\#python](https://kbin.social/tag/python)

1
0
https://charlesleifer.com/blog/asyncio/

Gevent seems pretty straightforward. Check out [this example](http://www.gevent.org/examples/concurrent_download.html): Here is [a tutorial](http://sdiehl.github.io/gevent-tutorial/). Unlike asyncio, with gevent you can continue to use the libraries you're familiar with, and the exact same codebase can be run with or without gevent "enabled". You don't need special async versions of each library, as you do with async/await code. What are the issues you ran in to while using gevent, that asyncio solved? Why did AsyncIO take off when we already had gevent?

3
0
https://codeberg.org/rimu/Python-Flask-Chatbot-Quickstart

ChatGPT-based chatbots can now call your custom code to get information it doesn't know. e.g. current weather, scrape the web, access APIs, etc. I've added a [#Python](https://kbin.social/tag/Python) ( [#Flask](https://kbin.social/tag/Flask) ) demo of this to my chatbot quickstart repository.

3
0
https://discuss.python.org/t/pep-594-has-been-implemented-python-3-13-removes-20-stdlib-modules/27124

20 standard library modules are being removed in 3.13 as stipulated in PEP 594, so called "dead batteries".

3
0
https://www.pythonguis.com/

Learn how to Create Python GUIs with Python & PyQt.

2
0
https://www.youtube.com/watch?v=Xp0LtPBcos0&ab_channel=Codemy.com

In this video we'll import the iris dataset and Train our Model!We'll import the iris dataset as a CSV file, and then tweak the last column a bit.Then we'll ...

1
0