Language Selection

English French German Italian Portuguese Spanish

Python Programming

Filed under
Development
  • Mike Driscoll: PyDev of the Week: Bob Belderbos

    This week we welcome Bob Belderbos (@bbelderbos) as our PyDev of the Week! Bob is a co-founder of PyBites. Bob has also contributed to Real Python and he’s a Talk Python trainer. You can learn more about Bob by checking out his website or visiting his Github profile. Let’s spend some quality time getting to know Bob better!

    Can you tell us a little about yourself (hobbies, education, etc):

    I am a software developer currently working at Oracle in the Global Construction Engineering group. But I am probably better known as co-founder of PyBites, a community that masters Python through code challenges.

  • Spyder IDE: Variable Explorer improvements in Spyder 4

    Spyder 4 will be released very soon with lots of interesting new features that you'll want to check out, reflecting years of effort by the team to improve the user experience. In this post, we will be talking about the improvements made to the Variable Explorer.

    These include the brand new Object Explorer for inspecting arbitrary Python variables, full support for MultiIndex dataframes with multiple dimensions, and the ability to filter and search for variables by name and type, and much more.

    It is important to mention that several of the above improvements were made possible through integrating the work of two other projects. Code from gtabview was used to implement the multi-dimensional Pandas indexes, while objbrowser was the foundation of the new Object Explorer.

  • Django security releases issued: 2.2.8 and 2.1.15

    Since Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user has view-only permissions to a parent model but edit permissions to the inline model, would display a read-only view of the parent model but editable forms for the inline.

    Submitting these forms would not allow direct edits to the parent model, but would trigger the parent model's save() method, and cause pre and post-save signal handlers to be invoked. This is a privilege escalation as a user who lacks permission to edit a model should not be able to trigger its save-related signals.

    To resolve this issue, the permission handling code of the Django admin interface has been changed. Now, if a user has only the "view" permission for a parent model, the entire displayed form will not be editable, even if the user has permission to edit models included in inlines.

    This is a backwards-incompatible change, and the Django security team is aware that some users of Django were depending on the ability to allow editing of inlines in the admin form of an otherwise view-only parent model.

  • Guidelines for BangPypers Dev Sprints

    How do you get started on open source programming? How can you contribute to that framework you’ve been itching to add an extra feature to? How do you get guidance and get help pushing your changes to merge upstream?

    If you’ve wondered on the above at least once, then you’re in dire need to attend one of our dev sprints.

  • Trey Hunner: Cyber Monday Python Sales

    Python Morsels is my weekly Python skill-building service.

    I’m offering something sort of like a “buy one get one free” sale this year.

    You can pay $200 to get 2 redemption codes, each worth 12 months of Python Morsels.

    You can use one code for yourself and give one to a friend. Or you could be extra generous and give them both away to two friends. Either way, 2 people are each getting one year’s worth of weekly Python training.

    You can find more details on this sale here.

More in Tux Machines

How to Install VMware Workstation 16 Pro on Ubuntu?

Suppose you want to taste multiple Linux Distribution but your skeptical about which Linux distribution you should choose which will be the best for you. It cannot decide easily, for that you have to try the distribution after using you can say yes this OS or Distribution is best for me. For FreeBSD 13 there is now the import of the WireGuard kernel module. This follows OpenBSD adding WireGuard earlier in the year, various Linux kernel back-ports have been adding WireGuard too now like the Oracle Unbreakable Enterprise Kernel, and Android 12 looks to support WireGuard. The WireGuard port for Windows was also recently updated.So, we will share with you the process to get out of this kind of dilemma. Thanks to Virtualization, You can use multiple Operating Systems or Distribution without affecting your primary OS. Many years ago, I also struggled to select which version should I use for my daily drive, and thanks to Virtualization, I have tried different OS and Linux Distribution. After this, I was not convinced which virtualization software I should use, But after trying different virtualization, I decided to use VMware for virtualization. Read more

The 15 Best Raspberry Pi 4 Projects For Pi Enthusiasts in 2021

Since its release, the Raspberry Pi 4 has been getting a lot of attention from hobbyists because of the noteworthy changes it came with. The CPU got more powerful, got an amazing ability to run dual 4K displays, and the gigabyte ethernet has increased the overall performance. Getting all these amazing features at such a low price is sure to make you go crazy! Even we were confused at first about which projects will be the best choice with the new Pi. After much research and experiments, we came with these 15 Raspberry Pi 4 projects that every Pi geek should try at least once with the newly improved Pi. Read more

today's leftovers

  • Try Jed as your Linux terminal text editor | Opensource.com

    You may have heard about Emacs and Vim and Nano, the quintessential Linux text editors, but Linux has an abundance of open source text editors, and it's my goal to spend December giving 31 of them a fair go. In this article, I look at Jed, a terminal-based editor featuring a handy drop-down menu, which makes it especially easy for users who are new to terminal editors, as well as those who just don't like remembering keyboard combinations for every function.

  • PAPPL 1.0 RC1 Released With A Goal To Replace CUPS Printer Drivers - Phoronix [Ed: They would be wiser not to use GitHub]

    CUPS printing system founder Michael Sweet who left Apple last year and that left CUPS in a stagnate position (as of writing, still no commits to their Git repository since April) while Sweet continues pushing ahead with his new and modern "PAPPL" effort. PAPPL is the printer application framework being worked on by Michael Sweet over the past year for developing CUPS Printer Applications as a replacement to the conventional CUPS printer drivers. PAPPL supports JPEG / PNG / PWG Raster / Apple Raster / raw printing to printers via USB or network connections and supports an embedded IPP Everywhere service.

  • Design of the CRLite Infrastructure

    Firefox is the only major browser that still evaluates every website it connects to whether the certificate used has been reported as revoked. Firefox users are notified of all connections involving untrustworthy certificates, regardless the popularity of the site. Inconveniently, checking certificate status sometimes slows down the connection to websites. Worse, the check reveals cleartext information about the website you’re visiting to network observers. We’re now testing a technology named CRLite which provides Firefox users with the confidence that the revocations in the Web PKI are enforced by the browser without this privacy compromise. This is a part of our goal to use encryption everywhere. (See also: Encrypted SNI and DNS-over-HTTPS)

  • AWS Open Sources Graph Notebook

    AWS has open-sourced Graph Notebook, a tool that provides data scientists with an easy way to interact with graph databases using Jupyter notebooks.

Lenovo ThinkPad X1 Yoga: 6 month impressions

I’ve now had my Lenovo ThinkPad X1 Yoga laptop for about 6 months, so I thought I’d provide a quick update about how it’s going to use this laptop every day with openSUSE Tumbleweed running KDE Plasma. Let’s explore what’s changed since then... Initially, I complained about some aspects of the keyboard layout, but I’ve gotten used to the Home/End/PageUp/PageDown positioning, and the swapped position of the Fn and Ctrl keys. These are fine now. Lack of media keys is okay too since I’ve used the Shortcuts KCM to set my own. However I just can’t get used to the PrintScreen key being between the right Alt and Ctrl keys. I probably press it by accident 10 times a day and bring up Spectacle when I don’t mean to. One of these days I should get around to using xmodmap or something to turn it into a right Meta key, and they maybe make the F11 key which currently does nothing be the new PrintScreen key. Read more