Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • Improving python code performance by using lru_cache decorator

    Here is the program to generate the Fibonacci series up to the number provided as a command-line argument.

  • Wing Python IDE 7.2 - January 20, 2020

    Wing 7.2 adds auto-formatting with Black and YAPF, expanded support for virtualenv, support for Anaconda environments, easier debugging of modules launched with python -m, simplified manually configured remote debugging, and other improvements.

  • Python Meeting Düsseldorf - 2020-01-22

    The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

  • Having some fun with Python

    If it’s not clear after the inevitable Swedish-chef-muppet impression has run through your mind, this string-formatting operation will replace the contents of port with a string containing two copies of whatever was in port, separated by a colon. So if port was "foo", now it will be "foo:foo".

  • Using SciPy for Optimization

    When you want to do scientific work in Python, the first library you can turn to is SciPy. As you’ll see in this tutorial, SciPy is not just a library, but a whole ecosystem of libraries that work together to help you accomplish complicated scientific tasks quickly and reliably.

More in Tux Machines

today's howtos

Lenovo brings Linux to its P-series ThinkPads and ThinkStations

In the past, Lenovo has flirted with Linux, but now the company is making the operating system a much bigger part of its product lineup. Starting this month and moving into the summer, it will begin certifying its P-series ThinkPad and ThinkStation workstation computers for the operating system. Specifically, you (or more likely the company you work for) will be able to configure those devices with the enterprise versions of Red Hat and Ubuntu. As part of the process, Lenovo will provide full web support for those computers, as well as offer configuration advice and host a dedicated Linux forum where customers can troubleshooting help. To be clear, Lenovo isn’t making Linux an option throughout its entire lineup — so you won't be able to configure your next ThinkPad X1 Carbon with the operating system, for example. Read more Also: Lenovo is certifying its Think workstations to run Linux

KDevelop 5.5.2 released

We today provide a bug fix and localization update release with version 5.5.2. This release introduces no new features and as such is a safe and recommended update for everyone currently using a previous version of KDevelop 5.5. You can find the updated Linux AppImage as well as the source code archives on our download page. Should you have any remarks or in case you find any issues in KDevelop 5.5, please let us know. Read more

Linux Marketshare Increased Again Last Month

Last month the company reported that Linux marketshare doubled between March to April 2020. New stats shared for Mat shows that the the upward trend continued. Linux’s share of all desktop OSes grew from a new-high of 2.87 percent in April 2020 to an even higher high of 3.7 percent in May 2020. Now, this is relatively unusual. Linux marketshare — based on past trends — typically hovers below the 2 percent mark and doesn’t fluctuate widely (barring errors). For it to strike out and move past 3 percent might not sound like a big deal, but it’s almost without precedent. Read more