December 15th, 2018

"Morphex’s Blogologue": Python quick-fix of broken router

Comments Off on "Morphex’s Blogologue": Python quick-fix of broken router, Python, by admin.

I have a router which seems to “take the day off” every once in a while, and this started after I filled up all 4 Ethernet ports.

Rebooting, the only fix I’ve found so far, fixes the problem, so that all 4 Ethernet ports start working again.

Rebooting the router gets boring and annoying after a while, so I decided to write a script to automatically reboot the router every hour.

That script is here:

https://github.com/morphex/netgear_reboot/

Didn’t need to write … Read the rest

December 15th, 2018

Codementor: Simple way to get data from web page using python

Comments Off on Codementor: Simple way to get data from web page using python, Python, by admin.

Can you guess a simple way you can get data from a web page? It’s through a technique called web scraping.… Read the rest

December 14th, 2018

Will Kahn-Greene: Socorro: migrating to Python 3

Comments Off on Will Kahn-Greene: Socorro: migrating to Python 3, Python, by admin.

Summary

Socorro is the crash ingestion
pipeline for Mozilla’s products like Firefox. When Firefox crashes, the Breakpad
crash reporter asks the user if the user would like to send a crash report. If
the user answers “yes!”, then the Breakpad crash reporter collects data related
to the crash, generates a crash report, and submits that crash report as an HTTP
POST to Socorro. Socorro saves the crash report, processes it, and provides an
interface for aggregating, searching, and looking at

Read the rest

December 14th, 2018

qutebrowser development blog: Happy birthday, qutebrowser!

Comments Off on qutebrowser development blog: Happy birthday, qutebrowser!, Python, by admin.

5 years ago today, this happened:

commit 11a94957dc038fc27c5ff976197ad2b2d0352d20
Author: Florian Bruhin <git@the-compiler.org>
Date:   Sat Dec 14 22:15:16 2013 +0100

    Initial commit

That’s how qutebrowser looked a day after that (and that commit still
seems to run!): https://imgur.com/a/xoG1r4G

Exactly a year later, things …… Read the rest

December 13th, 2018

gamingdirectional: Create an exit button on the main game menu scene

Comments Off on gamingdirectional: Create an exit button on the main game menu scene, Python, by admin.

In this article we will continue with our previous pygame project by creating an exit button on the main game menu scene which when the user clicks on it the program will close the game. We will create the score scene in the next chapter as I have promised in the previous article but in this article we will create the exit button which is also very important for this project. This button will only…

Source

Related posts:

Read the rest

December 13th, 2018

gamingdirectional: Create an exit button on the main game menu scene

Comments Off on gamingdirectional: Create an exit button on the main game menu scene, Python, by admin.

In this article we will continue with our previous pygame project by creating an exit button on the main game menu scene which when the user clicks on it the program will close the game. We will create the score scene in the next chapter as I have promised in the previous article but in this article we will create the exit button which is also very important for this project. This button will only…

Source

Related posts:

Read the rest

December 13th, 2018

Jeff Knupp: How To Do Just About Anything With Python Lists

Comments Off on Jeff Knupp: How To Do Just About Anything With Python Lists, Python, by admin.

Python’s list is one of the built-in sequence types (i.e. “it holds a sequence of things”) is a wonderfully useful tool. I figured I’d try to determine what people are most often trying to do with lists (by analyzing Google’s query data on the topic) and just bang out examples of “How do I do X with a list in Python?”

Reverse/Sort A List In Python

There are two ways to reverse a list in Python, and which one you … Read the rest

December 12th, 2018

Data School: What’s the future of the pandas library?

Comments Off on Data School: What’s the future of the pandas library?, Python, by admin.

pandas is a powerful, open source Python library for data analysis, manipulation, and visualization. I’ve been teaching data scientists to use pandas since 2014, and in the years since, it has grown in popularity to an estimated 5 to 10 million users and become a “must-use” tool in the Python data science toolkit.

I started using pandas around version 0.14.0, and I’ve followed the library as it has significantly matured to its current version, 0.23.4. But numerous … Read the rest

December 12th, 2018

Real Python: Thonny: The Beginner-Friendly Python Editor

Comments Off on Real Python: Thonny: The Beginner-Friendly Python Editor, Python, by admin.

Are you a Python beginner looking for a tool that can support your learning? This article is for you! Every programmer needs a place to write their code. This article will discuss an awesome tool called Thonny that will enable you to start working with Python in a beginner-friendly environment.

In this article, you’ll learn:

  • How to install Thonny on your computer
  • How to navigate Thonny’s user interface to use its built-in features
  • How to use Thonny to write and
Read the rest

December 11th, 2018

PyCharm: Reminder: Webinar this Thursday, “Automating Build, Test and Release Workflows with tox” with Oliver Bestwalter

Comments Off on PyCharm: Reminder: Webinar this Thursday, “Automating Build, Test and Release Workflows with tox” with Oliver Bestwalter, Python, by admin.

Interested in testing and release automation? We’re doing a webinar with Oliver Bestwalter of tox fame, this Thursday. Join us to learn more about test isolation with tox as well as how it fits in with a larger ecosystem of repeatable release processes.

  • Thursday, December 13
  • 4:00 PM – 5:00 PM CET (10:00 AM – 11:00 PM EST)
  • Register here
  • Aimed at intermediate Python developers

Webinar Bestwalter Register

Agenda

We will look at what is necessary to automate all important workflows involved in … Read the rest