Python Programming and GSoC
-
Getting Started With The Oracle Cloud Infrastructure Python SDK
In a recent blog post I illustrated how to use the OCI Command Line Interface (CLI) in shell scripts.
While the OCI CLI is comprehensive and powerful, it may not be the best solution when you need to handle a lot of data in shell scripts. In such cases using a programming language such as Python and the Oracle Cloud Infrastructure Python SDK makes more sense. Data manipulation is much easier, and the API is —as expected— more complex.
-
Where’s your code? Debugging ImportErrors in your Docker image
Your code runs fine on your computer, but when you try to package it with Docker you keep getting ImportErrors: Python can’t find your code.
There are multiple reasons why this can happen, some of them Python-specific, some of them Docker-specific. So let’s go through a step-by-step process to figuring out what the problem is, and how to fix it.
-
Python's reduce(): From Functional to Pythonic Style
Python’s reduce() is a function that implements a mathematical technique called folding or reduction. reduce() is useful when you need to apply a function to an iterable and reduce it to a single cumulative value. Python’s reduce() is popular among developers with a functional programming background, but Python has more to offer.
In this tutorial, you’ll cover how reduce() works and how to use it effectively. You’ll also cover some alternative Python tools that can be more Pythonic, readable, and efficient than reduce().
-
PyDev of the Week: Florian Dahlitz
This week we welcome Florian Dahlitz (@DahlitzF) as our PyDev of the Week! Florian is a contributor to the CPython programming language and the PyTest framework. He is also a contributor to Real Python. You can check out Florian’s personal blog or get his newsletter to keep up-to-date with him.
-
Contrarian view on mutable default arguments.
The use of mutable defaults is probably the most infamous Python gotcha. Default values are evaluated at definition time, which means mutating them will be persistent across multiple calls. Many articles on this topic even use the same append example.
-
PSF GSoC students blogs: Weekly Check-In: Week 5
-
PSF GSoC students blogs: Third Check-In
-
PSF GSoC students blogs: Check-in for week 4
-
PSF GSoC students blogs: GSoC Week 5: Priority Matters
-
PSF GSoC students blogs: Week 4 : Working on the UI
-
PSF GSoC students blogs: Weekly Check In 3
-
PSF GSoC students blogs: Weekly Check-in #3
-
PSF GSoC students blogs: GSoC: Week #5
-
PSF GSoC students blogs: Image Processing Operations Continued - Weekly Check-in 5
-
PSF GSoC students blogs: GSoC Weekly Check-In #3
-
PSF GSoC students blogs: Magic with Strapi and GraphQL in the feature request system in GSOC’20
-
Tryton News: Security Release for issue9405
A vulnerability in sao has been found by Coopengo and solved by Nicolas Évrard.
With issue 9405, the web client does not escape the HTML tags from user data in richtext widgets. This allows cross-site scripting attacks which can result in session hijacking, persistent phishing attacks, and persistent external redirects to a malicious source.
-
Tryton News: Security Release for issue9394
With issue9394, the web client does not escape the HTML tags from user data. This allows cross-site scripting attacks which can result in session hijacking, persistent phishing attacks, and persistent external redirects to a malicious source.
- Login or register to post comments
- Printer-friendly version
- 2629 reads
- PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is releasedAfter three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. |
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future TechThe metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. |
today's howtos
|
Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago