Python Development

-
Highlights of the Ibis 1.3 release
Ibis 1.3 was just released, after 8 months of development work, with 104 new commits from 16 unique contributors. What is new? In this blog post we will discuss some important features in this new version!
First, if you are new to the Ibis framework world, you can check this blog post I wrote last year, with some introductory information about it.
-
Subtests in Python with unittest and pytest - Paul Ganssle
In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test.
What if you want to keep going, and check more things?
There are a few ways. One of them is subtests.
Python's unittest introduced subtests in Python 3.4.
pytest introduced support for subtests with changes in pytest 4.4 and a plugin, called pytest-subtests.
Subtests are still not really used that much. -
Python Desktop Graphic Frameworks
When you look up the Python documentation for Graphical User Interfaces, you find TkInter. The package is part of the default Python install. You can use this for the simplest applications just fine. You can also seek out frameworks that implement something else or put stuff on top of TkInter.
Some of the big, or rather, much used systems for Linux are QT and wxWidgets. These are so common, both on Linux, unix-like systems, Mac OS X and Windows, that you must be aware of them if you are creating GUI programs.
QT is one of the standards for the desktop. It also includes classes to handle most functions of the computer. This include sockets, threads, Unicode and its own web browser. PyQt has bindings to all the parts of this framework.
wxWidgets Has a very big API with many widgets and functions. These include the same as QT, as they are competing technologies. There are differences but the important part is that if you aim to do something big you must keep the two in mind. You may want to switch when and if your project grows.
-
How I learned Python
We had to develop a machine learning pipeline combined with an android application that will take images as input and send the data about the image, telling us whether this image has service cancer or not with certain confidence(probability).
-

- Login or register to post comments
Printer-friendly version- 1874 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 released
After 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 Tech
The 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
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

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