planetpython.org planetpython.org

Weekly Python StackOverflow Report: (ccxxxv) stackoverflow python report

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-07-11 11:58:50 GMTEfficient way to remove half of the duplicate items in a list - [14/7]Why is Numpy with Ryzen Threadripper so much slower than Xeon? - [14/0]Why range(1,1) == range(2,2) is True? - [11/3]What is the most efficient way to fill missing values in this data frame? - [10/6]AWS SAM CLI Fresh...

planetpython.org planetpython.org

Janusworx: A Hundred Days of Code, Day 003 - Methods

Learnt about methods today. Notes follow … My understanding about methods? They are functions in classes that help me manipulate the data the objects contain when they are created. I have been using something them subconsciously all along. The __init__ method, that is called/run automatically every time an object is created. Aha A nice way to unpack the .notation i use Let’s say I have a class SquareNumbers that has a...

planetpython.org planetpython.org

Test and Code: 121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger

Len Wanger works on industrial 3D printers. And I was pleased to find out that there's a bunch of Python in those printers as well. In this episode we talk about: 3D printers What are the different types of 3D printers? Where are 3D printed industrial parts being used? Why use one type of additive manufacturing over another? Python in 3D printing hardware. What are Finite State Machines, FSMs? Benefits of FSMs for testing, logging,...

planetpython.org planetpython.org

PyCharm: Release: PyCharm 2020.1.3

PyCharm 2020.1.3 is out with some important bug fixes. Update from within PyCharm (Help | Check for Updates), using the JetBrains Toolbox, or by downloading the new version from our website. Highlights: An issue that caused the UI to freeze when processing references in python scratch files was fixed A bug that prevented CoffeeScript to automatically insert imports was fixed  The issue with the keyboard on Ubuntu 20.04, Gnome 3.36...

planetpython.org planetpython.org

Janusworx: A Hundred Days of Code, Day 000 - Begin Again

How do I begin this post? By simply beginning :) Again! This probably is the fourth (or is it fifth) time, I’ll be attempting to learn how to program. And probably the same number of attempts at #100DaysOfCode. I did 47 days last time and 37 days before that. I will try my utmost to go the distance this time. Because even if I didn’t complete a full run, I still learnt tonnes from all my previous efforts. I do have a...

planetpython.org planetpython.org

PSF GSoC students blogs: Week 5 Check-in

What did you do this week? I continued the PR started in the previous week by adding more multimethods for array manipulation. The following multimethods were added: Tiling arrays tile repeat Adding and removing elements delete insert append resize trim_zeros Rearranging elements flip fliplr flipud reshape roll rot90 Most of the work was adding default implementations for the above multimethods which relied heavily on array...