Planet Python RSS
212 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Abhijeet Pal: Django + AJAX : How to use AJAX in Django Templates

Link: http://example.com/django-ajax-with-jquery/

AJAX or Asynchronous JavaScript And XML is a set of web development techniques using web technologies on the client-side to create asynchronous web requests. In simpler words, AJAX allows web pages to
Abhijeet Pal: Python callable() Explained

Link: http://example.com/callable-explained/

In programming, a callable is something that can be called. In Python, a callable is anything that can be called, using parentheses and maybe with some arguments. Functions, Generators, and Classes ar
Abhijeet Pal: Python's @classmethod and @staticmethod Explained

Link: http://example.com/classmethod-and-staticmethod-explained/

For beginners who are learning object-oriented programming in Python, it is very essential to have a good grasp over class method and static method for writing more optimized and reusable code. Also,
Abhijeet Pal: Python's @property Decorator Explained

Link: http://example.com/property-decorator-explained/

Python provides a built-in @property decorator which makes usage of getter and setters much easier in Object-Oriented Programming. Properties are useful because they allow us to handle both setting an
Abhijeet Pal: Sending Email With Zip Files Using Python

Link: http://example.com/sending-email-with-zip-files-using-python/

In this tutorial, we will learn how to send emails with zip files using Python's built-in modules. Pre-Requirements I am assuming that you already have an SMTP (Simple Mail Transfer Protocol ) server
Abhijeet Pal: Sending Emails With CSV Attachment Using Python

Link: http://example.com/sending-emails-with-csv-attachment-using-python/

In this tutorial, we will learn how to send emails with CSV attachments using Python. Pre-Requirements I am assuming you already have an SMTP server setup if not you can use the Gmail SMTP or Maligun
Abhijeet Pal: Python's Generator and Yield Explained

Link: http://example.com/generator-and-yield-explained/

Generators are iterators, a kind of iterable you can only iterate over once. So what are iterators anyway? An iterator is an object that can be iterated (looped) upon. It is used to abstract a contain
Abhijeet Pal: Using Email As Username For Authentication In Django

Link: http://example.com/using-email-as-username-for-authentication-in-django/

Django ships with an extensive built-in authentication system that uses a username and password combination for authentication. However, sometimes you might want to use email as the username therefore
Abhijeet Pal: Django Admin Making Model Fields Required

Link: http://example.com/django-admin-making-model-fields-required/

In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of new records from the Django admin in
Abhijeet Pal: Displaying Custom Validation Exception in Django Admin

Link: http://example.com/displaying-custom-validation-exception-in-django-admin/

In this tutorial, we will learn how to show custom validation exceptions on Django admin. Understanding The Problem Django admin site will raise exceptions when we try to save objects with non-accepta
Abhijeet Pal: Creating Custom Model Validation In Django

Link: http://example.com/custom-model-validation-in-django/

In this tutorial, we will learn how to create custom model validators using Django. Understanding The Problem Django models come with their own built-in validations, that we put while creating models.
Abhijeet Pal: Creating NumPy Arrays

Link: http://example.com/creating-numpy-arrays/

NumPy is one of the most popular packages in the Python ecosystem. NumPy adds support to large multidimensional arrays and matrices with great efficiency. Numpy arrays are a lot faster than traditiona
Abhijeet Pal: Find Missing Number in a given Array Using Python

Link: http://example.com/find-missing-number-in-an-array-using-python/

Problem Definition Find the missing numbers in a given list or array using Python. For example in the arr = [1,2,4,5] the integer '3' is the missing number. There are multiple ways to solve this probl
Mike Driscoll: Creating GUIs with PySimpleGUI (Video)

Link: https://www.blog.pythonlibrary.org/2022/02/15/creating-guis-with-pysimplegui-video/

My talk, Creating GUIs with PySimpleGUI, is up on YouTube. I gave this talk to the SFPython / PyBay groups in January 2022.
I used Jupyter Notebook for the slides of this talk. All the slides and exam
Real Python: Python any(): Powered Up Boolean Function

Link: https://realpython.com/courses/python-any-boolean-function/

As a Python programmer, you’ll frequently deal with Booleans and conditional statements—sometimes very complex ones. In those situations, you may need to rely on tools that can simplify logic and cons
PyCoder’s Weekly: Issue #512 (Feb. 15, 2022)

Link: https://pycoders.com/issues/512

#512 – FEBRUARY 15, 2022 View in Browser » Documentation Unit Tests Interesting approach to keeping documentation and code in sync: introspecting the code to figure out what needs to be document
Paolo Amoroso: How to Use Kivy on Repl.it

Link: http://blog.paoloamoroso.com/2019/10/how-to-use-kivy-on-replit.html

I made the Kivy Python cross-platform GUI framework work in a GFX REPL on Repl.it. Repl.it is a multi-language cloud IDE with good support for Python.To use Kivy on Repl.it, just create a Pygame REPL,
Paolo Amoroso: Repl.it Redesigned the Mobile Experience

Link: http://blog.paoloamoroso.com/2020/07/replit-redesigned-mobile-experience.html

The cloud IDE Repl.it was redesigned to improve the user experience on mobile devices.On smartphones, now the focused REPL pane takes up most of the screen. The redesign takes advantage of native mobi
Paolo Amoroso: Code With Repl.it Review

Link: http://blog.paoloamoroso.com/2020/12/code-with-replit-review.html

Code With Repl.it: From Beginner to Expert Through Guided Tutorials is a free ebook by Gareth Dwyer sponsored by Repl.it.The cover of Code with Repl.it in Google Play Books on my Pixel 4 XL.It contain
Paolo Amoroso: A NASA TV Still Frame Viewer in Python

Link: http://blog.paoloamoroso.com/2021/04/a-nasa-tv-still-frame-viewer-in-python.html

I wrote Spacestills, a Python program for viewing NASA TV still frames.The main window of Spacestills running on Replit.As a hobbyist wishing to improve my Python programming skills, for some time I’v
Paolo Amoroso: Python with Replit: A Journey in the Cloud

Link: http://blog.paoloamoroso.com/2021/05/python-with-replit-journey-in-cloud.html

Can I use only Replit for all my Python development? It’s what I set out to find.Follow along my journey to coding in Python on Chrome OS only with the tools and resources of Replit. I want to learn t