Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • PyDev of the Week: Takeshi Komiya

    This week we welcome Komiya Takeshi as our PyDev of the Week! Takeshi is a maintainer of Sphinx, Python’s documentation package. Takeshi is also the creator of blockdiag, diagram image generator.

  • How to use Pandas read_html to Scrape Data from HTML Tables

    In this Pandas tutorial, we will go through the steps on how to use Pandas read_html method for scraping data from HTML. First, in the simplest example, we are going to use Pandas to read HTML from a string. Second, we are going to go through a couple of examples in which we scrape data from Wikipedia tables with Pandas read_html. In a previous post, about exploratory data analysis in Python, we also used Pandas to read data from HTML tables.

  • mypy: how to use it in my project? Part 2: automatically annotate code

    Even after successful integration of mypy with an existing project (see mypy: how to use it in my project part 1), there are tons of code that does not have type annotations. Adding them manually is an unimaginable amount of work. We may do it gradually (as suggested in part 1) or use tools to help us.

  • 5 Python scripts for automating basic community management tasks

    I've written before about what a community manager does, and if you ask ten community managers, you'll get 12 different answers. Mostly, though, you do what the community needs for you to do at any given moment. And a lot of it can be repetitive.

    Back when I was a sysadmin, I had a rule: if I had to do something three times, I'd try to automate it. And, of course, these days, with awesome tools like Ansible, there's a whole science to that.

  • What is the difference between Python and Ruby?

    Picking the right programming language can overwhelm some developers, given the sheer number of factors to consider. Python and Ruby both sit high on developers' lists, mainly because of their ease of use, levels of power and dynamic flexibility.

    However, these languages do not behave the same way, and there are a few key elements developers should consider before they choose one. Learn the backgrounds of Python and Ruby, then examine the factors -- startup speed, mobile-friendliness and more -- that determine which language is right for your project.

  • Python 4 Kids: Python is No Good for Mortality Rates

    Here we are at the uptick in the Covid 19 pandemic. There are many sources of data which list infections and deaths as a result of the virus. It’s very tempting to want to put your Python skills to use and crunch some numbers on the infection. By and large, go for it, but one thing I’d ask you not to do is to try to calculate a “mortality rate”. This is not because Python can’t do division but, rather, working this number out is conceptually pretty tricky. It’s something that epidemiologists need to get a lot of training in to do correctly. You can’t just take the deaths column and divided it by the infected column because the two numbers are not properly related.

  • Python Bytes: #173 Your test deserves a fluent flavor
  • Productivity Mondays - a Simple yet Effective System
  • A Flexible Open Source ERP Framework To Run Your Business

    Running a successful business requires some method of organizing the information about all of the processes and activity that take place. Tryton is an open source, modular ERP framework that is built for the flexibility needed to fit your organization, rather than requiring you to model your workflows to match the software. In this episode core developers Nicolas Évrard and Cédric Krier are joined by avid user Jonathan Levy to discuss the history of the project, how it is being used, and the myriad ways that you can adapt it to suit your needs. If you are struggling to keep a consistent view of your business and ensure that all of the necessary workflows are being observed then listen now and give Tryton a try.

  • Hardening Your Web Server’s SSL Ciphers [Ed: Just updated]

More in Tux Machines

Android Leftovers

Stable Kernels: 5.5.15, 5.4.30, 4.19.114, 4.14.175, 4.9.218, and 4.4.218

  • Linux 5.5.15
    I'm announcing the release of the 5.5.15 kernel. All users of the 5.5 kernel series must upgrade. The updated 5.5.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.5.y and can be browsed at the normal kernel.org git web browser: https://git.kernel.org/?p=linux/kernel/git/stable/linux-s...

  • Linux 5.4.30
  • Linux 4.19.114
  • Linux 4.14.175
  • Linux 4.9.218
  • Linux 4.4.218

Android Leftovers

System76 Thelio Major Proves To Be A Major Player For Linux Workstations

For the past two months we have been testing the System76 Thelio Major and it's been working out extremely well with performance and reliability. The Thelio Major offering with options for Intel Core X-Series or AMD Ryzen Threadripper and resides between their standard Thelio desktop with Ryzen/Core CPUs and the Thelio Massive that sports dual Intel Xeon CPUs. The Thelio Major is the platform we have been using for all of our AMD Ryzen Threadripper 3990X testing and it's been working out great. The Thelio Major besides having Threadripper and Core X-Series CPU options can be configured with up to 256GB of RAM, up to two GPUs, and up to 46TB of storage for really yielding incredibly powerful Linux workstation performance potential. Read more