Results from PlanetPython.org
Zero to Mastery: Python Monthly đ»đ December 2020
2020-12-29 19:47:34
13th issue of Python Monthly! Read by 20,000+ Python developers every month. This monthly newsletter is focused on keeping you up to date with the industry, keeping your skills sharp, without wasting your valuable time.
PyCoderâs Weekly: Issue #453 (Dec. 29, 2020)
2020-12-29 19:30:00
#453 â DECEMBER 29, 2020 View in Browser »
Real Python: Django Admin Customization
2020-12-29 14:00:00
The Django framework comes with a powerful administrative tool called admin. You can use it out of the box to quickly add, delete, or edit any database model from a web interface. But with a little extra code, you can customize the Django admin to take your admin capabilities to the next level.
Stack Abuse: Ultimate Guide to Heatmaps in Seaborn with Python
2020-12-29 13:30:00
A heatmap is a data visualization technique that uses color to show how a value of interest changes depending on the values of two other variables.
Podcast.__init__: Making Content Management A Smooth Experience With A Headless CMS
2020-12-28 22:22:31
Building a web application requires integrating a number of separate concerns into a single experience. One of the common requirements is a content management system to allow product owners and marketers to make the changes needed for them to do their jobs. Rather than spend the time and focus of your developers to build the end to end system a growing trend is to use a headless CMS. In this episode Jake Lumetta shares why he decided to spend his time and energy on building a headless CMS as a service, when and why you might want to use one, and how to integrate it into your applications so that you can focus on the rest of your application.
Reuven Lerner: You can, but should you? Combining some of Pythonâs more esoteric features
2020-12-28 19:05:42
A few weeks ago, I held my monthly âoffice hoursâ session for subscribers to Weekly Python Exercise. WPE students are always invited not only to ask questions about what weâre learning in the course, but also any other Python-related issue that they have encountered.
Python Morsels: What is self?
2020-12-28 16:00:00
Related article:
Real Python: Python and MySQL Database: A Practical Introduction
2020-12-28 14:00:00
MySQL is one of the most popular database management systems (DBMSs) on the market today. It ranked second only to the Oracle DBMS in this yearâs DB-Engines Ranking. As most software applications need to interact with data in some form, programming languages like Python provide tools for storing and accessing these data sources.
Codementor: Frontend Developer Vs Backend Developer: Who Will Win The War?
2020-12-28 13:01:07
Know the major differences and advantages of frontend development and backend development.
PyBites: Python in Everyday Life
2020-12-28 12:25:00
I've been learning Python for 6 to 7 months now, and have really enjoyed it. Slowly but surely, I am finding ways to incorporate what I have learned in Python and other things such as Git, terminal usage, etc., into my every day life.
Python Software Foundation: Election Reform Community Update
2020-12-28 11:00:07
No <p> found.
Django Weblog: Channels security release issued: 3.0.3
2020-12-28 08:46:43
In accordance with our security release policy, the Django team is issuing Channels 3.0.3. This release addresses the security issue detailed below. We encourage all users of Channels to upgrade as soon as possible.
Python Bytes: #214 Python year in review (2020 edition)
2020-12-28 08:00:00
No <p> found.
Talk Python to Me: #297 Python year in review (2020 edition)
2020-12-28 08:00:00
No <p> found.
Mike Driscoll: PyDev of the Week: Amanda Sopkin
2020-12-28 06:05:33
This week we welcome Amanda Sopkin (@amandasopkin) as our PyDev of the Week! She enjoys writing, teaching and the hackathon community. Amanda has given several talks at various Python conferences as well. You can check out what she has been up to over on her website.
Hynek Schlawack: How I Stopped Worrying and Started Loving PyLadies
2020-12-28 00:00:00
When I read about PyLadies for the first time, my thoughts were a common knee-jerk: âseparation is bad, dividing the community, âŠâ. Like many of my privileged peers, I was pro-diversity but I thought this is the wrong way. My views changed over time and I filed it under âlessons learnedâ. Unfortunately, my old thinking patterns donât cease to pop up in discussions, so I decided to share my perspective.
Brett Cannon: Unravelling boolean operations
2020-12-27 20:33:16
As part of my series on Python's syntactic sugar, I am going to cover boolean operations: a or b and a and b.
Python Pool: WHAT IS NUMPY CHOOSE()? EXPLAINED IN DETAIL
2020-12-27 13:15:41
Hello geeks and welcome in this article, we will cover NumPy.choose(). Along with that, for an overall better understanding, we will look at its syntax and parameter. Then we will see the application of all the theory part through a couple of examples. But at first, let us try to get a brief understanding of the function through its definition. Suppose you have multiple arrays grouped under a single array, and you want to get values from them collectively at once. In such cases the function NumPy.choose() comes handy. Up next, we will see the parameter associated with it, and followed by which we will look at the different parameters.
Catalin George Festila: Python 3.9.1 : Testing the drawSvg python package.
2020-12-27 11:49:02
The tutorial for today is about drawSvg python package.
This python package let you to create SVG images (vector drawings) and rendering them or displaying them in a Jupyter notebook.
Let's install it with pip3 tool:
[mythcat@desk ~]$ cd PythonProjects/
[mythcat@desk PythonProjects]$ pip3 install drawSvg
...
Successfully installed drawSvg-1.7.0 imageio-2.9.0
A simple source code test added to
Python Pool: Python Forking: Explanation and Illustration
2020-12-27 04:02:10
Hello coders!! In this article, we will be learning about forking and its implementation in python. In computer science and technology, the term fork has primarily two meanings:
Weekly Python StackOverflow Report: (cclvi) stackoverflow python report
2020-12-26 21:58:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-12-26 21:57:46 GMT
Matthew Wright: Indexing and Selecting in Pandas (part 1)
2020-12-26 18:17:50
The topic of indexing and selecting data in pandas is core to using pandas, but it can be quite confusing. One reason for that is because over the years pandas has grown organically based on user requests so there are multiple way to select data out of a pandas DataFrame or Series. Reading through the documentation can be ⊠Continue reading Indexing and Selecting in Pandas (part 1)
Python Pool: XML to CSV Conversion Using Python
2020-12-25 14:35:25
Hello coders!! In this article we will learn how to convert an xml file into a csv file in python. So without much ado lets directly dive into the topic.
Python Pool: Numpy Determinant | What is NumPy.linalg.det()
2020-12-25 13:20:20
Hello geeks and welcome in this article, we will cover NumPy.linalg.det(), also known as numpy determinant. Along with that, for an overall better understanding, we will look at its syntax and parameter. Then we will see a couple of examples for a better understanding of the topic. But at first, let us try to get a brief understanding of the function through its definition. The determinant is an important topic of linear algebra. Only the square matrices have determinant value. The function NumPy determinant helps us by calculating the determinant value of the input array. It becomes instrumental because the determinant has applications ranging from science, engineering, and economics. Up next, let us look at the syntax associated with this function.
Real Python: The Real Python Podcast â Episode #41: 2020 Real Python Articles in Review
2020-12-25 12:00:00
It's been quite the year! The Real Python team has written, edited, curated, illustrated, and produced a mountain of Python articles this year. We also upgraded the site and membership with office hours, transcripts, this podcast, and much more. We are joined by two members of the Real Python team, David Amos and Joanna Jablonski. We wanted to share a year-end wrap-up with a collection of articles that showcase a diversity of Python topics and the quality of what our team created this year.
Stack Abuse: Reading and Writing HTML Tables with Pandas
2020-12-24 13:30:00
Hypertext Markup Language (HTML) is the standard markup language for building web pages. We can render tabular data using HTML's <table> element. The Pandas data analysis library provides functions like read_html() and to_html() so we can import and export data to DataFrames.
Python Pool: NUMPY POLYFIT EXPLAINED WITH EXAMPLES
2020-12-24 11:39:40
Hello geeks and welcome in this article, we will cover NumPy.polyfit(). Along with that, for an overall better understanding, we will look at its syntax and parameter. Then we will see the application of all the theory part through a couple of examples. But at first, let us try to get a brief understanding of the function through its definition. The function NumPy.polyfit() helps us by finding the least square polynomial fit. This means finding the best fitting curve to a given set of points by minimizing the sum of squares. It takes 3 different inputs from the user, namely X, Y, and the polynomial degree. Here X and Y represent the values that we want to fit on the 2 axes. Up next, let us look at its syntax.
Python Pool: Python Code to Convert a Table to First Normal Form
2020-12-24 06:17:47
Python has thousands of modules and libraries to help you with tabular data. These datasets can contain many different ways in which the data can be represented. Before inferring any valuable information for the tables, you need to apply some filters and normalizations to understand. There are thousands of ways to pre-process and clean your data in python. This is where the normalization (first normal form) comes into play. In layman terms, First Normal Form (1NF) refers to certain relations in the dataset. These relations ensure that every domain in the table has a different attribute in different rows. In this post, we will use Python Code to Convert a Table to First Normal Form Form by using the pandasâ library. Before jumping straight to the code, letâs understand more about the first normal form and its rules.
Python Pool: NUMPY FLIPLR() EXPLAINED WITH EXAMPLES
2020-12-24 05:36:14
Hello geeks and welcome in this article, we will cover NumPy fliplr. Along with that, we will also look at its syntax and parameters. To make the topic crystal clear, we will also look at a couple of examples. But at first, let us try to understand NumPy.fliplr() through its definition. Suppose you have a matrix with you. A demand arrives where you need to flip the entries in each row with the column being preserved. This function will come in handy in this situation, and you can achieve it with just a single line of code. Now moving ahead, we will look at its syntax, followed by parameters.
Django Weblog: 2020 Malcolm Tredinnick Memorial Prize awarded to Ken Whitesell
2020-12-24 01:10:38
The Board of the Django Software Foundation is pleased to announce that the 2020 Malcolm Tredinnick Memorial Prize has been awarded to Ken Whitesell.
TestDriven.io: Web Authentication Methods Compared
2020-12-23 21:46:51
This article looks at the most commonly used web authentication methods.
Python Bytes: #213 Uh oh, Vulcans have infiltrated Flask
2020-12-23 08:00:00
No <p> found.
Talk Python to Me: #296 Python in F1 racing
2020-12-23 08:00:00
No <p> found.
Learn PyQt: Animating custom widgets with QPropertyAnimation â Add dynamic visual effects to your custom widgets
2020-12-23 07:00:00
In the previous tutorial we looked at how you can build custom widgets with PyQt5. The widget we built used a combination of layouts, nested widgets and a simple QPainter canvas to create a customized widget you can drop into any application.
Python Pool: Python Spectrogram Implementation in Python from scratch
2020-12-23 05:39:53
Hello coders!! In this article, we will learn about spectrogram and see how to implement them in Python language from scratch. So, what does it mean? It is a point by point magnitude of the Fourier transform of a segment of an audio signal. Now let us understand the python spectrogram in detail.
Python Pool: TimSort: Algorithm and Implementation in Python
2020-12-23 04:50:58
Hello coders!! In this article, we will learn about the TimSort algorithm and learn its implementation in Python. Tim Peters created TimSort in the year 2002 to improve the sorting performance of the list. sort() function makes use of this algorithm and is the fastest sorting algorithm.
Matt Layman: Refactoring Enrollment - Building SaaS #84
2020-12-23 00:00:00
In this episode, I decided to redesign a portion of the application flow. I wasn’t pleased with how users would enroll students for their grades so I refactored the school year page into a flow that worked better.
Note: My internet connection was not good during this stream. Thankfully, the audio is fine and reading code is very possible because the background doesn’t need to change much. My apologies for the low quality.
PyCoderâs Weekly: Issue #452 (Dec. 22, 2020)
2020-12-22 19:30:00
#452 â DECEMBER 22, 2020 View in Browser »
Python Morsels: Classes are Everywhere
2020-12-22 16:00:00
Related article:
Real Python: Serializing Objects With the Python pickle Module
2020-12-22 14:00:00
As a developer, you may sometimes need to send complex object hierarchies over a network or save the internal state of your objects to a disk or database for later use. To accomplish this, you can use a process called serialization, which is fully supported by the standard library thanks to the Python pickle module.
PyCharm: Letâs build a fast, modern Python API with FastAPI â additional materials
2020-12-22 13:05:22
Last Tuesday (December 15), we hosted an amazing live coding session on FastAPI with Michael Kennedy, host of the popular Talk Python To Me Podcast and author of a collection of Python courses.
PyCon: PyCon Us 2021 Call for Proposals is Open!
2020-12-22 11:48:33
Quansight Labs Blog: Develop a JupyterLab Winter Theme
2020-12-22 09:00:00
JupyterLab 3.0 is about to be released and provides many improvements to the extension system. Theming is a way to extend JupyterLab and benefits from those improvements.
Python Pool: NUMPY ARGWHERE WITH EXAMPLES IN PYTHON
2020-12-22 02:25:59
Hello geeks and welcome in this article, we will cover NumPy argwhere. Along with that, we will also look at its syntax and parameters involved. For a better understanding, we will also look at various examples. But first, let us try to get a general idea about the function itself. Numpy is a powerful mathematical library of Python that provides us with many useful functions. One such useful function of NumPy is argwhere. This helps the user by providing the index number of all the non-zero elements in the matrix grouped by elements. We can use this function with a limit of our own also that we will see in examples. But at first, let us look at its syntax.
Python Pool: NUMPY MEDIAN() WITH EXAMPLES IN PYTHON
2020-12-22 01:29:06
Hello geeks and welcome in todayâs article, we will discuss NumPy Median(). Along with that, we will also look at its syntax and various parameters. We will also look at various examples that will help us understand the topic better. Median is one of the 3 Mâs of statistics. Median is the central value of data when arranged in a particular order. In general, the formula for median calculation is (n+1)/2th term for the odd number of terms and mean of (n/2)th and (n/2 +1)th term for the even number of terms. NumPy being a powerful mathematical library of Python, provides us with a function Median. So we can conclude that NumPy Median() helps us in computing the Median of the given data along any given axis. Now let us look at the various aspects associated with it one by one.
Podcast.__init__: Turning Notebooks Into Collaborative And Dynamic Data Applications With Hex
2020-12-21 23:03:34
Notebooks have been a useful tool for analytics, exploratory programming, and shareable data science for years, and their popularity is continuing to grow. Despite their widespread use, there are still a number of challenges that inhibit collaboration and use by non-technical stakeholders. Barry McCardel and his team at Hex have built a platform to make collaboration on Jupyter notebooks a first class experience, as well as allowing notebooks to be parameterized and exposing the logic through interactive web applications. In this episode Barry shares his perspective on the state of the notebook ecosystem, why it is such as powerful tool for computing and analytics, and how he has built a successful business around improving the end to end experience of working with notebooks. This was a great conversation about an important piece of the toolkit for every analyst and data scientist.
Red Hat Developers: Use Kebechet machine learning to perform source code operations
2020-12-21 21:34:32
One of the first tools we developed to help us with Project Thoth was Kebechet, which we named for the goddess of freshness and purification. As we separated our software into more and more repositories (each of our Python modules is in its own repository on GitHub), we needed help with releasing new versions and keeping all dependent modules up-to-date. In a team of two and with more than 35 repositories, our process was a major time-burner.
Stack Abuse: Seaborn Violin Plot - Tutorial and Examples
2020-12-21 18:50:00
Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualization.
Doug Hellmann: imapautofiler 1.10.0
2020-12-21 15:42:29
No <p> found.
Python Insider: Python 3.8.7 is now available
2020-12-21 14:36:59
Python 3.8.7 is the seventh maintenance release of Python 3.8. Go get it here:
Paolo Amoroso: Code With Repl.it Review
2020-12-21 14:24:00
Code With Repl.it: From Beginner to Expert Through Guided Tutorials is a free ebook by Gareth Dwyer sponsored by Repl.it.
Real Python: Use PyQt's QThread to Prevent Freezing GUIs
2020-12-21 14:00:00
PyQt graphical user interface (GUI) applications have a main thread of execution that runs the event loop and GUI. If you launch a long-running task in this thread, then your GUI will freeze until the task terminates. During that time, the user wonât be able to interact with the application, resulting in a bad user experience. Luckily, PyQtâs QThread class allows you to work around this issue.
Stack Abuse: How to Upload Files with Python's requests Library
2020-12-21 13:30:00
Python is supported by many libraries which simplify data transfer over HTTP. The requests library is one of the most popular Python packages as it's heavily used in web scraping. It's also popular for interacting with servers! The library makes it easy to upload data in a popular format like JSON, but also makes it easy to upload files as well.
Peter Bengtsson: Gcm - git checkout master or main
2020-12-21 12:38:08
Gcm - a git shortcut that checks out the right "main" branch for your repo.
PyCharm: PyCharm 2020.3.1 Is Now Available!
2020-12-21 10:46:56
Thank you for your feedback on the major 2020.3 release! We are working hard this December to make your PyCharm experience as smooth as possible, and today we give you the first bug fix release, PyCharm 2020.3.1.
ListenData: Wish Christmas with Python and R
2020-12-21 08:50:45
R Code
Codementor: Selenium Focus Issues And How to Solve Them
2020-12-21 08:23:20
This is a comprehensive guide to help you understand some common Selenium focus issues and how to solve these issues, with examples.
Mike Driscoll: PyDev of the Week: Martijn Faassen
2020-12-21 06:05:11
This week we welcome Martijn Faassen (@faassen) as our PyDev of the Week! Martijn is the creator of the popular lxml package and the Morepath web framework, among others. You can see what else he is up to over on Github or check out his blog.
Python Pool: Kruskalâs algorithm: Implementation in Python
2020-12-21 05:07:19
Hello coders!! In this article, we will be digging into Kruskalâs Algorithm and learn how to implement it in Python. Let us first understand what does it mean. This algorithm is used to create a minimum spanning tree from a weighted graph. Now, we will look into this topic in detail.
Zato Blog: Understanding the fan-out / fan-in API integration pattern
2020-12-21 04:47:18
The fan-out / fan-in pattern is a staple of more advanced API integrations - let's check out in practice how, with Zato, it can simplify asynchronous communication across applications that do not always exhibit the same kind of availability or performance characteristics.
Catalin George Festila: Python 3.6.9 : Ursina python game engine - part 001 .
2020-12-21 04:40:30
I wrote the tutorial a few days ago and today I completed it with a video clip ...
The official webpage comes with this intro:
Ursina makes it easier to develop games, visualizations and other kinds of software.
The concise API combined with the power of the Python programming language, makes life easier for the developer so they can focus on what they are making.
Ursina can be used on Windows
Stack Abuse: Matplotlib Violin Plot - Tutorial and Examples
2020-12-20 16:34:01
There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlibâs popularity is due to its reliability and utility - it's able to create both simple and complex plots with little code. You can also customize the plots in a variety of ways.
Andre Roberge: Friendly-traceback of the day (Dec. 18/20)
2020-12-20 09:54:35
Andre Roberge: Friendly-traceback du jour (Dec. 20/2020)
2020-12-20 09:53:48
Python Pool: Matplotlib tight_layout in Python with Examples
2020-12-19 15:03:51
Hello programmers, in todayâs article, we will discuss Matplotlib tight_layout in Python. Matplotlib library in Python is a numerical â mathematical extension for NumPy library. Pyplot module is a state-based interface of Matplotlib library which provides a MATLAB like features. Various plots that can be used in Pyplot are Line Plot, Contour, Histogram, Scatter, 3D Plot, etc. The tight_layout automatically adjusts the subplot such that it fits into the figure area. This is an experimental feature and may not always work. It only checks the extents of ticklabels, axis labels, and titles. Before we cite examples for the Matplotlib tight_layout, let me briefly brief you with the same syntax and parameters.
Python Pool: Python list index out of range: Error and Resolution
2020-12-19 14:40:14
Hello coders!! In this article, we will learn about python list index out of range error and will also learn how to resolve such errors. At first, we should understand what does this means? Python list index out of range arises when we try to access an invalid index in our Python list. Now, let us look into this topic deeply to have a better understanding.
Andre Roberge: Friendly-traceback du jour (Dec. 19/2020)
2020-12-19 14:20:55
Weekly Python StackOverflow Report: (cclv) stackoverflow python report
2020-12-19 12:56:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-12-19 12:55:42 GMT
ListenData: How to use variable in a query in pandas
2020-12-19 08:00:39
Let's create a sample dataframe having 3 columns and 4 rows. This dataframe is used for demonstration purpose. import pandas as pddf = pd.DataFrame({"col1" : range(1,5), "col2" : ['A A','B B','A A','B B'], "col3" : ['A A','A A','B B','B B'] }) Filter a value A A in column col2In order to do reference of a variable in query, you need to use @. Mention Value Explicitlynewdf = df.query("col2 == 'A A'")Reference Method myval1 = 'A A'newdf = df.query("col2 == @myval1") How to pass column name as a variable in queryInstead of filter value we are referring the column which we want to use for subetting or filtering. myvar1 = 'col2'newdf2 = df.query("{0} == 'A A'".format(myvar1)) {0} takes a value of variable myvar1. "{0} == 'A A'".format(myvar1) returns "col2 == 'A A'" Incase you want to pass multiple columns as variables in query. Here we are using columns col2 and col3.myvar1 = 'col2'myvar2 = 'col3'newdf2 = df.query("{0} == 'A A' & {1} == 'B B'".format(myvar1, myvar2)) "{0} == 'A A' & {1} == 'B B'".format(myvar1, myvar2) is equivalent to "col2 == 'A A' & col3 == 'B B'" How to handle space in column nameLet's rename column col2 by including a space in between for illustration purpose. df.rename(columns={'col2':'col 2'}, inplace = True) By using backticks `` you can pass a column which contains space. myvar1 = '`col 2`'newdf = df.query("{0} == 'A A'".format(myvar1))
Python Pool: METHODS TO CONVERT TUPLE TO STRING IN PYTHON
2020-12-19 04:16:52
Hello geeks and welcome in todayâs article, we will cover Tuple to String In Python. We will look at different methods with the help of which we can perform this operation. Along with that, we will also look at various examples. We know that Tuple stores multiple items in a single variable. Moreover, it is an ordered and unchangeable collection of data. Our goal here is to convert it into a String, which is a sequence of characters. The characters can be alphabets, some symbols, or even numbers enclosed between double inverted commas. Moving ahead, we will look at different methods that are used to perform this operation.
Sandro Tosi: Python: sent emails with embedded images
2020-12-19 02:05:58
to send emails with images you need to use MIMEMultipart, but the basic approach:
Test and Code: 140: Testing in Scientific Research and Academia - Martin Héroux
2020-12-18 19:45:00
Scientists learn programming as they need it. Some of them learn it in college, but even if they do, that's not their focus. It's not surprising that sharing the software used for scientific research and papers is spotty, at best. And what about testing? We'd hope that the software behind scientific research is tested. But why would we expect that? We're lucky if CS students get a class or two that even mentions automated tests. Why would we expect other scientists to just know how to test their code?
Python Software Foundation: Virtual Python Core Developer Sprint 2020
2020-12-18 15:24:51
From October 19th to 23rd, 47 participants gathered for the first-ever virtual 2020 Python Core Developer Sprint. This included 41 Python core developers, 3 triagers, and 3 core dev mentees. The core dev sprint is an annual week-long meeting in which the CPython core team has the opportunity to work directly together on projects and get to know one another better, free from outside distractions. Many of the core developers participating in the event received the week off from their employer to focus on the sprint.Â
Andre Roberge: Friendly-traceback of the day (Dec. 19/20)
2020-12-18 15:23:49
Python Pool: Tower of Hanoi Implementation in Python
2020-12-18 12:50:05
Hello coders!! In this article, we will explore and learn the coding of the game Tower of Hanoi in python. At first, we will learn about the game rules and then see the step by step implementation of the game in python. Without wasting any time, letâs dig into it.
Python Pool: PYTHON STATIC VARIABLE AND ITS METHODS
2020-12-18 12:14:04
Hello geeks and welcome in this article, we will cover Python static variable. Along with that, we will also look at its importance and definition. For an overall better understanding, we will also look at a couple of examples. In general, static means something stationary. Now with that said, let us try to understand it in general terms. We can understand the Python static variable as a variable present in the class it is defined in. It is also called a class variable because all the objects share it. As we further move ahead in this article, we will look at how it is defined and different ways to access it.
Real Python: The Real Python Podcast â Episode #40: How Python Manages Memory and Creating Arrays With np.linspace
2020-12-18 12:00:00
Have you wondered how Python manages memory? How are your variables stored in memory, and when do they get deleted? This week on the show, David Amos is here, and he has brought another batch of PyCoder's Weekly articles and projects. Along with the Real Python article on Python memory management, we also talk about another article about creating even and non-even spaced arrays in Python with np.linspace.
Python Pool: Python Gzip: Explanation and Examples
2020-12-18 10:52:03
Hello coders!! In this article, we will learn about python gzip along with certain in-depth examples. At first, we must understand what does the term gzip mean? Gzip is an application that is used to compress and decompress files. It has a simple interface in python GZip Application, making it more efficient and easy to use. Without wasting any more time, letâs learn about the python gzip module in detail.
Talk Python to Me: #295 GIS + Python
2020-12-18 08:00:00
No <p> found.
Python Pool: How to Clear Plot in Matplotlib Using clear() Method
2020-12-18 03:15:35
Hello programmers, in todayâs article, we will discuss Matplotlib clear plot in python. Matplotlib is a library in Python, which is a numerical â mathematical extension for NumPy library. The figure module of the Matplotlib library provides the top-level Artist, the Figure, which contains all the plot elements. The figure module is used to control the subplotsâ default spacing and top-level container for all plot elements. The Axes Class contains the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. The instances of Axes supports callbacks through a callbacks attribute. The Axes.clear() in the axes module of the matplotlib library is used to clear the axes. Thus, the Matplotlib figure.clear() and axes.clear() is used to clear figure and axes, respectively. Here are the syntax and parameters of the Matplotlib clear plot function.
Python Software Foundation: Rebuilding the PSF Fundraiser 2020 - Your support means so much đ€!
2020-12-17 19:36:29
The Python Software Foundation launched its end-of-the-year fundraiser on December 1st and the response has been overwhelming đđ. Even in this difficult time, our community has come together to help the PSF in its efforts to support Python development and to grow a diverse and international community of Python programmers.Â
Stack Abuse: Jump Search in Python
2020-12-17 13:30:00
Finding the right data we need is an age-old problem before computers. As developers, we create many search algorithms to retrieve data efficiently.
Andre Roberge: pytest apparently modifies calls to range
2020-12-17 08:55:40
 As I work making Friendly-traceback provide more useful information regarding the cause of an exception, I sometimes encounter weird "corner cases" about either Python itself [1] or occasionally about pytest [2]. Today, it was pytest's turn to give me a new puzzle to solve.
Montreal Python User Group: MontrĂ©al-Python 82 â Natural Magnetism
2020-12-17 05:00:00
Greetings, everyone! Have you committed to any resolutions for 2021? At MontrĂ©al-Python, our resolution is to learn new techniques with our favourite language. It is with this theme of learning that we are organizing our next event â Natural Magnetism â which will take place on January 11, 2021, at 6 PM (MontrĂ©al time). Come and celebrate the new year by learning about Python. On the menu, we have:
Python Pool: PYTHON DIVMOD AND ITS APPLICATION
2020-12-17 03:10:28
Hello geeks and welcome in todayâs article, we will discuss Python Divmod. Along with that, we will also look at its syntax and different parameters. For an overall better understanding, we will also look at a couple of examples. Let us try to get a general overview of Python Divmod. In elementary school, one of the first operations that we learn is Division. Python divmod is a built-in function of Python (3.9.1). It takes 2 non-complex numbers as input and returns a tuple consisting of quotient and remainder. We can understand it as it takes dividend and divisor from the user. Whereas returns quotient and remainder. As we move, we will look at different parameters associated with it one by one for better understanding.
Python Pool: HOW TO PYTHON SORT LIST OF TUPLES
2020-12-17 02:55:08
Hello geeks and welcome in todayâs article, we will cover a Python sort list of tuples with various examples. Along with the various examples, we will also look at different methods by which we can achieve it. We will primarily focus on the inbuilt function and sorting algorithm to achieve sorting of tuples. The ordered nature and unchangeable trait of tuple make it different from that of a common list.
Python Pool: NumPy loadtxt | What is Numpy Loadtxt in Python?
2020-12-17 02:32:04
Hello geeks and welcome in this article, we will discuss NumPy loadtxt in detail along with its syntax and parameters. NumPy is a python module that provides a function loadtxt() that aims to be a fast reader for simply formatted files with the condition that each row of a text file must have the same number of values.
Python Pool: NumPy log Function() | What is Numpy log in Python
2020-12-17 01:49:42
Hello geeks and welcome in todayâs article, we will discuss the NumPy log. We will cover syntax, parameters and look at a couple of examples along with it. Numpy.log is one of the many useful modules of NumPy. Solving a log problem can sometimes be a tricky and tedious task. Worry not. NumPy log is here to help you out. Now let me define it for you. Numpy log is a function that helps the user solve the Natural logarithm of x(user input). In this article, we will look at its syntax, parameters, and a couple of examples, which will help us better understand the topic.
Matt Layman: Empty States - Building SaaS #83
2020-12-17 00:00:00
In this episode, I returned to the onboarding flow and start to polish some of the extra pages. We filled the pages with special copy and a call to action to each page to help customers be successful.
I started with the pages that displays the school years. We added a chunk of template from the onboarding process that asks the user to create a school year. I modified the template chunk to make it fit in the context of the page.
Real Python: The pass Statement: How to Do Nothing in Python
2020-12-16 14:00:00
In Python, the pass keyword is an entire statement in itself. This statement doesnât do anything: itâs discarded during the byte-compile phase. But for a statement that does nothing, the Python pass statement is surprisingly useful.
Stack Abuse: Spelling Correction in Python with TextBlob
2020-12-16 13:30:00
Spelling mistakes are common, and most people are used to software indicating if a mistake was made. From autocorrect on our phones, to red underlining in text editors, spell checking is an essential feature for many different products.
Python Pool: Matplotlib grid With Attributes in Python
2020-12-16 12:23:27
Hello programmers, in todayâs article, we will discuss the Matplotlib grid() in Python. Grids are made up of intersecting straight or curved lines used to structure our content. Matplotlib is a numerical â mathematical extension for the NumPy library. And Pyplot module of the Matplotlib library provides a MATLAB-like interface that helps plot graphs. Matplotlib.pyplot.grid() gives a reference for our data points for better understanding. Thus, Matplotlib library provides a grid() function for easy configuration of gridlines with various customization methods. Before we look into the Matplotlib gridâs implementations, let me brief you on its syntax and parameters.
Codementor: Java tutorial 2 - Variables
2020-12-16 11:38:51
we will aim at understanding, what a variable is
Python Pool: NumPy ogrid and Its Uses in Python
2020-12-16 09:30:02
Hello geeks and welcome in todayâs article, we will discuss NumPy ogrid and its uses in detail. NumPy is a numerical module of python, and Ogrid is one of its functions that stands for the open grid. It helps us by providing a way to act on a particular pixel of an image based on its Index number. As we move further in this article, we will try to understand Numpy ogrid through its syntax. We will also look at its applications and a couple of examples.
Python Pool: NUMPY INSERT IN PYTHON WITH EXAMPLES
2020-12-16 09:09:02
Hello geeks and welcome in todayâs article, we will discuss NumPy insert(). Along with it, we will also cover its syntax and parameters. For a better understanding, we will also look at a couple of examples. NumPy is a powerful mathematical library of python which provides us with a function insert. NumPy insert() helps us by allowing us to insert values in a given axis before the given index number. To execute this operation, there are several parameters that we need to take care of. One such thing is the axis; if not defined, then the input array is flattened first. We will read more about parameters as we move ahead in the article.
Python Bytes: #212 SQLite as a file format (like docx)
2020-12-16 08:00:00
No <p> found.
Python Pool: Pigeonhole Sort in Python With Algorithm and Code Snippet
2020-12-16 07:44:37
In this article, we will dig into a sorting algorithm known as the pigeonhole sort in Python. So, what exactly is a pigeonhole sort? It is a sorting algorithm famously used for sorting the lists in which the number of elements in the list is approximately equal to the range of possible key values. Let us now understand the pigeonhole sort in detail.
Malthe Borch: Mitigating 2FA abuse by bad actors
2020-12-16 07:42:04
A friend of mine was recently scammed into handing over a six-digit verification code to her WhatsApp account.
Kushal Das: How to get a TLS certificate for a domain in your local network?
2020-12-16 04:36:02
How to get a TLS certificate for a domain inside of my local network? This was a question for me for a long time. I thought of creating a real subdomain, getting the certificate, and copying over the files locally, and then enforcing local domain names via the DNS or /etc/hosts. But, during the TLS training from Scott Helme, I learned about getting certificates via DNS challenge using acme.sh.
Matt Layman: Middleware Do You Go?
2020-12-16 00:00:00
No <p> found.
PyCoderâs Weekly: Issue #451 (Dec. 15, 2020)
2020-12-15 19:30:00
#451 â DECEMBER 15, 2020 View in Browser »
Real Python: Python Turtle for Beginners
2020-12-15 14:00:00
In this step-by-step course, youâll learn the basics of Python programming with the help of a simple and interactive Python library called turtle. If youâre a beginner to Python, then this course will definitely help you on your journey as you take your first steps into the world of programming. The Python turtle library comes with a similar interactive feature that gives new programmers a taste of what itâs like to work with Python.
Mike Driscoll: The Packt $5 eBook / Video Sale
2020-12-15 13:00:17
Packt Publishing will be selling all of their eBooks and videos for $5 from December 15th, 2020 through January 13th, 2021. If you would like to get some new Python books for a bargain price, this is a good time to do so.
Python Software Foundation: PSF Scientific Working Group announces call for grant requests
2020-12-15 10:54:54
The Scientific Working Group of the Python Software Foundation is excited to announce a next call for funding proposals in 2020/2021. The goal of the Scientific Working Group is to advance the scope, breadth, and utility of Python for scientific work. This call places specific emphasis on maintainer / maintenance support, outreach and education, as well as improved infrastructure & documentation. We would be especially excited to fund developers within the Global South.
Codementor: Quick Answers to Python Interview Questions for Freshers
2020-12-15 10:32:31
Students who have completed their Python training in Pune can look at the below-listed FAQs that can be asked during the Python interview. It can be helpful for both freshers and experienced...
Python Pool: NumPy Eye Explained With In-Depth Examples in Python
2020-12-15 08:20:46
Hello geeks and welcome in todayâs article, we will discuss NumPy eye(). Along with it, we will also cover its parameter, syntax, and a couple of examples. In general, NumPy is a numerical module of python which provides a function eye. Now NumPy.eye() returns a 2-d array with 1âs at diagonal and 0âs elsewhere. Somewhat similar to an identity matrix. In this case, the diagonal can be upper, lower, or middle, depending on the value of k. Here k is one of the parameters that we will cover as we move ahead in this article.
Python Pool: WHAT IS NUMPY DIFF? ALONG WITH EXAMPLES
2020-12-15 07:04:15
Hello geeks and welcome in todayâs article, we will discuss NumPy diff. Along with it, we will cover its syntax, different parameters, and also look at a couple of examples. But at first, let us try to understand it in general terms. Numpy is a mathematical module of python which provides a function called diff. We can calculate the nth order discrete difference along with the given axis using Numpy Diff. The first-order difference is calculated by out[i]=arr[i+1]-arr[i]. To calculate the higher-order difference, we use the diff in a loop. Now we will look at its syntax followed by its parameters and then examples.
Mike Driscoll: ReportLab 101 â Adding Shades of Gray to the Canvas (Video)
2020-12-15 06:05:55
In this video tutorial, you will learn about creating different shades of gray with ReportLabâs canvas object:
Python Pool: Exploring Bitarray in Python With List of Functions Available
2020-12-15 02:40:33
In this article, we will learn about the python bit array. At first, let us understand what exactly a python bitarray is? A bitarray is an efficient way of representing Booleans in an array. Their behavior is similar to lists. They are also known as bit vectors, bit strings, or bit fields. In a contiguous block of memory, 8 bits represents 1 byte. This module is useful when one is dealing with compressed data using variable bit length encoding.
Podcast.__init__: Add Anomaly Detection To Your Time Series Data With Luminaire
2020-12-15 01:40:32
When working with data itâs important to understand when it is correct. If there is a time dimension, then it can be difficult to know when variation is normal. Anomaly detection is a useful tool to address these challenges, but a difficult one to do well. In this episode Smit Shah and Sayan Chakraborty share the work they have done on Luminaire to make anomaly detection easier to work with. They explain the complexities inherent to working with time series data, the strategies that they have incorporated into Luminaire, and how they are using it in their data pipelines to identify errors early. If you are working with any kind of time series then itâs worth giving Luminaure a look.
Python Pool: Understanding Strand Sort in Python With Example
2020-12-15 01:26:08
Sorting means arranging items in a specified manner. Strand sort is a sorting algorithm that is recursive in nature. It is mainly used to sort a list in increasing order. In this article, we will learn how to implement strand sort in python.
Python Engineering at Microsoft: Python in Visual Studio Code â December 2020 Release
2020-12-15 01:04:05
We are happy to announce that the December 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation. Â
Python Pool: Shell Sort Algorithm and Program in Python
2020-12-15 00:59:45
In this article, we will learn about the shell sort algorithm using python. First, we should understand what is sorting. The arranging of elements in a particular order is known as sorting. An efficient method of sorting is shell sort in python. It is derived from the insertion sort algorithm. In this, insertion sort is first applied to the elements that are farther away from each other and then applied to the elements that are at a less separation. This distance or separation between the elements is known as the interval.
TestDriven.io: Django Session-based Auth for Single Page Apps
2020-12-14 21:46:29
This article looks at how to add session-based authentication to a Single-Page Application (SPA) powered by Django and React.
PyBites: Get to Python source code instantly using importlib and inspect
2020-12-14 18:05:00
Have you ever wondered how to get Python source code quickly? It turns out the Standard Library can do this pretty effortlessly. Here is some code to read more Python source.
PyCon: Announcing the Location for PyCon US 2022/2023
2020-12-14 16:27:40
Weâre planning for PyCon US 2022 and 2023 to be held in-person. It may seem strange to announce an in-person conference in the middle of a global pandemic, so letâs start by explaining why:Usually, we announce PyCon US host cities shortly after weâve made our selection, and this year we hoped to make this announcement during the close of PyCon US 2020 in Pittsburgh. Instead, the immediate future of PyCon changed. We quickly cancelled the in-person portion of PyCon US 2020, and moved PyCon US 2021 to a fully-online event. None of this changed our plans for 2022, because we made these plans in 2019. We seek out host cities many years in advance of PyCon US so that we can find space to hold a 10-day event with 3500 attendees on dates that do not clash with major holidays and religious observances. We found our host city, and signed contracts and paid deposits with venues, caterers, hotels, and other vendors in Q3 2019, months before the Pandemic had started. Those contracts are still in place.So, as long as the situation in the US makes it safe to hold an in-person event in 2022, PyCon US 2022 will be held in person. Of course, weâll be monitoring the situation closely, and weâll change our plans if we need to, but weâre hoping that itâll be safe to see many of you in person, and weâre excited to be able to welcome you to our first in-person event in three years.
Real Python: What Is Data Engineering and Is It Right for You?
2020-12-14 14:00:00
Big data. Cloud data. AI training data and personally identifying data. Data is all around you and is growing every day. It only makes sense that software engineering has evolved to include data engineering, a subdiscipline that focuses directly on the transportation, transformation, and storage of data.
Python Software Foundation: PSF is hiring: Director of Resource Development
2020-12-14 13:26:52
The PSF is seeking to hire a Director of Resource Development to spearhead fundraising and sponsorship efforts! We are accepting resumes through January 14th, 2021. See the job description section below for more information.
Codementor: Choosing a Programming Course Matching Your Purposes
2020-12-14 12:49:13
In this post, I am going to ease your pain and share a few tips that will help you determine what course is ideal for you. Youâll get to know what things to consider when choosing the learning website. Apart from that, to save you the hassle of searching for the best-suited course all over the Internet, Iâve made a whole list of penny-worth educational platforms.
SDJournal: Exhedra: a conferencing/forum application in Django
2020-12-14 11:08:31
No <p> found.
Michele Simionato: What's new in plac 0.7
2020-12-14 11:05:34
plac is much more than a command-line arguments parser. You can use it to implement interactive interpreters (both on a local machine on a remote server) as well as batch interpreters. It features a doctest-like mode, the ability to launch commands in parallel, and more. And it is easy to use too!
Lightning Fast Shop: Release 0.11.
2020-12-14 11:04:08
We just released LFS 0.11.Â
Ilian Iliev: Django and working with large database tables
2020-12-14 11:01:41
The slides from my presentation for the Django Stockholm Meetup group. Contains small comparison between MySQL and PostgreSQL in terms of performance when modigying the tables structure.
David Goodger: G4G10: Gathering for Gardner 10
2020-12-14 11:00:22
An account of my first Gathering for Gardner, a conference for recreational mathematicians, magicians, puzzlers, philosophers, and other curious types.
Bojan Mihelac: Django cookie consent application
2020-12-14 10:58:51
django-cookie-consent is a reusable application for managing various cookies and visitors consent for their use in Django project.
BeDjango: Top 6 Django Decorators
2020-12-14 10:58:06
A decorator is the name of one of the most popular design patterns used nowadays, many times we use it without knowing that we are using a design pattern. And what's so special about this pattern? As we can read at  Python Wiki using It is a way of apparently modifying an object's behavior, by enclosing it inside a decorating object with a similar interface. You can get more information about Pattern Design here.
Aahz: Python: Call for diversity
2020-12-14 10:57:43
The Python community is both incredibly diverse (Python 3.1's release
manager was not yet eighteen years old) and incredibly lacking in
diversity (none of the regular committers is a woman). I'm now working
on creating more diversity in the Python community, and I welcome anyone
who wants to help.
Zato Blog: Configuring REST channels for CORS
2020-12-14 09:25:55
With the rise of Single-Page Applications (SPA) in web frontends, it is often the case that backend REST APIs based on Zato need to be configured for CORS. This article will explore what CORS is and how to make Zato participate in scenarios using it.
Mike Driscoll: PyDev of the Week: BenoĂźt Bovy
2020-12-14 06:05:19
This week we welcome BenoĂźt Bovy (@benbovy) as our PyDev of the Week! BenoĂźt is a contributor to Xarray-related libraries like Xpublish and Xoak. You can see what else he is working on over on Github.
Python Pool: Matplotlib Pie Chart Custom and Nested in Python
2020-12-14 05:54:08
Hello programmers, in todayâs article, we will discuss the Matplotlib Pie chart in Python. A Pie Chart is a circular statistical plot used to display only one series of data. The area of the pie chart is the total percentage of the given data. The area of slices of the pie represents the percentage of the parts of the data. Pie charts are generally used in business presentations like sales, survey results, operations, etc., as they provide a quick summary. The matplotlib.pyplot.pie() function is used to plot pie charts in Python. Before we go ahead with matplotlib pie chart examples, let me briefly brief you with the same syntax and parameters.
Matthew Wright: Connecting to your notebook kernel using Jupyter console
2020-12-13 23:04:00
Jupyter notebooks are a great way to explore data using Python (and other languages as well). Having a visual representation of your code and output, along with documentation and formatting in one view can be extremely helpful. However, there are some things that are just much better to do in a console session. In this ⊠Continue reading Connecting to your notebook kernel using Jupyter console
Tarek Ziade: My journey at Mozilla
2020-12-13 23:00:00
During the spring of 2010, I applied for a job at Mozilla Labs. They were looking for a Python developer to re-write the Firefox Sync service (called Weave back then) into Python. They wanted to move all of their web services from PHP to Python, and looked for a Python âŠ
Kushal Das: Open Source Project Criticality Score 2020 for python projects
2020-12-13 12:08:07
I just now found about Open Source Project Criticality Score under the Open Source Security Foundation (OpnSSF) from Daniel Stenberg's blog post.
Codementor: How to solve difficult programming problems in under 30 minutes.
2020-12-13 11:40:16
How to solve difficult programming problems in under 30 minutes.
Codementor: How to run Linux-only Python projects by hacking makefiles through git mingw bash
2020-12-07 16:38:58
How to run makefiles on windows, as good as Linux
Python Pool: Matplotlib ion() in Python With Examples
2020-12-07 15:24:53
Hello programmers, in this article, we will discuss the Matplotlib ion() in Python. Matplotlib is a multi-platform data visualization library built on NumPy array. The Pyplot module of the matplotlib library is designed to give visual access to several plots like line, bar, scatter, histogram, etc. The matplotlib.pyplot.ion() function is used to turn on the interactive mode. The interactive mode is turned off by default. After every change, some interactive backends dynamically update and pop up to users. You can check the status of interactive mode by running the plt.isinteractive() or plt.rcParams[âinteractiveâ] commands.
Python Pool: Matplotlib Savefig() For Different Parameters in Python
2020-12-07 14:44:29
Hello programmers, in this article, we will study the Matplotlib savefig() in python. As we all know, Matplotlib is a beneficial visualization library in python used, especially for plotting purposes. The Matplotlib savefig function, as the name suggests, helps save the figure after plotting the data. It saves the figure in the local memory of our system. Let me brief you with the syntax and return type of the Matplotlib savefig() function.
Real Python: Real Python's Office Hours: Learn With Python Experts in Real Time
2020-12-07 14:00:00
Learning to program can be challenging, especially if youâre learning in a void. Support from a community of fellow learners can be crucial to overcoming the valleys and plateaus you encounter on your journey to Python mastery.
Zato Blog: Multi-protocol file transfer integrations
2020-12-07 12:09:00
In many domains, transfer of static and batch files is an important part of systems integrations and a large number of applications produce and expect data in the form of files rather than network-based APIs. In this article, we shall see how Zato makes multi-protocol integrations of this kind possible in a way that is secure, scalable and easy to extend in Python.
Kushal Das: Story of debugging exit 0
2020-12-07 11:07:17
For more than a month, my primary task at SecureDrop land is to make the project ready for a distribution update. The current system runs on Ubuntu Xenial, and the goal is to upgrade to Ubuntu Focal. The deadline is around February 2021, and we will also disable Onion service v2 in the same release.
Codementor: How To Perform Localization Testing Using Selenium WebDriver?
2020-12-07 08:33:14
Localization automation testing is essential if you want your product to gain good standing globally. Learn how to use localization testing tools & perform Localization testing using Selenium&hellip;
Mike Driscoll: PyDev of the Week: Shauna Gordon-McKeon
2020-12-07 06:05:31
This week we welcome Shauna Gordon-McKeon as our PyDev of the Week! Shauna runs her own consulting business, Galaxy Rise Consulting and is a Django enthusiast. She has also spoken at several Python conferences! If this interview isnât enough for you, you can learn more about Shauna over on the Django Girls blog.
Python Pool: Matplotlib Errorbar For Lines and Graphs
2020-12-07 03:09:51
Hello programmers, in todayâs article, we learn about the Matplotlib errorbar in Python. The Pyplot module of the Matplotlib library provides MATLAB like interface. And the matplotlib.pyplot.errorbar() function is used to plot y versus x as lines and/or markers with attached errorbars. Error bars help to indicate estimated error or uncertainty to give a general sense of how precise a measurement is; this is done through the use of markers drawn over the original graph and its data points. Before we look into examples of Matplotlib errobars and errorbar graphs, let me brief you with the syntax and return the same.
Python Pool: Matplotlib barh() in Python With Examples
2020-12-07 02:41:55
Hello programmers, in todayâs article, we will discuss the Matplotlib barh() in Python. The Pyplot library of the Matplotlib module helps plot graphs and bars very easily in Python. The matplotlib.pyplot.barh() function helps to make a horizontal bar plot. The bars are positioned at specific input values of âyâ with the given alignment. Their dimensions are specified by width and height. The horizontal baseline is left (default 0). Before we cite examples of the barh() function, let me just brief you with the syntax and return the same.
Python Pool: Matplotlib Vertical Lines in Python With Examples
2020-12-07 01:29:13
Hello programmers, in todayâs article, we will discuss how to implement Matplotlib vertical lines in Python. As we already know, Matplotlib is a prevalent python library that helps in plotting. Implementation of Matplotlib vertical lines basically means to draw single vertical lines using the different functions of the matplotlib library. Before we start with different examples of using matplotlib vertical lines in our programs, let me brief you about the syntax and return the same.
IslandT: Create a chess game project with PyGame
2020-12-06 06:15:13
For those of you who have read my previous article about my desire to create a chess game based on the stockfish chess engine, this one is the continued story from the previous article. In the previous article, I have shown you how to install stockfish module for python, and in this article, we will start to create the graphic part of the chess application using Python.
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 010.
2020-12-06 02:54:04
In this tutorial created with Colab online tool I used HTML and JavaScript source code.
The tutorial is easy to understand and use it.
You can see all my examples of my GitHub repo.
Matt Layman: How To Set Up Tailwind CSS In Django On Heroku
2020-12-06 00:00:00
How can you set up Tailwind CSS for your Django app on Heroku? In this article, we’ll see how I did exactly that recently.
I have a side project that uses Tailwind CSS. To get started quickly, I used the version from a Content Delivery Network (CDN) as Tailwind describes in the documentation. This worked fine initially while I got my project started, but the CDN version is huge (around 3MB).
Weekly Python StackOverflow Report: (ccliii) stackoverflow python report
2020-12-05 20:02:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-12-05 19:55:54 GMT
Mike Driscoll: Advent of Code 2020: Day 2
2020-12-04 23:30:19
Day 2 of Advent of Code 2020 is about validating passwords. It gives you a series of password policies and passwords and then asks you to determine how many of those passwords are valid.
Test and Code: 139: Test Automation: Shifting Testing Throughout the Software Lifecycle - Nalin Parbhu
2020-12-04 20:30:00
Talking with Nalin Parbhu about the software evolution towards more test automation and the creation of Infuse and useMango.
Python Morsels: Accepting Arbitrary Keyword Arguments
2020-12-04 16:00:00
Related article:
Stack Abuse: Creating Executable Files from Python Scripts with py2exe
2020-12-04 13:35:00
Executing Python scripts requires a lot of prerequisites like having Python installed, having a plethora of modules installed, using the command line, etc. while executing an .exe file is very straightforward.
Real Python: The Real Python Podcast â Episode #38: Looping With enumerate() and Python GUIs With PyQt
2020-12-04 12:00:00
If you're coming to Python from a different language, you may not know about a useful tool for working with loops, Python's built-in enumerate function. This week on the show, David Amos is here, and he has brought another batch of PyCoder's Weekly articles and projects. Along with the Real Python article covering the details of the enumerate function, we also talk about another article about constructing Python graphical user interface elements in PyQt.
The No TitleŸ Tech Blog: Book review - Foundations of Deep Reinforcement Learning, by Laura Graesser and Wah Loon Keng
2020-12-04 01:00:00
Deep Reinforcement Learning is a somewhat new field within Machine Learning or Artificial Intelligence (you may pick your favorite term between these two, even if theyâre not strictly the same), which combines Deep Learning and Reinforcement Learning and is based on the general idea that an agent can learn by observing its actions and their consequences. No, it is not a return to John B. Watson and B. F. Skinnerâs behavioral psychology. We are talking, instead, about a set of pretty advanced machine learning algorithms that, when properly mastered, allow computers to achieve remarkable results in some complex tasks. Thatâs what this book is about, so letâs dive inâŠ
Mike Driscoll: Advent of Code 2020: Day 1
2020-12-03 23:30:01
I decided to give the Advent of Code challenge a try this year. Advent of Code is a series of challenges that are given once a day. You can solve them in any programming language that you want. Once you have the solution, you enter it on the website to earn points. In this yearâs case, you are earning stars. You can earn two stars per day.
Doug Hellmann: sphinxcontrib.datatemplates 0.7.2
2020-12-03 21:55:25
No <p> found.
PyCharm: New Features and Enhancements in the R Plugin 2020.3
2020-12-03 19:37:41
With the holiday season coming, the R plugin introduces more code assistance and runtime capabilities, UX features, and stability improvements. Try them with the brand new 2020.3 releases of JetBrains IDEs.
Codementor: A Comprehensive Guide To Create Blockchain In Python
2020-12-03 13:32:04
Image Source: morioh.com
Blockchain is getting staggering popular due to the robust architecture that makes it highly compatible with data storage. Though, many developers want to know today how...
Python Pool: Numpy Hstack in Python For Different Arrays
2020-12-03 13:28:28
The numpy module in python consists of so many interesting functions. One such fascinating and time-saving method is the numpy hstack() function. Many times we want to stack different arrays into one array without losing the value. And that too in one line of code. So, to solve this problem, there are two functions available in numpy vstack() and hstack(). Here âvâ means âVertical,â and âhâ means âHorizontal.â
Python Pool: Numpy Vstack in Python For Different Arrays
2020-12-03 12:41:16
The numpy module in python consists of so many interesting functions. One such fascinating and time-saving method is the numpy vstack() function. Many times we want to stack different arrays into one array without losing the value. And that too in one line of code. So, to solve this problem, there are two functions available in numpy vstack() and hstack(). Here âvâ means âVertical,â and âhâ means âHorizontal.â
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 009.
2020-12-03 12:17:04
I update may colab work and I add new notebooks.
You can see all of these on my GitHub account.
These are examples:
catafest_009.ipynb - show you how to use %% colab features;
catafest_010.ipynb - example with Detectron2 is Facebook AI Research's with state-of-the-art object detection algorithms;
catafest_011.ipynb - test a sound classification with YAMNet from a web example - not very happy with
Guido van Rossum: King's Day Speech
2020-12-03 10:22:37
No <p> found.
Python Bytes: #210 Analyzing Kickstarter Campaigns with Python
2020-12-03 08:00:00
No <p> found.
Matt Layman: Finishing Onboarding - Building SaaS #81
2020-12-03 00:00:00
In this episode, I completed the last form that completes the last step on my Django app’s onboarding process. We built up the view, wrote the tests, and worked through the templates changes.
I started with a discussion of what the onboarding flow does and what was left. I needed to make a form that creates a task for a course.
For the first chunk of code, we added some tests to cover all the scenarios that are important for the view.
PyCharm: PyCharm 2020.3 Overview
2020-12-02 14:08:28
PyCharm 2020.3 is officially out! In this final major release of 2020, weâve concentrated on making the general user experience and onboarding process better. Try it now and let us know what you think!
Real Python: Handling SQL Databases With PyQt: The Basics
2020-12-02 14:00:00
Building applications that use an SQL database is a fairly common programming task. SQL databases are everywhere and have great support in Python. In GUI programming, PyQt provides robust and cross-platform SQL database support that allows you to create, connect to, and manage your databases consistently.
Stack Abuse: Reading and Writing XML Files in Python with Pandas
2020-12-02 13:30:00
XML (Extensible Markup Language) is a markup language used to store structured data. The Pandas data analysis library provides functions to read/write data for most of the file types.
Marius Gedminas: Switching to GitHub Actions
2020-12-02 07:23:24
I am grateful to Travis CI for providing many years of free CI service to all of my FOSS projects. However the free lunch is over and I donât want to constantly ask for free build credits by email (the first 10,000 ran out in 10 days).
Codementor: đ đđ» Making the Printed Links Clickable Using TensorFlow 2 Object Detection API
2020-12-02 06:55:53
đ TL;DR
In this article we will start solving the issue of making the printed links (i.e. in a book or in a magazine) clickable via your smartphone camera.
We will use TensorFlow 2 Object Detection...
Tarek Ziade: Salvo - my Apache Bench replacer
2020-12-01 23:00:00
When I wrote Boom a few years ago, to replace Apache Bench (ab) in my work, Python was still maturing its async mechanisms, and gevent was a popular way to build an asynchronous HTTP client.
Stack Abuse: Seaborn Bar Plot - Tutorial and Examples
2020-12-01 19:36:22
Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualization.
PyCoderâs Weekly: Issue #449 (Dec. 1, 2020)
2020-12-01 19:30:00
#449 â DECEMBER 1, 2020 View in Browser »
PyCharm: Webinar: âLetâs build a fast, modern Python API with FastAPIâ with Michael Kennedy
2020-12-01 17:22:12
Want to build rich, modern, Pythonic REST services? Friend-of-the-webinar (1, 2, 3, 4, 5) Michael Kennedy joins us to discuss FastAPI, the "high performance, easy to learn, fast to code, ready for production" web framework. He will be showing examples from his new Modern APIs with FastAPI training course.
Real Python: How Python Manages Memory
2020-12-01 14:00:00
Ever wonder how Python handles your data behind the scenes? How are your variables stored in memory? When do they get deleted?
Stack Abuse: Simple NLP in Python with TextBlob: N-Grams Detection
2020-12-01 13:30:00
The constant growth of data on the Internet creates a demand for a tool that could process textual information in a faster way with no effort from the ordinary user.
PyCon: Announcing PyCon US 2021
2020-12-01 12:08:04
No <p> found.
Python Pool: Numpy Tile in Python With Examples
2020-12-01 11:52:20
Numpy has a function that should remind you of a tile floor. In fact, itâs called Numpy Tile. Np Tile is a pretty significant function that allows you to take a matrix and tile it as many times as you want. So letâs get into this cool Numpy Tile function in Python.
Python Software Foundation: Help the PSF raise $60,000 USD by December 31st!
2020-12-01 10:46:19
Python continues to be a popular and accessible language in the education sector. More and more institutions around the world are introducing students to the opportunities that Python presents. Your support can spread that reach even further.
Tryton News: Newsletter December 2020
2020-12-01 09:00:00
Brown Wooden Arrow Signed1280Ă1109 310 KB
Talk Python to Me: #293 Learning how to learn as a developer
2020-12-01 08:00:00
No <p> found.
Python Pool: Numpy Squeeze in Python With Examples
2020-12-01 06:41:29
Hello programmers, in this article, we will discuss the Numpy squeeze function in Python. The squeeze () function is used when we want to remove single-dimensional entries from the shape of an array. Whenever we want to change the shape of a three-dimensional array to a two-dimensional array, we make use of the squeeze() function in NumPy. Hence, the squeeze() function returns the input array with the subset of the dimension having a length equal to one removed from the array. Before we cite examples to show the working of numpy.squeeze() function, let me just brief you about the syntax, parameters, and return type of the same.
Django Weblog: Django bugfix release: 3.1.4
2020-12-01 06:04:38
Today we've issued the 3.1.4 bugfix release.
Podcast.__init__: Open Sourcing The Anvil Full Stack Python Web App Platform - Episode 291
2020-12-01 00:25:08
Building a complete web application requires expertise in a wide range of disciplines. As a result it is often the work of a whole team of engineers to get a new project from idea to production. Meredydd Luff and his co-founder built the Anvil platform to make it possible to build full stack applications entirely in Python. In this episode he explains why they released the application server as open source, how you can use it to run your own projects for free, and why developer tooling is the sweet spot for an open source business model. He also shares his vision for how the end-to-end experience of building for the web should look, and some of the innovative projects and companies that were made possible by the reduced friction that the Anvil platform provides. Give it a listen today to gain some perspective on what it could be like to build a web app.
Daniel Bader: How to Use Pythonâs Print() Without Adding an Extra New Line
2020-12-01 00:00:00
Hereâs how you can avoid superfluous newlines when using the print function or statement in Python 2.x and 3.x
Daniel Bader: What Can You Do With Python?
2020-12-01 00:00:00
(short blurb)
LAAC Technology: Float vs Decimal in Python
2020-12-01 00:00:00
Both the float and decimal types store numerical values in Python, and at the beginning, choosing when to use each can be confusing. Pythonâs decimal documentation is a good starting point to learn when to use decimals. Generally, decimals exist in Python to solve the precision issues of floats.
Stefan Scherfke: Typed Settings
2020-11-30 21:14:00
There are already several settings libraries like Dynaconf, Environ Config, or Pydantic â just to name a few. I have written a new one: Typed Settings.
Ian Ozsvald: Skinny Pandas Riding on a Rocket at PyDataGlobal 2020
2020-11-30 19:25:02
On November 11th we saw the most ambitious ever PyData conference â PyData Global 2020 was a combination of world-wide PyData groups putting on a huge event to both build our international community and to leverage the on-line only conferences that we need to run during Covid 19.
Python Morsels: Keyword-Only Function Arguments
2020-11-30 16:00:00
Related article:
Stack Abuse: Matplotlib Bar Plot - Tutorial and Examples
2020-11-30 14:30:00
Matplotlib is one of the most widely used data visualization libraries in Python. From simple to complex visualizations, it's the go-to library for most.
Real Python: np.linspace(): Create Evenly or Non-Evenly Spaced Arrays
2020-11-30 14:00:00
When youâre working with numerical applications using NumPy, you often need to create an array of numbers. In many cases you want the numbers to be evenly spaced, but there are also times when you may need non-evenly spaced numbers. One of the key tools you can use in both situations is np.linspace().
Python Software Foundation: Releasing pip 20.3, featuring new dependency resolver
2020-11-30 12:55:26
On behalf of the Python Packaging Authority and the pip team, I am pleased to announce that we have just released pip 20.3, a new version of pip. You can install it by running python -m pip install --upgrade pip.
Python Insider: Releasing pip 20.3, featuring new dependency resolver
2020-11-30 12:55:13
Zato Blog: Service-oriented API task scheduling
2020-11-30 11:35:00
An integral part of Zato, its scalable, service-oriented scheduler makes it is possible to execute high-level API integration processes as background tasks. The scheduler runs periodic jobs which in turn trigger services and services are what is used to integrate systems.
Codementor: How Fighting Programming Anxiety Made Me a Better Code: 5 Tips to Follow For Dealing With Coding Stress
2020-11-30 11:07:44
As a beginner programmer, you might often hear how fun coding is from your peers. When I talk to senior developers, they share a lot of reasons for why they love what they do so much â the field challenges you constantly, itâs highly stimulating, and the thrill of building new things from scratch and seeing your code is hard to compare to anything else.
Zero to Mastery: Python Monthly đ»đ November 2020
2020-11-30 10:00:00
12th issue of Python Monthly! Read by 20,000+ Python developers every month. This monthly newsletter is focused on keeping you up to date with the industry, keeping your skills sharp, without wasting your valuable time.
PyCharm: Early Access PyCharm Podcast â Episode 5: The One where Olga talks about UX at JetBrains
2020-11-30 08:42:10
Welcome to Early Access PyCharm, a podcast that goes behind the scenes of how the PyCharm IDE is made and all the thinking that goes into it. In the upcoming episodes, you will hear from the people who work daily to make you more productive and your code even better.
Glyph Lefkowitz: Faster
2020-11-30 07:03:00
Iâve often heard Henry Ford quoted as saying:
Mike Driscoll: PyDev of the Week: Mridu Bhatnagar
2020-11-30 06:05:04
This week we welcome Mridu Bhatnagar (@Mridu__) as our PyDev of the Week! Mridu enjoys giving tech talks. She recently started a Youtube channel and a blog on Python and other tech topics.
Matthew Wright: Removing duplicate data in Pandas
2020-11-30 00:16:48
It can be very common when dealing with time series data to end up with duplicate data. This can happen for a variety of reasons, and I've encountered it more than one time when and tried different approaches to eliminate the duplicate values. There's a gem of a solution on Stack Overflow and I thought ⊠Continue reading Removing duplicate data in Pandas
Armin Ronacher: How to WASM DWARF
2020-11-30 00:00:00
So you're excited about WebAssembly? You're not alone, many are. WebAssembly has huge opportunities that extend way past just compiling non JavaScript code to make it run in the browser. The reason for this is that it is quickly becoming a widely supported compilation target for a range of runtimes. This lets one ship a custom WebAssembly runtime to run your stuff and then update the code that is running on it trivially across a variety of environments. It's a more modern take of Java's âcompile once run everywhereâ philosophy.
Python Pool: Matplotlib Table in Python With Examples
2020-11-29 14:24:28
Hello programmers, today, we will learn about the implementation of Matplotlib tables in Python. The matplotlib.pyplot.table() method is used to create or add a table to axes in python programs. It generates a table used as an extension to a stacked bar chart. Before we move on with various examples and formatting of tables, let me just brief you about the syntax and return type of the Matplotlib table function.
Philippe Normand: Catching up on WebKit GStreamer WebAudio backends maintenance
2020-11-29 12:45:00
Over the past few months the WebKit development team has been working on modernizing support for the WebAudio specification. This post highlights some of the changes that were recently merged, focusing on the GStreamer ports.
Karim Elghamrawy: What Programming Language Should I Learn First?
2020-11-28 20:42:40
The post What Programming Language Should I Learn First? appeared first on Afternerd.
Doug Hellmann: imapautofiler 1.9.0
2020-11-28 16:31:50
Continue reading "imapautofiler 1.9.0"
Weekly Python StackOverflow Report: (cclii) stackoverflow python report
2020-11-28 15:49:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-11-28 15:49:05 GMT
EuroPython: EuroPython videos all on archive.org
2020-11-28 12:00:55
Over the last few weeks, Anthon van der Neut, our media work group chair for EP2015 and EP2016, put in a lot of effort into getting all our conference videos on archive.org, the Internet Archive. Archive.org is not meant as an alternative for YouTube to watch the videos, but it allows you to retrieve the original uploads, and as such also functions as a backup location for the us and the community.
Trey Hunner: Python Cyber Monday Sales 2020
2020-11-27 21:20:00
This post is a compilation of different Cyber Monday deals Iâve found related to Python and Python learning.
Stack Abuse: Seaborn Distribution/Histogram Plot - Tutorial and Examples
2020-11-27 20:28:24
Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualization.
Ned Batchelder: Mad Libs
2020-11-27 14:44:00
When people ask what they should implement to practice programming, I often say, Mad Libs. Itâs a game, so it might appeal to youthful minds, but itâs purely text-based, so it wonât be overwhelming to implement. It can start simple, for beginners, but get complicated if you are more advanced.
Stack Abuse: Convert Bytes to String in Python
2020-11-27 13:30:00
In this article, we'll take a look at how to convert Bytes to a String in Python. By the end of this article you will have a clear idea of what these types are and how to effectively handle data using them.
Reuven Lerner: This Black Friday, get 40% off all 25 of my Python, Git, and data science courses
2020-11-27 13:13:58
Itâs time: My Black Friday sale, with 40% off all 25 products in my online store, is live!
Real Python: The Real Python Podcast â Episode #37: Teaching Python and Finding Resources for Students
2020-11-27 12:00:00
One of the best ways to learn something well is to teach it. This week on the show, we have Kelly Schuster-Paredes and Sean Tibor from the Teaching Python podcast. Sean and Kelly teach middle school students Python and share their art and science of teaching Python on their podcast. They wanted to come on the show to talk about the Real Python articles, quizzes, and other resources they use when teaching their students.
Python Bytes: #209 JITing Python with .NET, no irons in sight
2020-11-27 08:00:00
No <p> found.
Brett Cannon: Unravelling `not` in Python
2020-11-27 03:41:55
For this next blog post in my series of Python's syntactic sugar, I'm tackling what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement: not.
Daniel Bader: Function and Method Overloading in Python
2020-11-27 00:00:00
How to âoverloadâ your methods and functions in Python so they can be called with different sets of parameters.
PyCharm: PyCharm 2020.2.4 is out!
2020-11-26 21:50:26
The new bug-fix release is out! Check out the latest improvements in PyCharm 2020.2.4.
Stack Abuse: Matplotlib Histogram Plot - Tutorial and Examples
2020-11-26 14:30:00
Matplotlib is one of the most widely used data visualization libraries in Python. From simple to complex visualizations, it's the go-to library for most.
Stack Abuse: How to Check if List is Empty in Python
2020-11-26 13:30:00
Lists are one of the four most commonly used data structures provided by Python. Its functionality, extensibility, and ease of use make it useful for implementing various types of functionalities.
Talk Python to Me: #292 Pythonic identity (auth in Python ecosystem)
2020-11-26 08:00:00
No <p> found.
Trey Hunner: Short weely Python screencasts for $50/year
2020-11-25 17:00:00
Iâm offering a service to help life-long Python learners manufacture ah-ha moments.
Trey Hunner: Short weekly Python screencasts for $50/year
2020-11-25 17:00:00
Iâm offering a service to help life-long Python learners manufacture ah-ha moments.
PyCharm: Webinar Recording: âWhat Itâs Like To Do Instructional Videos on YouTubeâ with Nelson Jamal
2020-11-25 16:19:44
Learning new things is part and parcel of a developerâs job. Many coders, including both novices and pros, turn to videos to help them understand the basics of a programming language or grasp complex concepts. If youâd like to know how to create helpful learning videos for developers, watch the recording of this webinar hosted by Paul Everitt, PyCharm Developer Advocate, and Nelson Jamal, YouTube blogger and the creator of AmigosCode YouTube channel.
Python Morsels: Slicing
2020-11-25 16:00:00
You can slice pretty much any sequence in Python. A sequence is something that you can index from 0 to len(sequence)-1. Lists, tuples, and strings are all examples of sequences.
Stack Abuse: Matplotlib: Change Scatter Plot Marker Size
2020-11-25 14:30:00
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects.
Real Python: PyQt Layouts: Create Professional-Looking GUI Applications
2020-11-25 14:00:00
PyQtâs layout managers provide a user-friendly and productive way of arranging graphical components, or widgets, on a GUI. Laying out widgets properly will make your GUI applications look polished and professional. Learning to do so efficiently and effectively is a fundamental skill for you to get up and running with GUI application development using Python and PyQt.
Codementor: How to write concurrent code using Python's Future
2020-11-25 11:52:18
Using concurrency to speed up things is quite simple in Python using the concurrent.futures module. However, it's no silver bullet and one must know when to use it.
Codementor: Comparison of new Python web frameworks
2020-11-25 10:26:35
Python has become a popular option for building web services. Here's a list of 11 new web frameworks in Python that you should consider for your next project.
Mike Driscoll: Black Friday / Cyber Monday Comes Early in 2020
2020-11-25 06:05:41
Black Friday / Cyber Monday deals came early this year. From now until December 1st, all my books are on sale on Leanpub using the special links below. Check them out and learn something new Python today!
PyCoderâs Weekly: Issue #448 (Nov. 24, 2020)
2020-11-24 19:30:00
#448 â NOVEMBER 24, 2020 View in Browser »
Stack Abuse: Rotate Axis Labels in Matplotlib
2020-11-24 15:29:00
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects.
Real Python: Formatting Python Strings
2020-11-24 14:00:00
In this course, youâll see two items to add to your Python string formatting toolkit. Youâll learn about Pythonâs string format method and the formatted string literal, or f-string. Youâll learn about these formatting techniques in detail and add them to your Python string formatting toolkit.
Mike Driscoll: Free Python Videos from Manning Publications
2020-11-24 06:05:49
Manning Publications recently contacted me to let me know that they had some new Python videos going up on their YouTube channel.
Podcast.__init__: Pants Has Got Your Python Monorepo Covered - Episode 290
2020-11-23 23:41:29
In a software project writing code is just one step of the overall lifecycle. There are many repetitive steps such as linting, running tests, and packaging that need to be run for each project that you maintain. In order to reduce the overhead of these repeat tasks, and to simplify the process of integrating code across multiple systems the use of monorepos has been growing in popularity. The Pants build tool is purpose built for addressing all of the drudgery and for working with monorepos of all sizes. In this episode core maintainers Eric Arellano and Stu Hood explain how the Pants project works, the benefits of automatic dependency inference, and how you can start using it in your own projects today. They also share useful tips for how to organize your projects, and how the plugin oriented architecture adds flexibility for you to customize Pants to your specific needs.
Matt Layman: Episode 10 - User Auth
2020-11-23 19:42:48
On this episode, we’re going to look at working with users in a Django project. We’ll see Django’s tools for identifying users and checking what those users are permitted to do on your website.
Listen at djangoriffs.com.
Last Episode On the last episode, I explained the structure of Django application. We also talked why this structure is significant and how Django apps benefit the Django ecosystem as a tool for sharing code.
Python Morsels: What is a sequence?
2020-11-23 16:00:00
Related Article:
Stack Abuse: How to Change Plot Background in Matplotlib
2020-11-23 15:25:00
Matplotlib is one of the most widely used data visualization libraries in Python. From simple to complex visualizations, it's the go-to library for most.
NumFOCUS: Anaconda Announces Multi-Year Partnership with NumFOCUS
2020-11-23 14:44:42
A key stakeholder in the open source scientific computing ecosystem has further formalized their long-standing partnership with NumFOCUS. Anaconda, the Austin, Texas-based software development and consulting company which provides global distribution of Python and R software packages, last month introduced their Anaconda Dividend Program. Through this initiative, Anaconda plans to direct a portion of their [âŠ]
Real Python: Split Your Dataset With scikit-learn's train_test_split()
2020-11-23 14:00:00
One of the key aspects of supervised machine learning is model evaluation and validation. When you evaluate the predictive performance of your model, itâs essential that the process be unbiased. Using train_test_split() from the data science library scikit-learn, you can split your dataset into subsets that minimize the potential for bias in your evaluation and validation process.
Codementor: AutoScraper and Flask: Create an API From Any Website in Less Than 5 Minutes And with Fewer Than 20 Lines of Python
2020-11-23 13:00:28
In this tutorial, we are going to create our own e-commerce search API with support for both eBay and Etsy without using any external APIs. With the power of AutoScraper...
Zato Blog: Understanding API rate-limiting techniques
2020-11-23 12:53:00
Enabling rate-limiting in Zato means that access to Zato-based APIs can be throttled per endpoint, user or service - including options to make limits apply to specific IP addresses only - and if limits are exceeded within a selected period of time, the invocation will fail. Let's check how to use it all.
PyCharm: PyCharm 2020.3 Release Candidate
2020-11-23 12:05:00
Weâre now in the final stages of our preparations for the PyCharm 2020.3 release. This weekâs build brings a variety of bug fixes that will help ensure the new version runs smoothly. Please try this version out and let us know how weâre doing. And if you run into any issues, donât forget to submit a ticket on YouTrack.
Mike Driscoll: PyDev of the Week: Reuven Lerner
2020-11-23 06:05:58
This week we welcome Reuven Lerner (@reuvenmlerner) as our PyDev of the Week. Reuven is a trainer who teaches Python and data science all over the world. You can find out more on his website. Reuven also has a newsletter on becoming a better developer that you might enjoy.
Erik Marsja: How to use Python to Perform a Paired Sample T-test
2020-11-22 22:46:45
The post How to use Python to Perform a Paired Sample T-test appeared first on Erik Marsja.
Codementor: Building a basic HTTP Server from scratch in Python
2020-11-22 10:27:37
Build a web server from scratch using Python sockets.
Catalin George Festila: Python 3.9.0 : Physics simulation with PyBullet .
2020-11-22 09:54:28
I took a look at the documentation of this python packet to give you a brief introduction:
PyBullet is a fast and easy to use Python module for robotics simulation and machine learning, with a focus on sim-to-real transfer. With PyBullet you can load articulated bodies from URDF, SDF, MJCF and other file formats. PyBullet provides forward dynamics simulation, inverse dynamics computation,
Talk Python to Me: #291 Operational Resilience with Pyomo
2020-11-22 08:00:00
No <p> found.
Awesome Python Applications: Ajenti
2020-11-22 00:26:00
Ajenti: Web-base server admin panel for fast, extensible remote access, featuring a web terminal, text editor, file manager, and more.
PyPy Development: PyPy 7.3.3 triple release: python 3.7, 3.6, and 2.7
2020-11-21 20:32:57
 The PyPy team is proud to release the version 7.3.3 of PyPy, which includes three different interpreters:
Awesome Python Applications: Docker Compose
2020-11-21 16:41:00
Docker Compose: Docker Compose is a tool for defining and running multi-container Docker applications.
Weekly Python StackOverflow Report: (ccli) stackoverflow python report
2020-11-21 14:20:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-11-21 14:19:58 GMT
Python Circle: Implementing 2FA in Python Django using Time-Based one-time password (TOTP)
2020-11-21 10:44:53
Implementing 2FA in Django using Time-based one time password, Enhancing application security using 2FA and TOTP, Generating QR code for Authenticator Applications, Time based 6 digit token for enhanced security, Python code to generate TOTP every 30 seconds, HMAC, TOTP, Django, 2FA, QR Code, Authenticator, Security, Token, Login,
Luke Plant: Evolution of a Django Repository pattern
2020-11-20 19:42:27
First attempt - get product by primary key:
Python Software Foundation: PyPI receives AWS credits for open source projects
2020-11-20 15:48:29
 The support provided by Amazon Web Services (AWS) to the Python Software Foundation has been a core part of operating The Python Package Index since it was relaunched on an all new codebase in March 2018.
Stack Abuse: Flask Form Validation with Flask-WTF
2020-11-20 13:27:00
Form validation is one of the most essential components of data entry in web applications. Users can make mistakes, some users are malicious. With input validation, we protect our app from bad data that affects business logic and malicious input meant to harm our systems
Real Python: The Real Python Podcast â Episode #36: Sentiment Analysis, Fourier Transforms, and More Python Data Science
2020-11-20 12:00:00
Are you interested in learning more about Natural Language Processing? Have you heard of sentiment analysis? This week on the show, Kyle Stratis returns to talk about his new article titled, Use Sentiment Analysis With Python to Classify Movie Reviews. David Amos is also here, and all of us cover another batch of PyCoderâs Weekly articles and projects.
Daniel Bader: 10 Reasons To Learn Python Programming In 2018
2020-11-20 00:00:00
(short blurb)
Test and Code: 138: Mutation Testing in Python with mutmut - Anders Hovmöller
2020-11-19 21:15:00
Your test suite tells you about the quality of your code under test. Mutation testing is a way to tell you about the quality your test suite. Anders Hovmöller wrote mutmut for mutation testing in Python, and can be used with pytest, unittest, and others. In this episode, Anders explains mutation testing, how mutation testing with mutmut works, and good workflows.
Erik Marsja: How to use Square Root, log, & Box-Cox Transformation in Python
2020-11-19 19:35:21
The post How to use Square Root, log, & Box-Cox Transformation in Python appeared first on Erik Marsja.
Quansight Labs Blog: A second CZI grant for NumPy and OpenBLAS
2020-11-19 17:29:55
I am happy to announce that NumPy and OpenBLAS have once again been awarded a grant from the Chan Zuckerberg Initiative through Cycle 3 of the Essential Open Source Software for Science (EOSS) program. This new grant totaling $140,000 will fund part of our efforts to improve usability and sustainability in both projects and is excellent news for the scientific computing community, which will certainly benefit from this work downstream.
Robin Wilson: Pint + SQLAlchemy = Unit consistency and enforcement in your database
2020-11-19 10:30:44
Last week I presented a poster at PyData Global 2020, about linking the pint and SQLAlchemy libraries together to provide robust handling of units with databases in Python.
Learn PyQt: Opening links in a new window with QWebEngineView â Redirect links to a separate floating browser window
2020-11-19 10:00:00
It's quite a common practice to use QWebEngineView as a documentation (or document) browser in PyQt5 applications as it allows the documentation to be created using familiar tools. You can build HTML documentation and bundle it with your application (or host them remotely) then allow your users to browse them within the app.
Python Bytes: #208 Dependencies out of control? Just pip chill.
2020-11-19 08:00:00
No <p> found.
Matt Layman: Reordering Models - Building SaaS #80
2020-11-19 00:00:00
No <p> found.
NumFOCUS: NumFOCUS Receives Support from Heising-Simons
2020-11-18 18:36:55
NumFOCUS is grateful to announce that we received a grant award of $50,000 in October from the Heising-Simons Foundation. This generous grant funding will provide general support resources to NumFOCUS and will benefit all of our Sponsored and Affiliated Projects as well as our organizationâs several programs and initiatives. âThis grant award from Heising-Simons will [âŠ]
Python Morsels: Accepting any number of arguments to a function
2020-11-18 16:00:00
Related article:
Real Python: Python enumerate(): Simplify Looping With Counters
2020-11-18 14:00:00
In Python, a for loop is usually written as a loop over an iterable object. This means you donât need a counting variable to access items in the iterable. Sometimes, though, you do want to have a variable that changes on each loop iteration. Rather than creating and incrementing a variable yourself, you can use Pythonâs enumerate() to get a counter and the value from the iterable at the same time!
Stack Abuse: Guide to Parsing HTML with BeautifulSoup in Python
2020-11-18 13:30:00
Web scraping is programmatically collecting information from various websites. While there are many libraries and frameworks in various languages that can extract web data, Python has long been a popular choice because of its plethora of options for web scraping.
Codementor: Teaching your kid to code with Repl.it
2020-11-18 10:08:27
Your kid can learn to code at any age. Here are some easy ways to start with game development.
Quansight Labs Blog: Introduction to Design in Open Source
2020-11-18 05:00:30
This blog post is a conversation. Portions lead by Tim George are marked with TG, and those lead by Isabela Presedo-Floyd are marked with IPF.
Django Weblog: 2021 DSF Board Nominations
2020-11-18 04:35:20
It is that time again to begin to elect next yearâs Django Software Foundationâs Board of Directors!
PythonâSpeed: Reproducible and upgradable Conda environments: dependency management with conda-lock
2020-11-18 00:00:00
If your application uses Conda to manage dependencies, you face a dilemma. On the one hand, you want to pin all your dependencies to specific versions, so you get reproducible builds. On the other hand, once youâve pinned everything, upgrades become difficult: youâll start encountering the infamous The following specifications were found to be incompatible with each other error.
Mike Driscoll: ReportLab 101 â Using the textobject (Video)
2020-11-17 21:45:07
In this video tutorial, you will learn all about using ReportLabâs textobject for manipulating and formatting text on the canvas.
PyCoderâs Weekly: Issue #447 (Nov. 17, 2020)
2020-11-17 19:30:00
#447 â NOVEMBER 17, 2020 View in Browser »
Real Python: Regular Expressions and Building Regexes in Python
2020-11-17 14:00:00
In this course, youâll explore regular expressions, also known as regexes, in Python. A regex is a special sequence of characters that defines a pattern for complex string-matching functionality.
Codementor: Python code formatters
2020-11-17 13:34:26
Look at the most popular code formatters in Python and help you take a decision on which one you should adopt.
Podcast.__init__: Scale Your Data Science Teams With Machine Learning Operations Principles - Episode 289
2020-11-17 01:46:22
Building a machine learning model is a process that requires well curated and cleaned data and a lot of experimentation. Doing it repeatably and at scale with a team requires a way to share your discoveries with your teammates. This has led to a new set of operational ML platforms. In this episode Michael Del Balso shares the lessons that he learned from building the platform at Uber for putting machine learning into production. He also explains how the feature store is becoming the core abstraction for data teams to collaborate on building machine learning models. If you are struggling to get your models into production, or scale your data science throughput, then this interview is worth a listen.
Robin Wilson: A Python sqlite3 context manager gotcha
2020-11-16 19:35:06
Iâve neglected this blog for a while â partly due to the chaos of 2020 (which is not great), and partly due to being busy with work (which is good!). Anyway, Iâm starting to pick it up again, and I thought Iâd start with something that caught me out the other day.
PyCharm: Interview: Nelson Jamal for this weekâs webinar on YouTube content
2020-11-16 17:20:23
Ever thought about publishing technology videos on YouTube but donât really know where to start or how to get followers? This Thursday we are hosting Nelson Jamal to cover this very topic. Nelson has a broad catalog of popular, well-done videos â including JetBrains products â and went from 5k subscribers in January to over 100k eleven months later.
Python Morsels: How to Make a Function
2020-11-16 16:00:00
Related article:
Real Python: Python and PyQt: Creating Menus, Toolbars, and Status Bars
2020-11-16 14:00:00
When it comes to developing graphical user interface (GUI) applications with Python and PyQt, some of the most useful and versatile graphical elements that youâll ever use are menus, toolbars, and status bars.
Codementor: How and why I built Trade Management System
2020-11-16 13:46:49
About me
I am Sulav Sapkota, a pythonista.
My first programming language was Java. Having learnt the basics of Java I moved to Python a few years ago. I loved python and now it is my primary...
Learn PyQt: The QResource System â Using the QResource system to package additional data with your applications
2020-11-16 13:00:00
Building applications takes more than just code. Usually your interface will need icons for actions, you may want to add illustrations or branding logos, or perhaps your application will need to load data files to pre-populate widgets. These data files are separate from the source code of your application but will ultimately need to be packaged and distributed with it in order for it to work.
Janusworx: A Day of Updates
2020-11-16 12:38:36
Could not focus much on programming today. So decided on doing things with Python programs.
EuroPython: EuroPython âAsk me Anythingâ - November Edition
2020-11-16 09:51:10
Dear Community,
Mike Driscoll: PyDev of the Week: Max Humber
2020-11-16 06:05:00
This week we welcome Max Humber (@maxhumber) as our PyDev of the Week! Max is the creator of gazpacho, a âsimple, fast, and modern web scraping libraryâ written in Python. Max is also an instructor at OâReilly media. You can see what other projects Max is working on over on Github.
Matt Layman: Make A Hugo Static Blog Inside A Django App
2020-11-16 00:00:00
I have a side project and I’d like to do some content marketing to potential customers to show how my product is useful. To do this, I need a blog for my project.
Maybe you need a blog for your project too. Have you thought about where your blog will exist on the internet? For me, I considered two choices:
Use a subdomain like blog.mysite.com. Use a route style like mysite.
Zato Blog: Complex cloud API integrations made easy
2020-11-15 20:16:30
Cloud-based connections are a staple of modern API integrations - this article shows how, in just a few lines of Python code, Zato makes their usage easy, convenient and extremely effective.
Nikola: Nikola v8.1.2 is out!
2020-11-15 13:35:00
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.1.2. This release has a bunch of new features, fixes some bugs, and improves compatibility with some dependencies and Windows.
IslandT: Find the averages of an array with Python
2020-11-15 04:31:44
Itâs the academic yearâs end, the fateful moment of your school report. The averages must be calculated. All the students come to you and entreat you to calculate their average for them. Create a python function that will return the averages of a student.
Evennia: Evennia 0.9.5 released!
2020-11-14 19:01:37
Â
Weekly Python StackOverflow Report: (ccl) stackoverflow python report
2020-11-14 13:45:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-11-14 13:44:02 GMT
Daniel Bader: Basic Object-Oriented Programming (OOP) Concepts in Python
2020-11-14 00:00:00
In this article youâll learn the fundamentals of object-oriented programming (OOP) in Python and how to work with classes, objects, and constructors.
Mike Driscoll: Pythonâs Creator Guido Van Rossom Joins Microsoft
2020-11-13 16:59:15
Guido van Rossum announced yesterday that he is coming out of retirement to join Microsoftâs Developer Division:
Stack Abuse: How to Concatenate Two Lists in Python
2020-11-13 13:32:00
List concatenation the act of creating a single list from multiple smaller lists by daisy chaining them together.
Janusworx: Git the Branch
2020-11-13 13:25:00
I started playing with a way to control Git via Python. Kushal had asked me to write a program, that would show me the local git branches. So here it is! I call it Git the Branch. (painfully, punny, I know :))
Real Python: The Real Python Podcast â Episode #35: Security and Authorization in Your Python Web Applications
2020-11-13 12:00:00
So you built a web application in Python. Now how are you going to authorize users? Security goes beyond authentication. Who gets to do what, where, and when? This week on the show, we have Sam Scott, chief technology officer from Oso. Oso is an open-source policy engine for authorization that you embed in your application.
Rene Dudfield: Midi musical intrument controllers and synthesizers with python and pygame
2020-11-13 08:38:09
Musical Instrument Digital Interface (Midi), is for letting digital musical instruments talk to each other in 'real time'. It came from the early 80s, and is still used today. The main idea is that rather than sending audio data, it sends small control messages. This is great for fast real time low bandwidth communication.
Talk Python to Me: #290 Side Hustles for Data Scientists
2020-11-13 08:00:00
No <p> found.
Python Bytes: #207 FastAPI as a web platform (not just APIs)
2020-11-13 08:00:00
No <p> found.
Quansight Labs Blog: Querying multiple backends with Ibis
2020-11-13 06:00:00
In our recent Ibis post, we discussed querying & retrieving data using a familiar Pandas-like interface. That discussion focused on the fluent API that Ibis provides to query structure from a SQLite databaseâin particular, using a single specific backend. In this post, we'll explore Ibis's ability to answer questions about data using two different Ibis backends.
Brett Cannon: Unravelling `is` and `is not`
2020-11-13 04:17:57
As part of this blog series on Python's syntactic sugar, I said in the post on unary arithmetic operators that it might be the most boring post in this series. I think I was wrong. đ
Wingware: Wing Python IDE 7.2.7 - November 13, 2020
2020-11-13 01:00:00
Wing 7.2.7 improves running unit tests for Django and other testing frameworks, fixes Command-Alt-Click to add multiple selections on macOS, changes Goto Source in the Testing tool to display the innermost project file stack frame, and makes a number of other usability improvements.
Stack Abuse: How to Plot Inline and With Qt - Matplotlib with IPython/Jupyter Notebooks
2020-11-12 19:58:46
There are a number of different data visualization libraries for Python. Out of all of the libraries, however, Matplotlib is easily the most popular and widely used one. With Matplotlib you can create both simple and complex visualizations.
Quansight Labs Blog: Manylinux1 is obsolete, manylinux2010 is almost EOL, what is next?
2020-11-12 19:00:06
The basic installation format for users who install packages via pip is the wheel format. Wheel names are composed of four parts: a package-name-and-version tag (which can be further broken down), a Python tag, an ABI tag, and a platform tag. More information on the tags can be found in PEP 425. So a package like NumPy will be available on PyPI as numpy-1.19.2-cp36-cp36m-win_amd64.whl for 64-bit windows and numpy-1.19.2-cp36-cp36m-macosx_10_9_x86_64.whl for macOS. Note that only the plaform tag win_amd64 or macosx_10_9_x86_64 differs.
Python Engineering at Microsoft: Python in Visual Studio Code â November 2020 Release
2020-11-12 18:32:43
We are pleased to announce that the November 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
Python Morsels: Positional vs Keyword Arguments
2020-11-12 16:00:00
Related article:
Django Weblog: Nominations for 2020 Malcolm Tredinnick Memorial Prize
2020-11-12 14:39:15
Hello Everyone!
Rene Dudfield: Finger painting with multi-touch in python using pygame 2
2020-11-12 11:17:13
pygame 2 has support for Multi-Touch. You know, where it can track multiple fingers. I've made an app and tutorial to show off the new Multi-Touch features.
Janusworx: Starting Work on Git-the-Branch
2020-11-12 09:46:12
Aiming to write a tool using this which will show all the git branches in the current directory and the last commit date on those branches (and only the local branches :))
Codementor: Why Python Is My Favourite For Test Automation?
2020-11-12 09:28:40
When it comes to Selenium test automation, Python automation testing is our goto choice. In this blog, we explain why automation testing using Python is simply the best.
Matt Layman: WhiteNoise Shenanigans - Building SaaS #79
2020-11-12 00:00:00
No <p> found.
Python Engineering at Microsoft: Introducing the Jupyter Extension for VS Code
2020-11-11 22:17:56
Weâre excited to announce that weâre releasing the new Jupyter extension for Visual Studio Code today! The Jupyter extension is the latest step in our journey to bring the power of Jupyter Notebook into VS Code for a variety of languages and scenarios.
Learn PyQt: Using QProcess to run external programs â Run background programs without impacting your UI
2020-11-11 22:00:00
So far we've looked at how to run work in separate threads, allowing you to do complex tasks without interrupting your UI. This works great when using Python libraries to accomplish tasks, but sometimes you want to run external applications, passing parameters and getting the results.
Codementor: How I learned JavaScript
2020-11-11 17:22:43
How i learned JavaScript
Luke Plant: Everything is an X
2020-11-11 16:00:00
âEverything is an Xâ is a very high level pattern that you see applied in the design of lots of systems, including programming languages and user interfaces. It has a lot of advantages, and some disadvantages. Iâll discuss some of these, then look at some examples, which will be necessary to understand what Iâm really talking about.
Reuven Lerner: Reminder: My âIntro to SQLâ course is this Sunday!
2020-11-11 14:33:16
This is just a reminder that on Sunday, Iâll be teaching a live, 4-hour introductory course on databases and SQL. If you havenât ever worked with databases before, then this will give you the push that you need to understand how they work, and how to work effectively with them.
Real Python: PyPy: Faster Python With Minimal Effort
2020-11-11 14:00:00
Python is one of the most popular programming languages among developers, but it has certain limitations. For example, depending on the application, it can be up to 100 times as slow as some lower-level languages. Thatâs why many companies rewrite their applications in another language once Pythonâs speed becomes a bottleneck for users. But what if there was a way to keep Pythonâs awesome features and improve its speed? Enter PyPy.
Janusworx: Poem Feed
2020-11-11 13:51:56
This is a tiny little niche thing, I built all for my ownsome. It all started, when I got hooked on reading the daily poem, on the Poetry Foundation page.
Stack Abuse: How to Deploy a Django Application to Heroku with Git CLI
2020-11-11 13:43:00
Heroku is a cloud platform that provides hosting services. It supports several programming languages including PHP, Node.js, and Python. It is Platform-as-a-Service (PaaS) which allows you to manage website applications while it takes care of your servers, networks, storage and other cloud components.
Janusworx: A Good First Day
2020-11-11 13:35:10
Was a really good day to ease back into Python today. I got my VS Code up and running. I got a personal Gitea instance up, to host my code, from where I will syndicate it to Github and Gitlab. And finally I got a projects page up, to slowly fill up with projects.
Python Software Foundation: Rami Chowdhury Awarded the PSF Community Service Award for Q3 2020
2020-11-11 08:22:54
Rami Chowdhury Entrepreneur, Software Engineer, DC Python User group co-organizer, and volunteer coordinator of PyCon US, has been awarded the Python Software Foundation 2020 Q3 Community Service Award.
Janusworx: Getting Back on the Horse
2020-11-11 04:19:28
Ok, one more time. I know there have been lots of one more times before, but I am going to keep at this until I get proficient enough at this to land a job :) And while I may not be brainy enough, the one thing I can do is be persistent enough to show up.
Python Morsels: Calling a Function
2020-11-11 01:29:18
Related article:
PyCoderâs Weekly: Issue #446 (Nov. 10, 2020)
2020-11-10 19:30:00
#446 â NOVEMBER 10, 2020 View in Browser »
Real Python: Handling Missing Keys With the Python defaultdict Type
2020-11-10 14:00:00
The Python defaultdict type behaves almost exactly like a regular Python dictionary, but if you try to access or modify a missing key, then defaultdict will automatically create the key and generate a default value for it. This makes defaultdict a valuable option for handling missing keys in dictionaries.
Podcast.__init__: Making The Case For A (Semi) Formal Specification Of CPython - Episode 288
2020-11-10 03:03:18
The CPython implementation has grown and evolved significantly over the past ~25 years. In that time there have been many other projects to create compatible runtimes for your Python code. One of the challenges for these other projects is the lack of a fully documented specification of how and why everything works the way that it does. In the most recent Python language summit Mark Shannon proposed implementing a formal specification for CPython, and in this episode he shares his reasoning for why that would be helpful and what is involved in making it a reality.
PythonâSpeed: Optimizing your code is not the same as parallelizing your code
2020-11-10 00:00:00
Youâre processing a large amount of data with Python, the processing seems easily parallelizableâand itâs sloooooooow.
Anwesha Das: How to use Yubikey or any GPG smartcard in Thunderbird 78
2020-11-09 15:33:36
Thunderbird is the free and open source email client by Mozilla Foundation. I have been using it for some years now. Till now the Thunderbird users had to use an extension Enigmail to use GnuPG. Thunderbird 78 now uses a different implementation of OpenPGP called RNP.
Real Python: Use Sentiment Analysis With Python to Classify Movie Reviews
2020-11-09 14:00:00
Sentiment analysis is a powerful tool that allows computers to understand the underlying subjective tone of a piece of writing. This is something that humans have difficulty with, and as you might imagine, it isnât always so easy for computers, either. But with the right tools and Python, you can use sentiment analysis to better understand the sentiment of a piece of writing.
Chris Moffitt: Comprehensive Guide to Grouping and Aggregating with Pandas
2020-11-09 13:25:00
One of the most basic analysis functions is grouping and aggregating data. In some cases, this level of analysis may be sufficient to answer business questions. In other instances, this activity might be the first step in a more complex data science analysis. In pandas, the groupby function can be combined with one or more aggregation functions to quickly and easily summarize data. This concept is deceptively simple and most new pandas users will understand this concept. However, they might be surprised at how useful complex aggregation functions can be for supporting sophisticated analysis.
Stack Abuse: Generating Command-Line Interfaces (CLI) with Fire in Python
2020-11-09 13:15:00
A Command-line interface (CLI) is a way to interact with computers using textual commands.
Talk Python to Me: #289 Discovering exoplanets with Python
2020-11-09 08:00:00
No <p> found.
Mike Driscoll: PyDev of the Week: Mary Chester-Kadwell
2020-11-09 06:05:22
This week we welcome Mary Chester-Kadwell (@marycktech) as our PyDev of the Week! Mary is a software engineer at Cambridge University Library. You can see some of what sheâs up to over on Github.
Montreal Python User Group: MontrĂ©al-Python #81â Libation Ocre
2020-11-09 05:00:00
Surrounded by a cloud of nutmeg and cinnamon fragrances, the sorceress puts the final touch to her creation: a potent potion of Pythonism, which promises immunity against perverted classes hierarchies and neverending compilations. Join us on November 30 at 6pm for MontrĂ©al-Python 81 â Ochre Libation â so that you too can benefit from the antidote.
Weekly Python StackOverflow Report: (ccxlix) stackoverflow python report
2020-11-08 13:04:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-11-07 18:30:25 GMT
Python Bytes: #206 Python dropping old operating systems is normal!
2020-11-08 08:00:00
No <p> found.
Anwesha Das: Using Mailvelope with Yubikey in Linux
2020-11-07 16:01:40
Mailvelope is an extension on web browsers to send end to end encrypted emails. This is a good option available to the users to send end to end encrypted without changing the email service they use. It is licensed under AGPL v3, making it Free and Open Source software. The code is there in Github for the community to have a look. This can be added as an extension to the - Chrome, Firefox and Edge browsers to securely encrypt emails with PGP using your email providers. â Mailvelope does provide end to end encryption for the email content but does not protect the metadata (subject, IP address of the sender) from third parties. As most of the email encryption tools, it does not work on the mobile browser. There is a detailed user guide on Mailvelope from the Freedom of the Press Foundation, which is really helpful for the new users. â By default, Mailvelope uses its own keyring. To use my Yubikey along with GnuPG keyring, I had to take the following steps: â
PyCharm: PyCharm 2020.3 EAP #4: Pair Programming, Intelligent Text Proofreading, and More
2020-11-06 12:24:39
The fourth build of PyCharm 2020.3 is now available in the Early Access Program.
Real Python: The Real Python Podcast â Episode #34: The Python Modulo Operator & Managing Data With SQLite and SQLAlchemy
2020-11-06 12:00:00
Are you ready to move beyond flat files for your data in Python? Maybe you're not sure where to start with databases and SQL. This week on the show, David Amos returns with another batch of PyCoderâs Weekly articles and projects. We cover a Real Python article about managing data with SQLite and SQLAlchemy.
Codementor: Guide To Frontend Testing Using Django
2020-11-06 07:08:36
Front-end testing should always be incorporated in the workflows. This guide will teach you the basics of front end testing using Django.
Codementor: [Part 2/2] Persist data to the Ethereum blockchain using Python, Truffle, and Ganache
2020-11-06 01:58:49
The previous post (https://dev.to/gcrsaldanha/deploy-a-smart-contract-on-ethereum-with-python-truffle-and-web3py-5on) demonstrated how to write a simple smart contract with Solidity and deploy it...
Codementor: [Part 1/2] Deploy a Smart Contract on Ethereum with Python, Truffle and web3py
2020-11-06 01:58:21
In this tutorial, we'll write a simple smart contract, deploy it to a personal Ethereum blockchain, and call the contract from a Python script.
Codementor: Using Python Generators to avoid extra service calls
2020-11-06 01:54:55
How to use Python generators to reduce the number of calls to other services.
Dataquest: Beginner Python Tutorial: Analyze Your Personal Netflix Data
2020-11-05 22:50:16
How much time have I spent watching The Office?
PyCharm: Webinar: âWhat Itâs Like To Do Instructional Videos on YouTubeâ with Nelson Jamal
2020-11-05 21:13:06
Want to learn about producing technical videos on YouTube and gaining an audience? Nelson Jamal, who has experience with both, joins us to take a deep look at his soon-to-be-released PyCharm tutorial on YouTube: planning, recording, and publishing. Heâll compare these with some of his other popular videos and what heâs learned along the way.
Codementor: How to Learn Programming Online: Best Websites to Start With
2020-11-05 16:18:15
In a constantly changing world, more and more new professions appear and gain popularity. But there is one of a few industries that remains popular decades later. It is programming.
Test and Code: 137: Become an Author - Matt Harrison interviews Brian Okken
2020-11-05 16:00:00
Matt Harrison, author of many Python books, is putting together a course, Effective Book Authoring, to help other people write and publish books. As part of this course, he's including interviews with people who have already written books, including me. This is that interview.
Python Morsels: Python Doesn't Have Type Coercion
2020-11-05 16:00:00
Many programming languages have something called type coercion; it's where the language will implicitly convert one object to another type of object in certain circumstances.
PythonâSpeed: Poetry vs. Docker caching: Fight!
2020-11-05 00:00:00
Docker packaging is an exercise in shoving square pegs into round holes, over and over and over again.
Spyder IDE: New features in Spyder 4's new debugger!
2020-11-05 00:00:00
IPython is a great improvement over the standard Python interpreter, bringing many enhancements such as autocompletion and "magic" commands. When debugging, however, many of these features become inaccessible. With Spyder, we aim to bring back these capabilities and more for a truly premium debugging experience! (And believe me, I use this debugger a lot, and not only because I write code that might contain bugs :p).
Matt Layman: Create A Form Template - Building SaaS #78
2020-11-05 00:00:00
In this episode, I created a template for one of my new forms on the new social media app that I’m building. We talked about context data, template styling, and special considerations for forms in templates.
I had an empty template for the invite sending form to begin.
I filled in a first attempt at the template with a header and displaying form errors. While building that, I added some context information that was needed for the display.
Caktus Consulting Group: My Favorite Technical Blogs and Mailing Lists
2020-11-04 19:16:51
I keep up with what's happening in my field by following a number of blogs and an occasional email list. I don't read everything posted in all of these, but by scanning the topics in a feed reader, I can keep up with what's going on, without wasting a lot of time.
Codementor: Introduction to Scrapy: Web Scraping in Python
2020-11-04 17:30:13
Scrapy is an open-source web scraping framework, and it does a lot more than just a library. It manages requests, parses HTML webpages, collects data, and saves it to the desired format. Hence, you...
Real Python: Caching in Python Using the LRU Cache Strategy
2020-11-04 14:00:00
There are many ways to achieve fast and responsive applications. Caching is one approach that, when used correctly, makes things much faster while decreasing the load on computing resources. Pythonâs functools module comes with the @lru_cache decorator, which gives you the ability to cache the result of your functions using the Least Recently Used (LRU) strategy. This is a simple yet powerful technique that you can use to leverage the power of caching in your code.
Stack Abuse: Gradient Descent in Python: Implementation and Theory
2020-11-04 13:30:00
This tutorial is an introduction to a simple optimization technique called gradient descent, which has seen major application in state-of-the-art machine learning models.
Python Insider: Python 3.10.0a2 is now available for testing
2020-11-04 09:59:54
The engines of the secret release manager machine have finished producing a new pre-release. Go get it here:
NumFOCUS: JupyterCon 2020: Code of Conduct Reports
2020-11-04 00:10:51
Following the reports to the NumFOCUS Code-of-Conduct committee on Jeremy Howardâs keynote at JupyterCon 2020, and the controversy that followed, the NumFOCUS Code of Conduct Committee issued a public apology to Jeremy Howard and escalated the case to the board of directors. The context In his keynote at JupyterCon 2020, Jeremy Howard gave a point-by-point rebuttal of [âŠ]
Matt Layman: User Authentication
2020-11-04 00:00:00
No <p> found.
PyCoderâs Weekly: Issue #445 (Nov. 3, 2020)
2020-11-03 19:30:00
#445 â NOVEMBER 3, 2020 View in Browser »
Real Python: Simulating Real-World Processes in Python With SimPy
2020-11-03 14:00:00
The real world is full of systems, like airports and highways, that frequently experience congestion and delay. When these systems are not optimized, their inefficiency can lead to countless unhappy customers and hours of wasted time. In this course, youâll learn how to use Pythonâs simpy framework to create virtual simulations that will help you solve problems like these.
Stack Abuse: Python: Slice Notation on Tuple
2020-11-03 13:30:00
The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively.
PyCharm: Letâs Celebrate PyCharmâs 10th!
2020-11-03 11:12:37
Codementor: Creating a Speech Recognition Program with Python & Google API
2020-11-03 09:47:59
Learn step by step how to perform speech recognition, voice to text, in Python using the Google Api
Mike Driscoll: OpenPyXL â Working with Microsoft Excel Using Python
2020-11-03 06:05:09
The business world uses Microsoft Office. Their spreadsheet software solution, Microsoft Excel, is especially popular. Excel is used to store tabular data, create reports, graph trends, and much more. Before diving into working with Excel with Python, letâs clarify some special terminology:
Podcast.__init__: Bringing Artificial Intelligence Projects From Idea To Production - Episode 287
2020-11-03 00:09:12
Artificial intelligence applications can provide dramatic benefits to a business, but only if you can bring them from idea to production. Henrik Landgren was behind the original efforts at Spotify to leverage data for new product features, and in his current role he works on an AI system to evaluate new businesses to invest in. In this episode he shares advice on how to identify opportunities for leveraging AI to improve your business, the capabilities necessary to enable aa successful project, and some of the pitfalls to watch out for. If you are curious about how to get started with AI, or what to consider as you build a project, then this is definitely worth a listen.
ABlog for Sphinx: ABlog v0.10.12 released
2020-11-03 00:00:00
Pull Requests merged in:
Doug Hellmann: sphinxcontrib-spelling 7.0.1
2020-11-02 20:46:36
Continue reading "sphinxcontrib-spelling 7.0.1"
Tryton News: Tryton Release 5.8
2020-11-02 19:00:02
Person drawing a ghost1280Ă853 169 KB
PyCharm: Early Access PyCharm Podcast â Episode 4: The One Where We Talk About How It All Started
2020-11-02 14:17:52
Welcome to Early Access PyCharm, a brand-new podcast that goes behind the scenes of how the PyCharm IDE is made and all the thinking that goes into it. In the upcoming episodes, you will hear from the people who work daily to make you more productive and your code even better.
Real Python: Fourier Transforms With scipy.fft: Python Signal Processing
2020-11-02 14:00:00
The Fourier transform is a powerful tool for analyzing signals and is used in everything from audio processing to image compression. SciPy provides a mature implementation in its scipy.fft module, and in this tutorial, youâll learn how to use it.
Stack Abuse: Python: How to Flatten a List of Lists
2020-11-02 13:47:00
A list is the most flexible data structure in Python. Whereas, a 2D list which is commonly known as a list of lists, is a list object where every item is a list itself - for example: [[1,2,3], [4,5,6], [7,8,9]].
The Digital Cat: Public key cryptography: SSL certificates
2020-11-02 13:00:00
In the context of public key cryptography, certificates are a way to prove the identity of the owner of a public key.
Django Weblog: Django bugfix releases issued: 3.1.3, 3.0.11, and 2.2.17
2020-11-02 08:15:36
Today we've issued 3.1.3, 3.0.11, and 2.2.17 bugfix releases.
Mike Driscoll: PyDev of the Week: Kevin Thomas
2020-11-02 06:05:53
This week we welcome Kevin Thomas (@mytechnotalent) as our PyDev of the Week. Kevin is the author of Python for Kids, which is âa comprehensive and FREE Online Python Development course FOR KIDS utilizing an official BBC micro:bit Development Boardâ.
Kushal Das: Johnnycanencrypt 0.4.0 released
2020-11-02 04:20:57
Last night I released 0.4.0 of johnnycanencrypt module for OpenPGP in Python. This release has one update in the creating new key API. Now, we can pass one single UID as a string, or multiple in a list, or even pass None to the key creation method. This means we can have User ID-less certificates, which sequoia-pgp allows.
The No TitleŸ Tech Blog: Just updated - Optimize Images v1.4.0
2020-11-01 23:41:00
Optimize Images has a new version just released on PyPI! Besides the usual clean and polish, this release includes two new features that may be of interest for you, especially if you are using this utility on servers.
Kushal Das: High load average while package building on Fedora 33
2020-11-01 04:18:03
Enabling Link time optimization (LTO) with rpmbuild is one of the new features of Fedora 33. I read the changeset page once and went back only after I did the Tor package builds locally.
LAAC Technology: Five Advanced Django Tips
2020-11-01 00:00:00
Many of the âDjango tipsâ articles that I see online are geared towards beginners not intermediate or advanced Django developers. I hope to demonstrate some of Djangoâs depth, specifically around the ORM, and youâll need to have an intermediate understanding of Django. Letâs start by looking at the example models.
Weekly Python StackOverflow Report: (ccxlviii) stackoverflow python report
2020-10-31 15:39:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-31 15:38:41 GMT
Catalin George Festila: Python 3.9.0 : Testing twisted python module - part 001 .
2020-10-31 10:44:43
Today I tested two python modules named: twisted and twisted[tls].
Twisted is an event-driven network programming framework written in Python and licensed under the MIT License.
Twisted projects variously support TCP, UDP, SSL/TLS, IP multicast, Unix domain sockets, many protocols (including HTTP, XMPP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more. Twisted is based on the event-driven
Zero to Mastery: Python Monthly đ»đ October 2020
2020-10-31 10:00:00
11th issue of Python Monthly! Read by 20,000+ Python developers every month. Keeping you up to date with the Python industry ecosystem, without wasting your valuable time.
Talk Python to Me: #288 10 tips to move from Excel to Python
2020-10-31 08:00:00
No <p> found.
Python Bytes: #205 This is going to be a little bit awkward
2020-10-31 08:00:00
No <p> found.
Kushal Das: Alembic migration errors on SQLite
2020-10-31 05:15:47
We use SQLite3 as the database in SecureDrop. We use SQLAlchemy to talk the database and Alembic for migrations. Some of those migrations are written by hand.
NumFOCUS: Public Apology to Jeremy Howard
2020-10-30 18:51:02
We, the NumFOCUS Code of Conduct Enforcement Committee, issue a public apology to Jeremy Howard for our handling of the JupyterCon 2020 reports. We should have done better. We thank you for sharing your experience and we will use it to improve our policies going forward. We acknowledge that it was an extremely stressful experience, [âŠ]
PythonClub - A Brazilian collaborative blog about Python: Fazendo backup do banco de dados no Django
2020-10-30 13:40:00
Em algum momento, durante o seu processo de desenvolvimento com Django, pode ser que surja a necessidade de criar e restaurar o banco de dados da aplicação. Pensando nisso, resolvi fazer um pequeno tutorial, båsico, de como realizar essa operação.
Real Python: The Real Python Podcast â Episode #33: Going Beyond the Basic Stuff With Python and Al Sweigart
2020-10-30 12:00:00
You probably have heard of the bestselling Python book, "Automate the Boring Stuff with Python." What are the next steps after starting to dabble in the Python basics? Maybe you've completed some tutorials, created a few scripts, and automated repetitive tasks in your life. This week on the show, we have author Al Sweigart to talk about his new book, "Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code."
Reuven Lerner: Join the data revolution with my âIntro to SQLâ course!
2020-10-30 02:15:00
Have you heard? Data is âthe new oilâ â meaning, data is the most valuable and important thing in the modern world. Which means that if you can store, retrieve, and organize your data, then you (and your company) are positioned for greater success.
Python Morsels: Data structures contain pointers
2020-10-29 15:00:00
Watch First:
Stack Abuse: How to Sort a Dictionary by Value in Python
2020-10-29 12:30:00
A dictionary in Python is a collection of items that stores data as key-value pairs. In Python 3.7 and later versions, dictionaries are sorted by the order of item insertion. In earlier versions, they were unordered.
Matt Layman: Sending Invites - Building SaaS #77
2020-10-29 00:00:00
In this episode, I worked on the form that will send invites to users for the new social network app that I’m building. We built the view, the form, and the tests and wired a button to the new view.
The first thing that we do was talk through the new changes since the last stream. After discussing the progress, I took some time to cover the expected budget for the application to get it to an MVP.
PyCharm: PyCharm 2020.3 EAP #3
2020-10-28 20:46:44
The third build of PyCharm 2020.3 is now available in the Early Access Program with features and fixes for a smoother, more productive experience.
Stack Abuse: Change Tick Frequency in Matplotlib
2020-10-28 19:55:15
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects.
Python Engineering at Microsoft: Python in Visual Studio Code â October 2020 Release
2020-10-28 19:03:07
We are pleased to announce that the October 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
Python Software Foundation: Key generation and signing ceremony for PyPI
2020-10-28 16:38:50
On Friday October 30th at 11:15 AM EDT the Python Software Foundation will be live streaming a remote key generation and signing ceremony to bootstrap The Update Framework for The Python Package Index. You can click here to see what time this is in your local timezone.
Real Python: Get Started With Django Part 3: Django View Authorization
2020-10-28 14:00:00
In part 1 of this series, you learned the fundamentals of Django models and views. In part 2, you learned about user management. In this tutorial, youâll see how to combine these concepts to do Django view authorization and restrict what users can see and do in your views based on their roles.
Will Kahn-Greene: Everett v1.0.3 released!
2020-10-28 13:00:00
Everett is a configuration library for Python apps.
Peter Bengtsson: Generating random avatar images in Django/Python
2020-10-28 12:10:15
tl;dr; <img src="/avatar.random.png" alt="Random avataaar"> generates this image:
Codementor: Dissecting a Web stack
2020-10-28 11:20:51
A layer-by-layer review of the components of a web stack and the reasons behind them
Codementor: Introducing AutoScraper: A Smart, Fast and Lightweight Web Scraper For Python
2020-10-28 11:04:26
Scraping the web just got a lot more automated
Stefan Scherfke: Raise ⊠from ⊠in Python
2020-10-28 10:23:00
When you recently upgraded to pylint 2.6.0, you may have stumbled across a new warning:
Reuven Lerner: Now playing on YouTube: Answers to your Python questions
2020-10-28 07:28:12
Over the last year, Iâve gotten increasingly active on my YouTube channel, https://YouTube.com/reuvenlerner. Each week, I upload 1-2 new videos, typically answering questions that Iâve gotten in my corporate training classes or from people online â via e-mail, or on Twitter (@reuvenmlerner).
Exxact Corp: PyTorch 1.7.0 Now Available
2020-10-27 21:30:57
PyTorch is a widely used, open source deep learning platform used for easily writing neural network layers in Python enabling a seamless workflow from research to production. Based on Torch, PyTorch has become a powerful machine learning framework favored by esteemed researchers around the world.
PyCoderâs Weekly: Issue #444 (Oct. 27, 2020)
2020-10-27 19:30:00
#444 â OCTOBER 27, 2020 View in Browser »
Python Morsels: Equality vs Identity
2020-10-27 15:00:00
Watch First:
Real Python: Creating a Binary Search in Python
2020-10-27 14:00:00
Binary search is a classic algorithm in computer science. It often comes up in programming contests and technical interviews. Implementing binary search turns out to be a challenging task, even when you understand the concept. Unless youâre curious or have a specific assignment, you should always leverage existing libraries to do a binary search in Python or any other language.
Stack Abuse: How to Set Axis Range (xlim, ylim) in Matplotlib
2020-10-27 13:15:00
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects.
Artem Golubin: On code isolation in Python
2020-10-27 12:54:42
I started learning Python in 2009, and I had a pretty challenging task and somewhat unusual use of Python. I was working on a desktop application that used PyQT for GUI and Python as the main language.
Python Software Foundation: Python Software Foundation Fellow Members for Q3 2020
2020-10-27 10:47:41
It's that time of year! Let us welcome the new PSF Fellows for Q3! The following people continue to do amazing things for the Python community:
Codementor: Retrieving Email and Phone No. for a Desktop App from Google Contacts using Python and Gmail API | by Aritra Roy | Analytics Vidhya | Medium
2020-10-27 03:54:50
Though python has been created by Guido van Rossum as a hobby project in the 90âs decade, it has become the most popular language now. Due to its ability to work in various fields and easy syntax...
Podcast.__init__: Power Up Your Java Using Python With JPype - Episode 286
2020-10-26 22:43:18
Python and Java are two of the most popular programming languages in the world, and have both been around for over 20 years. In that time there have been numerous attempts to provide interoperability between them, with varying methods and levels of success. One such project is JPype, which allows you to use Java classes in your Python code. In this episode the current maintainer, Karl Nelson, explains why he chose it as his preferred tool for combining these ecosystems, how he and his team are using it, and when and how you might want to use it for your own projects. He also discusses the work he has done to enable use of JPype on Android, and what is in store for the future of the project. If you have ever wanted to use a library or module from Java, but the rest of your project is already in Python, then this episode is definitely worth a listen.
NumFOCUS: TARDIS Joins NumFOCUS as a Sponsored Project
2020-10-26 18:13:17
NumFOCUS is pleased to announce the newest addition to our fiscally sponsored projects: TARDIS TARDIS is an open-source, Monte Carlo based radiation transport simulator for supernovae ejecta. TARDIS simulates photons traveling through the outer layers of an exploded star including relevant physics like atomic interactions between the photons and the expanding gas. The TARDIS collaboration [âŠ]
Reuven Lerner: Last chance: Weekly Python Exercise B3 starts tomorrow!
2020-10-26 15:01:08
Want to improve your Python skills? Looking for a way to practice on a regular basis, backed up by a community of learners?
Test and Code: 136: Wearable Technology - Sophy Wong
2020-10-26 14:15:00
Wearable technology is not just smart consumer devices like watches and activity trackers.
Real Python: Python Modulo in Practice: How to Use the % Operator
2020-10-26 14:00:00
Python supports a wide range of arithmetic operators that you can use when working with numbers in your code. One of these operators is the modulo operator (%), which returns the remainder of dividing two numbers.
Stack Abuse: Seaborn Scatter Plot - Tutorial and Examples
2020-10-26 13:30:00
Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualization.
Stack Abuse: What Does if __name__ == "__main__": Do in Python?
2020-10-26 12:17:00
It's common to see if __name__ == "__main__" in Python scripts we find online, or one of the many we write ourselves.
Kushal Das: Running SecureDrop inside of podman containers on Fedora 33
2020-10-26 05:46:27
Last week, while setting up a Fedora 33 system, I thought of running the SecureDrop development container there, but using podman instead of the Docker setup we have.
Mike Driscoll: PyDev of the Week: William Horton
2020-10-26 05:05:56
This week we welcome William Horton (@hortonhearsafoo) as our PyDev of the Week! William is a Senior Software Engineer at Compass and has spoken at several local Python conferences. He is a contributor to PyTorch and fastai.
Zero-with-Dot (Oleg ƻero): Multi-Layer Perceptron & Backpropagation - Implemented from scratch
2020-10-25 23:00:00
Writing a custom implementation of a popular algorithm can be compared to playing a musical standard. For as long as the code reflects upon the equations, the functionality remains unchanged. It is, indeed, just like playing from notes. However, it lets you master your tools and practice your ability to hear and think.
"CodersLegacy": Datacamp Review
2020-10-25 07:05:33
This article is a review on coding tutorial site, Datacamp.
Andre Roberge: Friendly-traceback: work in progress
2020-10-24 19:02:39
 It's been almost two months since my last blog post and I feel guilty of not haven't taken the time to write more regularly. I should really tell you about how fantastic Will McGugan's Rich is, and how I have customized it for my projects. I should also tell you how Sylvain Desodt's DidYouMeanPython has been influencing Friendly-traceback latest developments. Also worthy of note is how Alex Hall's FutureCoder project is incorporating so many neat tools that it feels like a real honour that he has incorporated Friendly-traceback in it.
Weekly Python StackOverflow Report: (ccxlvii) stackoverflow python report
2020-10-24 13:45:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-24 13:44:59 GMT
Giampaolo Rodola: FreeBSD process environ and resource limits
2020-10-23 22:00:00
New psutil 5.7.3 is out. This release adds support for 2 functionalities which were not available on BSD platforms: the ability to get the process environment (all BSD) and to get or set process resource limits (FreeBSD only), similarly to what can be done on Linux.
NumFOCUS: NumFOCUS Earns Transparency Recognition from GuideStar
2020-10-23 15:25:08
Earlier this week, NumFOCUS earned our first-ever Silver Seal of Transparency from GuideStar, an independent organization which classifies nonprofit organizations based on multiple metrics pertaining to transparency and accountability. Fewer than 5% of US-based nonprofits have received this type of recognition. âThis respected acknowledgment comes as we prepare to enter our year-end fundraising season,â said [âŠ]
Stack Abuse: Sentiment Analysis in Python With TextBlob
2020-10-23 12:30:00
State-of-the-art technologies in NLP allow us to analyze natural languages on different layers: from simple segmentation of textual information to more sophisticated methods of sentiment categorizations.
Real Python: The Real Python Podcast â Episode #32: Our New "Python Basics" Book & Filling the Gaps in Your Learning Path
2020-10-23 12:00:00
Do you have gaps in your Python learning path? If you're like me, you may have followed a completely random route to learn Python. This week on the show, David Amos is here to talk about the release of the Real Python book, "Python Basics: A Practical Introduction to Python 3". The book is designed not only to get beginners up to speed but also to help fill in the gaps many intermediate learners may still have.
ListenData: Translating Web Page while Scraping
2020-10-23 09:05:40
No <p> found.
Python Bytes: #204 Take the PSF survey and Will & Carlton drop by
2020-10-23 08:00:00
No <p> found.
Erik Marsja: Leveneâs & Bartlettâs Test of Equality (Homogeneity) of Variance in Python
2020-10-22 20:05:13
The post Leveneâs & Bartlettâs Test of Equality (Homogeneity) of Variance in Python appeared first on Erik Marsja.
Python Morsels: The 2 Types of "Change" in Python
2020-10-22 15:00:00
Watch First:
PyCharm: Webinar Recording: âvirtualenv â a deep diveâ with Bernat Gabor
2020-10-22 13:45:34
PyCharm virtual environments are an important but challenging topic. We recently hosted Bernat Gabor to discuss this, as well as his rewrite of virtualenv, the hugely-popular command-line tool for creating virtual environment. The recording is now available.
Stack Abuse: Python: Slice Notation on String
2020-10-22 12:30:00
The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively.
Python Circle: Automating PDF generation using Python reportlab module
2020-10-22 07:44:56
Generating PDF using python reportlab module, Adding table to PDF using Python, Adding Pie Chart to PDF using Python, Generating PDF invoice using Python code, Automating PDF generation using Python reportlab module
Sebastian Witowski: Remove Duplicates From a List
2020-10-22 00:00:00
How do we remove duplicates from a list? One way is to go through the original list, pick up unique values, and append them to a new list.
Dataquest: R vs Python for Data Analysis â An Objective Comparison
2020-10-21 20:00:00
There are dozens articles out there that compare R vs. Python from a subjective, opinion-based perspective. Both Python and R are great options for data analysis, or any work in the data science field.
Real Python: Level Up Your Skills With the Real Python Slack Community
2020-10-21 14:00:00
The Real Python Community Slack is an English-speaking Python community with members located all over the world. Itâs a welcoming group in which youâre free to discuss your coding and career questions, celebrate your progress, vote on upcoming tutorial topics, or just hang out with us at the virtual water cooler.
Stack Abuse: Matplotlib Scatter Plot - Tutorial and Examples
2020-10-21 13:30:00
Matplotlib is one of the most widely used data visualization libraries in Python. From simple to complex visualizations, it's the go-to library for most.
Stack Abuse: How to Iterate over Rows in a Pandas DataFrame
2020-10-21 12:30:00
Pandas is an immensely popular data manipulation framework for Python. In a lot of cases, you might want to iterate over data - either to print it out, or perform some operations on it.
Codementor: How To Take A Screenshot Using Python & Selenium?
2020-10-21 09:41:34
This tutorial will guide you how to use Selenium and Python to capture Python Selenium screenshots and check how your website is rendered over different browsers.
Codementor: The More, the Better â Why Become a Multi-Language Programmer
2020-10-21 08:41:28
Are you just taking your first step into web development, and you want to learn programming? Discover the benefits of learning more than one programming language.
Talk Python to Me: #287 Testing without dependencies, mocking in Python
2020-10-21 08:00:00
No <p> found.
Kushal Das: Fixing errors on my blog's feed
2020-10-21 06:34:11
For the last few weeks, my blog feed was not showing up in the Fedora Planet. While trying to figure out what is wrong, Nirik pointed me to the 4 errors in the feed according to the W3C validator. If you don't know, I use a self developed Rust application called khata for my static blog. This means I had to fix these errors.
Python for Beginners: Datacamp Review 2020
2020-10-20 20:49:40
One of the fastest growing careers out there is that of a data scientist. The reason may be that people are drawn to the hefty six figure salaries or that they have a knack for data analysis and love working with big data.Â
PyCoderâs Weekly: Issue #443 (Oct. 20, 2020)
2020-10-20 19:30:00
#443 â OCTOBER 20, 2020 View in Browser »
Test and Code: 135: Speeding up Django Test Suites
2020-10-20 15:15:00
All test suites start fast. But as you grow your set of tests, each test adds a little bit of time to the suite. What can you do about it to keep test suites fast? Some things, like parallelization, are applicable to many domains. What about, for instance, Django applications? Well, Adam Johnson has thought about it a lot, and is here to tell us how we can speed up our Django test suites.
Python Morsels: Variables are pointers
2020-10-20 15:00:00
Variables in Python are not buckets that contain things, but pointers: variables point to objects.
Real Python: Getting Started With MicroPython
2020-10-20 14:00:00
Are you interested in the Internet of Things, home automation, and connected devices? Have you ever wondered what it would be like to build a blaster, a laser sword, or even your own robot? If so, then youâre in luck! MicroPython can help you do all of those things and more.
Stack Abuse: Python: Check Index of an Item in a List
2020-10-20 12:25:00
Lists are useful in different ways compared to other datatypes because of how versatile they are. In this article we'll take a look at one of the most common operations with lists - finding the index of an element.
Evennia: On using Markdown with Sphinx - onward to Evennia 0.9.5
2020-10-20 00:21:55
Podcast.__init__: The Journey To Replace Python's Parser And What It Means For The Future - Episode 285
2020-10-19 23:20:20
The release of Python 3.9 introduced a new parser that paves the way for brand new features. Every programming language has its own specific syntax for representing the logic that you are trying to express. The way that the rules of the language are defined and validated is with a grammar definition, which in turn is processed by a parser. The parser that the Python language has relied on for the past 25 years has begun to show its age through mounting technical debt and a lack of flexibility in defining new syntax. In this episode Pablo Galindo and Lysandros Nikolaou explain how, together with Pythonâs creator Guido van Rossum, they replaced the original parser implementation with one that is more flexible and maintainable, why now was the time to make the change, and how it will influence the future evolution of the language.
RoseHosting Blog: How to Install pip on Ubuntu 20.04
2020-10-19 17:45:28
In this article, we will talk about pip, how to install it as well as how to use it on ...
Codementor: 13 Reasons Why Itâs High Time to Start Learning to Program
2020-10-19 16:50:26
Software development is something that is gaining popularity at lightning speed with the development of technology. The demand for regular developers is high compared to most other mainstream professions. But, what are the other reasons for learning to code?
Anarcat: SSH 2FA with Google Authenticator and Yubikey
2020-10-19 15:08:55
About a lifetime ago (5 years), I wrote a tutorial on how to configure my Yubikey for OpenPGP signing, SSH authentication and SSH 2FA. In there, I used the libpam-oath PAM plugin for authentication, but it turns out that had too many problems: users couldn't edit their own 2FA tokens and I had to patch it to avoid forcing 2FA on all users. The latter was merged in the Debian package, but never upstream, and the former was never fixed at all. So I started looking at alternatives and found the Google Authenticator libpam plugin. A priori, it's designed to work with phones and the Google Authenticator app, but there's no reason why it shouldn't work with hardware tokens like the Yubikey. Both use the standard HOTP protocol so it should "just work".
Real Python: Python Booleans: Optimize Your Code With Truth Values
2020-10-19 14:00:00
The Python Boolean type is one of Pythonâs built-in data types. Itâs used to represent the truth value of an expression. For example, the expression 1 <= 2 is True, while the expression 0 == 1 is False. Understanding how Python Boolean values behave is important to programming well in Python.
Stack Abuse: Change Font Size in Matplotlib
2020-10-19 13:19:00
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects.
Doug Hellmann: sphinxcontrib-spelling 7.0.0
2020-10-19 13:00:31
Continue reading "sphinxcontrib-spelling 7.0.0"
Stack Abuse: Python: Slice Notation on List
2020-10-19 12:30:00
The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively.
Chris Moffitt: Reading Poorly Structured Excel Files with Pandas
2020-10-19 12:25:00
With pandas it is easy to read Excel files and convert the data into a DataFrame. Unfortunately Excel files in the real world are often poorly constructed. In those cases where the data is scattered across the worksheet, you may need to customize the way you read the data. This article will discuss how to use pandas and openpyxl to read these types of Excel files and cleanly convert the data to a DataFrame suitable for further analysis.
Kushal Das: Update hell due to not updating for a long time
2020-10-19 06:29:24
SecureDrop right now runs on Ubuntu Xenial. We are working on moving to Ubuntu Focal. Here is the EPIC on the issue tracker.
Mike Driscoll: PyDev of the Week: Sunita Dwivedi
2020-10-19 05:05:06
This week we welcome Sunita Dwivedi as our PyDev of the Week! Sunita works for the DISH Network. She is active with PyDEN, the Denver, CO Python users group as well as PyColorado.
Anarcat: CDPATH replacements
2020-10-18 21:30:35
after reading this post I figured I might as well bite the bullet and improve on my CDPATH-related setup, especially because it does not work with Emacs. so i looked around for autojump-related alternatives that do.
Reuven Lerner: Improve your Python skills in 15 weeks â with Weekly Python Exercise!
2020-10-18 15:45:00
If youâve been using Python for a year or so, then youâre no longer confused or surprised by the languageâs basics â the core data structures, functions, and even basic object-oriented programming. But you probably donât quite feel fluent with Python, and arenât sure how to use some of the languageâs more advanced features. It would sure be nice to understand these things better, not just by reading a blog, but via actual, hands-on practice.
Doug Hellmann: sphinxcontrib-spelling 6.0.0
2020-10-18 14:37:25
Continue reading "sphinxcontrib-spelling 6.0.0"
EuroPython: EuroPython 2020: Edited videos are online
2020-10-18 11:42:09
Weâre happy to announce that all edited videos of this yearâs conference are now available on our YouTube channel:
Codementor: How to Create Tkinter Progress Bar and DropDown
2020-10-18 08:28:03
Learn step by step how you can add a progress bar and a dropdown widget to you user interface develop using Tkinter
Python Circle: Accessing Gmail Inbox using Python imaplib module
2020-10-18 07:44:17
In this article, we are accessing Gmail inbox using IMAP library of python, We covered how to generate the password of an App to access the gmail inbox, how to read inbox and different category emails, how to read promotional email, forum email and updates, How to search in email in Spam folder, how to search an email by subject line, how to get header values of an email, how to check DKIM, SPF, and DMARC headers of an email
Weekly Python StackOverflow Report: (ccxlvi) stackoverflow python report
2020-10-17 21:54:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-17 21:54:11 GMT
Andrea Grandi: Set specific environment variables activating a Python virtual environment
2020-10-16 19:00:00
How to set specific environment variables when we activate a Python virtual environment
Real Python: The Real Python Podcast â Episode #31: Python Return Statement Best Practices and Working With the map() Function
2020-10-16 12:00:00
The Python return statement is such a fundamental part of writing functions. Is it possible you missed some best practices when writing your own return statements? This week on the show, David Amos returns with another batch of PyCoderâs Weekly articles and projects. We also talk functional programming again with an article on the Python map function and processing iterables without a loop.
Talk Python to Me: #286 Python and ML at NASA Jet Propulsion Laboratory (JPL)
2020-10-16 08:00:00
No <p> found.
Python Bytes: #203 Scripting a masterpiece for Python web automation
2020-10-16 08:00:00
No <p> found.
Python Circle: Solving Django error 'NoReverseMatch at' URL with arguments '()' and keyword arguments '{}' not found.
2020-10-16 07:44:50
Solving Django error 'NoReverseMatch at' URL with arguments '()' and keyword arguments '{}' not found, URL not found in Django, No reverse match in Django template error
TestDriven.io: Running Django on DigitalOcean's App Platform
2020-10-15 21:46:30
This article looks at how to deploy a Django application to DigitalOcean's App Platform.
EuroPython: EuroPython 2021 will be run online
2020-10-15 15:14:26
In the last few weeks, we had a close look at the how the situation around COVID-19 is panning out. Unfortunately, things are not moving in a direction where weâd feel confident to hold next yearâs conference as an in-person event in Dublin.
Python Circle: How to post messages to Microsoft teams channel using Python
2020-10-15 13:46:00
In this article we will see how to send alerts or messages to microsoft teams channels using connectors or incoming webhook. we used python's requests module to send post request.
Stack Abuse: Python: Get Number of Elements in a List
2020-10-15 12:30:00
Getting the number of elements in a list in Python is a common operation. For example, you will need to know how many elements the list has whenever you iterate through it. Remember that lists can have a combination of integers, floats, strings, booleans, other lists, etc. as their elements:
Codementor: AI, ML and Python: Letâs See How far They Can Go Together
2020-10-15 11:59:37
You might have heard these words together : AI, Machine Learning and Python. The reason behind this is that Python is one of the most suitable languages for AI and ML. Python is one of the simplest...
Sebastian Witowski: type() vs. isinstance()
2020-10-15 00:00:00
Python is a dynamically typed language. A variable, initially created as a string, can be later reassigned to an integer or a float. And the interpreter wonât complain:
Matt Layman: Capped Social Network - Building SaaS #76
2020-10-15 00:00:00
No <p> found.
Mike Driscoll: ReportLab 101 â Creating Fonts on the Canvas (Video)
2020-10-14 20:50:55
In this tutorial, you will learn how to use ReportLabâs standard built-in fonts when generating PDFs with Python.
Real Python: Data Management With Python, SQLite, and SQLAlchemy
2020-10-14 14:00:00
All programs process data in one form or another, and many need to be able to save and retrieve that data from one invocation to the next. Python, SQLite, and SQLAlchemy give your programs database functionality, allowing you to store data in a single file without the need for a database server.
Stack Abuse: Generating Synthetic Data with Numpy and Scikit-Learn
2020-10-14 12:42:00
In this tutorial, we'll discuss the details of generating different synthetic datasets using Numpy and Scikit-learn libraries. We'll see how different samples can be generated from various distributions with known parameters.
PyCoderâs Weekly: Issue #442 (Oct. 13, 2020)
2020-10-13 19:30:00
#442 â OCTOBER 13, 2020 View in Browser »
Reuven Lerner: Ask me anything!
2020-10-13 14:26:58
Later this month, Iâll appear on the âExploiting with Teja Kummarikuntlaâ podcast. As part of that appearance, Iâll be doing an AMA (âask me anythingâ) segment â but in order for that to happen, I need questions!
Real Python: Web Scraping With Beautiful Soup and Python
2020-10-13 14:00:00
The incredible amount of data on the Internet is a rich resource for any field of research or personal interest. To effectively harvest that data, youâll need to become skilled at web scraping. The Python libraries requests and Beautiful Soup are powerful tools for the job. If you like to learn with hands-on examples and you have a basic understanding of Python and HTML, then this course is for you.
Stack Abuse: Simple NLP in Python With TextBlob: Tokenization
2020-10-13 12:30:00
The amount of textual data on the Internet has significantly increased in the past decades. There's no doubt that the processing of this amount of information must be automated, and the TextBlob package is one of the fairly simple ways to perform NLP - Natural Language Processing.
Codementor: How to Implement Role based Access Control With FastAPI
2020-10-13 06:02:42
Quick Summary of RBAC concept, working code snippets and how I reached there
Kushal Das: Updates from Johnnycanencrypt development in last few weeks
2020-10-13 04:32:08
In July this year, I wrote a very initial Python module in Rust for OpenPGP, Johnnycanencrypt aka jce. It had very basic encryption, decryption, signing, verification, creation of new keys available. It uses https://sequoia-pgp.org library for the actual implementation.
Podcast.__init__: Cloud Native Application Delivery Using GitOps - Episode 284
2020-10-12 23:12:58
The way that applications are being built and delivered has changed dramatically in recent years with the growing trend toward cloud native software. As part of this movement toward the infrastructure and orchestration that powers your project being defined in software, a new approach to operations is gaining prominence. Commonly called GitOps, the main principle is that all of your automation code lives in version control and is executed automatically as changes are merged. In this episode Victor Farcic shares details on how that workflow brings together developers and operations engineers, the challenges that it poses, and how it influences the architecture of your software. This was an interesting look at an emerging pattern in the development and release cycle of modern applications.
Reuven Lerner: Whatâs the easiest way to boost your career as a software developer? Learn to touch type.
2020-10-12 18:58:29
Iâve been a professional programmer for about 30 years, self-employed for 25 years, and doing full-time corporate Python training for more than a decade.
Ned Batchelder: Ordered dict surprises
2020-10-12 18:48:43
Since Python 3.6, regular dictionaries retain their insertion order: when you iterate over a dict, you get the items in the same order they were added to the dict. Before 3.6, dicts were unordered: the iteration order was seemingly random.
Test and Code: 134: Business Outcomes and Software Development
2020-10-12 16:15:00
Within software projects, there are lots of metrics we could measure. But which ones really matter. Instead of a list, Benjamin Harding shares with us a way of thinking about business outcomes that can help us with every day decision making.
IslandT: Return a list of multiply numbers with Python
2020-10-12 15:07:05
In this simple exercise from CodeWars, you will build a function program that takes a value, integer and returns a list of its multiples up to another value, limit. If the limit is a multiple of integer, it should be included as well. There will only ever be positive integers passed into the function, not consisting of 0. The limit will always be higher than the base.
Stack Abuse: Add Legend to Figure in Matplotlib
2020-10-12 14:08:42
Matplotlib is one of the most widely used data visualization libraries in Python. Typically, when visualizing more than one variable, you'll want to add a legend to the plot, explaining what each variable represents.
Real Python: Using ggplot in Python: Visualizing Data With plotnine
2020-10-12 14:00:00
In this tutorial, youâll learn how to use ggplot in Python to create data visualizations using a grammar of graphics. A grammar of graphics is a high-level tool that allows you to create data plots in an efficient and consistent way. It abstracts most low-level details, letting you focus on creating meaningful and beautiful visualizations for your data.
PyCharm: Datalore by JetBrains: Online Jupyter Notebooks Editor With PyCharmâs Code Insight
2020-10-12 12:36:18
If you work with Jupyter Notebooks and want to run code, produce heavy visualizations, and render markdown online â give Datalore a try. It comes with cloud storage, real-time collaboration, notebook publishing, and PyCharmâs code insight. In this blog post weâll give you a quick introduction to what you can do in Datalore.
Chris Moffitt: Case Study: Processing Historical Weather Pattern Data
2020-10-12 12:25:00
The main purpose of this blog is to show people how to use Python to solve real world problems. Over the years, I have been fortunate enough to hear from readers about how they have used tips and tricks from this site to solve their own problems. In this post, I am extremely delighted to present a real world case study. I hope it will give you some ideas about how you can apply these concepts to your own problems.
IslandT: Beginning steps to create a Stockfish chess application
2020-10-12 11:38:10
I am a chess player and I like to play chess, in order to improve my chess skill recently I have decided to create a chess application which I can play with so I can further improve my chess skill and get ready to face a stronger opponent in a site like lichess. The below chess application will take me around a year to complete and I will show you all the progress from time to time.
Mike Driscoll: PyDev of the Week: Sean Tibor
2020-10-12 05:05:06
This week we welcome Sean Tibor (@smtibor) as our PyDev of the Week! Sean is the co-host of the Teaching Python podcast. He has been a guest on other podcasts, such as Test & Code and is the founder of Red Reef Digital.
IslandT: Merge two dictionaries using the Dict Union operator
2020-10-12 03:36:52
In this article we will create a Python function which will merge two dictionaries using the Dict Union operator.
Wing Tips: Debug Docker Compose Containerized Python Apps with Wing Pro
2020-10-12 01:00:00
This Wing Tip describes how to configure Docker Compose so that Python code running on selected container services can be debugged with Wing Pro. This makes it easy to develop and debug containerized applications written in Python.
Tarek Ziade: Web App Software Development Maturity Model
2020-10-11 22:00:00
The Capability Maturity Model Integration (CMMI) describes different levels of maturity for the development process of any organization in a measurable way. It offers a set of best practices to improve all processes. It's been regularly updated, and the latest version includes some notions of agility.
IslandT: Write a python function that produces an array with the numbers 0 to N-1 in it
2020-10-11 13:39:12
In this article, we will create a python function that will produce an array with the numbers 0 to N-1 in it.
Andrea Grandi: Python 3.9 introduces removeprefix and removesuffix
2020-10-11 13:37:08
A quick tutorial to removeprefix and removesuffix methods which have been introduced with Python 3.9.0
Codementor: Data Engineering Series #1: 10 Key tech skills you need, to become a competent Data Engineer.
2020-10-11 11:20:58
Bridging the gap between Application Developers and Data Scientists, the demand for Data Engineers ro...
Ram Rachum: GridRoyale - A life simulation for exploring social dynamics
2020-10-11 08:16:03
Another day, another project :)
ListenData: Learn Python for Data Science
2020-10-11 07:53:07
No <p> found.
"CodersLegacy": Scrapy vs BeautifulSoup | Python Web Crawlers
2020-10-11 07:06:01
This article is Scrapy vs BeautifulSoup comparison.
Awesome Python Applications: Spack
2020-10-11 00:06:00
Spack: Language-independent package manager for supercomputers, Mac, and Linux, designed for scientific computing.
ABlog for Sphinx: ABlog v0.10.11 released
2020-10-11 00:00:00
Pull Requests merged in:
Awesome Python Applications: Galaxy
2020-10-10 23:41:00
Galaxy: Web-based platform for reproducible and transparent computational research, with a focus on bioinformatics.
Weekly Python StackOverflow Report: (ccxlv) stackoverflow python report
2020-10-10 19:48:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-10 19:48:15 GMT
Andrea Grandi: Install Python with pyenv and create a virtual environment with a specific Python version
2020-10-10 17:00:00
How to install a specific Python version using pyenv and create a virtual environment using the version just installed
Andrea Grandi: Using pyenv to install Python and create a virtual environment
2020-10-10 17:00:00
How to use pyenv to install a specific version of Python and create a virtual environment with that version
Catalin George Festila: Python 3.9.0 : Union and in-place union operators
2020-10-10 14:02:32
Python introduces two new operators for dictionaries named union used in code with pipe operator | and in-place union used in python code with this |=.
I this tutorial I will show you how can be used:
[mythcat@desk ~]$ python3.9
Python 3.9.0 (default, Oct 6 2020, 00:00:00)
[GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>
Codementor: Top 10 trending technologies must learn in 2021
2020-10-10 10:30:03
In this world of digitalization, technologies are expanding rapidly. As a world foremost tech news contributor, it is the duty of us to keep everyone updated with the newest trends of technologies...
IslandT: Create a python function to check if an integer number is divisible
2020-10-10 06:55:27
In this article we will create a python function which will take in three arguments, the first one is the number which will be divided by the other two. If the number is divisible by the other two numbers then this function will return true or else it will return false.
Catalin George Festila: Python 3.9.0 : Introduction to release 3.9.0.
2020-10-10 05:34:26
This is a short introduction to release 3.9.0. Five days ago, a new release of version 3.9 appeared with a series of improvements and new python packages, see the official website. You can install easily on Fedora 32 with dnf tool.
[root@desk mythcat]# dnf install python39.x86_64
...
Installing:
python39 x86_64 3.9.0-1.fc32
...
Installed:
python39-3.9.0-1.fc32.
Full Stack Python: Higher Accuracy Twilio Voice Transcriptions with Python and Flask
2020-10-10 04:00:00
Twilio's Programmable Voice API is commonly used to initiate and receive phone calls, but the transcription accuracy for recordings often leaves a lot to be desired. In this tutorial, we'll see how to connect an outbound phone call powered by the Twilio Voice API with AssemblyAI's deep learning transcription API to get significantly more accurate speech-to-text output.
ABlog for Sphinx: ABlog v0.10.10 released
2020-10-10 00:00:00
Pull Requests merged in:
ABlog for Sphinx: Markdown Support
2020-10-10 00:00:00
ABlog can support markdown pages using myst-parser. This page is a markdown file underneath.
PyATL Bytecode: PyATL and oso partner to offer a workshop on access control patterns in Python applications.
2020-10-09 17:41:17
Join us Thursday, October 22nd at 7pm EST for a workshop where you will implement common access patterns in a social media application using Django.
Python Engineering at Microsoft: Bringing the power of the Monaco Editor to nteract
2020-10-09 17:00:32
The Python team is excited to announce the introduction of our popular Monaco Editor in nteract, the open-source organization that builds SDKs, applications, and libraries to make the most of interactive notebooks. Over the past few months, we have been working with the help of the nteract community to bring this editor to your notebook.
Stack Abuse: Save Plot as Image with Matplotlib
2020-10-09 13:30:00
Matplotlib is one of the most widely used data visualization libraries in Python. It's common to share Matplotlib plots and visualizations with others.
Andrew Dalke: A molfile precursor?
2020-10-09 12:00:00
I think I found a precursor to the MDL molfile in a 1973 publication by Gund, Wipke, and Langridge. Here it is:
Real Python: The Real Python Podcast â Episode #30: Exploring the New Features of Python 3.9
2020-10-09 12:00:00
Python 3.9 has arrived! This week on the show, former guest and Real Python author Geir Arne Hjelle returns to talk about his recent article, "Python 3.9: Cool New Features for You to Try". Also joining the conversation is Real Python video course instructor and author Christopher Trudeau. Christopher has created a video course, which was released this week also, based on Geir Arne's article. We talk about time zones, merging dictionaries, the new parser, type hints, and more.
Talk Python to Me: #285 Dask as a Platform Service with Coiled
2020-10-09 08:00:00
No <p> found.
Python Bytes: #202 Jupyter is back in black!
2020-10-09 08:00:00
No <p> found.
Zero-with-Dot (Oleg ƻero): The Maw of Chaos - why time forecasting is so challenging?
2020-10-08 22:00:00
I promised to myself not to write about Covid-19.
Python Morsels: Looping over multiple iterables at once
2020-10-08 21:44:33
Related Article:
Python Morsels: Looping with Indexes
2020-10-08 15:00:00
Related Articles:
Codementor: Pros and Cons of using Python Web Development
2020-10-08 13:03:55
Python web development is a popular programming language for most companies today. Read here the 5 Important pros and cons of using python for web development.
Stack Abuse: Change Figure Size in Matplotlib
2020-10-08 12:36:00
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects.
PyCharm: Better user experience with updates in the R plugin
2020-10-08 12:12:19
Over more than one and a half months, we introduced many improvements in the plugin to make your work with it more productive and comfortable.
KĂĄroly Nagy: Stop using await in a Python forloop
2020-10-08 12:04:51
Disclaimer: This might sound to be a rant but stay with me and you will see this will be a very good practical advise to speed up your async python code.
Andrew Dalke: Cache and reuse popcount-sorted ChEMBL fingerprints
2020-10-08 12:00:00
The program I wrote in the first essay of this series of ChEMBL fingerprint Tanimoto search algorithms took 2 seconds per query. I wrote a series of new programs which had a higher startup cost in exchange for a faster per-query searches. The final program, in yesterday's essay took 10 seconds to load but could process 35-90 queries per second, depending on the threshold.
PyCharm: PyCharm 2020.3 EAP #2
2020-10-08 11:32:21
The second build of PyCharm 2020.3 is now available in the Early Access Program with features and fixes that will make your experience smoother and more productive.
Sebastian Witowski: Membership Testing
2020-10-08 00:00:00
Membership testing means checking if a collection of items (a list, a set, a dictionary, etc.) contains a specific item. For example, checking if a list of even numbers contains number 42. Itâs a quite common operation, so letâs see how to do it properly.
Matt Layman: Make A Landing Page - Building SaaS #75
2020-10-08 00:00:00
No <p> found.
Sebastian Pölsterl: scikit-survival 0.14 with Improved Documentation Released
2020-10-07 19:30:24
Today marks the release of version 0.14.0 of scikit-survival. The biggest change in this release is actually not in the code, but in the documentation. This release features a complete overhaul of the documentation. Most importantly, the documentation has a more modern feel to it, thanks to the visually pleasing pydata Sphinx theme, which also powers pandas.
PyCharm: PyCharm 2020.2.3
2020-10-07 14:44:30
PyCharm 2020.2.3 is ready to be downloaded and brings some fixes that will improve your productivity. Update from within PyCharm (Help | Check for Updates), from the JetBrains Toolbox, or by downloading the new version from our website.
Real Python: Python Community Interview With Anthony Shaw
2020-10-07 14:00:00
Today Iâm joined by Anthony Shaw, global senior vice president for talent transformation and innovation at NTT Ltd. Anthony is also a Real Python tutorial author and has written a new book titled CPython Internals.
Codementor: Learning to Code: How to Boost Up the Process?
2020-10-07 13:23:10
I am not the one who convinces everyone that learning to program is a lightning-fast journey â the other thing is that it is not as difficult as people think. All boils down to interest, passion, regular practice, and patience, of course. I also often recommend different online and offline resources to my students to make their learning process easier, more effective, and faster. And in this post, I will share a few tips with you.
Andrew Dalke: Even faster in-memory search with intersection popcount
2020-10-07 12:00:00
This is part of a series of essays I started to write a week ago where I use a few different approaches to implement cheminformatics fingerprint similarity search.
EuroPython Society: EPS Board for the term 2020/2021
2020-10-07 08:45:28
After completion of the EuroPython Society General Assembly 2020 last Sunday, weâre happy to announce our new board for the next term:
Wingware: Wing Python IDE 7.2.6 - Octboer 7, 2020
2020-10-07 01:00:00
Wing 7.2.6 improves exception reporting for pytest, implements 2w in vi mode, fixes problems with setting up a new Django project, improves auto-spacing for / and :, reduces CPU use when analyzing and waiting for remote files, and makes a number of usability improvements.
PyCoderâs Weekly: Issue #441 (Oct. 6, 2020)
2020-10-06 19:30:00
#441 â OCTOBER 6, 2020 View in Browser »
Python Morsels: What is an iterable?
2020-10-06 15:00:00
Related Articles:
Real Python: Cool New Features in Python 3.9
2020-10-06 14:00:00
Python 3.9 is here! Volunteers from all over the world have been working on improvements to Python for the past year. While beta versions have been available for some time, the first official version of Python 3.9 was released on October 5, 2020.
EuroPython Society: EuroPython trademark registered in the US
2020-10-06 12:06:21
After the confusion which was caused by a rock band starting to use the name âEuroPythonâ for themselves a few years ago, which we resolved amicably with the band, we had decided to register for a US trademark in addition to our European CTM mark for âEuroPythonâ.
Andrew Dalke: Faster BitBound ChEMBL search by using more C
2020-10-06 12:00:00
This is part of a series of essays I started to write a week ago where I use a few different approaches to implement cheminformatics fingerprint similarity search.
Reuven Lerner: Improve your Python fluency with âPython Workoutâ â todayâs âDeal of the Dayâ
2020-10-06 07:34:00
Whether youâre a developer, devops engineer, or data scientist, youâre likely using Python. But do you really know the language, or do you find yourself copying and pasting from Stack Overflow on a regular basis, hoping that the solution youâve found will solve your problem without too much editing?
Kushal Das: SecureDrop QA workflow and how to improve it?
2020-10-06 04:05:15
Right now, we are in the QA period for the SecureDrop 1.6.0 release. SecureDrop is an open-source whistleblower submission system that media organisations and NGOs can install to securely accept documents from anonymous sources. It was originally created by the late Aaron Swartz and is now managed by Freedom of the Press Foundation.
Red Hat Developers: Kubernetes integration and more in odo 2.0
2020-10-06 00:16:28
Odo is a developer-focused command-line interface (CLI) for OpenShift and Kubernetes. This article introduces highlights of the odo 2.0 release, which now integrates with Kubernetes. Additional highlights include the new default deployment method in odo 2.0, which uses devfiles for rapid, iterative development. Weâve also moved Operator deployment out of experimental mode, so you can easily deploy Operator-backed services from the odo command line.
Podcast.__init__: Threading The Needle Of Interesting And Informative While You Learn To Code - Episode 283
2020-10-06 00:05:23
Learning to code is a neverending journey, which is why itâs important to find a way to stay motivated. A common refrain is to just find a project that youâre interested in building and use that goal to keep you on track. The problem with that advice is that as a new programmer, you donât have the knowledge required to know which projects are reasonable, which are difficult, and which are effectively impossible. Steven Lott has been sharing his programming expertise as a consultant, author, and trainer for years. In this episode he shares his insights on how to help readers, students, and colleagues interested enough to learn the fundamentals without losing sight of the long term gains. He also uses his own difficulties in learning to maintain, repair, and captain his sailboat as relatable examples of the learning process and how the lessons he has learned can be translated to the process of learning a new technology or skill. This was a great conversation about the various aspects of how to learn, how to stay motivated, and how to help newcomers bridge the gap between what they want to create and what is within their grasp.
PythonâSpeed: When to switch to Python 3.9
2020-10-06 00:00:00
Python 3.9 is now availableâbut should you switch to it immediately? And if not now, when?
Matt Layman: Hijack To Help Customers
2020-10-06 00:00:00
No <p> found.
TestDriven.io: Django Stripe Subscriptions
2020-10-05 21:46:57
This tutorial looks at how to handle subscription payments with Django and Stripe.
Real Python: Python 3.9: Cool New Features for You to Try
2020-10-05 17:18:24
Python 3.9 is here! Volunteers from all over the world have been working on improvements to Python for the past year. While beta versions have been available for some time, the first official version of Python 3.9 was released on October 5, 2020.
Test and Code: 133: Major League Hacking - Jonathan Gottfried
2020-10-05 17:00:00
Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons.
Test and Code: 133: Major League Hacking - Jon Gottfried
2020-10-05 17:00:00
Hackathons have been spreading around the world; many at university campuses. Major League Hacking, MLH, has been encouraging and helping hackathons.
Tryton News: Release 1.2.0 of python-sql
2020-10-05 16:43:08
We are proud to announce the release of the version 1.2.0 of python-sql.
Python Insider: Python 3.9.0 is now available, and you can already test 3.10.0a1!
2020-10-05 16:09:56
On behalf of the Python development community and the Python 3.9 release team, Iâm pleased to announce the availability of Python 3.9.0.
Python Anywhere: A Tale of Two Deployments
2020-10-05 15:00:00
It was the best of times, it was the worst of times, it was the age of remote work, it was the age of pyjamas, it was the epoch of bread baking, it was the epoch of pineapple pizza, it was the season of Light, it was the season of Darkness…
This is a short but exciting story about two system updates. Spoiler alert: no one has been guillotined.
PyBites: How to Create an AWS Lambda Layer For Any Python Dependency
2020-10-05 12:22:00
This article continues where How to Run External Python Libraries in AWS Cloud ended.
Stack Abuse: Serving Static Files in Python With Django, AWS S3 and WhiteNoise
2020-10-05 12:17:00
Websites generally need additional files such as images, CSS, and JavaScript files that are necessary to render complete web pages in a browser. In small projects, we can work our way around by providing absolute paths to our resources or by writing inline CSS and JavaScript functions in the HTML files. This is not only against the best coding practices but it also gets tricky when we are handling bigger projects, especially with multiple applications.
Andrew Dalke: Faster in-memory ChEMBL search by using more C
2020-10-05 12:00:00
This is part of a series of essays I started writing a week ago where I use a few different approaches to implement cheminformatics fingerprint similarity search.
PyCharm: Early Access PyCharm Podcast â Episode 3: The One where Kirill talks about Version Control
2020-10-05 09:23:08
Welcome to Early Access PyCharm, a brand-new podcast that goes behind the scenes of how the PyCharm IDE is made and all the thinking that goes into it. In the upcoming episodes, you will hear from the people who work daily to make you more productive and your code even better.
Mike Driscoll: PyDev of the Week: Frank Valcarcel
2020-10-05 05:05:41
This week we welcome Frank Valcarcel (@fmdfrank) as our PyDev of the Week! He is the cofounder of Cuttlesoft. If youâd like to see what projects Frank is working on, head on over to Github.
Laurent Luce: Python deque implementation
2020-10-04 22:28:22
Python deque is a double-ended queue. You can append to both ends and pop from both ends. The complexity of those operations amortizes to constant time.We are going to look at the Python 3 internal implementation of deques. It uses a linked list of blocks of 64 pointers to objects. This reduces memory overhead since there are fewer previous and next links.
Talk Python to Me: #284 Modern and fast APIs with FastAPI
2020-10-04 08:00:00
No <p> found.
"Morphex's Blogologue": Adding some reporting functionality
2020-10-03 21:43:46
No <p> found.
Brett Cannon: Unravelling rich comparison operators
2020-10-03 21:29:14
For the next part of my blog series on pulling apart Python's syntactic sugar, I'm going to be tackling rich comparison operators: ==, !=, >, <, >=, <=.
Weekly Python StackOverflow Report: (ccxliv) stackoverflow python report
2020-10-03 15:41:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-03 15:40:56 GMT
Python Insider: Python 3.5 is no longer supported
2020-10-02 13:55:59
Python 3.5 is no longer supported. There will be no more bug fixes or security patches for the 3.5 series, and Python 3.5.10 is the last release. The Python core development community recommends that all remaining Python 3.5 users should upgrade to the latest version.
Real Python: The Real Python Podcast â Episode #29: Resolving Package Dependencies With the New Version of Pip
2020-10-02 12:00:00
If you use Python, then you probably have used pip to install additional packages from the Python package index. Part of the magic behind pip is the dependency resolver, and there is a new version of it in the latest version of pip. This week on the show, we have Sumana Harihareswara and Georgia Bullen, who have been working on the recent releases of pip. Sumana is the project manager for pip, and Georgia has been working on pip's user experience (UX).
Andrew Dalke: Using RDKit BulkTanimotoSimilarity
2020-10-02 12:00:00
In the first essay of this series I developed a program to do a Tanimoto similarity search of chembl_27.fps. I evaluated three different data types: an RDKit ExplicitBitVect, a GMP mpz integer, and a byte string. I found that the byte string was fastest, at about 5 seconds per search. All three programs worked by parsing and testing each FPS record in sequence. A scan search like this requires essentially constant memory overhead no matter the size of the FPS file.
Python Software Foundation: Join the Python Developers Survey 2020: Share and learn about the community
2020-10-02 10:52:22
 This year we are conducting the fourth iteration of the official Python Developers Survey. The goal is to capture the current state of the language and the ecosystem around it. By comparing the results with last yearâs, we can identify and share with everyone the hottest trends in the Python community and the key insights into it.
Codementor: How and why I built Web Application for Closed-monitoring patients
2020-10-02 10:14:40
About me
My passion for technology has always been a driving force in learning new things and apply the same in expanding my knowledge in the field. Later, I developed my passion more deeply...
Python Bytes: #201 Understand git by rebuilding it in Python
2020-10-02 08:00:00
No <p> found.
Django Weblog: Django Technical Board Election Results 2020
2020-10-01 15:33:12
Greetings!
Dan Stromberg: Fast-paced, seven part intro to python for developers on youtube
2020-10-01 14:38:09
Hi folks. I've uploaded a fast-paced, seven part intro to python for developers who already know at least one other turing complete, imperative programming language, to <a href="https://www.youtube.com/watch?v=NQH5pqBP86M&list=PLl88Cu2qfsZhLEBPATOLLhI74wr4LVLM4">youtube</a>. I hope people find it useful.
Andrew Dalke: Simple BitBound ChEMBL similarity search
2020-10-01 12:00:00
In yesterday's essay I changed the scan-based Tanimoto search to an in-memory search and showed that after a start-up cost of about 5 seconds I was able to do about 2 searches per second of the 1.9 million ChEMBL fingerprints.
Codementor: How to Learn Programming in 2020: Tips and Life Hacks from a Tutor
2020-10-01 09:20:36
Itâs no secret weâre evolving in a world thatâs highly tech-driven. And given the global pandemic, this is probably the best time to pick up a new skill and learn programming.
Tryton News: Newsletter October 2020
2020-10-01 09:00:03
Yellow Arrow Led Signage1280Ă719 121 KB
Django Weblog: Django bugfix release: 3.1.2
2020-10-01 05:43:16
Today we've issued the 3.1.2 bugfix release.
Wing Tips: Multiple Selections in Wing Python IDE
2020-10-01 01:00:00
In this issue of Wing Tips we revisit how to use multiple concurrent selections in Wing's editor. These can be used to replace all occurrences of some text or to apply the same edits to any number of selections, for example surround them all with quotes or remove common surrounding characters. Multiple selections can be created from the keyboard, from the mouse, or by using commands that select all occurrences of some text found within a selected code.
Sebastian Witowski: Checking for True or False
2020-10-01 00:00:00
How do you check if something is True in Python? There are three ways:
Matt Layman: Check Web App Security With Bandit - Building SaaS #74
2020-10-01 00:00:00
No <p> found.
Erik Marsja: Pandas Count Occurrences in Column â i.e. Unique Values
2020-09-30 19:00:17
The post Pandas Count Occurrences in Column â i.e. Unique Values appeared first on Erik Marsja.
PyBites: Cleaning Text Data With Python
2020-09-30 18:34:00
Anarcat: Presentation tools
2020-09-30 17:21:39
I keep forgetting how to make presentations. I had a list of tools in a wiki from a previous job, but that's now private and I don't see why I shouldn't share this (even if for myself!).
Codementor: Quit Virtualenv and use Docker
2020-09-30 16:42:24
Start using docker in your dev environment
Python Engineering at Microsoft: Announcing Playwright for Python: Reliable end-to-end testing for the web
2020-09-30 16:26:25
Automated end-to-end tests are a powerful tool for your team to ship faster and with more confidence. End-to-end tests automate UI interactions and can validate the functionality of your applications. To this end, we are announcing Playwright for Python in preview today. Playwright enables developers and testers to write reliable end-to-end tests in Python. Get started by installing Playwright from PyPI.
Sumana Harihareswara - Cogito, Ergo Sumana: Changes Coming To Pip In October 2020
2020-09-30 16:24:17
SHORT VERSION: I'm working on improving the Python packaging toolchain, foundational work that will (in the long run) make the whole Python experience way less confusing. In the short term this may mess with some people's workflows, so we want lots of people to hear about it now. The pip team made a 2-minute video to explain what's up: We are also doing user experience studies, and want you to sign up if you ever do anything with Python (whatever your level of skill/experience). Please boost this toot or retweet this tweet if you want to help us get the word out. MORE DETAILS: Computers need to know the right order to install pieces of software ("to install x, you need to install y first"). So, when Python programmers share software, like when they publish packages on the Python Package Index or internally in large companies, they have to precisely describe those installation prerequisites. And then pip needs to navigate tricky situations when it gets conflicting instructions. Up until now, pip's been very inconsistent in handling this stuff, which makes it easy for your Python environment to get messed up. That's why we successfully applied for $407K in funding from Mozilla and the Chan Zuckerberg Initiative to finish and roll out a proper dependency resolver for pip. The goal is that pip will get better at handling that tricky logic, and easier for you to use and troubleshoot. You can test the new behavior (in beta) right now by using an optional flag in pip 20.2. And in pip 20.3, coming in October, the new behavior will be the default. Once you're using the new resolver, pip is going to be stricter and more consistent. So things won't mysteriously break as much, and we can add more features that lots of people want. But! Right now, a ton of people unknowingly have Jenga towers of wobbly dependencies in their environments and will run into pain when we make the resolver stricter and more consistent. And this may lead to you getting stuck in troubleshooting, assuming that pip caused the problem, when actually the deeper cause is conflicts among how your upstreams specify requirements (TensorFlow just fixed a related thing, for example). So: We're trying to get Python users to try out the beta of the new resolver that's available in the current stable release of pip (20.2), fix your own environments, report bugs in your upstreams in advance, and report bugs to us so we can fix them in the next couple weeks. We started spreading the word about this a few months ago. And now: video! People watch videos, I hear? I hope this helps.
Codementor: Production ready Django App in Amazon Lightsail - Weblog
2020-09-30 16:17:07
This article is based in this documentation page and this video where Mike Coleman takes us how to deploy a Django application on Amazon Lightsail.
Real Python: Python's map(): Processing Iterables Without a Loop
2020-09-30 14:00:00
Pythonâs map() is a built-in function that allows you to process and transform all the items in an iterable without using an explicit for loop, a technique commonly known as mapping. map() is useful when you need to apply a transformation function to each item in an iterable and transform them into a new iterable. map() is one of the tools that support a functional programming style in Python.
Andrew Dalke: Simple in-memory ChEMBL similarity search
2020-09-30 12:00:00
In the previous two essays I showed how to search chembl_27.fps to find records with similar fingerprints to a query fingerprint, then how to implement a nearest-neighbor search and replace Tanimoto similarity with cosine similarity. The final program took about 5 seconds.
Zero to Mastery: Python Monthly đ»đ September 2020
2020-09-30 10:00:00
10th issue of Python Monthly! Read by 20,000+ Python developers every month. Keeping you up to date with the Python industry ecosystem, without wasting your valuable time.
eGenix.com: Python Meeting DĂŒsseldorf - 2020-09-30
2020-09-30 07:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
PyCoderâs Weekly: Issue #440 (Sept. 29, 2020)
2020-09-29 19:30:00
#440 â SEPTEMBER 29, 2020 View in Browser »
Quansight Labs Blog: Design of the Versioned HDF5 Library
2020-09-29 16:00:00
In a previous post, we introduced the Versioned HDF5 library and described some of its features. In this post, we'll go into detail on how the underlying design of the library works on a technical level.
Python Morsels: Writing a for loop
2020-09-29 15:00:00
Related Article:
Real Python: Using Google Login With Flask
2020-09-29 14:00:00
In this course, youâll work through the creation of a Flask web application. Your application will allow a user to log in using their Google identity instead of creating a new account. There are tons of benefits with this method of user management. Itâs going to be safer and simpler than managing the traditional username and password combinations.
Catalin George Festila: Python Qt5 - Use QStandardItem with Images.
2020-09-29 13:54:06
This tutorial show you how to use QStandardItem with Images.
The source code is simple to understand.
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow, QTreeView
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QFont, QColor, QImage, QStandardItemModel, QStandardItem
class ItemImage(QStandardItem):
def __init__(self, txt='', image_path='', set_bold=False, color=QColor(0,
Mike Driscoll: wxPython by Example â Drag-and-Drop an Image (Video)
2020-09-29 13:24:30
In this tutorial, you will learn how to drag an image into your #wxPython application and display it to your user.
Codementor: Why use Python Programming for building a Healthcare Application
2020-09-29 13:07:01
Python programming in healthcare is changing how doctors and clinicians approach patient care delivery. Hereâs why Python for healthcare is the right choice for better health outcomes.
Andrew Dalke: Simple k-NN FPS Tanimoto and cosine similarity search
2020-09-29 12:00:00
Yesterday I developed an simple program to search chembl_27.fps.gz for records with a Tanimoto similarity of at least 0.7 to caffeine. I started by mentioning the 1986 paper by Willet, Winterman, and Bawden Implementation of nearest-neighbor searching in an online chemical structure search system. As you can read from the title, that paper does a k-nearest neighbor search (k-NN search, also called a top-N search), and compares a Tanimoto similarity search to a cosine similarity search. So really, I'm only halfway there. In this essay I'll go the other half and implement the nearest neighbor search. As before, this code will do almost no error handling, and will only work for the uncompressed chembl_27.fps in the local directory.
Codementor: All You Need To Know For Selenium Testing On The Cloud
2020-09-29 09:58:02
Selenium testing on the cloud is the most efficient way to scale up automated browser testing. This blog will help you get started with cross browser testing in Selenium.
Codementor: Sumana Harihareswara is an open-source software fairy... and other things I learned recording her DevJourney
2020-09-29 07:24:32
Sumana Harihareswara is an open-source software fairy. After interviewing her for the DevJourney podcast, here are the key takeaways I personally took out of the discussion.
Podcast.__init__: Solving Python Package Creation For End User Applications With PyOxidizer - Episode 282
2020-09-29 01:50:02
Python is a powerful and expressive programming language with a vast ecosystem of incredible applications. Unfortunately, it has always been challenging to share those applications with non-technical end users. Gregory Szorc set out to solve the problem of how to put your code on someone elseâs computer and have it run without having to rely on extra systems such as virtualenvs or Docker. In this episode he shares his work on PyOxidizer and how it allows you to build a self-contained Python runtime along with statically linked dependencies and the software that you want to run. He also digs into some of the edge cases in the Python language and its ecosystem that make this a challenging problem to solve, and some of the lessons that he has learned in the process. PyOxidizer is an exciting step forward in the evolution of packaging and distribution for the Python language and community.
LAAC Technology: Making Concurrent HTTP requests with Python AsyncIO
2020-09-29 00:00:00
Python 3.4 added the asyncio module to the standard library. Asyncio allows us to run IO-bound tasks asynchronously to increase the performance of our program. Common IO-bound tasks include calls to a database, reading and writing files to disk, and sending and receiving HTTP requests. A Django web application is a common example of an IO-bound application.
Made With Mu: Resources: Python for Kids
2020-09-28 16:30:00
Friend of Mu, Kevin Thomas has been hard at work creating free-to-use resources for kids (and older kids) who want to learn Python, with the BBC micro:bit and Mu.
Real Python: The Python return Statement: Usage and Best Practices
2020-09-28 14:00:00
The Python return statement is a key component of functions and methods. You can use the return statement to make your functions send Python objects back to the caller code. These objects are known as the functionâs return value. You can use them to perform further computation in your programs.
Test and Code: 132: mocking in Python - Anna-Lena Popkes
2020-09-28 14:00:00
Using mock objects during testing in Python.
Stack Abuse: Padding Strings in Python
2020-09-28 13:17:45
String padding refers to adding, usually, non-informative characters to a string to one or both ends of it. This is most often done for output formatting and alignment purposes, but it can have useful practical applications.
Abhijeet Pal: Pythonâs Generator and Yield Explained
2020-09-28 13:04:42
Generators are iterators, a kind of iterable you can only iterate over once. So what are iterators anyway? An iterator is an object that can be iterated (looped) upon. It ... Read more
Andrew Dalke: Simple FPS fingerprint similarity search: variations on a theme
2020-09-28 12:00:00
It's easy to write a fingerprint search tool. Peter Willett tells a story about how very soon after he, Winterman, and Bawden published Implementation of nearest-neighbor searching in an online chemical structure search system (1986) (which described their nearest-neighbor similarity search implementation and observed that Tanimoto similarity gave more satisfactory results than cosine similarity), he heard from a company which wrote their own implementation, on a Friday afternoon, and found it to be very useful.
Codementor: Resources to learn Tableau, Power BI, Python etc
2020-09-28 10:04:18
No summary found!
Codementor: Implementing Common Python Built-ins in JavaScript
2020-09-28 09:49:01
In this post we'll try to implement common Python builtins such as min mas etc in JavaScript. Here's what we'll have:
print(1, 2, 3, 4)
print(max([1, 2, 100]));
print(min([1, 2,...
Mike Driscoll: PyDev of the Week: William Cox
2020-09-28 05:05:03
This week we welcome William Cox as our PyDev of the Week. William is a data scientist who has spoken at a few Python conferences. He maintains a blog where you can catch up on whatâs new with him
Montreal Python User Group: MontrĂ©al-Python 80 â Pedal Kayak
2020-09-28 04:00:00
Greetings Python community, October is fast approaching with vibrant fall colour and our favourite apples. This is the occasion to set the table for our 80th event â Pedal Kayak â which will take place this coming October 26.
Erik Marsja: How to Convert a Float Array to an Integer Array in Python with NumPy
2020-09-27 18:59:25
The post How to Convert a Float Array to an Integer Array in Python with NumPy appeared first on Erik Marsja.
Peter Hoffmann: Azure Synapse SQL-on-Demand Openrowset Common Table Expression with SQLAlchemy
2020-09-27 00:00:00
In a previous post I have shown how to use turbodbc to access Azure Synapse SQL-on-Demand endpoints. A common pattern is to use the openrowset function to query parquet data from an external data source like the azure blob storage:
Weekly Python StackOverflow Report: (ccxliii) stackoverflow python report
2020-09-26 18:08:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-09-26 18:08:21 GMT
Erik Marsja: How to Perform Mann-Whitney U Test in Python with Scipy and Pingouin
2020-09-26 12:34:35
The post How to Perform Mann-Whitney U Test in Python with Scipy and Pingouin appeared first on Erik Marsja.
Eli Bendersky: GitHub Actions: first impressions
2020-09-26 03:13:00
I've been using Travis CI fairly extensively since 2013, when I moved my personal OSS projects from Bitbucket to GitHub. It's a great service and a much-appreciated boon to the open-source community.
ListenData: Matplotlib Tutorial : Learn by Examples
2020-09-25 23:12:40
No <p> found.
ListenData: Python list comprehension : Learn by Examples
2020-09-25 16:17:24
Functional programming is also good for parallel computing as there is no shared data or access to the same variable.
PyCharm: Webinar Recording: âFrom The Docs: PyCharm Skills, Beginner to Advancedâ with Alla Redko
2020-09-25 15:34:43
PyCharm has broad, useful, up-to-date documentation. How does it get made? Who works on it? What are some hidden gems? Last week we had a webinar covering this with Alla Redko, technical writer for PyCharm, and the recording is now available.
Codementor: Ternary Search Algorithm: Explained with example.
2020-09-25 13:14:33
Learn about the fast searching algorithm.
Codementor: Robot Framework with Selenium and Python: All You Need to Know
2020-09-25 12:09:11
Robot framework offers an extensible keyword driven approach to Selenium testing. Go from beginner to advanced with our comprehensive Robot Framework Tutorial.
Real Python: The Real Python Podcast â Episode #28: Using Pylance to Write Better Python Inside of Visual Studio Code
2020-09-25 12:00:00
A big decision a developer has to make is what tool to use to write code? Would you like an editor that understands Python, and is there to help with suggestions, definitions, and analysis of your code? For many developers, its the free tool, Visual Studio Code. This week on the show, we have Savannah Ostrowski, program manager for the Python Language Server and Python in Visual Studio. We discuss Pylance, a new language server with fast, feature-rich language support for Python in VS Code.
Andrew Dalke: Mixing text and chemistry toolkits
2020-09-25 12:00:00
This is part of a series of essays about using chemfp to work with SD files at the record and simple text level. Chemfp has a text toolkit to read and write SDF and SMILES files as records, rather than molecules. It also has a chemistry toolkit I/O API to have a consistent way to handle structure input and output when working with the OEChem, RDKit, and Open Babel toolkits. In this essay I'll combine the two, so chemfp reads records from an SD file, which are then passed to a chemistry toolkit for further parsing, then chemfp adds a data item back to the original record instead of converting the toolkits molecule into a new SDF record.
Codementor: How and why I built a menu planning application: What's on the Menu?
2020-09-25 08:39:32
No summary found!
Python Bytes: #200 No dog-piling please (it's episode 200!)
2020-09-25 08:00:00
No <p> found.
PyPy Development: PyPy 7.3.2 triple release: python 2.7, 3.6, and 3.7
2020-09-25 07:45:43
Â
Codementor: Find all the prime numbers less than 'n' in O(n) Time complexity
2020-09-25 06:58:14
Given a number n, find all prime numbers in a segment [2;n] in Linear Time Complexity
Mike Driscoll: CodingNomads Tech Talk Series!
2020-09-24 17:00:29
Recently CodingNomads invited me on their Tech Talk series. CodingNomads does online code camps for Python and Java.
PyBites: 10 Things We Picked Up From Code Reviewing
2020-09-24 16:43:00
We originally sent the following 10 tips to our Friends List; we got requests to post it here for reference, so here you go ...
PyCharm: Webinar: âvirtualenv â a deep diveâ with Bernat Gabor
2020-09-24 14:29:39
virtualenv is a tool that builds virtual environments for Python. It was first created in September 2007 and just went through a rewrite from scratch. Did you ever want to know what parts virtual environments can be broken down into? Or how they work? And how does virtualenv differ from the Python builtin venv? This is the webinar you want.
Stack Abuse: Facial Detection in Python with OpenCV
2020-09-24 12:30:00
Facial detection is a powerful and common use-case of Machine Learning. It can be used to automatize manual tasks such as school attendance and law enforcement. In the other hand, it can be used for biometric authorization.
Andrew Dalke: chemfp's chemistry toolkit I/O API
2020-09-24 12:00:00
This is part of a series of essays about working with SD files at the record and simple text level. In the last two essays I showed examples of using chemfp to process SDF records and to read two record data items. In this essay I'll introduce chemfp's chemistry toolkit I/O API, which I developed to have a consistent way to handle structure input and output when working with the OEChem, RDKit, and Open Babel toolkits.
Abhijeet Pal: Sending Emails With CSV Attachment Using Python
2020-09-24 08:02:20
In this tutorial, we will learn how to send emails with CSV attachments using Python. Pre-Requirements I am assuming you already have an SMTP server setup if not you can use the Gmail SMTP or Maligun or anything similar to ... Read more
Python Insider: Python 3.8.6 is now available
2020-09-24 06:55:24
Python 3.8.6 is the sixth maintenance release of Python 3.8. Go get it here:
Codementor: Is Python better than R for data science?
2020-09-24 06:44:10
In this Article you are going to know Is Python better than R for data science.
https://nareshit.com/python-online-training/
Abhijeet Pal: Sending Email With Zip Files Using Python
2020-09-24 05:50:19
In this tutorial, we will learn how to send emails with zip files using Pythonâs built-in modules. Pre-Requirements I am assuming that you already have an SMTP (Simple Mail Transfer Protocol ) server setup if not you can use Gmail ... Read more
Sebastian Witowski: Sorting Lists
2020-09-24 00:00:00
There are at least two common ways to sort lists in Python:
Matt Layman: Dynamically Regrouping QuerySets In Templates - Building SaaS #73
2020-09-24 00:00:00
In this episode, we worked on a new view to display course resources. While building out the template, I used some template tags to dynamically regroup a queryset into a more useful data format for rendering.
I started a new view before the stream to display content, but I had not filled it in before the stream started.
We added new data to the context, and did some adjustments to the URL based on the required inputs for the view.
The No TitleÂź Tech Blog: Book review â Effective Python, by Brett Slatkin (and a free chapter for download)
2020-09-23 23:04:00
Those among you who have already learned some Python or may even have used it in some projects will certainly have heard the expression âPythonic Codeâ, which conveys a general and somewhat wide meaning of âclean code and good software development practices in the context of Pythonâ. With Effective Python, the author presents you with nothing less than 90 practical examples on how to adopt a pythonic developer mindset and how to write better Python code.
Python Engineering at Microsoft: Python in Visual Studio Code â September 2020 Release
2020-09-23 17:20:50
We are pleased to announce that the September 2020 release of the Python Extension for Visual Studio Code is now available. You can âŻdownload the Python extension⯠from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code⯠in the documentation. Â
Patrick Kennedy: Application and Request Contexts in Flask
2020-09-23 14:49:13
I wrote two blog posts on TestDriven.io about how the Application and Request contexts are handled in Flask:
Real Python: Python Community Interview With David Amos
2020-09-23 14:00:00
This week Iâm joined by David Amos, the content technical lead here at Real Python.
PyCharm: PyCharm 2020.3 EAP â Starts now!
2020-09-23 13:52:53
The Early Access Program for our next major release, PyCharm 2020.3, is now open! If you are always looking forward to the next âbig thingâ we encourage you to join the program and share your thoughts on the latest PyCharm improvements!
Andrew Dalke: Extracting two SDF data items with chemfp's text toolkit
2020-09-23 12:00:00
This is part of a series of essays about working with SD files at the record and simple text level. In yesterday's essay I showed several examples of using chemfp's text toolkit API to process records from an SD file. In some cases, reading the entire record is too much work so in this essay I'll show some examples of extracting just two pieces of information (a title and a single SDF data item value, or two data item values) from the records.
Python Anywhere: How to use Ansible to update your Django web app
2020-09-23 12:00:00
Now, as you have overcome or evaded the reefs, shoals and swirls of initial development and deployment and your appetite grows, you ask âHow do I automate the update and restart of my web app when I change the code?â There is already one simple and elegant method on our blog, that uses one of the possible push to publish methods, but this time we will dip our toes into vast waters of Ansible automation.
Talk Python to Me: #283 Web scraping, the 2020 edition
2020-09-23 08:00:00
No <p> found.
PyCoderâs Weekly: Issue #439 (Sept. 22, 2020)
2020-09-22 19:30:00
#439 â SEPTEMBER 22, 2020 View in Browser »
Mike Driscoll: wxPython by Example â Adding a Background Image (Video)
2020-09-22 17:00:44
In this tutorial, you will learn how to add an image to your panel so that you have a background image to put your widgets on.
Python Morsels: Read-Only Attribute
2020-09-22 15:00:00
If you want to make a single attribute read-only on a class, the easiest way to do it is to make a property representing your attribute.
Real Python: Working With Linked Lists in Python
2020-09-22 14:00:00
Linked lists are like a lesser-known cousin of lists. Theyâre not as popular or as cool, and you might not even remember them from your algorithms class. But in the right context, they can really shine. If youâre looking to brush up on your coding skills for a job interview, or if you want to learn more about Python data structures besides the usual dictionaries and lists, then youâve come to the right place!
Python Software Foundation: The Python Software Foundation re-opens its Grants Program!
2020-09-22 12:33:45
The Python Software Foundation is excited to announce the re-opening of its Grants Program!Â
Andrew Dalke: Fun with SDF records - chemfp's text toolkit
2020-09-22 12:00:00
Earlier this year, Noel O'Boyle wrote the essay Python patterns for processing large SDF files and Richard Apodaca wrote Reading Large SDfiles in Rust. In this essay I'll show some examples of using chemfp's text toolkit API to extract non-chemical/near-chemical data from SDF records. The next essay will be a short one on read_sdf_ids_and_values(), followed by one which is more chemisty focused.
Ram Rachum: Live-coding a music synthesizer
2020-09-22 10:12:44
After so much work and waiting, the video of my EuroPython talk is finally released!
EuroPython: EuroPython âAsk me Anythingâ
2020-09-22 10:02:29
Dear Community,
Codementor: Which is better Python or C++?
2020-09-22 06:59:19
In this Article you are going to know about Which is better Python or C++
Meet the Experts for Better Guidence : https://nareshit.com/python-online-training/
Podcast.__init__: Flexible Network Security Detection And Response With Grapl - Episode 281
2020-09-22 00:09:01
Servers and services that have any exposure to the public internet are under a constant barrage of attacks. Network security engineers are tasked with discovering and addressing any potential breaches to their systems, which is a never-ending task as attackers continually evolve their tactics. In order to gain better visibility into complex exploits Colin OâBrien built the Grapl platform, using graph database technology to more easily discover relationships between activities within and across servers. In this episode he shares his motivations for creating a new system to discover potential security breaches, how its design simplifies the work of identifying complex attacks without relying on brittle rules, and how you can start using it to monitor your own systems today.
Anarcat: PSA: Mailman used to harrass people
2020-09-21 18:44:14
It seems that Mailman instances are being abused to harrass people with subscribe spam. If some random people complain to you that they "never wanted to subscribe to your mailing list", you may be a victim to that attack, even if you run the latest Mailman 2.
Real Python: Python Practice Problems: Get Ready for Your Next Interview
2020-09-21 14:00:00
Are you a Python developer brushing up on your skills before an interview? If so, then this tutorial will usher you through a series of Python practice problems meant to simulate common coding test scenarios. After you develop your own solutions, youâll walk through the Real Python teamâs answers so you can optimize your code, impress your interviewer, and land your dream job!
Catalin George Festila: Python 3.8.5 : A sphere in Cartesian coordinates - part 001.
2020-09-21 13:09:59
I like the equation of a sphere of radius R centered at the origin is given in Cartesian coordinates:
x*x + y*y + z*z = r*r
It is one of the first elements that helped me better understand mathematics and later the dynamics and theory of electromagnetic fields.
I did not find a graphical representation using python as accurately as possible without eliminating the discretion of the range from -1
Dataquest: Learn to Code Free â Our Interactive Courses Are ALL Free This Week!
2020-09-21 13:00:41
Exciting news: for the next week, all courses are free. Yup, every single course in every learning path is free from Sept 21-28.
Test and Code: 131: Test Smarter, Not Harder
2020-09-21 12:45:00
Some people avoid writing tests. Some drudge through it painfully. There is a better way. In this episode, I'm going to share some advice from Luke Plant on how to "Test Smarter, Not Harder".
Chris Moffitt: PB Python Article Roadmap
2020-09-21 12:25:00
September 17th is Practical Business Pythonâs anniversary. Last year, I reflected on 5 years of growth. This year, I wanted to take a step back and develop a guide to guide readers through the content on PBÂ Python.
Stack Abuse: Replace Occurrences of a Substring in String with Python
2020-09-21 12:13:00
Replacing all or n occurrences of a substring in a given string is a fairly common problem of string manipulation and text processing in general. Luckily, most of these tasks are made easy in Python by its vast array of built-in functions, including this one.
Andrew Dalke: Molfile "S SKP"
2020-09-21 12:00:00
In the last couple of essays I described some of the parts of a SDF record then pointed out some of the ways to break simple SDF record tokenizers. In this essay I'll point out an documentation curiosity which makes it even harder to parse a molfile with simple tools, though until I wrote this essay I had never seen it in actual use.
The Digital Cat: TDD in Python with pytest - Part 5
2020-09-21 08:30:00
This is the fifth and last post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python and have been reviewed to get rid of some bad naming choices of the version published in the book.
Mike Driscoll: PyDev of the Week: Jim Anderson
2020-09-21 05:05:39
This week we welcome Jim Anderson (@jimande75053775) as our PyDev of the Week! Jim is a contributing writer for Real Python. You can see some of the things that Jim works on in his spare time over on Github.
Ned Batchelder: Scriv
2020-09-20 22:43:55
Iâve written a tool for managing changelog files, called scriv. It focuses on a simple workflow, but with lots of flexibility.
John Cook: Searching Greek and Hebrew with regular expressions
2020-09-20 21:13:38
According to the Python Cookbook, âMixing Unicode and regular expressions is often a good way to make your head explode.â It is thus with fear and trembling that I dip my toe into using Unicode with Greek and Hebrew.
John Cook: Descartes and Toolz
2020-09-20 15:22:47
I was looking recently at the Python module toolz, a collection of convenience functions. A lot of these functions donât do that much. They donât save you much code, but they do make your code more readable by making it more declarative. You may not realize need them until you see them.
Kodnito: Tweet from Django application using Tweepy
2020-09-20 12:25:17
In this tutorial, we will learn how to post a tweet from Django application using Tweepy.
"CodersLegacy": What are Dependencies in Programming
2020-09-20 07:50:53
This article explains what Dependencies in Programming mean.
IslandT: Create the function which converts a given string into an md5 hash and return the value in the hexadecimal format
2020-09-20 04:58:39
When you sign up for an account somewhere, some websites do not actually store your password in their databases. Instead, they will transform your password into something else using a cryptographic hashing algorithm.
ListenData: How to rename columns in Pandas Dataframe
2020-09-20 01:46:00
First step is to install pandas package if it is not already installed. You can check if the package is installed on your machine by running !pip show pandas statement in Ipython console. If it is not installed, you can install it by using the command !pip install pandas.
Brett Cannon: Unravelling unary arithmetic operators
2020-09-20 00:51:37
In this entire blog series on Python's syntactic sugar, this might end up being the most boring post. đ We will cover the unary arithmetic operators: -, +, and ~ (inversion if you don't happen to be familiar with that last operator). Due to the fact that there is only a single object being involved, it's probably the most straightforward syntax to explain in Python.
Doug Hellmann: sphinxcontrib.datatemplates 0.7.0
2020-09-19 13:19:51
Continue reading "sphinxcontrib.datatemplates 0.7.0"
Catalin George Festila: Python 3.8.5 : Linked List - part 001.
2020-09-19 02:52:13
In computer science, a linked list is a linear collection of data elements whose order is not given by their physical placement in memory. see wikipedia.org.In this tutorial I will show you how these linked list works and how can build with python programming language.Let's start with some basic elements:Linked List is a linear data structure;Linked List are not array;Linked List are not stored
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - part 002 .
2020-09-19 01:46:58
Today I will show you how can use Levenshtein ratio and distance between two strings, see wikipedia.
I used three files created with LibreOffice and save it like xlsx file type.
All of these files come with the column A fill with strings of characters, in this case, numbers.
The script will read all of these files from the folder named xlsx_files and will calculate Levenshtein ratio and distance
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - part 001 .
2020-09-19 01:46:51
The Python executes the code line by line because is an interpreter language.
This allows users to solve issues in the programming area, fast and easy.
I use python versiono 3.8.5 build on Aug 12 2020 at 00:00:00, see the result of interactive mode:
[mythcat@desk ~]$ python
Python 3.8.5 (default, Aug 12 2020, 00:00:00)
[GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux
Type "help", "copyright", "
Catalin George Festila: Python 3.8.5 : Testing the pyre tool - part 001.
2020-09-19 01:46:42
The Pyre is a static analysis tool to detect and prevent security issues in Python code that can be found on the official website.
The Pyre tool supports the Language Server Protocol and has an extension for VSCode.
The team development comes at August 7, 2020, with this intro:
Pyre is a performant type checker for Python. Statically typing what are essentially fully dynamic languages has a long
Catalin George Festila: Python 3.8.5 : The hashlib python package - part 001.
2020-09-19 01:46:34
The tutorial for today is about hashlib python module.
The official webpage comes for this python package has this intro:
This module implements a common interface to many different secure hash and message digest algorithms. Included are the FIPS secure hash algorithms SHA1, SHA224, SHA256, SHA384, and SHA512 (defined in FIPS 180-2) as well as RSAâs MD5 algorithm (defined in Internet RFC 1321).
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 008.
2020-09-19 01:46:24
Today I deal with these two python packages named selenium and chromium-chromedriver.
I used selenium to get pieces of information from webpages.
These examples can be found at my GitHub project colab on the notebook named catafest_008.
Stack Abuse: Kernel Density Estimation in Python Using Scikit-Learn
2020-09-18 17:40:00
This article is an introduction to kernel density estimation using Python's machine learning library scikit-learn.
Real Python: The Real Python Podcast â Episode #27: Preparing for an Interview With Python Practice Problems
2020-09-18 12:00:00
What is an effective way to prepare for a Python interview? Would you like a set of problems that increase in difficulty to practice and hone your Python skills? This week on the show, we have Jim Anderson to talk about his new Real Python article, "Python Practice Problems: Get Ready for Your Next Interview." This article provides several problems, which include skeleton code, unit tests, and solutions for you to compare your work.
Andrew Dalke: Handling the SDF record delimiter
2020-09-18 12:00:00
In this essay I'll point out a common difficulty people have when trying to identify the end of an SDFile record. In my previous essay I walked through the major parts of the following record:
Codementor: I Want to Learn Programming but I Donât Know Where to Start
2020-09-18 10:48:10
I have compiled a step-by-step guide that will get you started on your software development journey and eliminate your apprehensions.
Kodnito: Django Authentication With GitHub
2020-09-17 19:35:06
In this tutorial, we will build a Django application that allows users to sign in via their GitHub account.
Erik Marsja: Pip Install Specific Version of a Python Package: 2 Steps
2020-09-17 15:55:01
The post Pip Install Specific Version of a Python Package: 2 Steps appeared first on Erik Marsja.
Stack Abuse: Python: Check if File or Directory is Empty
2020-09-17 12:30:00
Python has a set of built-in library objects and functions to help us with this task. In this tutorial, we'll learn how to check if a file or directory is empty in Python.
Andrew Dalke: SDF record walkthrough
2020-09-17 12:00:00
In this essay I'll walk through the major parts of a simple V2000 SDFile record.
The Digital Cat: TDD in Python with pytest - Part 4
2020-09-17 09:30:00
This is the fourth post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python and have been reviewed to get rid of some bad naming choices of the version published in the book.
PyCharm: PyCharm 2020.2.2
2020-09-17 09:14:23
PyCharm 2020.2.2 is out now with important fixes to improve your usability and productivity. Update from within PyCharm (Help | Check for Updates), using the JetBrains Toolbox, or by downloading the new version from our website.
Python Bytes: #199 Big news for a very small Python runtime
2020-09-17 08:00:00
No <p> found.
Talk Python to Me: #282 pre-commit framework
2020-09-17 08:00:00
No <p> found.
Python Insider: Python 3.9.0rc2 is now available for testing
2020-09-17 05:56:46
 Python 3.9.0 is almost ready. This release, 3.9.0rc2, is the last planned preview before the final release of Python 3.9.0 on 2020-10-05. Get it here:
Techiediaries - Django: Angular 10 and Django 3 Image Files Upload with FormData
2020-09-17 00:00:00
Throughout this tutorial, we'll see how we can implement file and image upload in Django 3, Django REST Framework and Angular 10 with a step by step example.
Techiediaries - Django: Multiple Image Files Upload with Django 3, Angular 10 and FormData
2020-09-17 00:00:00
PythonâSpeed: The mmap() copy-on-write trick: reducing memory usage of array copies
2020-09-17 00:00:00
Letâs say you have an array, and you need to make some copies and modify those copies. Usually, memory usage scales with the number of copies: if your original array was 1GB of RAM, each copy will take 1GB of RAM. And that can add up.
Sebastian Witowski: For Loop vs. List Comprehension
2020-09-17 00:00:00
Many simple âfor loopsâ in Python can be replaced with list comprehensions. You can often hear that list comprehension is âmore Pythonicâ (almost as if there was a scale for comparing how Pythonic something is, compared to something else đ). In this article, I will compare their performance and discuss when a list comprehension is a good idea, and when itâs not.
Codementor: The Zen of Python: As Related by Masters
2020-09-16 22:57:35
Kissing the soul of Python
Erik Marsja: Pandas Convert Column to datetime â object/string, integer, CSV & Excel
2020-09-16 18:22:40
The post Pandas Convert Column to datetime â object/string, integer, CSV & Excel appeared first on Erik Marsja.
Real Python: Numbers in Python
2020-09-16 14:00:00
You donât need to be a math whiz to program well. The truth is, few programmers need to know more than basic algebra. Of course, how much math you need to know depends on the application youâre working on. In general, the level of math required to be a programmer is lower than you might expect. Although math and computer programming arenât as correlated as some people might believe, numbers are an integral part of any programming language, and Python is no exception.
Stack Abuse: Python: Check if Variable is a Number
2020-09-16 12:30:00
In this article, we'll be going through a few examples of how to check if a variable is a number in Python.
Andrew Dalke: Faster gzip reading in Python
2020-09-16 12:00:00
In this essay I'll describe how I improved chemfp's gzip read performance by about 15% by replacing Python's built-in gzip module with a ctypes interface to libz. If you need faster gzip read performance, you might consider using zcat or similar tool in a subprocess - if so, look at the xopen module.
Python Circle: Sending email with attachments using Python built-in email module
2020-09-16 10:45:15
Sending email with attachments using Python built-in email module, adding image as attachment in email while sending using Python, Automating email sending process using Python, Automating email attachment using python
Python Circle: Python Requests Library: Sending HTTP GET and POST requests using Python
2020-09-16 10:45:15
Python requests library to send GET and POST requests, Sending query params in Python Requests GET method, Sending JSON object using python requests POST method, checking response headers and response status in python requests library
STX Next: Python vs. JavaScript: Is It a Fair Comparison?
2020-09-16 09:45:45
When we talk about building a project with Python or JavaScript, we very rarely mean building every software component with one programming language.
Kodnito: Integrate Summernote Editor in Django application
2020-09-16 06:59:24
In this tutorial, we will learn how to integrate Summernote WYSIWYG Editor in Django.
Mike Driscoll: wxPython by Example: Adding Icons to the Title Bar (Video)
2020-09-16 05:05:40
In this video tutorial, you will learn how to add icons to your wxPython applicationâs title bar. This is a nice feature to add to your application to give your program some branding.
Nathan Piccini Data Science Dojo Blog: Building a Chatbot with Google DialogFlow
2020-09-15 19:53:47
Chatbots have become extremely popular in recent years and their use in e-commerce has industry has skyrocketed. They have found a strong foothold in almost every task that requires text-based public dealing. They have become so critical with customer support, for example, that almost 25% of all customer service operations are expected to use them by the end of 2020.
PyCoderâs Weekly: Issue #438 (Sept. 15, 2020)
2020-09-15 19:30:00
#438 â SEPTEMBER 15, 2020 View in Browser »
Real Python: Command Line Interfaces in Python
2020-09-15 14:00:00
Adding the capability of processing Python command line arguments provides a user-friendly interface to your text-based command line program. Itâs similar to what a graphical user interface is for a visual application thatâs manipulated by graphical elements or widgets.
Andrew Dalke: chemfp on the command-line
2020-09-15 12:00:00
In this essay I'll gives some examples of using chemfp on the command-line to search ChEMBL. Chemfp is a Python package for high-performance cheminformatics fingerprint similarity search. If you want to follow along you'll need to install chemfp and the RDKit toolkit.
Andrew Dalke: Changes in chemfp 3.4
2020-09-15 12:00:00
In a previous essay I talked about the new licensing model in the recent chemfp 3.4 release. In short, no-cost academic licensing is now available, a pre-compiled version of the package, with some restrictions on use, is available for no-cost use on for Linux-based OSes.
EuroPython: EuroPython 2020: First batch of edited videos available
2020-09-15 10:53:29
Weâre happy to release the first 30 cut videos of EuroPython 2020. You can watch them on our YouTube channel:
Fabio Zadrozny: PyDev 8.0 released (17 years of PyDev, typing support, MyPy and Debugger)
2020-09-15 09:18:12
Wow, PyDev is turning 8.0... the 8.0 version probably doesn't do much justice as it's actually being developed for 17 years already! đ
Reuven Lerner: âPython Workoutâ is Manningâs âDeal of the Dayâ!
2020-09-15 08:31:18
If youâve been looking for a way to become more fluent in Python, then thereâs no better way than practice. And my book, Python Workout, is full of such exercises, helping you to really understand how and when to use lots of Python techniques.
Python Software Foundation: Answer these surveys to improve pip's usability
2020-09-15 08:17:14
The pip team has been working on improving the usability of pip since the start of this year. We've been carrying this work out remotely - by interviewing pip users, by sending short surveys, and doing usability tests of new pip functions.
The Digital Cat: TDD in Python with pytest - Part 3
2020-09-15 06:00:00
This is the third post in the series "TDD in Python from scratch" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python and have been reviewed to get rid of some bad naming choices of the version published in the book.
Mike Driscoll: Python 101: An Intro to Working with JSON
2020-09-15 05:05:05
JavaScript Object Notation, more commonly known as JSON, is a lightweight data interchange format inspired by JavaScript object literal syntax. JSON is easy for humans to read and write. It is also easy for computers to parse and generate. JSON is used for storing and exchanging data in much the same way that XML is used.
Podcast.__init__: Simplified Data Extraction And Analysis For Current Events With Newspaper
2020-09-15 01:04:19
News media is an important source of information for understanding the context of the world. To make it easier to access and process the contents of news sites Lucas Ou-Yang built the Newspaper library that aids in automatic retrieval of articles and prepare it for analysis. In this episode he shares how the project got started, how it is implemented, and how you can get started with it today. He also discusses how recent improvements in the utility and ease of use of deep learning libraries open new possibilities for future iterations of the project.
Kodnito: Slugify Urls in Django
2020-09-14 20:30:27
In this tutorial, we will learn how to slugify urls in Django.
Python Engineering at Microsoft: Pylance introduces five new features that enable type magic for Python developers
2020-09-14 15:35:35
In last weekâs Pylance update we introduced Semantic colorization, and thank you for all feedback! It was exciting for the team to bring this new feature to you. With the latest release of Pylance (version 2020.9.4) we are excited to introduce features that bring us closer to the goal of helping developers write correct Python code faster and more easily.
Real Python: Plot With Pandas: Python Data Visualization for Beginners
2020-09-14 14:00:00
Whether youâre just getting to know a dataset or preparing to publish your findings, visualization is an essential tool. Pythonâs popular data analysis library, pandas, provides several different options for visualizing your data with .plot(). Even if youâre at the beginning of your pandas journey, youâll soon be creating basic plots that will yield valuable insights into your data.
Mike Driscoll: Python 101 2nd Edition Released!
2020-09-14 13:00:49
My latest book, Python 101 (2nd Edition), is now available on Leanpub (PDF, epub, mobi) and Amazon (paperback / Kindle).
Chris Moffitt: Reading HTML tables with Pandas
2020-09-14 12:25:00
The pandas read_html() function is a quick and convenient way to turn an HTML table into a pandas DataFrame. This function can be useful for quickly incorporating tables from various websites without figuring out how to scrape the siteâs HTML. However, there can be some challenges in cleaning and formatting the data before analyzing it. In this article, I will discuss how to use pandas read_html() to read and clean several Wikipedia HTML tables so that you can use them for further numeric analysis.
Andrew Dalke: Similarity principle variations
2020-09-14 12:00:00
Maggiora, Vogt, Stumpfe, and Bajorath in their 2014 J. Med. Chem miniperspective Molecular Similarity in Medicinal Chemistry write: In the context of a seminal book publication8 that appeared in the early 1990s when molecular similarity analysis first became popular, the similarity property principle (SPP) emerged, which stated that similar compounds should have similar properties, the most frequently studied property being biological activity. That citation "8" is Concepts and applications of molecular similarity, edited by Mark A. Johnson and Gerald M. Maggiora (1990), published by Wiley. This is an often-cited reference in the cheminformatics literature. Google Scholar knows about 1411 citations to it.
Codementor: Classic Python Interview Question: the Two Sum Problem
2020-09-14 08:27:05
Learn about the classic 2-Sum Interview Problem in Python.
Mike Driscoll: PyDev of the Week: Débora Azevedo
2020-09-14 05:05:55
This week we welcome DĂ©bora Azevedo (@pydebb) as our PyDev of the Week! DĂ©bora is active in the PyLadies and DjangoGirls groups as well as teaching Python at PyLadies workshops. Letâs spend some time getting to know her better!
Codementor: Python vs R, Which is the Best Language for Data Analysis?
2020-09-14 04:33:25
Data Analytics is needed in Business to Consumer applications (B2C). Organisations collect data that they have gathered from customers, businesses, economy and practical experience. Data is then...
Ned Batchelder: Song-basket
2020-09-13 21:03:20
I threw together a Spotify API program called song-basket. I have a few large themed playlists (for example, Instrumental Funk). This app is to help me add songs to them. I can choose a playlist (the basket), and then as I surf around Spotify, it lets me add the current song to the basket with one click. It also shows me whether the current song is already in the basket or not, which they often are. If the song is already in the basket, I donât have to think about whether to add it, and I donât have to deal with the annoying âAdd duplicate?â question.
Codementor: Building A Color Picker in PyGame using Hooman
2020-09-13 17:20:58
Building a color picker using Python
Test and Code: 130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn
2020-09-13 16:30:00
virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Skinn noticed inconsistencies. He set out to fix those inconsistencies. That was the start of an adventure in open source collaboration, shell prompt internals, difficult test problems, and continuous integration quirks.
Kodnito: Upload Images to Cloudinary from Django Application
2020-09-13 13:04:07
Upload images to Cloudinary from Django Application.
Kushal Das: Reproducible wheels at SecureDrop
2020-09-13 05:22:07
Weekly Python StackOverflow Report: (ccxlii) stackoverflow python report
2020-09-12 11:52:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-09-12 11:52:16 GMT
Python Circle: How to use Jupyter Notebook for practicing python programs
2020-09-12 10:45:11
How to use Jupyter Notebook for practicing python programs, jupyter notebook installation and usage in linux ubuntu 16.04, Writing first program with Jupyter notebook, uploading file in jupyter notebook
Pythonistas.dev: Interview with Victory Wekwa
2020-09-12 06:20:28
Today we welcome Victory Wekwa, Petroleum Engineering graduate, Python Developer and open source contributor.
Mike Driscoll: Python 101 â Learning About Comprehensions (Video)
2020-09-11 15:07:40
In this tutorial, you will learn about Pythonâs comprehensions, like the popular list comprehension and the dictionary comprehension.
Codementor: Python Testing Framework - Reading Time: 3 Mins
2020-09-11 13:06:48
The 3 Python testing framework that I would recommend for any Python developer looking to use to speed up deployment and reduce the amount of manual testing required.
Stack Abuse: Guide to String Interning in Python
2020-09-11 12:30:00
One of the first things you encounter while learning the basics of programming is the concept of strings. Similar to various programming languages, Python strings are arrays of bytes representing Unicode characters - an array or sequence of characters. Python, unlike many programming languages, doesnât have a distinct character datatype, and characters are considered strings of length 1.
Kushal Das: SecureDrop package build breakage due to setuptools
2020-09-11 12:29:43
A few days ago, setuptools 50.0.0 release caused breakage to many projects. SecureDrop package builds was also broken. We use dh-virtualenv tool to build the packages. Initially, we tried to use the experimental build system from dh-virtualenv. We could specify the version of the setuptools to be installed in the virtualenv while creating it.
Real Python: The Real Python Podcast â Episode #26: 5 Years Podcasting Python with Michael Kennedy: Growth, GIL, Async, and More
2020-09-11 12:00:00
Why is Python pulling in so many new programmers? Maybe some of that growth is from Python being a full-spectrum language. This week on the show we have Michael Kennedy, the host of the podcast "Talk Python to Me". Michael reflects on five years of podcasting about Python, and many of the changes he has seen in the Python landscape.
Andrew Dalke: Similarity principle in legal cases
2020-09-11 12:00:00
Read enough cheminformatics papers and you'll eventually come across the a variation of the similarity principle or similar property principle or molecular similarity principle. Here's a 2020 example from the JCIM paper Assessing the Performance of Mixed Strategies To Combine Lipophilic Molecular Similarity and Docking in Virtual Screening: Under the framework of the similarity principle property,5 which assumes that similar compounds should have similar properties, a plethora of methods have been developed to disclose structure-activity relationships, derive pharmacophores to rationalize the biological activity, and perform similarity measurements in the search of novel chemical scaffolds. and here's the only one in J. Cheminformatics, titled Optimal assignment methods for ligand-based virtual screening by Jahn, Hinselmann, Fechner and Zell (2009): The underlying assumption of ligand-based approach is that similar structures have similar biological activity. Maggiora and Johnson [8] introduced the similarity-property principle that implies that the chemical similarity can be related to the biological activity of structures. In both cases that citation is to Johnson and Maggiora's (ed.) seminal work Concepts and Applications of Molecular Similarity.
Python Software Foundation: Noah Alorwu Awarded the PSF Community Service Award for Q2 2020
2020-09-11 11:22:37
Â
Python Bytes: #198 There's a beaver in your database and Anna-Lena drops by
2020-09-11 08:00:00
No <p> found.
The Digital Cat: TDD in Python with pytest - Part 2
2020-09-11 07:47:38
This is the second post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python and have been reviewed to get rid of some bad naming choices of the version published in the book.
PythonâSpeed: Shrink your Conda Docker images with conda-pack
2020-09-11 00:00:00
If youâre building a Docker image thatâs based on Conda, the resulting images can be huge. For example, later I will show how a simple image with just Python 3.8 and NumPy can be over 950MB!
Codementor: Correlation matrix in Excel, Python and R
2020-09-10 18:07:35
Correlation matrix in Excel, Python and R.
Catalin George Festila: Python 3.8.5 : Get Sentinel-3 satellite data from Eutelsat.
2020-09-10 14:36:40
The tutorial for today is about Eutelsat satellites.
I used Sentinel-3 with these features:
Instrument: SLSTR;
Mode: EO;
Satellite: Sentinel-3
You need to install xarray and netcdf4 python packages:
[mythcat@desk TLauncher]$ pip install xarray
...
[mythcat@desk ~]$ pip install netcdf4
Defaulting to user installation because normal site-packages is not writeable
Collecting netcdf4
Mike Driscoll: Python 101 â How to Crop a Photo (Video)
2020-09-10 13:36:46
In this tutorial, you will learn how to use Python to crop a photo using Pillow, the friendly fork of the Python Imaging Library.
Andrew Dalke: United States v. Brown ... v. Tanimoto
2020-09-10 12:00:00
I work in what I'll call algorithmic molecular similarity, where people use an algorithm to characterize if two molecules are similar. There is almost no overlap between those methods and legal molecular similarity. Two essays ago I covered patent law, where patentability depends on the expectations of a "person having ordinary skill in the art". In my previous essay I covered drug control law, which in the US seems based on the ability of laypeople to judge chemical similarity based on 2-D structure.
Python Circle: Python program to convert Linux file permissions from octal number to rwx string
2020-09-10 10:46:12
Python program to convert Linux file permissions from octal number to rwx string, Linux file conversion python program, Python script to convert Linux file permissions
Abhijeet Pal: Pythonâs @property Decorator Explained
2020-09-10 09:47:51
Python provides a built-in @property decorator which makes usage of getter and setters much easier in Object-Oriented Programming. Properties are useful because they allow us to handle both setting and getting values in a programmatic way but still allow attributes to be accessed as attributes. Letâs look at one example. class Circle(): def __init__(self, radius): self.diameter = 2*radius def circumference(self): return 3.14*self.diameter @property def radius(self): return self.diameter / 2 @radius.setter def radius(self, radius): self.diameter = 2 * radius In Python, @property is a built-in decorator that creates and returns a property object. The @property decorator is internally taking the bounded method as an argument and returns a descriptor object. That descriptor object then gets the same name of the old method therefore the setter method is bound to that method i.e. @radius.setter the method getter is referring too. Now letâs create an object and get its circumference c = Circle(radius=2) c.circumference() Output: 12.56 Next, letâs use the radius setter method. c.radius = 3 c.circumference() Output: 18.84 Properties solve several problems. The main one is that they allow you to substitute a method âŠ
The Digital Cat: TDD in Python with pytest - Part 1
2020-09-10 08:30:00
This series of posts comes directly from my book Clean Architectures in Python. As I am reviewing the book to prepare a second edition, I realised that Harry percival was right when he said that the initial part on TDD shouldn't be in the book. That's a prerequisite to follow the chapters on the clean architecture, but it is something many programmers already know and they might be surprised to find it in a book that discusses architectures.
Quansight Labs Blog: PyTorch-Ignite: training and evaluating neural networks flexibly and transparently
2020-09-10 05:00:00
Read more⊠(27 min remaining to read)
Sebastian Witowski: Ordered Dictionaries
2020-09-10 00:00:00
If you worked with Python 2 or an early version of Python 3, you probably remember that in the past, dictionaries were not ordered. If you wanted to have a dictionary that preserved the insertion order, the go-to solution was to use OrderedDict from the collections module.
Matt Layman: Displaying Breaks - Building SaaS #72
2020-09-10 00:00:00
In this episode, I worked to add breaks to the display of the week schedule. We had to update context to include the break information into the schedules. I refactored a method out of the calendar display code to make some reusable logic for handling breaks.
The app needs to display breaks on the schedule and adjust what is displayed based on when the breaks are. I started with changing the background color of the break days.
PSF GSoC students blogs: Test post
2020-09-09 18:34:07
Testing for permissions
Python for Beginners: Most Common Python Interview Questions For 2020
2020-09-09 16:57:02
Python is the one of the most sought after skill in todayâs marketplace.
Codementor: Bar chart using measures in Power BI
2020-09-09 16:29:59
Create Bar chart using measures in Power BI
Real Python: Find & Fix Code Bugs in Python: Debug With IDLE
2020-09-09 14:00:00
Everyone makes mistakesâeven seasoned professional developers! Pythonâs interactive interpreter, IDLE, is pretty good at catching mistakes like syntax errors and runtime errors, but thereâs a third type of error that you may have already experienced. Logic errors occur when an otherwise valid program doesnât do what was intended. Logic errors cause unexpected behaviors called bugs. Removing bugs is called debugging.
Abhijeet Pal: Pythonâs @classmethod and @staticmethod Explained
2020-09-09 11:39:26
For beginners who are learning object-oriented programming in Python, it is very essential to have a good grasp over class method and static method for writing more optimized and reusable code. Also, it is very common for even experienced programmers coming from different languages to get confused between these two. In this article, we will develop a better understanding of the class method and static methods in Python. Static Method in Python A @staticmethod is a method that knows nothing about the class or instance it was called on unless explicitly given. It just gets the arguments that were passed, no implicit first argument and Itâs definition is immutable via inheritance. In simpler words a @staticmethod is nothing more than a regular function defined inside a class that doesnât have access to the instance therefore It is callable without instantiating the class. Syntax: class ClassName: @staticmethod def method_name(arg1, arg2, ...): ... We use the @staticmethod decorator for defining a static method in Python, here you can observe that the static method is not taking self as an argument for the âŠ
Talk Python to Me: #281 Python in Car Racing
2020-09-09 08:00:00
No <p> found.
Codementor: Python Errors: Nameerror name is not defined and more
2020-09-09 06:49:13
Learn the main python errors, how to interpret them, how they arise, so you can avoid them. Your code will be more stable and reliable
Sumana Harihareswara - Cogito, Ergo Sumana: Breaking Release Bottlenecks -- What Changeset Can Do
2020-09-09 02:13:51
Pipenv's maintainers had not released a new version since November 2018, and users were concerned (in many cases switching to competitors). In early March of this year, someone suggested that perhaps the official Python Packaging User Guide should stop recommending it. I saw that suggestion and went into the relevant Internet Relay Chat (IRC) channel to nudge one of pipenv's maintainers and to ask: what do you need? What's blocking you? Dan Ryan ("techalchemy") knew what was blocking him: techalchemy: if you're purely evaluating 'how do we release the code', yeah I might just be the main roadblock? techalchemy: someone to yell at me to stop doing things that are not related to the goal? techalchemy: lol sumanah: let us assume that a successful release -- even as a pre-alpha -- is something that does not instantly break every user's life techalchemy: yeah longer term planning though would require tech writing for sure and onboarding help, god do I struggle with that techalchemy: have you heard me explain something... sumanah: if you JUST want someone to yell at you to stop doing those unrelated things, just for about a month, then that can be cheaper .... would you actually _listen_ to that person? techalchemy: historically speaking, I'd insist I was doing something important briefly but probably reassess, I do know what needs to happen sumanah: :-) ok. So, how frequently do you need those checkins? like, 4 times a day, 5 days a week? techalchemy: hopefully not that much, but I could see a few checkins being helpful especially if we were also onboarding some new people sumanah: techalchemy: ~10 minutes of conversation, via IRC, 4 times a day, 5 days a week, for 3 weeks.... That would have worked out to about ten hours. We underestimated how long it would take Dan to address some nasty continuous integration bugs, so instead of three weeks it took three months. Over those months, I donated about 15 hours of my time, helping him release two betas, then a stable version in May. Given my current hourly rates, this constitutes a donation worth a few thousand dollars, which is infinitesimal compared to the value unlocked by expediting a pipenv release. Dan needed someone to help him with prioritization, release management, and communications. So I: rewrote the release checklist and kept it updated updated GitHub issues and tweeted to keep users apprised, and to ask them for help testing the beta releases (including suggestions of specific cases to test, which I later adapted for pip) created draft outlines for him to fill in so he could write a status update and the beta release announcement for mailing lists/forums closed duplicate "is pipenv dead?" issues and updated a longer-term issue about maintainer needs, roadmap, etc. made a few documentation pull requests: nudged Dan and Ernest to move Pipenv docs from a nonfunctioning domain to pipenv.pypa.io, fixed a bunch of obsolete links, and edited Dan's "how to release" docs and made a pull request to move them into the repo and out of an ephemeral hackpad every few days, checked in with Dan via IRC or email (we also had a few videocalls) to help him stay on task Phil Gyford noticed that initial IRC conversation and said: It's kind of fascinating as an example of bottlenecks in open source development and the importance of project managers. And Yoz Grahame replied: I regularly have conversations like this, and it's a toss-up as to which of the two roles I play. Yeah. An external perspective can help a lot. And, ideally, a project manager is a supportive accountability partner who helps with the bits you're not great at. If you/your company depends on an open source project and you're getting annoyed or worried because the release cadence has slowed to a standstill, there's a strong chance you can turn that around. If someone on your team can spend a few hours complementing the existing maintainers and helping unblock them, that could save you a bundle compared to forking or switching dependencies. Try talking with the maintainers about what they need. And I do mean talking, as in, synchronous conversation via voice or chat, so you can build some trust and get the kind of conversation you see in the IRC log above. Or: contact Changeset Consulting for a free initial 30-minute chat. Maybe it'll only cost you a few thousand dollars to get that bottleneck unblocked. Let's find out!
Wingware: Wing Python IDE 7.2.5 - September 9, 2020
2020-09-09 01:00:00
Wing 7.2.5 enhances the accuracy of some types of code warnings, improves Debug I/O process management, streamlines new virtualenv creation, implements vi mode :[range]y, and makes a number of usability improvements.
Zero-with-Dot (Oleg ƻero): Is Financial Independence a product of fortune?
2020-09-08 22:00:00
This is the second part of the work that attempts to find a recipe towards financial independence - a stage where you no longer need to work to support yourself.
Matt Layman: From Concept To Live In Two Weeks With Django
2020-09-08 21:43:29
My team had two weeks to make a viable product. We were a random group of people pulled together with a desire to help our local community in Frederick, Maryland. We were a student, a web designer, a former realtor turned IT support person, and a software developer.
Our mission, which was put forth by the virtual hackathon that brought us together, was to try to make a tool to help the local homeless.
PyCoderâs Weekly: Issue #437 (Sept. 8, 2020)
2020-09-08 19:30:00
#437 â SEPTEMBER 8, 2020 View in Browser »
Reuven Lerner: This Sunday, start writing better Python code
2020-09-08 18:17:00
Want to write better, more readable, more flexible, and more maintainable Python code?
Erik Marsja: How to Convert a numpy Array to Pandas Dataframe: 3 Examples
2020-09-08 14:19:27
The post How to Convert a numpy Array to Pandas Dataframe: 3 Examples appeared first on Erik Marsja.
Real Python: Exploring HTTPS and Cryptography in Python
2020-09-08 14:00:00
Have you ever wondered why itâs okay for you to send your credit card information over the Internet? You may have noticed the https:// on URLs in your browser, but what is it, and how does it keep your information safe? Or perhaps you want to create a Python HTTPS application, but youâre not exactly sure what that means.
Mike Driscoll: wxPython by Example: Creating Flashing Text (Video)
2020-09-08 13:21:10
In this wxPython tutorial, you will learn how to make your label flash. This is a useful way to get a userâs attention when something goes wrong.
PyCharm: Finding and fixing Python vulnerabilities in PyCharm with Snykâs new plugin
2020-09-08 13:01:27
This guest blog post is brought to you by Snyk.
Andrew Dalke: Patents and molecular similarity
2020-09-08 12:00:00
I work in what I'll call algorithmic molecular similarity, where people use an algorithm to characterize if two molecules are similar. There are many such algorithms: 2D and 3D fingerprints, maximum common substructure, edit distance, LINGO, and shape similarity are the first ones that come to mind.
Andrew Dalke: Drug control law and molecular similarity
2020-09-08 12:00:00
I work in what I'll call algorithmic molecular similarity, where people use an algorithm to characterize if two molecules are similar. There is almost no overlap between those methods and legal molecular similarity, which includes patent law and drug control law. I know little about the topic, so don't trust what I write here in a court of law! In this essay I'll mostly copy&paste some quotes regarding drug control law. My previous essay did the same for patents.
Podcast.__init__: Digging Into Dagster: An Opinionated Open Source Framework For Data Orchestration
2020-09-07 22:35:39
Data applications are complex and continually evolving, often requiring collaboration across multiple teams. In order to keep everyone on the same page a high level abstraction is needed to facilitate a cross-cutting view of the data orchestration across integration, transformation, analytics, and machine learning. Dagster is an innovative new framework that leans on the power and flexibility of Python to provide an extensible interface to the complete lifecycle of data projects. In this episode Nick Schrock explains how he designed the Dagster project to allow for integration with the entire data ecosystem while providing an opinionated structure for connecting the different stages of computation. He also discusses how he is working to grow an open ecosystem around the Dagster project, and his thoughts on building a sustainable business on top of it without compromising the integrity of the community. This was a great conversation about playing the long game when building a business while providing a valuable utility to a complex problem domain.
Test and Code: 129: How to Test Anything - David Lord
2020-09-07 18:00:00
I asked people on twitter to fill in "How do I test _____?" to find out what people want to know how to test. Lots of responses. David Lord agreed to answer them with me. In the process, we come up with lots of great general advice on how to test just about anything.
Codementor: Klotski Adventure â Part 2
2020-09-07 15:04:45
If you want play and feel klotski. www.schoolarchimedes.com
Now,to get shortest solution is no brainer, just use BFS.
```
starttime = time.time()
vis = set()
par = {b: None}
q =...
Codementor: Klotski Adventure â Part 1
2020-09-07 14:53:50
How solving Klotski puzzle lead to finding algorithmic AI solution for AiFactory's MoveIt game.
Real Python: Video Subtitles & Transcripts Now Available on Real Python
2020-09-07 14:00:00
Hey there,
Abhijeet Pal: Python callable() Explained
2020-09-07 06:42:06
In programming, a callable is something that can be called. In Python, a callable is anything that can be called, using parentheses and maybe with some arguments. Functions, Generators, and Classes are inherently callable in Python. The callable() method takes an object and returns a boolean. True â if the object is callable False â if the object is not callable The callable() method checks if the object is either of the two â An instance of a class with a __call__ method Is of a type that has a which indicates callability such as in functions, classes, etc. or has a non-null tp_call (c struct) member. Since functions are callable in Python. def my_function(): print("Hi, I'm a function") callable(my_function) Output True This indicates that every time we create a function, Python creates a callable object for it. You can also verify the presence of __call__ attribute. my_function.__call__ Output <method-wrapper '__call__' of function object at 0x7f08706d5840> Similarly for a Class, class MyClass(): def my_method(self): print("Hi, I am a class method") callable(MyClass) Output True However, if you create an object and âŠ
Mike Driscoll: PyDev of the Week: Nathan Epstein
2020-09-07 05:05:12
This week we welcome Nathan Epstein (@epstein_n) as our PyDev of the Week! Nathan has given talks on various subjects all over the world. He has also written articles for Dev.to, Codewords and more.
Techiediaries - Django: Run your Python Unit Tests with GitHub Actions
2020-09-07 00:00:00
In this tutorial, we'll learn how to automatically run your Python unit tests using GitHub Actions.
Techiediaries - Django: VS Code: Automatically Organize Python Imports
2020-09-06 00:00:00
In this quick tip, we'll see how to configure VS Code to automatically organize Python imports upon saving your source code files.
Doug Hellmann: sphinxcontrib-spelling 5.4.0
2020-09-05 15:17:09
Continue reading "sphinxcontrib-spelling 5.4.0"
Weekly Python StackOverflow Report: (ccxli) stackoverflow python report
2020-09-05 13:22:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-09-05 13:21:31 GMT
Talk Python to Me: #280 Python and AI in Journalism
2020-09-05 08:00:00
No <p> found.
Python Bytes: #197 Structured concurrency in Python
2020-09-05 08:00:00
No <p> found.
Python Insider: Python 3.5.10 is now available
2020-09-05 04:54:44
 Python 3.5.10 is now available. You can get it here.
Techiediaries - Django: How to Delete Local/Remote Git Branches
2020-09-05 00:00:00
If you have previously worked with Git for versioning your Angular code, there is a good chance that you had some situation where you wanted to delete a remote branch or multiple branches. This happens many times to developers, particularly in large projects.
Techiediaries - Django: Using Comments in JSON with Node.js and JavaScript Examples
2020-09-05 00:00:00
In this article, we'll learn how to use comments in JSON files. We'll see workarounds and methods used by developers to add single-line and multiple-line comments to their JSON files, the external libraries and packages for stripping comments from your files before feeding them to the regular JSON.parse() method in JavaScript and Node.js and we'll also see simple JavaScript code for removing comments without external libraries. Finally, we'll see the alternative formats to JSON that support comments such as JSON5 and JSONC.
Techiediaries - Django: Removing Comments from JSON with Python
2020-09-05 00:00:00
JSON doesn't permit comments by design. As explained by its creator Douglas Crockford.
Ahmed Bouchefra: How to Delete Local/Remote Git Branches
2020-09-05 00:00:00
If you have previously worked with Git for versioning your Angular code, there is a good chance that you had some situation where you wanted to delete a remote branch or multiple branches. This happens many times to developers, particularly in large projects.
Ahmed Bouchefra: Using Comments in JSON with Node.js and JavaScript Examples
2020-09-05 00:00:00
In this article, weâll learn how to use comments in JSON files. Weâll see workarounds and methods used by developers to add single-line and multiple-line comments to their JSON files, the external libraries and packages for stripping comments from your files before feeding them to the regular JSON.parse() method in JavaScript and Node.js and weâll also see simple JavaScript code for removing comments without external libraries. Finally, weâll see the alternative formats to JSON that support comments such as JSON5 and JSONC.
Django Weblog: Technical Board Candidate Registration
2020-09-04 22:16:26
As part of our change in governance with DEP-10 it is now time to collect candidates for the Django Technical Board.
Luke Plant: Test smarter, not harder
2020-09-04 19:42:48
âSmarter, not harderâ is a saying used in many contexts, but rowing is the context I think I first heard it in, and I still associate it with rowing many years later.
Mike Driscoll: Python 101 â Learning About Loops (Video)
2020-09-04 13:42:59
In this tutorial, you will learn how to use for and while loops in Python.
Real Python: The Real Python Podcast â Episode #25: Data Version Control in Python and Real Python Video Transcripts
2020-09-04 12:00:00
Wouldn't it be nice to a use a form of version control for data? Something that would allow you to track and version your datasets and models. Well, that's what the tool called DVC is designed to do. This week on the show, David Amos is here and he's brought another batch of PyCoderâs Weekly articles and projects.
Ahmed Bouchefra: Removing Comments from JSON with Python
2020-09-04 00:00:00
JSON doesnât permit comments by design. As explained by its creator Douglas Crockford.
PSF GSoC students blogs: Week 14 blog!
2020-09-03 20:29:09
Hi everyone
Python Does What?!: Not counting zeros
2020-09-03 17:15:35
We all have our favorite way of intentionally raising an exception in Python. Some like referencing an undefined variable to get a simple NameError, others might import a module that doesn't exist for a bold ImportError.
Codementor: Part 1: How to create a Telegram Bot in Python in under 10 minutes
2020-09-03 15:14:30
How to create a Telegram Bot in Python
Kushal Das: Using Stem and PySocks to access network over Tor
2020-09-03 14:23:09
I previously wrote about using the standard SOCKS proxy provided by the Tor Project on your system using Python, in particular using the requests module.
Mike Driscoll: Book Review: Modern Python Cookbook
2020-09-03 13:35:46
Packt Publishing recently released a new book called Modern Python Cookbook by Steven Lott. Itâs sub-title is â133 recipes to develop flawless and expressive programs in Python 3.8, 2nd Editionâ, which may give you some indication that this is a big book. In fact, it clocks in at 822 pages!
Mike Driscoll: wxPython by Example: Making Your Application Fade In and Out (Video)
2020-09-03 13:25:19
In this screencast, you will learn how to change the transparency of your application. This will allow you to make your application fade in or out.
Andrew Dalke: What's up with chemfp 1.x?
2020-09-03 12:00:00
Background: chemfp is a Python package for high-performance cheminformatics fingerprint similarity search. There are two development tracks. Chemfp 1.x is the no-cost/open source version, which only supports Python 2.7, and chemfp 3.x is the more advanced and capable version which supports Python 2.7 and Python 3.6+. Try out chemfp now!
Andrew Dalke: New chemfp licensing model in chemfp 3.4
2020-09-03 12:00:00
Background: chemfp is a Python package for high-performance cheminformatics fingerprint similarity search. There are two development tracks. Chemfp 1.x is the no-cost/open source version, which only supports Python 2.7, and chemfp 3.x is the more advanced and capable version which supports Python 2.7 and Python 3.6+.
Gocept Weblog: Presentation: We have nearly one million lines of Python 2 code in production â and now?
2020-09-03 11:45:02
Still running Python 2 code in production is like steering a ship without radar in thick fog: You donât know, which obstacle you will hit next. But there are ways to see the sun again â even for large code bases. This presentation contains a discussion of the possible ways and a success story.
py.CheckIO: Git Tricks đ
2020-09-03 11:17:42
No summary found!
Sebastian Witowski: Easy Speedup Wins With Numba
2020-09-03 00:00:00
If you have functions that do a lot of mathematical operations, use NumPy or rely heavily on loops, then there is a way to speed them up significantly with one line of code. Ok, two lines if you count the import.
Matt Layman: Custom Form Validation - Building SaaS #71
2020-09-03 00:00:00
In this episode, I added some custom checking to ensure that students may only be enrolled in a single grade level for a school year. We talked about form cleaning and wrote a for unit test to prove that the change worked. After that change, we switched to a template and wrote copy for when no progress reports are viewable for users.
With the first issue, I needed to update a form that enrolls students.
Doug Hellmann: reno 3.2.0
2020-09-02 14:08:45
Continue reading "reno 3.2.0"
Real Python: PyTorch vs Tensorflow for Your Python Deep Learning Project
2020-09-02 14:00:00
PyTorch vs TensorFlow: Whatâs the difference? Both are open source Python libraries that use graphs to perform numerical computation on data. Both are used extensively in academic research and commercial code. Both are extended by a variety of APIs, cloud computing platforms, and model repositories.
Python Software Foundation: Python Software Foundation End-of-the-Year Fundraiser
2020-09-02 13:50:45
Mike Driscoll: wxPython by Example: How to Reset the Background Color (Video)
2020-09-02 12:35:51
In this tutorial, you will learn how to reset the background color of your application to the default color.
Dataquest: Tutorial: Web Scraping with Python Using Beautiful Soup
2020-09-02 07:00:00
The internet is an absolutely massive source of data. Unfortunately, the vast majority if it isnât available in conveniently organized CSV files for download and analysis. If you want to capture data from many websites, youâll need to try web scraping.
Daniel Roy Greenfeld: Office Hours
2020-09-01 23:45:00
Ask me professional questions in a small group Zoom meeting setting. Past topics of discussion have included:
PyCoderâs Weekly: Issue #436 (Sept. 1, 2020)
2020-09-01 19:30:00
#436 â SEPTEMBER 1, 2020 View in Browser »
Reuven Lerner: Master object-oriented Python with Weekly Python Exercise â starting September 8th
2020-09-01 19:28:26
Object-oriented programming has been around for several decades. As a result, it has become easier to organize, maintain, and reuse code.
Abhijeet Pal: Django + AJAX : How to use AJAX in Django Templates
2020-09-01 16:33:47
AJAX or Asynchronous JavaScript And XML is a set of web development techniques using web technologies on the client-side to create asynchronous web requests. In simpler words, AJAX allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes. This means that updating parts of a web page is possible, without reloading the whole page. We can make AJAX requests from Django templates using JQuery. With the jQuery AJAX methods, you can request text, HTML, XML, or JSON from a remote server using both HTTP Get and HTTP Post and you can load the external data directly into the selected HTML elements of your web page. In this tutorial, we will learn how to make AJAX HTTP GET and POST requests from Django templates. Pre-Requirements I am assuming you have a basic working knowledge of Django. Therefore, I am not going into the project setup part in case you need help with that I recommend reading the following articles. How To Create A âHello, World!â Application With Django Building A Blog Application With Django This is a âŠ
Real Python: Editing Excel Spreadsheets in Python With openpyxl
2020-09-01 14:00:00
Excel spreadsheets are one of those things you might have to deal with at some point. Either itâs because your boss loves them or because marketing needs them, you might have to learn how to work with spreadsheets in Python, and thatâs when knowing openpyxl comes in handy!
Mike Driscoll: Python 101 â Conditional Statements (Video)
2020-09-01 13:38:47
In this video, you will learn how to create conditional statements using the Python programming language.
Codementor: Coding the Classic Snake Game with Python Turtle Graphics
2020-09-01 10:12:32
Coding the Classic Snake Game in Python.
Django Weblog: Django security releases issued: 3.1.1, 3.0.10 and 2.2.16
2020-09-01 09:15:22
In accordance with our security release policy, the Django team is issuing Django 3.1.1, Django 3.0.10 and Django 2.2.16. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Codementor: What are good Python interview questions?
2020-09-01 06:38:41
Before you go in for a python interview, there are a few things which you should know and refresh.
For Better Guidence : https://nareshit.com/python-online-training/
Tryton News: Newsletter September 2020
2020-09-01 06:00:01
Colorful pattern1280Ă853 113 KB
PSF GSoC students blogs: Final Check-in
2020-09-01 03:35:16
Hey,
PSF GSoC students blogs: Final Words
2020-09-01 03:27:40
Link to final report
PSF GSoC students blogs: Weekly Blog Post | GSoc | #14
2020-09-01 02:08:56
Greetings, People of the world!
Podcast.__init__: When, Why, and How To Use Web Scraping In A Nutshell
2020-09-01 02:02:06
The internet is a rich source of information, but a majority of it isnât accessible programmatically through APIs or databases. To address that shortcoming there are a variety of web scraping frameworks that aid in extracting structured data from web pages. In this episode Attila TĂłth shares the challenges of web data extraction, the ways that you can use it, and how Scrapy and ScrapingHub can help you with your projects.
PSF GSoC students blogs: From console.log to GSoC 2020
2020-08-31 20:51:29
It is time to share my wonderful journey to Google Summer of Code, tips and tricks to get selected and what all you can do before GSoC to take a step closer to your dream internship or job.
PSF GSoC students blogs: GSoC Weekly Blog #7
2020-08-31 16:55:17
After 3 months filled with coding, debugging and testing, GSoC'20 has finally come to an end. I spent this last week wrapping up the documentation and finishing up my final submission report for GSoC. I also discussed with my mentors the future steps we'll take with Mscolab. My code was just recently merged with the develop branch of MSS and all tests passed!. I am really excited to have users use a piece of software that I wrote. I am already planning on what I want to work on in MSS after GSoC is over as there is a lot I can learn while working on this project. These past 3 months have improved my coding skills significantly and introduced me to the amazing mentors at MSS. My time during GSoC has been absolutely wonderful and I can't wait to contribute to more interesting open source project. I hope next year, I would be able to mentor some bright students who are working on MSS .
PSF GSoC students blogs: Final Work Report - Last Weekly Check-in
2020-08-31 16:27:58
My GSoC'20 journey end today. This summer was a truly an amazing journey and surely an unforgettable one!
Real Python: Python 3 Installation & Setup Guide
2020-08-31 16:15:29
Installing or updating Python on your computer is the first step to becoming a Python programmer. There are a multitude of installation methods: you can download official Python distributions from Python.org, install from a package manager, and even install specialized distributions for scientific computing, Internet of Things, and embedded systems.
Davy Wybiral: A Lesson in LoRa Module P2P Standards (or the Lack Thereof)
2020-08-31 15:03:33
I got a handful of LoRa modules from Reyax a while back, the RYLR896 model based on Semtech SX1276 chips. Instead of using an SPI interface they operate over UART using a small set of AT commands. This made them easier to work with since I didn't have to dig too deeply into a bunch of SPI registers and Semtech specs and they communicate between one another really well. My Espruino JS module for them is available here, which I've used in a few of my YouTube videos. And more recently I've written a MicroPython module for them here.
Reuven Lerner: New course: Testing your Python programs with pytest
2020-08-31 15:00:00
My first job was at a company that wrote software for hospitals. As you can imagine, our work needed to be really reliable â so we had an entire team dedicated to quality assurance (QA). Their job was to run our software for months at a time, given many different inputs, and to make sure that it didnât cause trouble. I can tell you that the head of QA was the most feared person in my department. And yet, we all knew that his job was of utmost importance. If it werenât for him, buggy software could go out the door, with catastrophic effects for people being treated in hospitals around the world.More than 25 years have passed since I had that job. And while not every program directly affects peopleâs lives, thereâs no doubt that software is hugely influential. Buggy programs can not only hurt people, but lose money, destroy documents, give incorrect projections, and use up valuable resources.Itâs no surprise, then, that testing continues to be really important. And while there are lots of people still working in QA, much of that burden is now shouldered by individual developers, who have to test the code that they wrote themselves. Thatâs right â you can test your own code, to make sure it does what itâs supposed to do (and doesnât do what itâs not supposed to do).Over the last few years, Iâve joined a large and growing number of Python developers using pytest â a test system written in Python, designed to be used by Python developers. And I have to say, pytest is truly amazing: Itâs easy to learn, very powerful, and has a huge community that contributes a wide variety of plugins for everyone to use.Earlier this month, I asked subscribers to my âBetter developersâ list what topics they would like to learn in a series of live courses Iâm starting to offer. And overwhelmingly, people wanted to learn pytest.Iâm thus delighted to announce that on Sunday, September 13th, Iâll be teaching a live, four-hour online course about pytest: âTest your Python code with pytestâ If youâve always wanted to learn about testing in general, or pytest in particular, this course will jump-start you into understanding the hows (and whys) of testing your Python code.Â
PSF GSoC students blogs: Outro
2020-08-31 14:48:23
At the time of writing, implementation-wise parallel download is ready:
Stack Abuse: Remove Element from an Array in Python
2020-08-31 12:49:00
This tutorial will go through some common ways for removing elements from Python arrays. Here's a list of all the techniques and methods we'll cover in this article:
PSF GSoC students blogs: Final Week Check-in
2020-08-31 12:19:35
This week I concluded the PR for the random module by adding multimethods for the Generator class. This PR was the last one of my GSoC project. I also wrote the project's final report for my third and final evaluation where I included a short description of the project, links to the the code, a summary of the current state of the project, discussed future work, and enumerated challenges and learnings.
"CodersLegacy": PySide vs PyQt | Understanding the difference
2020-08-31 12:07:55
Once people get to know about both PySide and PyQt, due to their similarities, people have a hard time picking one over the other. Here in this âPySide vs PyQtâ article weâll examine both libraries from multiple angles and attempt to come to a conclusion.
PyBites: How to Deploy Your Open Source Package to PyPI
2020-08-31 10:05:00
In this post I share some useful things I learned deploying an open source package to PyPI.
Zero to Mastery: Python Monthly đ»đ August 2020
2020-08-31 10:00:00
9th issue of Python Monthly! Read by 20,000+ Python developers every month. Keeping you up to date with the Python industry ecosystem, without wasting your valuable time.
Codementor: Automated Browser Testing with Opera and Selenium in Python
2020-08-31 09:06:41
When it comes to cross browser testing, we tend to focus on executing test cases for bigwigs like Google Chrome, Firefox, or Safari. What about the other
PSF GSoC students blogs: All Done!
2020-08-31 08:53:17
Hello there!
Kushal Das: Securedrop Worktstation and how can you help
2020-08-31 07:18:21
PSF GSoC students blogs: GSoC: Week #14
2020-08-31 06:48:25
Hello!
Mike Driscoll: PyDev of the Week: Connor Ferster
2020-08-31 05:05:06
This week we welcome Connor Ferster as our PyDev of the Week! Connor is the author of handcalcs which was recently featured on the PythonBytes Podcast. You can see more of Connorâs work on Github.
Montreal Python User Group: Quadratic Judo Code Sprint
2020-08-31 04:00:00
Montréal-Python 79 doesn't end after our presentation night.
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - parts 002 .
2020-08-30 14:02:42
Today I will show you how can use Levenshtein ratio and distance between two strings, see wikipedia.
I used three files created with LibreOffice and save it like xlsx file type.
All of these files come with the column A fill with strings of characters, in this case, numbers.
The script will read all of these files from the folder named xlsx_files and will calculate Levenshtein ratio and distance
PSF GSoC students blogs: Weekly Check In - 12
2020-08-30 12:59:23
Last week I was working on finishing up the HTTPNegotiateDownloadHandler. Presently the download handler uses ALPN or NPN (whichever is available) to negotiate a protocol (presently one of HTTP/1.1 or HTTP/2) from the remote server and issues the requests on the respective download handler. Presently, all requests made via proxy are directly issued using the HTTP11DownloadHandler.Â
Quansight Labs Blog: Traitlets - an introduction & use in Jupyter configuration management
2020-08-30 09:00:00
You have probably seen Traitlets in applications, you likely even use it. The package has nearly 5 million downloads on conda-forge alone.
Erik Marsja: How to Make Column Index in Pandas Dataframe â with Examples
2020-08-30 00:11:00
The post How to Make Column Index in Pandas Dataframe â with Examples appeared first on Erik Marsja.
Andre Roberge: Friendly-traceback is now in beta
2020-08-29 17:45:57
Â
Andriy Kornatskyy: Wheezy Projects Update
2020-08-29 13:37:11
All libraries related wheezy.web and wheezy.template have been recently migrated from bitbucket to github.
As a part of this migration there have been provided the following major benefits:
Established build process with travis-ci
Dependecy updates with dependabot
Integrated with covereall.io, 100% test coverage
Release process to pypi per tags with github actions
Replaced Makefile
PyPy Development: PyPy is on Open Collective
2020-08-29 12:53:50
Hi all,
PSF GSoC students blogs: Week 7 Blog Post
2020-08-29 11:32:48
This week I summarized my work during GSoC 2020. This is the last week on GSoC and I have spent a great summer.
Talk Python to Me: #279 Modern Python Developer's Toolkit
2020-08-29 08:00:00
No <p> found.
PSF GSoC students blogs: Week 12
2020-08-29 02:40:54
As discussed in our weekly meeting, I'm wrapping up testing on the gsoc_year migration and #363
Sumana Harihareswara - Cogito, Ergo Sumana: Apply For Grants To Fund Open Source Work, and Career Thoughts
2020-08-28 20:21:29
Apply For Grants To Fund Open Source Work When I tell people about grants they could get to help fund work on open source software projects, sometimes they are surprised because they didn't know such grants existed. Therefore, a month ago, I delivered a ten-minute PyOhio talk in which I shared: sample foundations and funders (such as Mozilla, the Chan Zuckerberg Initiative, NLNet, and Comcast) who want to fund open source software projects, and how much they're paying out a quick case study on how the Python Software Foundation got funding from Open Tech Fund to improve security, accessibility, and localization for PyPI key steps in figuring out a good project idea, budgeting, hiring, and submitting how the new Project Funding Working Group at the PSF can help you along the way I've now posted a transcript (with slides), and the ten-minute video is up. The Python context, and followup Q&A Have some additional thoughts and info I could not fit into the talk! Background and ideas: People who work on Python's packaging tools usually aren't paid to do so. It's usually but not always a side project. We have gotten grants (or similar funds) of $80,000 USD or $150K or $207K and they are a huge reason why we have the new PyPI (Warehouse) in production, instead of the legacy site have 2-factor auth on Warehouse are much closer to releasing the new pip dependency resolver On March 22, 2019, I started a wiki page to list some fundable projects in Python packaging. I figured that if we had a structured, public list of well-scoped, shovel-ready tasks that would move faster with funding, it would make it easier to find grants, sponsors, and other directed funds. And, heads-up, corporate readers: if you can help the PSF get some money to do these things, they are much more likely to happen, and Python will get much easier to deal with. We've now moved that list to GitHub. If you know that filling a particular gap would improve Python packaging and distribution, go ahead and make a pull request! And that doesn't just go for packaging. The Project Funding Working Group is seeking project ideas on a wider scale. If you make a well-structured list of fundable TODOs for your Python project, it can go in that list -- this will, in the future, make it easier for you to get funding. Eligibility and how the money flows: often, only public charities or similar institutions are eligible to apply for certain kinds of funds, which is why getting the Python Software Foundation involved is helpful -- they are often eligible to apply in cases where you as an individual are not eligible. The way we've been doing it for the past few years is: some volunteers research a grant opportunity and write a proposal (often with the assistance of a PSF staffer) and the Python Software Foundation submits it. If it gets funded, the PSF hires contractors to do the proposed work, and then those contractors perform the proposed work and (via the PSF) report back to the funder. I cofounded the new Project Funding Working Group to centralize those efforts, bring enthusiastic volunteers together, teach more people to do this stuff, and capitalize on the momentum of the last few years. We know some things about what some funders are seeking, and want to help match you up with funders who might be a good match. Depending on where you live, there may be country-specific grants that the existing members of the Project Funding Working Group know less about! Like, there is the Prototype Fund for people in Germany, and Innovation Fund Denmark, and there are a bunch of European Union grant opportunities that I know very little about like Horizon 2020. Erika Owens asked some followup questions: ...how to assess if a grant is worth applying for - how do you know the foundation is legit? how do you balance the amount of time proposing/reporting with the likely grant amount?.... also, from a documentation mindsetâwhere can you go for help with this type of work? what public writing is useful to others? (and possible given so much secrecy with funding) Good questions. When is it worth applying? & more: Different projects need different amounts of money. A one-time gift of $10K (about 60-100 hours of work at USD$100-150/hour) is not enough to make a significant dent in some of the listed fundable packaging tasks, but $10K could support a "get the next release out and clean up docs/bugtracker/patch queue" effort for your favorite library. This is why the Project Funding Working Group is trying to amass informational resources (a list of funders, "how to write a proposal", etc.) and point a lot of people at those resources so many people can self-serve -- the volunteers in the Working Group do not have time to write a dozen grant proposals from scratch in a year, each of which is for $10-30K. It might take 10-20 hours to research and draft a multi-page grant proposal from scratch (it gets easier when you can copy and paste from previous proposals or planning documents for the same software project). Sometimes it takes longer if a bunch of stakeholders (such as project maintainers) have to agree on priorities and scope. I hope that the working group writes a few proposals each year and that they're for at least $80,000 each, and that we advise or otherwise help a bunch of other volunteers to write grants for varied amounts. Let's see how the first year goes. Maybe I'll be wildly off. I feel pretty lucky in that most of the grant-and-similar-funded projects I have worked on had fairly light reporting requirements, things that ended up taking maybe an hour per month plus maybe three hours at the end of the project. (Then again, I prep along the way by collecting meeting notes and updates on a public wiki page.) At the end of this year I need to make a fairly substantive report to the Chan Zuckerberg Initiative, so I may eat my words then! What public writing is useful to others? I see people sharing actual grant proposals and budgets, and the Project Funding WG will too (soon), and I think that helps a lot. I bet a before-and-after of a proposal before and after editing would also be helpful. Timelines like this slide here (from my PyOhio talk) help others set expectations for the process. Project retrospectives like this Read the Docs post -- ditto. Lists of funders including real talk about what they're looking for. Reminders of deadlines (like: apply for the Better Scientific Software Fellowship by September 30th). If you have more suggestions, please open an issue! How do you know whether the foundation is legit? Hmmm. I have confidence that I could tell whether a funder was fishy before getting into anything I'd regret, but I am having a hard time articulating the evaluation criteria I would use. Something to work on. And where can you go for help with this kind of work? I know I ought to learn more from the world of professional grantwriters and other nonprofit experts, like Candid, and perhaps I will have a spurt of energy sometime soon to go dive in. My career This week, on the way to posting this, I rearranged my conference talks page to be more navigable. I have given 35-50 talks on tech-related topics in the past 10 years, depending how you count. I used to talk a lot about Wikimedia, then about HTTP, then Python packaging and the plays. The response to my one talk about grants has already been strong and, if I just reacted to that, I'd give more talks about grants. Already my blog posts and talk about grants have led to Changeset Consulting client leads and some client work. And there's a logic here -- I have succeeded in doing something lucrative that other people would like to replicate. And it can be easy to get sucked into grantwriting (the work of researching and creating grant proposals), because I am clearly expert enough to be helpful, there are deadlines to motivate me and colleagues, and every available grant is an explicit invitation with a concrete amount of money attached. It's a trail others have already blazed. But grantwriting is a treadmill that ties projects to rich funders with short timescales, a topic ably covered by Nonprofit AF, The Revolution Will Not Be Funded: Beyond the Non-Profit Industrial Complex, and many others. As with recruiting, or diversity/equity/inclusion work, there's a lot of toil here. So, I am excited about the potential of the Project Funding WG, which will help many open source groups pursue not just grants but "external grants and similar funding." Including talking with companies who want to sponsor particular improvements, or generally sustain their dependencies (via Tidelift or a direct gift) and avoid the headache of forking or switching. And I'm open to Changeset Consulting doing some paid consulting work on grantwriting, and I'm doing some unpaid grantwriting to garner funding for projects where Changeset would do paid work. And I'm particularly interested in joining together with folks who are making big proposals to big foundation-style or government funders, upwards of USD$500K or in the millions. But, in the near future, I mostly want Changeset to work on paid projects, funded by for-profit companies, to rejuvenate and level up open source projects that they depend on but do not control. And that's looking promising. I'm using many of the same skills you use in grantwriting, because they're sales skills. And I am looking forward to blogging about one of these projects soon.
Stack Abuse: Python with Pandas: DataFrame Tutorial with Examples
2020-08-28 19:29:44
Pandas is an open-source Python library for data analysis. It is designed for efficient and intuitive handling and processing of structured data.
PyCharm: Webinar: âFrom The Docs: PyCharm Skills, Beginner to Advancedâ with Alla Redko
2020-08-28 18:50:40
PyCharm is a comprehensive IDE that also comes with comprehensive help. Whatâs available and what is it like working on the help? PyCharmâs Alla Redko joins us to discuss how the help gets made. As a bonus, we show 3 help topics â one for beginners, intermediate, and advanced â then demonstrate all the ways to that feature in PyCharm.
Test and Code: 128: pytest-randomly - Adam Johnson
2020-08-28 17:15:00
Software tests should be order independent. That means you should be able to run them in any order or run them in isolation and get the same result.
PSF GSoC students blogs: udiff: Project Summary
2020-08-28 16:43:21
https://github.com/Quansight-Labs/udiff
Dataquest: Do You Post Too Much? Analyze Your Personal Facebook Data with Python
2020-08-28 15:17:18
As of Q2 2020, Facebook claims more than 2.7 billion active users. That means that if you're reading this article, chances are you're a Facebook user. But just how much of a Facebook user are you? How much do you really post? We can find out using Python!
Real Python: The Real Python Podcast â Episode #24: Options for Packaging Your Python Application: Wheels, Docker, and More
2020-08-28 12:00:00
Have you wondered, how should I package my Python code? You've written the application, but now you need to distribute it to the machines it's intended to run on. It depends on what the code is, the libraries it depends on, and with whom do you want to share it. This week on the show we have Itamar Turner-Trauring, creator of the website pythonspeed.com. We discuss his article "Options for Packaging Your Python Code: Wheels, Conda, Docker, and More," covering the how of sharing your code.
PSF GSoC students blogs: Final Blog Post
2020-08-28 04:01:11
Red Hat Developers: Vulnerability analysis with Red Hat CodeReady Dependency Analytics and Snyk Intel
2020-08-28 03:00:21
Red Hat CodeReady Dependency Analytics is a hosted service on OpenShift that provides vulnerability and compliance analysis for your applications, directly from your IDE. It automatically analyzes your software composition and provides recommendations to address security holes and licensing issues. The 0.1 release of CodeReady Dependency Analytics includes access to the Snyk Intel Vulnerability Database, which is a curated database of both unique and known open source software security advisories.
Brett Cannon: Unravelling augmented arithmetic assignment
2020-08-28 02:12:23
This post is part of a series on Python's syntactic sugar. The latest source code can be found as part of the desugar project.
PSF GSoC students blogs: Weekly Check-In #13
2020-08-27 17:28:14
I made some changes to my previous PR on updating documentation for new checkers.
PyCharm: Early Access PyCharm Podcast â Episode 2: The One where Max talks about Databases
2020-08-27 17:00:59
Welcome to Early Access PyCharm, a brand-new podcast that goes behind the scenes of how the PyCharm IDE is made and all the thinking that goes into it. In the upcoming episodes, you will hear from the people who work daily to make you more productive and your code even better.
Python Engineering at Microsoft: IoT exploration with VS Code, Python, and the Device Simulator Express
2020-08-27 16:16:37
The explosion of devices in the IoT space is more than a little overwhelming. Where do you start?Â
PSF GSoC students blogs: Week 13 Check-in!
2020-08-27 12:26:03
Hello everyone
PSF GSoC students blogs: GSOC 2020 - Final Report
2020-08-27 11:33:43
Hi, first of all the link to the newly created number-parser library - https://github.com/scrapinghub/number-parser. The entire library was created from scratch as part of GSoC 2020. Going over the github stats :-
PyCharm: PyCharm 2020.2.1
2020-08-27 09:47:17
PyCharm 2020.2.1 is out with fixes for small issues, including usability problems introduced by version 2020.2. Update from within PyCharm (Help | Check for Updates), using the JetBrains Toolbox, or by downloading the new version from our website.
Codementor: Why Python libraries are best for Machine Learning and AI Solutions
2020-08-27 09:26:26
Python libraries for Machine Learning provide extensive AI capabilities for developing AI solutions. Hereâs why Python language and libraries are best for AI-based projects.
Python Bytes: #196 Version your SQL schemas with git + automatically migrate them
2020-08-27 08:00:00
No <p> found.
Kushal Das: PrivChat with Tor: 2020-08-28
2020-08-27 03:43:48
Tomorrow at 17:00UTC, Tor Project is hosting the next session of PrivChat, titled "The Good, the Bad, and the Ugly of Censorship Circumvention". You can watch it live on Youtube.
PyCoderâs Weekly: Issue #435 (Aug. 25, 2020)
2020-08-25 19:30:00
#435 â AUGUST 25, 2020 View in Browser »
PSF GSoC students blogs: Google Summer of Code Final Work Product
2020-08-25 16:17:25
A combobox is a commonly used graphical user interface widget. Traditionally, it is a combination of a drop-down list or list box and a single-line textbox, allowing the user to select a value from the list. The term "combo box" is sometimes used to mean "drop-down list". Respective components, tests and tutorials were created.Â
PSF GSoC students blogs: Week 12 Check-in
2020-08-25 15:15:41
This week I started a new PR that adds multimethods for NumPy's random module. This continues the work started by one of my mentors by revising some multimethods and adding new ones as well as important classes like RandomState and Generator along with their methods. The multimethods added so far are manifold and so I won't extend the length of this blog post by enumerating them. You can however read the full list of multimethods in the PR link provided above. I also patched one ongoing PR that added multimethods for statistical functions by refactoring some default implementations. The defaults were redundantly using, in most but not all cases, a helper function for reducing the array argument's dimensions. This was brought to my attention by one of my mentors which resulted in a simple refactoring of the defaults.
Real Python: Django Redirects
2020-08-25 14:00:00
When you build web applications in Python using the Django framework, youâll likely need to redirect the user from one URL to another. This course covers what you need to know about redirecting in Django. All the way from the low-level details of the HTTP protocol to the high-level way of dealing with them in Django.
Artem Golubin: How to turn an ordinary gzip archive into a database
2020-08-25 13:02:09
This article demonstrates how specially crafted but ordinary gzip archives can be used as a database like storage. It also introduces a Python package and explains how it works.
Codementor: What are the major differences between Python and R for data science?
2020-08-25 09:04:05
Both Python and R have vast software ecosystems and communities, so either language is suitable for almost any data science task. That said, there are some areas in which one is stronger than the other.
PSF GSoC students blogs: Weekly Check-In #7 (16th Aug - 23rd Aug)
2020-08-25 07:46:27
Hi, so we have almost reached the end of the program. It's time to wrap up all the work and polish it.
IslandT: Python for loop example â solving drone path
2020-08-25 06:56:29
In this example, we will use the Python for loop with the range function to show the droneâs path by lighting up lamps on the path of the drone.
Podcast.__init__: Working In The Code Mines: Mining Software Repositories With PyDriller
2020-08-25 00:32:34
A large portion of the software industry has standardized on Git as the version control sytem of choice. But have you thought about all of the information that you are generating with your branches, commits, and code changes? Davide Spadini created the PyDriller framework to simplify the work of mining software repositories to perform research on the technical and social aspects of software engineering. In this episode he shares some of the insights that you can gain by exploring the history of your code, the complexities of building a framework to interact with Git, and some of the interesting ways that PyDriller can be used to inform your own development practices.
PythonâSpeed: Estimating and modeling memory requirements for data processing
2020-08-25 00:00:00
Whether itâs a data processing pipeline or a scientific computation, you will often want to figure out how much memory your process is going to need:
PSF GSoC students blogs: From console.log to GSoC
2020-08-24 18:17:30
I am Aditya Sharma, a third year Computer Science student at Shri Mata Vaishno Devi University, Jammu. Yes! I belong to that so called âTIER-3â group but I firmly believe that hard work and a bit of proper guidance can never let anything come between you and your goals.Â
Python Circle: Read, write, tell, seek, check stats, move, copy and delete a file in Python
2020-08-24 16:45:22
Performing different file operations in Python, Reading and writing to a file in python, read vs readline vs readlines in python, write vs writelines in python, how to read a file line by line in python, read vs write vs append mode in python file operations, text vs binary read mode in python, solving error can't do nonzero end-relative seeks
PSF GSoC students blogs: The Final Week - Weekly Check-in 13
2020-08-24 16:35:52
End of Week 12Â - 24/08/2020
Nikolaos Diamantis: A movie connection quiz in Python
2020-08-24 16:15:00
No <p> found.
PSF GSoC students blogs: GSoC Weekly Check-In #7
2020-08-24 16:07:37
What did I do last week? This last week of the coding phase, I went through the bug list that was made by mentors doing a thorough test and fixed them all. I improved the UI a little bit and added a "help" dialog for mscolab so new users can quickly get acquainted with all the features mscolab has to offer. After this I cleaned up the database setup script for mscolab and added database seed options. Now setting up mscolab is much easier than before and can work with multiple databases - sqlite, mysql, postgreSQL etc. What will I do this week? Now all that's left is a little documentation fix and finishing up my report page for final GSoC submission. I can't believe how fast these 3 months went by and now I am in the final week of GSoC Did I get stuck anywhere? No.Â
PSF GSoC students blogs: GSoC 2020: Final Code Submission
2020-08-24 15:37:45
My proposal
PSF GSoC students blogs: Final Check-In
2020-08-24 15:14:05
Hello there!
Patrick Kennedy: Flask Course Released!
2020-08-24 15:10:48
Iâm so excited to announce the release of my second course at TestDriven.io:
PSF GSoC students blogs: GSoC: Week 13: Create GitHub Action
2020-08-24 14:29:39
I was working on documentation this week. I have added an example GitHub action workflow so that users can easily integrate CVE Binary Tool in their CI/CD pipeline. I am using actions/setup-python to run CVE Binary Tool and actions/cache to cache database and dependencies to decrease CI runtime. In example, I am using latest version of CVE Binary Tool because current stable version lacks many features like config file and html report. I am using actions/artifact to upload generated report as Github artifact which can be downloaded later.
Real Python: Python mmap: Improved File I/O With Memory Mapping
2020-08-24 14:00:00
The Zen of Python has a lot of wisdom to offer. One especially useful idea is that âThere should be oneâand preferably only oneâobvious way to do it.â Yet there are multiple ways to do most things in Python, and often for good reason. For example, there are multiple ways to read a file in Python, including the rarely used mmap module
Catalin George Festila: Python Qt5 - Get item data from QTreeWidgets.
2020-08-24 12:29:37
In this example, I create a tree view with QTreeView with all folders tree.
I add a context_menu with two options.
One option is to get the data from item and is the name of the folder.
The second option is to close the application.
Let's see the source code:
import sys
from PyQt5.QtWidgets import QApplication, QFileSystemModel, QDesktopWidget
from PyQt5.QtWidgets import QTreeView, QWidget,
Awesome Python Applications: Thug
2020-08-24 12:02:00
Thug: Low-interaction honeyclient designed to mimic the behavior of a web browser in order to detect and emulate malicious contents.
Quansight Labs Blog: IPython reproducible builds
2020-08-24 12:00:00
Starting with IPython 7.16.1 (released in June 2020), you should be able to recreate the sdist (.tar.gz) and wheel (.whl), and get byte for byte identical result to the wheels published on PyPI. This is a critical step toward being able to trust your computing platforms, and a key component to improve efficiency of build and packaging platforms. It also potentially impacts fast conda environment creation for users. The following goes into some reasons for why you should care.
Awesome Python Applications: RDPY
2020-08-24 11:37:00
RDPY: An implementation of the Microsoft Remote Desktop Protocol built on Twisted, including applications for client use, MITM proxy, and Honeypot server.
Awesome Python Applications: SpaceSiren
2020-08-24 11:24:00
SpaceSiren: Honeypot management and alert system for AWS tokens, with a fully serverless architecture.
PSF GSoC students blogs: Weekly Check-In: Week 13
2020-08-24 10:22:32
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
EuroPython: EuroPython 2020: Merch Shop Discount
2020-08-24 08:10:53
We have setup another 10 day 15% discount period in our merch shop, from today until Sept 1.
Test and Code: 127: WFH, WTF? - Tips and Tricks for Working From Home - Reuven Lerner & Julian Sequeira
2020-08-24 07:45:00
Many people have been working from home now that are not used to working from home. Or at least are working from home more than they ever did before. That's definitely true for me. Even though I've been working from home since March, I wanted some tips from people who have been doing it longer.
PSF GSoC students blogs: Week 12 : All Done!
2020-08-24 07:43:01
Hello there! This was the final week of coding in GSoC 2020. Three months back, I had no confidence that I would be able to do the project. And here we are!Â
PSF GSoC students blogs: GSoC: Week #13
2020-08-24 06:54:42
Hello!
Zato Blog: Installing Zato under Mac
2020-08-24 06:15:14
No <p> found.
Mike Driscoll: PyDev of the Week: Ethan Smith
2020-08-24 05:05:16
This week we welcome Ethan Smith (@ethanhs) as our PyDev of the Week! Ethan is a core developer of the Mypy project, which is a static type checker for Python. You can see what other projects Ethan contributes to over on Github.
Glyph Lefkowitz: Nice Animations with Twisted and PyGame
2020-08-24 02:50:00
PSF GSoC students blogs: Weekly Check-in #13
2020-08-23 17:28:57
Hey!
Catalin George Festila: Python Qt5 - Add and remove items between two QTreeWidgets.
2020-08-23 13:20:54
Today's tutorial will show you how to add and remove items between two QTreeWidgets.
The source code is very simple to understand: the user interface is created with two QTreeWidgets.
One is completed with elements and when the buttons are pressed, the elements are interchanged.
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QDesktopWidget, QPushButton
from PyQt5.QtWidgets import
Glyph Lefkowitz: Never Run âpythonâ In Your Downloads Folder
2020-08-23 06:47:00
One of the wonderful things about Python is the ease with which you can start writing a script - just drop some code into a .py file, and run python my_file.py. Similarly itâs easy to get started with modularity: split my_file.py into my_app.py and my_lib.py, and you can import my_lib from my_app.py and start organizing your code into modules.
Full Stack Python: Using Sentry to Handle Python Exceptions in Django Projects
2020-08-23 04:00:00
Web applications built in Django can become sprawlingly complex over time, which is one reason why centralized error handling is important. This tutorial will guide you through adding a free, basic Sentry configuration to a new Django project.
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - parts 001 .
2020-08-23 03:08:52
The Python executes the code line by line because is an interpreter language.
This allows users to solve issues in the programming area, fast and easy.
I use python versiono 3.8.5 build on Aug 12 2020 at 00:00:00, see the result of interactive mode:
[mythcat@desk ~]$ python
Python 3.8.5 (default, Aug 12 2020, 00:00:00)
[GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux
Type "help", "copyright", "
Catalin George Festila: Python 3.8.5 : Testing the pyre tool - parts 001.
2020-08-22 13:30:18
The Pyre is a static analysis tool to detect and prevent security issues in Python code that can be found on the official website.
The Pyre tool supports the Language Server Protocol and has an extension for VSCode.
The team development comes at August 7, 2020, with this intro:
Pyre is a performant type checker for Python. Statically typing what are essentially fully dynamic languages has a long
Ned Batchelder: Do a pile of work better
2020-08-22 10:55:00
A few days ago I wrote about doing a pile of work with concurrent.futures. Since then, I discovered a problem with the code: exceptions raised by the work function were silently ignored.
Andre Roberge: What, where, why?
2020-08-22 08:14:34
Â
PSF GSoC students blogs: [Week 12] Check-in
2020-08-22 08:00:55
Fix repeat_to_match_shape & grad_broadcast_to.
PSF GSoC students blogs: Weekly Check In - 11
2020-08-22 07:38:04
Last week, I finished finalizing the PR for the basic implementation of the H2ClientProtocol. The protocol now works with all the request methods except the CONNECT method. The work on Tunneling using CONNECT method is still in progress. I started with creating another protocol for negotiation which uses ALPN or NPN (whichever is available) to negotiate a protocol (presently one of HTTP/1.1 or HTTP/2) from the remote server based on the priority given by the user via the Scrapy project's settings and then uses the respective download handler to complete the request.Â
Python Insider: Python 3.5.10rc1 is now available
2020-08-21 23:25:40
Python 3.5.10rc1 is now available.
Daniel Roy Greenfeld: It's the Weekend, Let's Code a Python Project!
2020-08-21 21:38:53
It's Friday where I am, maybe Saturday wherever you are. And like me, you're wondering what you are going to code over the weekend. Why code over the weekend? Here are some good reasons:
Django Weblog: Announcement of Technical Board Election Registration
2020-08-21 20:48:18
As part of the changes to how Django is governed, it is time to have an election of the Technical Board. All current DSF Members are automatically registered for this election.
Codementor: The Binary Search Algorithm in Python
2020-08-21 17:27:03
Learn about the Binary Search Algorithm and how to implement it in Python programming.
Mike Driscoll: Python 101 â Boolean Operators and None (Video)
2020-08-21 14:03:41
In this video tutorial, you will learn how Pythonâs Boolean operators work. You will also learn about Pythonâs None keyword
EuroPython Society: List of EPS Board Candidates for 2020/2021
2020-08-21 13:28:57
At this yearâs EuroPython Society General Assembly (GA), on September 20th, we will vote in a new board of the EuroPython Society for the term 2020/2021.
Quansight Labs Blog: Introducing Versioned HDF5
2020-08-21 13:00:00
The problem of storing and manipulating large amounts of data is a challenge in many scientific computing and industry applications. One of the standard data models for this is HDF5, an open technology that implements a hierarchical structure (similar to a file-system structure) for storing large amounts of possibly heterogeneous data within a single file. Data in an HDF5 file is organized into groups and datasets; you can think about these as the folders and files in your local file system, respectively. You can also optionally store metadata associated with each item in a file, which makes this a self-describing and powerful data storage model.
Real Python: The Real Python Podcast â Episode #23: Python Wheels and Pass by Reference in Python
2020-08-21 12:00:00
Have you wondered what are Python wheels? How are they used to package Python code? Does Python use pass by value or pass by reference? This week on the show, David Amos is here to help answer these questions, and he has brought another batch of PyCoderâs Weekly articles and projects.
PyBites: There is More Than One Way to Solve a Bite Exercise
2020-08-21 08:37:00
According to the Zen of Python, "There should be one-- and preferably only one --obvious way to do it." It's a good principle for designing a program: the more ways there are of doing something, the more confusing the software becomes, along with a host of other problems. In reality, though, there almost always is more than one way to accomplish something. The quotation even displays this fact: it places the dash in two different ways, neither of which are the obvious way.
Talk Python to Me: #278 Teach kids Python with real programming and fun games at Code Combat
2020-08-21 08:00:00
No <p> found.
Codementor: 15+ practical Python projects for beginners
2020-08-21 07:42:34
15+ practical Python projects for beginners. Use these projects to learn to code, build useful apps or build your portfolio.
Moshe Zadka: Universal Binary
2020-08-21 04:43:11
I have written before about my Inbox Zero methodology. This is still what I practice, but there is a lot more that helps me.
Montreal Python User Group: Get ready for Montréal-Python #79: Quadratic Judo!
2020-08-21 04:00:00
Next Monday at 5:30pm (Montréal time) on our Youtube channel, Pierre-Paul Lefebvre the Canadian Digital Service's new COVID-19 portal and Noël Rignon will tell us about privilege management for a REST API. Yamlal Gotame will also present our next coding sprint. We bring back the yoga break with John Noël in a shorter format. After the event, we invite you all on Online Town for a social time. You will also have the chance to do more yoga with John during the social time.
PSF GSoC students blogs: Weekly Check-In #12
2020-08-20 12:03:33
This week I updated the documentation on adding a new checker to the tool.
PSF GSoC students blogs: Week 12 blog!
2020-08-20 06:14:32
Hello everyone
PSF GSoC students blogs: Weekly Blog Post #6
2020-08-20 03:29:20
So I took this week off to prepare for college tests meanwhile i have been working on license extraction from copyrights string i found a package called scancode toolkit which have a sub-module called licensedcode which can help in this objective but since its in early production phase i am coming across a lot of bugs like scancode library does not work on py3.7or py3.8. and its api module is also buggy so i am looking into it. I hope I will finish this by the end of this week.:P
Matt Layman: Polishing and Usability - Building SaaS #69
2020-08-20 00:00:00
In this episode, we polished some parts of the application. Now that my first customer is using the app regularly, the feedback is coming in rapidly. We worked to fix some of the issues that she found.
The first issue that I tackled dealt with ambiguity about a course’s relationship to a school year on the course’s detail page. I fixed this issue by displaying the grade level on the course page to provide all the details.
Ned Batchelder: Do a pile of work
2020-08-19 21:03:59
I had a large pile of data to feed through an expensive function. The concurrent.futures module in the Python standard library has always worked well for me as a simple way to farm out work across threads or processes.
Luke Plant: Announcement: Django Views -The Right Way
2020-08-19 19:42:26
I announced this a few days back on Twitter, this is just a quick additional blog post to announce Django Views - The Right Way. Itâs an opinionated guide to writing views in Django that Iâve been working on for a few months.
PSF GSoC students blogs: GSoC Week 12: return completed_project
2020-08-19 19:08:01
I added a new print_mode which produce beautiful printable code. Users can switch from Interactive Mode to Print Mode in the final HTML report.Â
PSF GSoC students blogs: Week 11
2020-08-19 17:27:41
Looking at the highest priority bugs and how to generate the required batch of all my changes from git.
Real Python: Data Version Control With Python and DVC
2020-08-19 14:00:00
Machine learning and data science come with a set of problems that are different from what youâll find in traditional software engineering. Version control systems help developers manage changes to source code. But data version control, managing changes to models and datasets, isnât so well established.
PSF GSoC students blogs: Week 11 Check-in
2020-08-19 13:58:31
This week's work was divided into two parts: fixing some issues in the backends and patching up older PRs. While working on the PR for indexing routines we noticed a bug in the backends that caused some classes to not be dispatched properly. What was happening was that all the classes added in the PR were calling NumPy classes regardless of the backend being used instead of calling the equivalent classes in the respective backends. This issue also touched on another problem that I encountered while preparing the new PR for the random module. The backends were also not dispatching the multimethods in modules correctly. This was apparent by the linalg module's tests which at the time were fixed to the NumPy backend. Because of this I created a new PR that fixed both of these issues and extended the linalg tests to other backends which allowed the PR for indexing routines to be patched and merged. I also worked on a previous PR that adds multimethods for statistical functions by adding default implementations to most of the reduction methods (e.g., median, mean, var).
Codementor: Python Recursion - Fun with Fractals
2020-08-19 10:08:41
Using recursion in Python programming to create fractal patterns.
PythonâSpeed: A deep dive into the official Docker image for Python
2020-08-19 00:00:00
The official Python image for Docker is quite popular, and in fact I recommend one of its variations as a base image. But many people donât quite understand what it does, which can lead to confusion and brokenness.
Sebastian Witowski: Ask for Forgiveness or Look Before You Leap?
2020-08-19 00:00:00
âAsk for forgivenessâ and âlook before you leapâ (sometimes also called âask for permissionâ) are two opposite approaches to writing code. If you âlook before you leapâ, you first check if everything is set correctly, then you perform an action. For example, you want to read text from a file. What could go wrong with that? Well, the file might not be in the location where you expect it to be. So, you first check if the file exists:
PSF GSoC students blogs: Weekly Blog Post | GSoc | #12
2020-08-18 19:59:52
Greetings, People of the world!
PyCoderâs Weekly: Issue #434 (Aug. 18, 2020)
2020-08-18 19:30:00
#434 â AUGUST 18, 2020 View in Browser »
Learn PyQt: Creating Dialogs With Qt Designer
2020-08-18 17:18:59
Most PyQt GUI applications consist of a main window and several dialogs. Dialogs are small-sized windows that allow you to communicate with your users, either by showing messages on the screen or by taking the user's input. You can use Qt Designer to create dialogs taking advantage of the variety of options that this tool offers.
Doug Hellmann: sphinxcontrib-spelling 5.3.0
2020-08-18 16:38:54
Continue reading "sphinxcontrib-spelling 5.3.0"
Real Python: Real Python Office Hours
2020-08-18 14:00:00
The Real Python Office Hours is a weekly hangout where members of Real Python get the chance to meet fellow Pythonistas to chat about your learning progress, ask questions, and discuss Python tips & tricks via screen sharing.
Codementor: Train Neural Networks Faster with Googleâs TPU from your LapTop.
2020-08-18 13:58:38
A quick way to run your own Tensor Processing Unit from your laptop.
IslandT: Returns a sequence of all the even characters from a string with Python
2020-08-18 13:15:43
In this example, I will write a Python function that will return a sequence (index begins with 1) of all the even characters from a string. If the string is smaller than two characters or longer than 100 characters, the function should return âinvalid stringâ.
EuroPython Society: EuroPython Society General Assembly 2020
2020-08-18 12:45:55
As with our EuroPython conference, we are holding the General Assembly (GA) of the EuroPython Society (EPS) online for this year.
Python Bytes: #195 Runtime type checking for Python type hints
2020-08-18 08:00:00
No <p> found.
Sebastian Witowski: Writing Faster Python - Introduction
2020-08-18 00:00:00
A few years ago, I made a presentation called âWriting Faster Python,â which got quite popular (as for a technical talk). But I made it for Python 2, and even though most advice applies to Python 3, I need to update it at some point. And I will, but first, I need some examples that I can use.
Red Hat Developers: OpenShift 4.5: Bringing developers joy with Kubernetes 1.18 and so much more
2020-08-17 22:53:28
Since the first Red Hat OpenShift release in 2015, Red Hat has put out numerous releases based on Kubernetes. Five years later, Kubernetes is celebrating its sixth birthday, and last month, we announced the general availability of Red Hat OpenShift Container Platform 4.5. In this article, I offer a high-level view of the latest OpenShift release and its technology and feature updates based on Kubernetes 1.18.
TestDriven.io: Async Views in Django 3.1
2020-08-17 21:46:34
This post looks at how to get started with Django's new asynchronous views.
Podcast.__init__: Building The Open Data Ecosystem For Music And More At Metabrainz
2020-08-17 21:32:07
The Musicbrainz project was an early entry in the movement to build an open data ecosystem. In recent years, the Metabrainz Foundation has fostered a growing ecosystem of projects to support the contribution of, and access to, metadata, listening habits, and review of music. The majority of those projects are written in Python, and in this episode Param Singh explains how they are built, how they fit together, and how they support the goals of the Metabrains Foundation. This was an interesting exporation of the work involved in building an ecosystem of open data, the challenges of making it sustainable, and the benefits of building for the long term rather than trying to achieve a quick win.
PSF GSoC students blogs: GSoC Weekly Blog #6
2020-08-17 21:20:32
This week I finished all the functionalities and tests that I had proposed in my GSoC proposal. There is currently a very tricky bug in one of the tests for the waypoints merge dialog which needs to be fixed but other than that I am pretty much done with my work. My mentors had a meeting today where they all tested out my work together to see if any changes need to be made or if there are any bugs. They found some small bugs and UI fixes. I have fixed most of them and it would take another day to fix all the remaining ones.
Python Insider: Python 3.7.9 and 3.6.12 security updates now available
2020-08-17 19:38:01
No <p> found.
PSF GSoC students blogs: Final Blog GSoC 2020
2020-08-17 18:33:01
Hello all! So, I am into the final week now and what a ride it has been. Haaha!!
PSF GSoC students blogs: Inches closer to the GSOCâ20 finish line
2020-08-17 18:10:47
Our sweet GSOC family literally coded the summer away with some of the best developers from around the world always ready to hold our hand in case we loose balance. Now the hardest week has come. Its time to say goodbye and I am not able to get over it. The end is getting closer as you read this but my heart is not designed to close the best doors so easily. My brain is full of brand new ideas to implement after the GSOC timeline. For now lets check out my latest patches which got merged this week.
PSF GSoC students blogs: Custom Neural Networks - Weekly Check-in 12
2020-08-17 17:32:41
End of Week 11Â - 17/08/2020
Karim Elghamrawy: [Video] How Long Does it Take to Learn Python?
2020-08-17 16:49:59
The post [Video] How Long Does it Take to Learn Python? appeared first on Afternerd.
Real Python: A Practical Introduction to Web Scraping in Python
2020-08-17 16:11:05
Web scraping is the process of collecting and parsing raw data from the Web, and the Python community has come up with some pretty powerful web scraping tools.
PSF GSoC students blogs: Parallelizing Wheel Downloads
2020-08-17 15:14:09
And now it's clear as this promise That we're making Two progress bars into one
PSF GSoC students blogs: Weekly Check-In: Week 12
2020-08-17 14:15:19
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
PyBites: How to Run External Python Libraries in AWS Cloud
2020-08-17 12:40:00
AWS Lambda is awesome, but sometimes it can be hard to get external libraries working in this serverless environment.
Chris Moffitt: Taking Another Look at Plotly
2020-08-17 12:35:00
Iâve written quite a bit about visualization in python - partially because the landscape is always evolving. Plotly stands out as one of the tools that has undergone a significant amount of change since my first post in 2015. If you have not looked at using Plotly for python data visualization lately, you might want to take it for a spin. This article will discuss some of the most recent changes with Plotly, what the benefits are and why Plotly is worth considering for your data visualization needs.
PSF GSoC students blogs: GSoC: Week 12: Scanning docker
2020-08-17 11:10:02
I was working on documentation this week. I have added how-to guide for scanning a docker image which was requested by our user. I have listed 2 different ways to scan a docker image:
PSF GSoC students blogs: Weekly Blog #6 (9th Aug - 16th Aug)
2020-08-17 10:53:22
Hi, all we have nearly reached the end. This week was mostly involved in creating and finalizing the auto-language detect feature.
PSF GSoC students blogs: Week 11 : Wrapping up!
2020-08-17 09:32:33
Hello there! We are almost there, 7 days to go! I am pretty excited and proud of the work I have been able to do, plus the things that I have learnt :))
Codementor: Which is better, Java or Python? And how?
2020-08-17 08:19:33
Blogs over the internet that are showcasing the comparison between Python and Java. But no one is giving a solid reason for âis python or java easier.â We all know that nowadays Python is competing with almost every programming language.
The Digital Cat: Delegation: composition and inheritance in object-oriented programming
2020-08-17 08:00:00
Object-oriented programming (OOP) is a methodology that was introduced in the 60s, though as for many other concepts related to programming languages it is difficult to give a proper date. While recent years have witnessed a second youth of functional languages, object-oriented is still a widespread paradigm among successful programming languages, and for good reasons. OOP is not the panacea for all the architectural problems in software development, but if used correctly can give a solid foundation to any system.
Mike Driscoll: PyDev of the Week: Jason R. Coombs
2020-08-17 05:05:33
This week we welcome Jason Coombs (@jaraco) as our PyDev of the Week! Jason is the maintainer of twine, SetupTools, CherryPy and 140+ other Python packages. You can see what heâs currently working on by checking out Github.
PSF GSoC students blogs: GSoC: Week #12
2020-08-17 04:14:48
Hello!
Wingware: Wing Python IDE 7.2.4 - August 17, 2020
2020-08-17 01:00:00
Wing 7.2.4 introduces support for Python 3.9, adds a preference to set the size of white space indicators, and makes a number of usability improvements.
Test and Code: 126: Data Science and Software Engineering Practices ( and Fizz Buzz ) - Joel Grus
2020-08-17 00:15:00
Researches and others using data science and software need to follow solid software engineering practices. This is a message that Joel Grus has been promoting for some time.
Brett Cannon: Unravelling binary arithmetic operations in Python
2020-08-16 23:30:08
The reaction to my blog post on unravelling attribute access was positive enough that I'm inspired to do another post on how much of Python's syntax is actually just syntactic sugar. In this post I want to tackle binary arithmetic operations.
PSF GSoC students blogs: Weekly Check-in #12
2020-08-16 16:48:03
Hey!
PSF GSoC students blogs: [Week 11] Check-in
2020-08-16 13:55:47
Add more diff funtions and test cases.
IslandT: A python module to sort a number list
2020-08-16 06:43:06
This python module will help you to sort any numbers within a list, either integer or double type, or a mix of both.
IslandT: Pure list sorting with Python program
2020-08-16 04:50:14
Hello and welcome back, in this Python solution article we will sort a number list with a Python function. If the function passes in an empty array or a none value then it should return an empty array or else it will sort the list and return the number list in ascending order!
Catalin George Festila: Python 3.8.5 : The hashlib python package - parts 001.
2020-08-15 12:59:41
The tutorial for today is about hashlib python module.
The official webpage comes for this python package has this intro:
This module implements a common interface to many different secure hash and message digest algorithms. Included are the FIPS secure hash algorithms SHA1, SHA224, SHA256, SHA384, and SHA512 (defined in FIPS 180-2) as well as RSAâs MD5 algorithm (defined in Internet RFC 1321).
Weekly Python StackOverflow Report: (ccxl) stackoverflow python report
2020-08-15 12:20:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-08-15 12:14:43 GMT
Codementor: Python Bitwise Operators
2020-08-15 08:09:27
Learn about bitwise operators and bit manipulation in Python.
Python Circle: Server Access Logging in Django using middleware
2020-08-15 07:44:43
Creating access logs in Django application, Logging using middleware in Django app, Creating custom middleware in Django, Server access logging in Django, Server Access Logging in Django using middleware
Python Circle: Adding Robots.txt file to Django Application
2020-08-15 07:44:43
Adding robots.txt file in your Django application, Easiest way to add robots.txt file in Django, Django application robots.txt file, Why should you add robots.txt file in your Django Application,
PyBites: Freezegun - Real Joy for Fake Dates in Python
2020-08-14 17:10:00
If you've ever tested code involving dates and times in Python you've probably had to mock the datetime module. And if you've mocked the datetime module, at some point it probably mocked you back when your tests failed.
IslandT: Return how many times each letter shows up in the string by using an asterisk (*)
2020-08-14 12:28:15
Hello people, in this article we will solve the below python problem.
Real Python: The Real Python Podcast â Episode #22: Create Cross-Platform Python GUI Apps With BeeWare
2020-08-14 12:00:00
Do you want to distribute your Python applications to other users who don't have or even use Python? Maybe you're interested in seeing your Python application run on iOS or Android mobile devices. This week on the show we have Russell Keith-Magee, the founder and maintainer of the BeeWare project. Russell talks about Briefcase, a tool that converts a Python application into native installers on macOS, Windows, Linux, and mobile devices.
Codementor: Python vs R: Which is Good for Machine Learning?
2020-08-14 11:29:53
Machine learning has become the talk of the town. Let us see whether Python or R is good for machine learning.
Django Weblog: DjangoCon Australia 2020: Schedule live and tickets on sale đïž
2020-08-14 07:00:00
The 8th DjangoCon AU was scheduled to be run in Adelaide, South Australia this year. It's been moved to an online event and will take place on September 4th.
PSF GSoC students blogs: Week 6 Blog Post
2020-08-14 01:39:18
What I have done this week
TestDriven.io: Deploying Django to AWS ECS with Terraform
2020-08-13 21:46:08
In this tutorial, we'll look at how to deploy a Django app to AWS ECS with Terraform.
Davy Wybiral: DIY Solar Powered LoRa Repeater (with Arduino)
2020-08-13 20:06:32
In today's video I be built a solar powered LoRa signal repeater to extend the range of my LoRa network. This can easily be used as the basis for a LoRa mesh network with a bit of extra code and additional repeaters.Even if you're not into LoRa networks all of the solar power hardware in this video can be used for any off-the-grid electronics projects or IoT nodes!
Python Engineering at Microsoft: Python in Visual Studio Code â August 2020 Release
2020-08-13 17:07:55
We are pleased to announce that the August release of the Python Extension for Visual Studio Code is now available. You can âŻdownload the Python extensionâŻÂ from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio CodeâŻÂ in the documentation. Â
Codementor: Learn Any Programming Language with This Learning Plan
2020-08-13 16:16:26
In the next couple of minutes, I will be showing you how to create the perfect learning plan that will help you learn just about any programming language you need to acquire skills in. I know this may sound too simplistic, but it has been tried and tested over a couple of years.
EuroPython: EuroPython 2020: Live Stream Recordings available
2020-08-13 08:34:58
Weâre happy to announce the public availability of the live stream recordings from EuroPython 2020. They were already available to all conference attendees since the sprint days.
Justin Mayer: Python Development Environment on macOS Mojave & High Sierra
2020-08-13 06:00:00
While installing Python and Virtualenv on macOS Mojave & High Sierra can be done several ways, this tutorial will guide you through the process of configuring a stock Mac system into a solid Python development environment.
Python Circle: How to use AJAX with Django
2020-08-13 04:44:22
How to use AJAX in Django projects?, Checking username availability without submitting form, Making AJAX calls from Django code, loading data without refreshig page in django templates, AJAX and Django,
PSF GSoC students blogs: Week 11 Check in!
2020-08-13 01:37:51
Hi everyone
PSF GSoC students blogs: Weekly Check In - 10
2020-08-13 00:38:21
I started implementing the CONNECT method for Tunneling via HTTP/2. After a lot of testing, I realized the approach I was taking was not really feasible, hence next I plan to work on an approach which initially uses HTTP/1.1 CONNECT to establish a connection with the proxy and then shifts to HTTP/2 for all the requests made via proxy.Â
Matt Layman: Rendering Calendars - Building SaaS #68
2020-08-13 00:00:00
No <p> found.
PyPy Development: A new chapter for PyPy
2020-08-12 19:44:37
PyPy winds down its membership in the Software Freedom Conservancy
Doug Hellmann: sphinxcontrib-spelling 5.2.1
2020-08-12 15:49:46
Continue reading "sphinxcontrib-spelling 5.2.1"
Real Python: Python Community Interview With Bruno Oliveira
2020-08-12 14:00:00
Today Iâm joined by Bruno Oliveira, who is perhaps most well known for being a pytest core developer. In this interview, we cover migrating a large codebase from C++ to Python, how to get started with pytest, and his love of Dark Souls.
Stack Abuse: Deep Learning in Keras - Building a Deep Learning Model
2020-08-12 13:41:01
Deep learning is one of the most interesting and promising areas of artificial intelligence (AI) and machine learning currently. With great advances in technology and algorithms in recent years, deep learning has opened the door to a new era of AI applications.
Codementor: HOW TO BUILD A SIMPLE VIRTUAL ASSISTANT USING PYTHON
2020-08-12 09:36:22
Learn how to build a simple virtual assistant in Python using Google Speech Recognition and IBM Watson Text to Speech.
IslandT: Return modified string with Python
2020-08-12 04:41:31
Hello and welcome back, today I have solved another python related problem on CodeWars and would like to post the solution here.
The Three of Wands: The Inner Workings of: Arq
2020-08-12 00:26:00
Arq is a job library for Python's asyncio. This article is up-to-date with Arq v0.19
PSF GSoC students blogs: Weekly Check-In | GSoc | #11
2020-08-11 22:45:18
Greetings, People of the world!
Daniel Roy Greenfeld: August 2020 Courses
2020-08-11 21:39:13
For years Audrey and I have travelled giving in-person training sessions. With current events being what they are, I've switched to giving live, online, interactive trainings using Zoom meeting software. This has involved some major refactoring of content.
PyCoderâs Weekly: Issue #433 (Aug. 11, 2020)
2020-08-11 19:30:00
#433 â AUGUST 11, 2020 View in Browser »
Python Insider: Python 3.9.0rc1 is now available
2020-08-11 17:43:42
Python 3.9.0 is almost ready. This release, 3.9.0rc1, is the penultimate release preview. You can get it here:
PSF GSoC students blogs: Week 10 Check-in
2020-08-11 15:16:06
This week I started a new PR that adds multimethods for statistical functions. The multimethods added are the following:
Codementor: Is Java and Python similar?
2020-08-11 14:55:55
In this article you are going to know about that is java and python similar or not
Real Python: Identify Invalid Python Syntax
2020-08-11 14:00:00
Python is known for its simple syntax. However, when youâre learning Python for the first time or when youâve come to Python with a solid background in another programming language, you may run into some things that Python doesnât allow. If youâve ever received a SyntaxError when trying to run your Python code, then this guide can help you. Throughout this course, youâll see common examples of invalid syntax in Python and learn how to resolve the issue.
PSF GSoC students blogs: Week 10
2020-08-11 13:42:47
What did you do this week?
Ned Batchelder: You should include your tests in coverage
2020-08-11 12:17:00
This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes.
PSF GSoC students blogs: GSoC: Week 11: InputEngine.add(paths)
2020-08-11 11:59:08
Hello guys,Â
Andre Roberge: Rich + Friendly-traceback: first look
2020-08-11 07:58:39
 After a couple of hours of work, I have been able to use Rich to add colour to Friendly-traceback. Rich is a fantastic project, which has already gotten a fair bit of attention and deserves even more.
PSF GSoC students blogs: Weekly Check-In #6 (2nd Aug - 9th Aug)
2020-08-11 07:34:11
So we have almost reached the end of the program and it was a fun learning experience.
PSF GSoC students blogs: Weekly Check-In #11
2020-08-11 07:06:44
This week I added checkers for tcpdump and qt libraries.Â
spikelantern: The best frontend JavaScript framework for Django
2020-08-11 00:00:00
A question I've seen asked a lot is "what's the best frontend JavaScript framework to use with Django".
Podcast.__init__: Growing Dask To Make Scaling Python Data Science Easier At Coiled
2020-08-10 21:50:46
Python is a leading choice for data science due to the immense number of libraries and frameworks readily available to support it, but it is still difficult to scale. Dask is a framework designed to transparently run your data analysis across multiple CPU cores and multiple servers. Using Dask lifts a limitation for scaling your analytical workloads, but brings with it the complexity of server administration, deployment, and security. In this episode Matthew Rocklin and Hugo Bowne-Anderson discuss their recently formed company Coiled and how they are working to make use and maintenance of Dask in production. The share the goals for the business, their approach to building a profitable company based on open source, and the difficulties they face while growing a new team during a global pandemic.
Erik Marsja: How to Perform a Two-Sample T-test with Python: 3 Different Methods
2020-08-10 18:28:00
The post How to Perform a Two-Sample T-test with Python: 3 Different Methods appeared first on Erik Marsja.
PSF GSoC students blogs: Extending CNNs beyond classification - Weekly Check-in 11
2020-08-10 18:05:57
End of Week 9Â - 03/08/2020
PSF GSoC students blogs: GSoC Weekly Check-In #6
2020-08-10 17:43:39
What did I do this week?
PSF GSoC students blogs: Sixth Check-In
2020-08-10 16:53:19
Hello there!
PSF GSoC students blogs: Pagination, Privacy Policy, Bug Fixing and Testing in the User Story system in GSOCâ20
2020-08-10 16:38:48
I started this week with a heavy heart. I entered the last coding phase of the best experience of my life. I made my mind that I will keep contributing to this project and organization and make the most of this awesome learning opportunity. I will not let it end here. I can already imagine a smile on my mentors face as they read this. You are the best people I have ever met and worked with. Now lets jump to my magic work. :)
Real Python: Pass by Reference in Python: Background and Best Practices
2020-08-10 14:00:00
After gaining some familiarity with Python, you may notice cases in which your functions donât modify arguments in place as you might expect, especially if youâre familiar with other programming languages. Some languages handle function arguments as references to existing variables, which is known as pass by reference. Other languages handle them as independent values, an approach known as pass by value.
Stack Abuse: Translating Strings in Python with TextBlob
2020-08-10 12:30:00
Text translation is a difficult computer problem that gets better and easier to solve every year. Big companies like Google are actively working on improving their text translation services which enables the rest of us to use them freely.
IslandT: Repeat repeat and more repeat with Python
2020-08-10 12:21:38
In this article, we are going to revisit CodeWars and solve a simple problem using Python. The problem is as follows.
PSF GSoC students blogs: GSoC Week 11: Report.print()
2020-08-10 12:13:15
This week I was looking what is the best way to provide the users with a printable format. I am working on ReportLab solution. But I also worked on improving and adding some changes to HTML structure.
PSF GSoC students blogs: Weekly Check In #6
2020-08-10 10:15:57
Hello all! Finally the last stage of GSoC is here. I think a most viable product is ready leaving out a few bugs which are being worked on right now.
Talk Python to Me: #277 10 tips every Django developer should know
2020-08-10 08:00:00
No <p> found.
Mike Driscoll: PyDev of the Week: Julia Signell
2020-08-10 05:05:29
This week we welcome Julia Signell (@JSignell) as our PyDev of the Week! She helps develop Holoviz, a browser-based data visualization open source package for Python and Conda. Julia is also a co-organizer for PyDataPHL.
PythonâSpeed: Options for packaging your Python code: Wheels, Conda, Docker, and more
2020-08-10 00:00:00
Youâve written your Python applicationâa server, CLI tool, or batch processâand now you need to distribute it to the machines where it will be running. In order to run your application, you will need:
Marc Richter: Create your own Telegram bot with Django on Heroku â Part 11 â Apologies for the long pause! đą
2020-08-09 22:11:04
This article was published at Create your own Telegram bot with Django on Heroku â Part 11 â Apologies for the long pause! đą . If you are reading this on any other page, which is not some âplanetâ or aggregator, you are reading stolen content. Please read this article at its source, which is linked before to ensure to get the best reading experience; thank you! â€
Codementor: AI-COLOR-SEPARATOR
2020-08-09 19:10:56
Create a color detector using AI and ML algorithms
PSF GSoC students blogs: GSoC: Week #11
2020-08-09 17:54:46
Hello!
PSF GSoC students blogs: Weekly Check-in #11
2020-08-09 17:48:18
Hello and welcome to my 11th weekly check-in. In this blog I will be discussing my progress with multiple topics related to physics and ui components. I was actively working on a couple of things, specifically Joint simulations in pyBullet and scrollbar UI component. I also took up the responsibility to complete an incomplete Pull Request which was pending for quite a while. The official repository of my sub-org can be found here.
The Digital Cat: A game of tokens: write an interpreter in Python with TDD - Part 5
2020-08-09 17:00:00
This is part 5 of A game of tokens, a series of posts where I build an interpreter in Python following a pure TDD methodology and engaging you in a sort of a game: I give you the tests and you have to write the code that passes them. After part 4 I had a long hiatus because I focused on other projects, but now I resurrected this series and I'm moving on.
Will McGugan: A prettier Python REPL with Rich
2020-08-09 15:08:39
Rich 5.1.0 adds the ability to integrate highlighted pretty printing with the Python REPL. Here's how you would use it in a session:
PSF GSoC students blogs: [Week 10] Check-in
2020-08-09 13:18:25
Complete np.reshape and np.stack.
PSF GSoC students blogs: Weekly Check-In: Week 11
2020-08-09 07:56:11
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Montreal Python User Group: MontrĂ©al-Python 79 â Quadratic Judo
2020-08-09 04:00:00
Summer nears its end and Montréal-Python is coming back from vacation. Before going back to school or to work, come and tell us what new Pythonic things during the summer. As always, we are looking for passionate people who want to share with the community. Be it about a project that you have built or a library that you learned, send us your talk proposal to mtlpyteam@googlegroups.com . Talks duration can be anywhere between 5 and 20 minutes. We accept all reasonable proposals until the program is complete. We can't wait to read your proposal!
Full Stack Python: How to Transcribe Speech Recordings into Text with Python
2020-08-09 04:00:00
When you have a recording where one or more people are talking, it's useful to have a highly accurate and automated way to extract the spoken words into text. Once you have the text, you can use it for further analysis or as an accessibility feature.
Catalin George Festila: Python 3.8.5 : Pearson Product Moment Correlation with corrcoef from numpy.
2020-08-09 03:36:38
The python package named numpy come with corrcoef function to return Pearson product-moment correlation coefficients.
This method has a limitation in that it can compute the correlation matrix between two variables only.
The full name is the Pearson Product Moment Correlation (PPMC).
The PPMC is not able to tell the difference between dependent variables and independent variables.
The
Zato Blog: Zato and Docker installation options - general overview
2020-08-09 01:47:36
Docker is a containerization platform that gained immense popularity in the IT world as a tool that can contain an application and help to deploy it to multiple environments.
Weekly Python StackOverflow Report: (ccxxxix) stackoverflow python report
2020-08-08 21:21:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-08-08 21:20:26 GMT
Codementor: Send WhatsApp media/message using Python.
2020-08-08 11:17:30
Send WhatsApp message/media using python.
Sandipan Dey: Simulating a Turing Machine with Python and executing programs on it
2020-08-08 00:01:51
No <p> found.
Test and Code: 125: pytest 6 - Anthony Sottile
2020-08-07 19:00:00
pytest 6 is out. Specifically, 6.0.1, as of July 31. And there's lots to be excited about. Anthony Sottile joins the show to discuss features, improvements, documentation updates and more.
Python Engineering at Microsoft: Need an Intro to VS Code? Let Tech with Tim Help!
2020-08-07 15:58:43
We have been spoiled to have Tim Ruscica, founder and star of the very informative and popular âTech with Timâ YouTube channel, work on our team as a Software Engineering intern this summer! During his time here he implemented several features for our extension, including the much desired export notebook to HTML and PDF, as well as influence the discussion and design of other features we have been actively working on and shipping. Weâre honored to have him spotlight a few of his favorite VS Code Python Extension features (not just those he worked on) in a recent video! Please check it out and give Tim some much deserved kudos!
Stack Abuse: Integrating H2 with Python and Flask
2020-08-07 12:30:00
H2 is a lightweight database server written in Java. It can be embedded in Java applications, or run as a standalone server.
Real Python: The Real Python Podcast â Episode #21: Exploring K-means Clustering and Building a Gradebook With Pandas
2020-08-07 12:00:00
Do you want to learn the how and when of implementing K-means clustering in Python? Would you like to practice your pandas skills with a real-world project? This week on the show, David Amos is back with another batch of PyCoderâs Weekly articles and projects.
PSF GSoC students blogs: Week 10 Blog
2020-08-06 21:05:09
Hello everyone
Karim Elghamrawy: [Video] How to Learn Python? (From Zero to Hero)
2020-08-06 19:23:29
The post [Video] How to Learn Python? (From Zero to Hero) appeared first on Afternerd.
Codementor: How to use DLLs/COM objects from Python or - How to send a fax with Python
2020-08-06 17:34:44
Leverage DLLs from Python. Send faxes with Python without writing any code to send faxes.
PyCharm: Webinar: âDjango Database Performance Tipsâ with Andrew Brookins
2020-08-06 12:23:48
Django is one of the most popular Python Web Frameworks. However, optimizing django performance can often be difficult. Most performance problems boil down to one thing: the database. According to our guest speaker, Andrew Brookins, the only way to master Django performance is to master database performance.
Talk Python to Me: #276 Geekout: Life in the solar system and beyond
2020-08-06 08:00:00
No <p> found.
Python Bytes: #193 Break out the Django testing toolbox
2020-08-06 08:00:00
No <p> found.
Karim Elghamrawy: Python: How to Convert a List into a String? (The Right Way)
2020-08-06 06:49:33
The post Python: How to Convert a List into a String? (The Right Way) appeared first on Afternerd.
PSF GSoC students blogs: GSoC Week 10: Print
2020-08-06 05:00:37
I took a break for the week. So there's nothing on my list.
PSF GSoC students blogs: Weekly Blog Post #5
2020-08-06 04:01:04
Hi everyone a little late on this blog as I have to go back to college to get my stuff back. I passed the second evaluation, yay,. Till now I have been able to get the module metadata except the licenses. The licenses can be collected in 2 ways one is through making bash scripts to find and collect licenses from the module directory. Since licenses files dont have a set structure or a convention that's why its getting difficult and a foolproof guarantee cant be given. Another way is through making an in house copyright to License parser. For debian licenses we have debut used in tern I have to come up with similar kind of parser. I also have one idea of training a model from data collected by using github's api but thats just overkill.
Karim Elghamrawy: Python: Sort vs Sorted
2020-08-06 02:05:44
The post Python: Sort vs Sorted appeared first on Afternerd.
PSF GSoC students blogs: Weekly Check In - 9
2020-08-06 01:51:33
Last week I completed the ScrapyH2ProxyAgent implementation and added the required tests. I was going through the codebase for hyper-h2 library to get insight on how they implemented CONNECT method for HTTP/2.Â
PythonâSpeed: Debugging Python server memory leaks with the Fil profiler
2020-08-06 00:00:00
Your server is running just fine, handling requests and sending responses. But then, ever so slowly, memory usage creeps up, and up, and upâuntil eventually your process runs out of memory and crashes. And then it restarts, and the leaking starts all over again.
Matt Layman: Give Me A Break... Day - Building SaaS #67
2020-08-06 00:00:00
In this episode, we did some Django model development. I created a new model to track break days in a school year. This model will be critical to fill in vacations and holidays so that the scheduling functionality works properly. I added the model, the tests, the admin page, and the create view to create break days in the app.
We started by picking a model name and discussing naming in programming.
Quansight Labs Blog: Designing with and for developers
2020-08-05 20:55:42
Open source is notorious for lack of design presence, enough so that my search to prove this fact has turned up nearly nothing. Thereâs many ways that such a gap in community might manifest, but one that I never anticipated was working with developers that had never interacted with a designer before.
PyCharm: Webinar Recording: âSimplify Your Tests With Fixturesâ with Oliver Bestwalter
2020-08-05 19:01:08
Enjoy pytest and curious about fixtures? Last week we hosted Oliver Bestwalter for a webinar on how to use pytest fixtures to simplify your test code. The recording is now available.
Mike Driscoll: Python 101 â Learning About Sets (Video)
2020-08-05 18:51:33
In this video you will learn about the basics of Pythonâs dictionary data type. You will cover the following:
PSF GSoC students blogs: Weekly Blog Post | Gsoc'2020 | #10
2020-08-05 18:37:58
Greetings, People of the world!
Real Python: What Are Python Wheels and Why Should You Care?
2020-08-05 14:00:00
Python .whl files, or wheels, are a little-discussed part of Python, but theyâve been a boon to the installation process for Python packages. If youâve installed a Python package using pip, then chances are that a wheel has made the installation faster and more efficient.
Andre Roberge: Identifying misleading type hints
2020-08-05 05:07:19
No <p> found.
Full Stack Python: Responding to SMS Text Messages with Python & Flask
2020-08-05 04:00:00
Short Message Service (SMS) text messages are easy to send from Python applications with a web application programming interface (API). Flask applications can also receive incoming text messages and respond back to the sender with just a few lines of Python code.
Full Stack Python: How to Send SMS Text Messages with Python
2020-08-05 04:00:00
Short Message Service (SMS) text messages are ubiquitous for communication all over the world. It is easy to send SMS text messages from a Python application using a web application programming interface (API). Let's take a look at the tools we need to quickly add SMS capability to our Python apps.
Python Anywhere: Introduction to scheduled tasks helper scripts
2020-08-04 17:40:39
For all PythonAnywhere users who like to automate their workflow using scripts thereâs already the pythonanywhere package which provides an interface for some PythonAnywhere API features. If youâre one of them, you might be interested in some recent additions for programmatic management of Scheduled Tasks.
PyCoderâs Weekly: Issue #432 (Aug. 4, 2020)
2020-08-04 17:30:00
#432 â AUGUST 4, 2020 View in Browser »
Mike Driscoll: Python Malware May be Coming to a Computer Near You
2020-08-04 17:00:26
Cyborg Security reported recently that malware is starting to appear that has been written using the Python programming language. Traditionally, most malware has been written in compiled languages, such as C or C++.
Real Python: Practical Recipes for Working With Files in Python
2020-08-04 14:00:00
Python has several built-in modules and functions for handling files. These functions are spread out over several modules such as os, os.path, shutil, and pathlib, to name a few. This course gathers in one place many of the functions you need to know in order to perform the most common operations on files in Python.
Mike Driscoll: Is the Python Community Becoming Toxic?
2020-08-04 13:31:59
The Python community is amazing. I started learning Python over 15 years ago and the community was almost always very supportive in helping me figure things out. However, the past few years there seems to have been a shift. Iâm not sure if itâs just because Python has grown so much in popularity or if itâs something more basic, such as people becoming more sensitive about things. Whatever it is, the community seems to be heading away from what it once was.
Catalin George Festila: Python 3.6.9 : My colab tutorials - parts 008.
2020-08-04 11:48:17
Today I deal with these two python packages named selenium and chromium-chromedriver.
I used selenium to get pieces of information from webpages.
These examples can be found at my GitHub project colab on the notebook named catafest_008.
Django Weblog: Django 3.1 Released
2020-08-04 05:22:17
The Django team is happy to announce the release of Django 3.1.
Podcast.__init__: Supporting The Full Lifecycle Of Machine Learning Projects With Metaflow
2020-08-04 03:14:31
Netflix uses machine learning to power every aspect of their business. To do this effectively they have had to build extensive expertise and tooling to support their engineers. In this episode Savin Goyal discusses the work that he and his team are doing on the open source machine learning operations platform Metaflow. He shares the inspiration for building an opinionated framework for the full lifecycle of machine learning projects, how it is implemented, and how they have designed it to be extensible to allow for easy adoption by users inside and outside of Netflix. This was a great conversation about the challenges of building machine learning projects and the work being done to make it more achievable.
PSF GSoC students blogs: Week 9 Check-in
2020-08-04 00:43:32
This week I continued the PR started in the previous week by adding more multimethods for indexing routines. The multimethods added are the following:
Awesome Python Applications: buku
2020-08-04 00:15:00
buku: Browser-independent bookmark manager with CLI and web server frontends, with integrations for browsers, cloud-based bookmark managers, and emacs.
Techiediaries - Django: Multiple File/Image Upload with Django 3, Angular 10 and FormData
2020-08-04 00:00:00
PSF GSoC students blogs: Sorting Things Out
2020-08-03 18:58:09
Hi! I really hope that everyone reading this is still doing okay, and if that isn't the case, I wish you a good day!
Codementor: AdminLTE - Jinja2 Template
2020-08-03 18:52:18
AdminLTE, the well-known design, migrated to Jinja template engine - sources available on Github.
PSF GSoC students blogs: Weekly Blog #5 (26th Jul - 2nd Aug)
2020-08-03 18:28:13
I hope to get these two goals done in the upcoming weeks , I am really thankful to my mentors for the continuous support that has allowed me to grow as a programmer. They have also ensured that the past two months were really smooth and a lot of fun !!
PSF GSoC students blogs: Phase 3 - Weekly Check-in 10
2020-08-03 18:27:45
End of Week 9Â - 03/08/2020
PSF GSoC students blogs: Lifecycle hooks, threading and notification system in the user story system in GSOC'20
2020-08-03 18:16:09
A whole new set of awesome features are here for our beloved users. Do not get worried by the heavy terms in the title. Sit back, relax and follow me to catch a glimpse of my implementation for giving you the best possible user experience. You will soon be able to write your own story, share with us how you use our products, relate to other usersâ stories, vote them up and weâll make sure we deliver cohesive solutions to you.
Jacob Perkins: Python Vulnerability Checking Links
2020-08-03 17:00:00
No <p> found.
PSF GSoC students blogs: BLOG POST #5
2020-08-03 16:47:53
Â
PSF GSoC students blogs: GSoC Weekly Blog #5
2020-08-03 15:50:10
This week was a little tough for me. First I got some issue while writing the tests for the version history window. For some reasons the tests throw an error randomly and sometimes they pass successfully. I suspect this is a timing issue but increasing sleep time in between commands did not fix this problem. My mentors and I are still investigating this issue. The next thing I worked on was import file and merge waypoints window. The import file functionality was simple to implement however, I have been a little stuck on the merge window implementation. I am having some trouble to make the UI like I want with PyQt. I have gone through a lot of docs to see how to implement it in the most efficient and simpler way but have not found exactly what I am looking for. I am very close to finishing up all the work related to my proposal. With the merge window complete only some minor features would remain. After that I just need to finish up the remaining tests and fix bugs if any. So this week my aim is to finish this merge functionality and see how much else I can complete. I mostly get stuck while building the UI with PyQt5. There are some very simple tasks which would have been much easier in some other frameworks but I find them hard to do in PyQt. Although when I started GSoC I had absolutely zero experience in using PyQt, I am much more confident in using it now.
PSF GSoC students blogs: Week 9 : Testing Phase 2
2020-08-03 15:22:13
Hello! This is the start of the third and final month of the GSoC program :)) Its time to tie up loose strings, and patch up the work in a good form :))
Real Python: Customize the Django Admin With Python
2020-08-03 14:00:00
The Django framework comes with a powerful administrative tool called admin. You can use it out of the box to quickly add, delete, or edit any database model from a web interface. But with a little extra code, you can customize the Django admin to take your admin capabilities to the next level.
PSF GSoC students blogs: GSoC: Week #10
2020-08-03 08:34:27
Hi there!
Janusworx: A Hundred Days of Code, Day 026 - Refactoring
2020-08-03 07:30:03
Worked only an hour today. Trying to change the little lookup program, I made the other day, into something a little better.
Django Weblog: Django bugfix releases issued: 3.0.9 and 2.2.15
2020-08-03 07:28:17
Today we've issued 3.0.9 and 2.2.15 bugfix releases.
Janusworx: A Hundred Days of Code, Day 025 - Comprehension Exercises
2020-08-03 07:27:20
Working on Comprehension exercises today.
Test and Code: 124: pip dependency resolver changes
2020-08-03 07:00:00
pip is the package installer for Python.
Mike Driscoll: PyDev of the Week: Or Carmi
2020-08-03 05:05:34
This week we welcome Or Carmi (@liiight) as our PyDev of the Week! Or is the creator and maintainer of notifiers. You can see what else Or has been up to by checking out his Github profile.
PSF GSoC students blogs: GSoC: Week 10: ''' Documentation '''
2020-08-03 03:15:29
Hello guys,Â
PSF GSoC students blogs: Weekly Check-In: Week 10
2020-08-02 18:32:48
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
The No TitleŸ Tech Blog: Just updated - Optimize Images v1.3.6
2020-08-02 14:45:00
Optimize Images has just been updated to version 1.3.6, a minor but still important release that fixes a few bugs and improves its overall stability. Thank you for using Optimize Images and/or contributing with feature suggestions, bug reports, or pull requests!
Codementor: How and why I built Machine Learning model to predict tennis table matches results
2020-08-02 13:50:53
'm a Data Professional who loves building data products to solve problems. I'm currently working together with professionals from various backgrounds to provide new analytical insights in industry. I'd love to combine my passion for open data to continue contributing to change people lives in a better and analytical world.
Codementor: How and why I built a Machine Learning model to predict table tennis matches results
2020-08-02 13:50:53
'm a Data Professional who loves building data products to solve problems. I'm currently working together with professionals from various backgrounds to provide new analytical insights in industry. I'd love to combine my passion for open data to continue contributing to change people lives in a better and analytical world.
PSF GSoC students blogs: [Week 9] Check-in
2020-08-02 13:31:20
Control the base of the differentiation.
Fabio Zadrozny: PyDev 7.7.0 released (mypy integration improvements, namespace packages)
2020-08-02 10:43:29
No <p> found.
Glyph Lefkowitz: Lenses
2020-08-02 08:00:00
I suffer from ADHD.
Python Bytes: #192 Calculations by hand, but in the compter, with Handcalcs
2020-08-02 08:00:00
No <p> found.
John Cook: Time spent on the moon
2020-08-01 20:46:48
Andriy Kornatskyy: Python ASGI CLI
2020-08-01 16:37:10
Call ASGI Python application module from command line (without an application server), just like CURL. Interested?
You need to install asgi-cli package:
pip install asgi-cli
Usage
asgi-cli --help
usage: asgi-cli [-h] [--version] [-X COMMAND] [-I] [-H HEADER] [-d DATA] [-b]
[-n NUMBER] [-v]
app [url]
positional arguments:
app an
Kushal Das: Use DoH over Tor for your Qubes system
2020-08-01 14:30:34
I was using my dns-tor-proxy tool in the AppVMs in my QubesOS system. But, at the same time I was trying to figure out how to make it the default DNS system for the whole Qubes.
Weekly Python StackOverflow Report: (ccxxxviii) stackoverflow python report
2020-08-01 12:19:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-08-01 12:19:04 GMT
Janusworx: A Hundred Days of Code, Day 023, Day 24 - Tiny Utility to do comparative DNS Lookups
2020-08-01 10:03:22
Read more⊠(1 min remaining to read)
Zero to Mastery: Python Monthly đ»đ July 2020
2020-08-01 10:00:00
8th issue of Python Monthly! Read by 20,000+ Python developers every month. Keeping you up to date with the Python industry ecosystem, without wasting your valuable time.
Tryton News: Newsletter August 2020
2020-08-01 08:00:03
Pile of White and Black Boxes1280Ă853 78.3 KB
Talk Python to Me: #275 Beautiful Pythonic Refactorings
2020-08-01 08:00:00
No <p> found.
Codementor: I Wrote an Online Escape Game
2020-07-31 18:45:07
All about the puzzle game I wrote with lots of web tech for maximum entertainment value!
NumFOCUS: Dask Life Sciences Fellow [Open Job]
2020-07-31 17:52:20
Dask is an open-source library for parallel computing in Python that interoperates with existing Python data science libraries like Numpy, Pandas, Scikit-Learn, and Jupyter. Dask is used today across many different scientific domains. Recently, weâve observed an increase in use in a few life sciences applications: Large scale imaging in microscopy Single cell analysis Genomics [âŠ]
Mike Driscoll: Real Python Podcast Interview
2020-07-31 16:25:21
I am on the latest Real Python podcast where I talk about my ReportLab book, wxPython, and lots more.
PSF GSoC students blogs: Week 5 Blog Post
2020-07-31 12:06:30
I am not feeling well this week and have asked for leave this week with my mentors. I will catch up with my plan on this weekend or next week.Â
Real Python: The Real Python Podcast â Episode #20: Building PDFs in Python with ReportLab
2020-07-31 12:00:00
Have you wanted to generate advanced reports as PDFs using Python? Maybe you want to build documents with tables, images, or fillable forms. This week on the show we have Mike Driscoll to talk about his book "ReportLab - PDF Processing with Python."
Learn PyQt: Creating multiple windows in PyQt5/PySide2
2020-07-31 10:33:15
In an earlier tutorial we've already covered how to open dialog windows. These are special windows which (by default) grab the focus of the user, and run their own event loop, effectively blocking the execution of the rest of your app.
Catalin George Festila: Python 3.8.5 : PyEphem astronomy library for Python - part 001.
2020-07-31 09:27:32
About this python package, you can find it from the official website.
PyEphem provides an ephem Python package for performing high-precision astronomy computations. The underlying numeric routines are coded in C and are the same ones that drive the popular XEphem astronomy application, whose author, Elwood Charles Downey, generously gave permission for their use in PyEphem. The name ephem is
PythonâSpeed: A tableau of crimes and misfortunes: the ever-useful `docker history`
2020-07-31 00:00:00
If you want to understand a Docker image, there is no more useful tool than the docker history command. Whether itâs telling you why your image is so large, or helping you understand how a base image was constructed, the history command will let you peer into the innards of any image, allowing you to see the good, the bad, and the ugly.
Python Insider: Upgrade to pip 20.2, plus, changes coming in 20.3
2020-07-30 12:53:50
No <p> found.
Paolo Amoroso: Reading Impractical Python Projects
2020-07-30 09:49:27
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
Janusworx: A Hundred Days of Code, Day 022 - Getting into the Groove
2020-07-30 06:33:45
Did the same time as yesterday. Only about an hour. Was much more prodcutive though.
PSF GSoC students blogs: Weekly Check In - 8
2020-07-30 03:41:48
Last week I added tests for H2Agent and H2DownloaderHandler
Matt Layman: Docs, Bugs, and Reports - Building SaaS #66
2020-07-30 00:00:00
In this episode, I created documentation for anyone interested in trying out the application. After documenting the setup, I moved on to fixing a bug with the scheduling display of courses. In the latter half of the stream, we focused on creating a new reports section to show progress reports for students.
One of my patrons requested some documentation to explain how to get started with the project. We updated the README.
Codementor: Face Mask Detection using Yolo V3
2020-07-29 15:30:24
Want to implement Real Time Face Mask detection ? ..
In this post you will see the hand's on Training of yolo v3 using google colab to detect person wearing mask or not .
Real Python: Namespaces and Scope in Python
2020-07-29 14:00:00
This tutorial covers Python namespaces, the structures used to organize the symbolic names assigned to objects in a Python program.
PyCharm: PyCharm 2020.2 Out Now!
2020-07-29 12:47:10
Janusworx: A Hundred Days of Code, Day 021 - Swing and a miss
2020-07-29 12:36:35
Only did about an hour of distracted work and exercises today. Iâll still count it though.
Stack Abuse: Deep Learning in Keras - Data Preprocessing
2020-07-29 12:22:00
Deep learning is one of the most interesting and promising areas of artificial intelligence (AI) and machine learning currently. With great advances in technology and algorithms in recent years, deep learning has opened the door to a new era of AI applications.
Andre Roberge: HackInScience: friendly Python learning
2020-07-29 08:46:22
No <p> found.
PSF GSoC students blogs: Week 9 Check In!
2020-07-29 00:43:58
Hello everyone
PSF GSoC students blogs: Week 8 Check-in
2020-07-29 00:13:47
This week I started a new PR that adds multimethods for indexing routines. The multimethods added so far are the following:
Exxact Corp: PyTorch 1.6.0 Now Available
2020-07-29 00:02:14
PyTorch is a widely used, open source deep learning platform used for easily writing neural network layers in Python enabling a seamless workflow from research to production. Based on Torch, PyTorch has become a powerful machine learning framework favored by esteemed researchers around the world.
Israel Fruchter: How much fun was EuroPython 2020
2020-07-29 00:00:00
This year Iâve finally got enough courage and will, and I had 2 submissions for #pyconil. COVID-19 had other plans, and #pyconil was canceled
Doug Hellmann: sphinxcontrib-spelling 5.2.0
2020-07-28 21:05:06
Continue reading "sphinxcontrib-spelling 5.2.0"
PyCoderâs Weekly: Issue #431 (July 28, 2020)
2020-07-28 19:30:00
#431 â JULY 28, 2020 View in Browser »
Real Python: Python's None: Null in Python
2020-07-28 14:00:00
If you have experience with other programming languages, like C or Java, then youâve probably heard of the concept of null. Many languages use this to represent a pointer that doesnât point to anything, to denote when a variable is empty, or to mark default parameters that you havenât yet supplied. null is often defined to be 0 in those languages, but null in Python is different.
PyCharm: More capabilities for remote development with the R plugin
2020-07-28 12:38:16
It has been a long time since our previous update. This release of the R plugin comes with enhancements and stability improvements as well as with the new features for remote work. Also, in this release, we discontinue supporting R 3.3.
Janusworx: A Hundred Days of Code, Day 020 - Setting up an Editor for Python Development
2020-07-28 11:59:08
Had given myself a day, to see if I could get a good Python development environment using Elpy and Emacs. It does work. Just not well enough for me. At the end of the day today, I was happy I learnt so much about Emacs. But that is not my focus right now. Python is. Emacs knowledge can come slowly and organically.
PyCharm: Early Access PyCharm Podcast â With Nafiul Islam
2020-07-28 11:42:03
Welcome to Early Access PyCharm, a brand-new podcast that goes behind the scenes of how the PyCharm IDE is made and all the thinking that goes into it. In the upcoming episodes, you will hear from the people who work daily to make you more productive and your code even better.
Django Weblog: Django Developers Community Survey 2020
2020-07-28 11:00:00
We're conducting a seventeen question survey to assess how the community feels about the current Django development process. This was last done in 2015.
S. Lott: Modern Python Cookbook 2nd ed -- Advance Copies -- DM me
2020-07-28 08:02:00
No <p> found.
Codementor: Python Multithreading Misconception
2020-07-28 07:20:53
one of the misconceptions that developers say that python is too slow and python multithreading sucks. Well, itâs not true. letâs broaden this topic.
A lot of pythonists used to say GIL (Global Interpreter Lock) is the cause of the performance of python.
Podcast.__init__: Learning To Program By Building Tiny Python Projects
2020-07-28 02:40:40
One of the best methods for learning programming is to just build a project and see how things work first-hand. With that in mind, Ken Youens-Clark wrote a whole book of Tiny Python Projects that you can use to get started on your journey. In this episode he shares his inspiration for the book, his thoughts on the benefits of teaching testing principles and the use of linting and formatting tools, as well as the benefits of trying variations on a working program to see how it behaves. This was a great conversation about useful strategies for supporting new programmers in their efforts to learn a valuable skill.
PSF GSoC students blogs: Weekly Check-In | Gsoc'2020 | #9
2020-07-27 20:26:50
Greetings, People of the world!
PSF GSoC students blogs: Boosting application security, voting and commenting in the user story system in GSOC'20
2020-07-27 18:10:58
This time I let the title reveal the much awaited features that are up and running by the time you read this. I am really excited to experience that adrenaline rush when I get a chance to vote in the real elections and choose our leaders of tomorrow. For now I can fulfill my desire by contributing in selecting the best and most wanted user story of the season. Follow me to understand how I solved the mystery of votes and relations.
Python Engineering at Microsoft: Notebooks are getting revamped!
2020-07-27 17:54:18
The Python Extension for VS Code Insiders is excited to announce the new preview for Native Notebooks! Native Notebooks are VS Codeâs newest implementation of notebooks and the Python Extension is leveraging the Native Notebooks API to revamp the data science experience! Users can now benefit from the new functionalities below:
PSF GSoC students blogs: Check-in for week 8
2020-07-27 17:16:33
1. What did you do this week?
PSF GSoC students blogs: Fifth Check-In
2020-07-27 17:15:15
Hello and I hope y'all are still doing well!
PSF GSoC students blogs: GSoC Week 9: Triage data
2020-07-27 16:48:18
I was working on the Addition of File paths to the HTML reports and I have submit a PR for that. Users will now be able to see what are the files that were vulnerable I also worked on improving the Template design to better support this new functionality.
PSF GSoC students blogs: Dynamic Loading - Weekly Check-in 9
2020-07-27 15:46:45
End of Week 8Â - 27/07/2020
PSF GSoC students blogs: GSoC Weekly Check-In #5
2020-07-27 15:07:02
What did I do this week?
Real Python: Generative Adversarial Networks: Build Your First Models
2020-07-27 14:00:00
Generative adversarial networks (GANs) are neural networks that generate material, such as images, music, speech, or text, that is similar to what humans produce.
Python Software Foundation: Abigail Dogbe Awarded the PSF Community Service Award for Q1 2020
2020-07-27 12:02:18
No <p> found.
Janusworx: A Hundred Days of Code, Day 019 - Future Exercise Addendum
2020-07-27 10:53:14
Ok, think I have the problem of writing code, licked. Will start with one problem from all the Lerner Courses, that I still have to do. And another problem, I ask my friends to give me.
PSF GSoC students blogs: Weekly Check-In #5 (19th Jul - 26th Jul)
2020-07-27 08:42:14
So we have almost reached the second stage of evaluation , and the past month did go surprisingly fast. đ
Â
PSF GSoC students blogs: GSoC: Week #9
2020-07-27 08:12:41
Hello!
Janusworx: A Hundred Days of Code, Day 019 - Python Iterators and Generators, Done!
2020-07-27 06:25:48
Starting up with the last of the Lerner courses, I got. Iterators and Generators. Hopefully I get done with this and use the same intensity with actually writing code. What shape will that take and how will I write about it? I have no clue For now, notes follow.
PSF GSoC students blogs: Weekly Check In #5
2020-07-27 06:01:51
Â
PSF GSoC students blogs: Weekly Check-In: Week 9
2020-07-27 05:06:50
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Mike Driscoll: PyDev of the Week: Carlton Gibson
2020-07-27 05:05:22
This week we welcome Carlton Gibson (@carltongibson) as our PyDev of the Week. Carlton is a core developer of the Django REST Framework and maintainer of Django Filter, Crispy Forms and more. Carlton is the co-host of the Django Talk podcast. You can see what Carlton is currently working on over on Github.
PSF GSoC students blogs: Week 8 : Testing Phase 1
2020-07-27 03:26:13
Hello Everyone!
PSF GSoC students blogs: Weekly Check-in #9
2020-07-26 17:26:51
Hello and welcome to my 9th weekly check-in. I will be sharing my progress with TabUI and its corresponding tutorial. The official repository of my sub-org, FURY can always be found here.
Janusworx: A Hundred Days of Code, Day 018 - Python Comprehensions, Done!
2020-07-26 13:30:00
Continuing my comprehensions journey. Hopefully it makes more sense this time around
Catalin George Festila: Python 3.6.9 : My colab tutorials - parts 006 - 007.
2020-07-26 13:14:28
This tutorial is called: My colab tutorials - parts 006 - 007.
The only reason for synchronization with the source code from my GitHub account on the Colab project.
I like collab more and more because I can quickly test the source code.
The example is taken from here and adapted to work on Colab and the new version of numba
Here is a simple example with the python numba package to creat that
PSF GSoC students blogs: [Week 8] Check-in
2020-07-26 12:19:21
Control the base of the differentiation.
PSF GSoC students blogs: GSoC: Week 9: ConfigParser()
2020-07-26 11:22:14
I have done research on various configuration file formats and compiled outcomes of it in a issue: Discussion: Configuration file format. Some users recommended INI files because it is very old and still popular among masses but  INI file does not have any built-in type support and It also lacks formal specification. It parses everything as string. So, we have to process data parsed by configparser to convert it into something usable. Our example data can be parsed as following dictionary:
Weekly Python StackOverflow Report: (ccxxxvii) stackoverflow python report
2020-07-26 06:54:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-07-26 06:53:34 GMT
spikelantern: Simple infinite scroll in Django
2020-07-26 00:00:00
If youâve used Twitter, Instagram, or Facebook, you would have used something called âinfinite scrollâ, sometimes also called âinfinite loadingâ or âendless paginationâ.
Catalin George Festila: Python 3.8.2 : The numba python package - part 001 .
2020-07-25 15:45:02
The development of this python package comes with this short intro:
Numba is a just-in-time compiler for Python that works best on code that uses NumPy arrays and functions and loops. The most common way to use Numba is through its collection of decorators that can be applied to your functions to instruct Numba to compile them. When a call is made to a Numba decorated function it is compiled to
Janusworx: A Hundred Days of Code, Day 017 - Python, Advanced Objects, Done!
2020-07-25 12:40:46
And we are done with objects! This course finally gave me what I was looking for all these months. The ability to think of and reason about Python, so that I can then think of and reason about, how to build my own programs.
S. Lott: Over-Solving or Solving Problems You Don't Have
2020-07-25 08:02:26
No <p> found.
Test and Code: 123: GitHub Actions - Tania Allard
2020-07-24 20:45:00
Lots of Python projects are starting to use GitHub Actions for Continous Integration & Deployment (CI/CD), as well as other workflows.
Python Software Foundation: Python Software Foundation Fellow Members for Q2 2020
2020-07-24 18:15:12
No <p> found.
NumFOCUS: NumFOCUS Introduces New Supporter Program
2020-07-24 16:31:53
Today NumFOCUS is pleased to introduce a new program for our individual supporters, called Open Science Champions. Each year, our community members generously support NumFOCUS and our Projects in several ways; this program is intended to connect these various forms of support so that we can engage with our community most effectively and offer our [âŠ]
Moshe Zadka: The Hardest Logic Puzzle Ever (In Python)
2020-07-24 16:00:00
The Labyrinth is a childrenâs movie. The main character is 16 years old, and solving a logic puzzle that will literally decide if she lives or dies. In fiction, characters are faced with realistic challenges: ones they can solve, even if they have to make an effort.
Janusworx: A Hundred Days of Code, Day 016 - Python, Advanced Objects.
2020-07-24 15:04:43
Started up with Python Objects today. This seems like a long, hard one. Hereâs hoping I learn lots. Knowing Reuven, I know I will.
Ian Ozsvald: “Making Pandas Fly” at EuroPython 2020
2020-07-24 14:57:18
Iâve had a chance to return to talking about High Performance Python at EuroPython 2020 after my first tutorial on this topic back in 2011 in Florence. Today I spoke on Making Pandas Fly with a focus on making Pandas run faster using:
Real Python: The Real Python Podcast â Episode #19: Advanced Python Import Techniques and Managing Users in Django
2020-07-24 12:00:00
Would you like to clearly understand what's happening when you use the Python import keyword? Do you want to use modules more effectively to structure your code? Or maybe you're ready to move to the next level with your Django project by adding user management. This week on the show, David Amos is back with another batch of PyCoder's Weekly articles and projects.
Talk Python to Me: #274 Profiling data science code with FIL
2020-07-24 08:00:00
No <p> found.
Janusworx: A Hundred Days of Code, Day 015 - Python, Advanced Functions, Done!
2020-07-24 06:02:03
Delving deeper into Python functions and learning more about them, using Reuven Lernerâs Advanced Python Functions Course
Spyder IDE: STX Next, Python development company, uses Spyder to improve their workflow
2020-07-24 01:46:37
STX Next, one of Europe's largest Python development companies, has shared with us how Spyder has been a powerful tool for them when performing data analysis. It is a pleasure for us on the Spyder team to work every day to improve the workflow of developers, scientists, engineers and data analysts. We are very glad to receive and share a STX Next testimonial about Spyder, along with an interview with one of their developers, Michael WiĆniewski, who has found Spyder very useful in his job.
Python Engineering at Microsoft: Gather: A New Way To Clean Notebooks
2020-07-23 20:20:13
We are pleased to announce the release of our experimental extension in Visual Studio Code, Gather! Gather is a notebook cleaning tool that analyzes and determines the necessary code dependencies within a notebook and performs code cleanup, automating this difficult, annoying, and time-consuming task.
PSF GSoC students blogs: Weekly Check In - 7
2020-07-23 14:46:01
This week I implemented the ScrapyH2Agent which is the handled directly by H2DownloadHandler to issue requests. Internally the ScrapyH2Agent uses
PyCon: Recap of PyCon 2020 Converting to Online
2020-07-23 14:08:12
No <p> found.
PyCharm: PyCharm 2020.2 â Release Candidate
2020-07-23 12:42:42
Good news! PyCharm 2020.2 Release Candidate build is out today!
PSF GSoC students blogs: Week 8 blog!
2020-07-23 09:51:55
Hello everyone. The is week 8 of the Google Summer of Code program. The last week wasn't a lot of work done. I did add some BAM test files, added visualization function to NavMesh class similar to NavMeshBuilder class. So, now draw_nav_mesh_geom() in NavMesh class would work the same way as draw_poly_mesh_geom() in NavMeshBuilder class and can be accessed through even NavMeshNode class. BAM test files can be found in the Tests folder. A BAM object is created and read over in the test functions to test against the original values. So these were two main things I added in the previous week. Along with them, I have started working on the documentation. It uses Sphinx's reStructured text (.rst) format. I have got familiar to it's coding / formatting styles. Also, I have added a new class NavMeshParams in the navigation library. So, the user can add custom vertices and faces to generate the navigation mesh without using the navmeshgen library. Or maybe, the user can get the navigation mesh generated using some other library and then write code to parse it into NavMesh class using NavMeshParams class.
PSF GSoC students blogs: GSoC Week 8: Where's the problem ?
2020-07-23 08:37:52
I have been working on adding the tutorial on how to customise the HTML Reports. I have added a argument which will get the directory path from the user. I have also handled the hidden div problem from the plotly.js So now we don't need to reload the window on window resize. The performance has improved significantly for the reports. Â
Matt Layman: Handle Default Values - Building SaaS #65
2020-07-23 00:00:00
In this episode, I updated a model to handle the default duration of new tasks. This default needed to come from the Course model instead of the CourseTask model so we had to determine how best to set that data in various forms. I also fixed some drop down selection bugs that populated a form with the wrong data. We made sure that all the code was well tested.
I created a new default_task_duration field to the Course model.
PyCharm: Release: PyCharm 2020.1.4
2020-07-22 18:15:53
PyCharm 2020.1.4 is out with minor bug fixes as we approach the release date for PyCharm 2020.2. For more details about this build read the release notes.
Real Python: Python Packages: Five Real Python Favorites
2020-07-22 14:00:00
Python has a vast ecosystem of packages, modules, and libraries that you can use to create your application. Some of these packages and modules are included with your Python installation and are collectively known as the standard library.
Reuven Lerner: Last chance to get $1400 of Python courses for $25
2020-07-22 14:00:00
Only a few hours remain before the massive Humble Bundle for Python courses + PyCharm closes its doors! No matter where you are in learning Python, youâll find something here to improve your skills.
Stack Abuse: Deep Learning Models in Keras - Exploratory Data Analysis (EDA)
2020-07-22 12:37:00
Deep learning is one of the most interesting and promising areas of artificial intelligence (AI) and machine learning currently. With great advances in technology and algorithms in recent years, deep learning has opened the door to a new era of AI applications.
Janusworx: A Hundred Days of Code, Day 013, Day 14 - Python, Advanced Data Structures, Done!
2020-07-22 12:18:09
Notes and experiences for yesterday and today. I âwastedâ a lot of time, again, struggling with exercises yesterday and ended up being too zombied to even write the summary post. Have been much smarter about it today. Stopped after about 30 mins and copied and tried to understand the solution.
EuroPython: EuroPython 2020: Data Science Track
2020-07-22 09:07:12
We are excited to announce a complete two day data science track at EuroPython 2020 Online, happening on Thursday and Friday (July 23 - 24).
Python Bytes: #191 Live from the Manning Python Conference
2020-07-22 08:00:00
No <p> found.
Glyph Lefkowitz: I Want A New Duck
2020-07-22 06:43:00
Get it? Quack quack quack quack Quack quack quack quack
PSF GSoC students blogs: Weekly Blog Post #4
2020-07-22 05:33:44
Hi everyone, Its been exciting 8 weeks my exams were scrapped this sem and I got a decent score :) . Also I am still working on go lang metadata extraction. Now the issue of cd'ing into the workdir is resolved and the PR will get merged soon :) . Now only issue left is collecting copyrights. If I can get it done by the next week it will be really great. I think thats all I have for this blog post.
PSF GSoC students blogs: Weekly Blog Post | Gsoc'2020 | #8
2020-07-21 20:04:48
Greetings, People of the world!
PyCoderâs Weekly: Issue #430 (July 21, 2020)
2020-07-21 19:30:00
#430 â JULY 21, 2020 View in Browser »
Mike Driscoll: Creating a Presentation with Jupyter Notebook and RISE (Video)
2020-07-21 18:57:40
In this tutorial, you will learn how to use Jupyter Notebooks to create slide show presentations. This allows you to run and edit live code in your slides.
Real Python: Mastering Python's Built-in time Module
2020-07-21 14:00:00
The Python time module provides many ways of representing time in code, such as objects, numbers, and strings. It also provides functionality other than representing time, like waiting during code execution and measuring the efficiency of your code.
EuroPython: EuroPython 2020: Presenting our Conference Booklet
2020-07-21 08:54:18
Our designer Jessica has created a beautiful conference booklet for you to use during the conference and keep as a memory afterwards. It provides all details, schedule, keynotes, sponsor listings, etc. in a single PDF.
Codementor: How to Listen for Webhooks with Python
2020-07-21 08:40:46
Learn how to listen for and consume webhooks with Python's most popular web frameworks, Django or Flask.
Python Insider: Python 3.8.5 released as a security hotfix. 3.9.0b5, the last beta before 3.9.0, also available
2020-07-21 07:18:19
No <p> found.
Quansight Labs Blog: Quansight Labs: what I learned in my first 3 months
2020-07-21 06:00:00
I joined Quansight at the beginning of April, splitting my time between PyTorch (as part of a larger Quansight team) and contributing to Quansight Labs supported community-driven projects in the Python scientific and data science software stack, primarily to NumPy. I have found my next home; the people, the projects, and the atmosphere are an all around win-win for me and (I hope) for the projects to which I contribute.
PSF GSoC students blogs: Week 7 Check-in
2020-07-21 02:40:35
I started a new PR that adds multimethods for functional programming routines. The multimethods added are the following:
Podcast.__init__: Idiomatic Functional Programming With DRY Python
2020-07-21 01:21:50
Python is an intuitive and flexible language, but that versatility can also lead to problematic designs if youâre not careful. Nikita Sobolev is the CTO of Wemake Services where he works on open source projects that encourage clean coding practices and maintainable architectures. In this episode he discusses his work on the DRY Python set of libraries and how they provide an accessible interface to functional programming patterns while maintaining an idiomatic Python interface. He also shares the story behind the wemake Python styleguide plugin for Flake8 and the benefits of strict linting rules to engender good development habits. This was a great conversation about useful practices to build software that will be easy and fun to work on.
Matt Layman: Episode 7 - Models and Managers and Querysets, Oh My!
2020-07-20 19:42:09
No <p> found.
PSF GSoC students blogs: I've Walked 500 MilesâŠ
2020-07-20 18:04:30
⊠and I would walk 500 more Just to be the man who walks a thousand miles To fall down at your door
PSF GSoC students blogs: Making and inspecting model relations for the user story system in GSOCâ20
2020-07-20 17:20:25
The world is full of relationships. Everything around us is connected to each other in some way or the other. Sometimes relations can be hard to figure out. Join me as I help you create a unique relation with our user story system and some of its brand new features.
PSF GSoC students blogs: Convolutional Neural Networks - Weekly Check-in 8
2020-07-20 15:38:08
End of Week 6Â - 13/07/2020
PSF GSoC students blogs: Blog post for week 7: Queue interface documentation
2020-07-20 15:27:53
Last week I was working on the specification of the queue interface. There are some important properties of how a queue is expected to behave so we thought it was worthwhile to document them. The documentation should make it easier for users to figure out how queues work (especially in the case of an error) but also make it easier in case a custom queue (facade) should be developed by a user of Scrapy.
PSF GSoC students blogs: GSoC Weekly Blog #4
2020-07-20 14:00:25
I spent the last week working mainly on search message and reply to a message functionality. The search message was a simple however, it took me quite some time to figure out how exactly I wanted to tackle the reply message functionality as there are multiple ways to do it. After completing these, I wrote some pending tests for file upload and then tests for search and reply. There were also some small bugs in the chat which I fixed. The PR is currently being reviewed by my mentors once it's merged my work for mscolab chat will be complete. I had a long conversation with my mentors about the next component that I'll be working on that is local editing of flightpaths in mscolab. I cleared all my doubts about the requirements and will start working on that this week. After some deeper understanding of the code, I have found out the version system would require much more work than I first thought so I'll be working on it when some of the local flight editing work is done because the version window is related to it a little bit. Last week I was stuck for a long time on a UI sizing issue with PyQT5 and have still not been able to fix it but I was able to put together a hack that works pretty well for now. If I get the time I'll tackle this issue later again and try to write a cleaner implementation.
Real Python: K-Means Clustering in Python: A Practical Guide
2020-07-20 14:00:00
The k-means clustering method is an unsupervised machine learning technique used to identify clusters of data objects in a dataset. There are many different types of clustering methods, but k-means is one of the oldest and most approachable. These traits make implementing k-means clustering in Python reasonably straightforward, even for novice programmers and data scientists.
EuroPython: EuroPython 2020: Introducing our Diamond Sponsor Bloomberg
2020-07-20 12:54:03
We are very pleased to have Bloomberg as Diamond Sponsor for EuroPython 2020. Without sponsors like Bloomberg, we wouldnât be able to make the event affordable.
Stack Abuse: Guide to Basic Data Types in Python with Examples
2020-07-20 12:30:00
In this article, we'll be diving into the Basic Data Types in Python. These form some of the fundamental ways you can represent data.
PSF GSoC students blogs: Weekly Blog #4 (12th Jul - 19th Jul)
2020-07-20 10:56:30
No <p> found.
Janusworx: A Hundred Days of Code, Day 012 - Python, Advanced Data Structures continued
2020-07-20 10:51:04
Ok! Had a nice refreshing break, yesterday being Sunday. Back to work today! If todayâs notes, feel a little light, thatâs because I was struggling with exercises.
Django Weblog: Django 3.1 release candidate 1 released
2020-07-20 06:31:35
Django 3.1 release candidate 1 is the final opportunity for you to try out the potpourri of new features before Django 3.1 is released.
PSF GSoC students blogs: Weekly Check-In: Week 8
2020-07-20 05:48:41
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Mike Driscoll: PyDev of the Week: Jim Crist-Harif
2020-07-20 05:05:13
This week we welcome Jim Crist-Harif (@jcristharif) as our PyDev of the Week! Jim is a contributor to Dask, Skein and several other data science / machine learning Python packages. Jim also blogs about Python. You can see what he is currently working on over on Github.
PSF GSoC students blogs: Week 7 : Completion of Multiple KML Overlay UI
2020-07-20 04:03:05
After 7 weeks worth of coding, researching , experimenting and implementing, I have completed the KML Overlay UI! Feeling good, and quite confident now :))
Mike C. Fletcher: RunSnakeRun 3.0.0 Beta 1
2020-07-19 20:47:31
So I finally sat down and finished off the work I was doing a while ago to get RunSnakeRun updated to run on Python 3 and support pyspy/speedscope files. There was a bunch of stuff needed to make us compatible with the wxPython Pheonix releases, a huge and horrible hack to let us load Python2 pstats dumps on Python3 (basically running python2 in a subprocess), a seeming loss of Meliae support (since AFAIK it doesn't run on python3), and really far too much code churn, but oh well.
PSF GSoC students blogs: GSoC: Week #8
2020-07-19 18:25:10
Hello!
Codementor: Python Functions: Explained for Beginners
2020-07-19 11:45:43
A function (sometimes referred to as a method or procedure) is a set of statements designed to perform a particular task. Python functions are usually referenced by a name, and when this is the case,&hellip;
PSF GSoC students blogs: GSoC: Week 8: InputEngine.extend(functionalities)
2020-07-19 10:38:21
I didn't know about usage of other triage data like custom severity so I asked my mentor about it she gave me various use-case scenarios where it can be useful. After understanding requirements, I have added support for three new fields to our input_engine: 1) comments, 2) cve_number and 3) severity. Now user can specify these triage data and it will get reflected in the all machine readable output format. I have also added support for wheel and egg archive format. I have modernize error handling in outputengine and extractor. I have also fixed a bug which was causing progress bar to be displayed on quite mode.Â
Brett Cannon: Unravelling attribute access in Python
2020-07-19 04:07:01
I wonder how many people realize that Python has a lot of syntactic sugar? I'm not claiming it's like a Lisp-based language where the syntax is as bare bones as possible (although the Lisp comparison is not entirely unfounded), but much of Python's syntax isn't technically needed as under the hood a good chunk of it is just function calls.
PSF GSoC students blogs: [Week 7] Check-in
2020-07-19 04:03:45
Compatibility issue between uarray and unumpy.
Full Stack Python: Tracking Daily User Data in Django with django-user-visit
2020-07-19 04:00:00
It can be tedious to figure out what data to track, create data models and build middleware for your Django project if you just want to collect some basic information about clients that connect to your web application . Fortunately, the library django-user-visit is a handy Django project that quickly handles all of this complexity for you. In this tutorial, we'll learn how to use django-user-visit in a new Django project to add daily visit data tracking to Django projects.
Weekly Python StackOverflow Report: (ccxxxvi) stackoverflow python report
2020-07-18 20:11:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-07-18 20:10:53 GMT
William Minchin: Seafoam 2.4.5Â Released
2020-07-18 17:41:00
Itâs time for a new update to Seafoam, the website theme currently in use here (on my Blog) and by my wider site.
PSF GSoC students blogs: Week 4 Blog Post
2020-07-18 15:29:12
What I have done this week
Catalin George Festila: Python Qt5 - Create a simple web browser.
2020-07-18 15:05:24
This python package named PyQtWebEngine, see the official webpage for more infos:
The team development comes with this intro:
PyQtWebEngine is a set of Python bindings for The Qt Companyâs Qt WebEngine framework. The framework provides the ability to embed web content in applications and is based on the Chrome browser. The bindings sit on top of PyQt5 and are implemented as three separate modules
The Digital Cat: Emacs Configuration for Python/JavaScript, Terraform and blogging
2020-07-18 14:30:00
(image from https://commons.wikimedia.org/wiki/File:Gnu-listen-half.jpg)
Janusworx: A Hundred Days of Code, Day 011 - Python, Advanced Data Structures
2020-07-18 13:44:17
Started with a new Reuven Lerner Course, on Advanced Data Structures.. Aiming to comfortably finish this in a week. Notes and experiences, follow. The course is three parts.
Talk Python to Me: #273 CoCalc: A fully colloborative notebook development environment
2020-07-18 08:00:00
No <p> found.
Codementor: Why tests fail only during pre-commit ?
2020-07-18 01:08:44
My unit tests ran successfully on their own, but unit test step would fail during the pre-commit. Confusing ? Yes. Till I found out why
BangPypers: Talks â Jul, 2020
2020-07-18 00:00:00
We had 4 talks in the online meetup of July 2020. The theme decided as a virtue of talks selected was Testing and Code Quality.
Zero-with-Dot (Oleg ƻero): Polynomial Regression - which python package to use?
2020-07-17 22:00:00
Polynomial regression is one of the most fundamental concepts used in data analysis and prediction. Not only can any (infinitely differentiable) function be expressed as a polynomial through Taylor series at least within a certain interval, it is also one of the first problems that a beginner in machine-learning is confronted with. It is used across various disciplines such as financial analysis, signal processing, medical statistics, and more.
Janusworx: A Hundred Days of Code, Day 010 - Python Functions, Basics Done!
2020-07-17 14:06:18
Today was hard!
Real Python: The Real Python Podcast â Episode #18: Ten Years of Flask: Conversation With Creator Armin Ronacher
2020-07-17 12:00:00
This week on the show we have Armin Ronacher to talk about the first 10 years of Flask. Armin talks about the origins of Flask and the components that make up the framework. He talks about what goes into documenting a framework or API. He also talks about the community working on the ongoing development of Flask.
Codementor: Flask Dashboard - AdminLTE
2020-07-17 08:36:48
Simple Flask dashboard coded with authentication, database, and deployment scripts on top of AdminLTE design.
Python Engineering at Microsoft: Python in Visual Studio Code â July 2020 Release
2020-07-17 00:07:06
We are pleased to announce that the July 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
Test and Code: 122: Better Resumes for Software Engineers - Randall Kanna
2020-07-16 19:00:00
A great resume is key to landing a great software job. There's no surprise there. But so many people make mistakes on their resume that can very easily be fixed.
py.CheckIO: Solutions Index
2020-07-16 14:31:39
No summary found!
Mike Driscoll: ReportLab 101: Intro to the Canvas (Video)
2020-07-16 14:04:04
In this video, you will get an introduction to ReportLabâs Canvas object. You use ReportLab to create PDFs using Python and this tutorial will show you one way to accomplish that
Reuven Lerner: Thereâs still time to get amazing Python course deals via Humble Bundle
2020-07-16 12:03:06
If you havenât yet taken advantage of the massive Humble Bundle for Python courses + PyCharm, you only have a few days left to do so before it ends! Whether youâre just starting out with Python or are an old hand looking to learn some new skills, youâll find something here.
PSF GSoC students blogs: GSoC Week 7: Templates Tutorial
2020-07-16 11:41:27
I researched for the HTML Report design that is good looking and more feature rich. I have been working on and developing it. The new HTML Report will have support for Triage stuff. So that the user can quickly navigate to CVEs with specified remarks. I have also added a footer with useful links like our github, community IRC, and instructions on how to raise an issue.  Â
PyCharm: PyCharm 2020.2 EAP#4
2020-07-16 10:50:28
The last PyCharm EAP build before the release candidate is ready and comes with a lot of new functionalities! Letâs take a look into three UX-related improvements that will make your development experience smoother.
Janusworx: A Hundred Days of Code, Day 009 - Python Functions, Basics
2020-07-16 10:42:47
Started up with learning about Python function basics, today. Notes follow. Using the Lerner pool of wisdom, as usual.
EuroPython: EuroPython 2020: Introducing our Keystone Sponsor Microsoft
2020-07-16 10:01:41
We are excited to have Microsoft as our Keystone Sponsor for EuroPython 2020. Microsoft has been a regular sponsor of EuroPython and is a great supporter of Python in general. Thanks, Microsoft !Â
EuroPython: EuroPython 2020: Find a new job at the conference
2020-07-16 08:01:58
Weâd like to draw your attention to our job board, with plenty of job ads from our sponsors:
Python Bytes: #190 You will now be notified if the Python zipper is broken
2020-07-16 08:00:00
No <p> found.
PSF GSoC students blogs: Weekly Check In - 6
2020-07-15 20:04:20
Last week I was implementingÂ
Janusworx: A Hundred Days of Code, Day 008 - Python Basics, Lists, Tuples, Dictionaries, Sets and Done!
2020-07-15 14:02:58
This was an amazing run! Learnt lots. Done with the basics course. Woohoo!
Real Python: Pandas Project: Make a Gradebook With Python & Pandas
2020-07-15 14:00:00
One of the jobs that all teachers have in common is evaluating students. Whether you use exams, homework assignments, quizzes, or projects, you usually have to turn studentsâ scores into a letter grade at the end of the term. This often involves a bunch of calculations that you might do in a spreadsheet. Instead, you can consider using Python and pandas.
Catalin George Festila: Python 3.8.3 : Lists in Python 3 - part 001.
2020-07-15 13:23:18
I am currently working on a project that involves the use of complex data structures and lists and my time is limited.
This led me to start a new series of python tutorials on python lists.
I realized that the lists had no substantial changes in the evolution of the python programming language, see the official documentation.
You will find on the internet a lot of questions related to lists,
Andriy Kornatskyy: Python Templates Benchmark
2020-07-15 10:37:08
Python template engines offer high reusability of markup code and the following features are used by content developers most of the time:
Includes: useful to incorporate some snippets of content that in most cases are common to the site, e.g. footer, scripts, styles, etc.
Extends: useful to define a master layout for the majority of the site content with placeholders, e.g. sidebar,
Andriy Kornatskyy: Python Fastest Template Engine
2020-07-15 10:37:08
What is the fastest template system for Python? See also:
Comprehensive benchmarks for various template include, extends and widget directives are here.
The benchmark is based on wheezy.template big table test for rendering a 10x1000 HTML table in unicode. Latest available versions (April 2, 2015):
bottle 0.12.8
chameleon 2.22
cheetah 2.4.4
django 1.8
jinja2 2.7.3
mako 1.0.1
durusworks qpy
Codementor: How should I start learning Python
2020-07-15 06:55:22
After you have made up your mind that you are going with Python, Here are certain steps that I followed to get
started with it and I am sure it will work out for anybody,
Mike Driscoll: Python 101 â Creating Multiple Processes
2020-07-15 05:05:17
Most CPU manufacturers are creating multi-core CPUs now. Even cell phones come with multiple cores! Python threads canât use those cores because of the Global Interpreter Lock. Starting in Python 2.6, the multiprocessing module was added which lets you take full advantage of all the cores on your machine.
Anarcat: Goatcounter analytics in ikiwiki
2020-07-15 02:07:52
I have started using Goatcounter for analytics after reading this LWN article called "Lightweight alternatives to Google Analytics". Goatcounter has an interesting approach to privacy in that it:
PSF GSoC students blogs: Week 6 Check-in
2020-07-15 00:54:56
I started a new PR that adds multimethods for mathematical functions. The multimethods that were added are the following:
PSF GSoC students blogs: Week 7 check-in!
2020-07-14 23:57:28
Hello everyone
Codementor: Your First Stock Trading Bot đ€đPart 2: Buy & Sell Stocks in Python w/ Alpaca!
2020-07-14 23:09:53
Python stock trading bot written in Alpaca Python library. Designed for trading stocks programmatically in Python under the alpaca library. Source code available on GitHub!
NumFOCUS: Open Source Developer Advocate
2020-07-14 20:36:34
Position Overview The primary role of the Open Source Developer Advocate is to represent and support developers of NumFOCUS open source projects by serving as a link to internal and external stakeholders as well as the global user community. You will generate attention and support by applying your technical knowledge, passion for open source data [âŠ]
PyCoderâs Weekly: Issue #429 (July 14, 2020)
2020-07-14 19:30:00
#429 â JULY 14, 2020 View in Browser »
EuroPython: EuroPython 2020: Please configure your tickets
2020-07-14 16:58:06
We would like to remind you how you can configure your tickets and profiles, so that we get the right information for on-boarding you on our Discord server in the coming days and your communication preferences.
Real Python: Grow Your Python Portfolio With 13 Intermediate Project Ideas
2020-07-14 14:00:00
Now that you know the basics of Python, you can put that knowledge to use by building projects to put in your portfolio. The trick is finding project ideas that are just right for your level. Creating a variety of applications is a way to demonstrate your knowledge and share it with others.
Janusworx: A Hundred Days of Code, Day 007 - Python Basics, Variables, Basic Data Types, Strings and Loops
2020-07-14 12:56:08
Started with the Reuven Lerner, Intro Python:Fundamentals course today. Made surprising headway, even though today was crazily demanding with work and personal stuff.
Kushal Das: Introducing pyage-rust, a Python module for age encryption
2020-07-14 10:09:56
age is a simple, modern and secure file encryption tool, it was designed by @Benjojo12 and @FiloSottile.
PSF GSoC students blogs: Check-in for week 6
2020-07-14 07:38:25
1. What did you do this week?
Mike Driscoll: An Overview of JupyterLab (Video)
2020-07-14 05:05:15
Learn the basics of using JupyterLab which is the replacement for Jupyter Notebook, in my latest video tutorial.
Anarcat: Not recommending Purism
2020-07-13 22:15:59
This is just a quick note to mention that I have updated my hardware documentation on the Librem 13v4 laptop. It has unfortunately turned into a rather lengthy (and ranty) piece about Purism. Let's just say that waiting weeks for your replacement laptop (yes, it died again) does wonders for creativity. To quote the full review:
PSF GSoC students blogs: Weekly Check-In | Gsoc'2020 | #7
2020-07-13 21:48:59
Greetings, People of the world!
Python Software Foundation: Pip team midyear report
2020-07-13 18:23:13
No <p> found.
Podcast.__init__: The Past, Present, And Future Of The FLUFL: Barry Warsaw Shares His History With Python
2020-07-13 17:27:09
Barry Warsaw has been a member of the Python community since the very beginning. His contributions to the growth of the language and its ecosystem are innumerable and diverse, earning him the title of Friendly Language Uncle For Life. In this episode he reminisces on his experiences as a core developer, a member of the Python Steering Committee, and his roles at Canonical and LinkedIn supporting the use of Python at those companies. In order to know where you are going it is always important to understand where you have been and this was a great conversation to get a sense of the history of how Python has gotten to where it is today.
Python Insider: Python 3.8.4 is now available
2020-07-13 17:06:52
No <p> found.
PSF GSoC students blogs: Image Classification - Weekly Check-in 7
2020-07-13 16:52:25
End of Week 6Â - 13/07/2020
Catalin George Festila: Python 3.8.3 : Short intro to Appium-Python-Client python package.
2020-07-13 16:09:17
This is a short intro of the Appium-Python-Client python package and Appium based on Client-Server Architecture.
The Appium Server can be installed using two ways: using NPM or using Appium Desktop.
I download and run the desktop version from here.
Appium-windows-1.18.0-beta.1>Appium.exeThe latest version of Java, needed for Android Studio ( you can use the installation of Android Studio with SDK
PSF GSoC students blogs: Weekly Check In #4
2020-07-13 15:59:53
Â
PSF GSoC students blogs: GSoC Weekly Check-In #4
2020-07-13 15:48:40
What did I do this week? I did some code refactoring, some UI tweaks based on my mentor's suggestions, wrote tests for delete and edit feature in chat and added the image and document upload feature in mscolab chat. What is coming up next?
PSF GSoC students blogs: Comment queries and edit mutations in the feature request system in GSOCâ20
2020-07-13 15:09:39
Sometimes we are not able to express all our thoughts and ideas in one go. A great idea may strike later or you may want to comment and give some suggestions and feedback to stories of other users. Come explore with me some exciting features that I added to our feature request system using Strapi , GraphQL and React this week.
Codementor: How should I prepare for a Python interview?
2020-07-13 15:00:08
Before you go in for a python interview, there are a few things which you should know and refresh.
For Better Guidence : https://nareshit.com/python-online-training/
PyCharm: Webinar: âSimplify Your Tests With Fixturesâ with Oliver Bestwalter
2020-07-13 14:44:50
Fixtures can make your tests simpler and easier to maintain by using or creating common abstractions to be shared amongst your tests. In this webinar with Oliver Bestwalter we will look at what problems fixtures solve and how they can be used to make your testing life easier.
Real Python: Learn IP Address Concepts With Python's ipaddress Module
2020-07-13 14:00:00
Pythonâs ipaddress module is an underappreciated gem from the Python standard library. You donât have to be a full-blown network engineer to have been exposed to IP addresses in the wild. IP addresses and networks are ubiquitous in software development and infrastructure. They underpin how computers, well, address each other.
Janusworx: A Hundred Days of Code, Day 006 - Starting and Quitting Comprehensions
2020-07-13 12:51:31
I know I said, Iâd start with the basics, Reuven, but please forgive me this once :) Will do the rest, bottom up :)
Stack Abuse: What's New in Tensorflow 2.0?
2020-07-13 12:15:00
If you are a Machine Learning Engineer, Data Scientist, or a hobbyist developing Machine Learning Models from time to time just for fun, then it is very likely that you are familiar with Tensorflow.
PSF GSoC students blogs: Fourth Check-In
2020-07-13 10:43:31
Hello there! I'm having my second year's last exam tomorrow, but it feels like summer already! I've been finalizing quite a few things to get them ready for pip 20.2b2.
PSF GSoC students blogs: Weekly Check-In #4 (5th Jul - 12th Jul)
2020-07-13 08:18:34
So we are about halfway through the project and the number-parser library is going strong. We are very close to publish version 1.0 to PyPI. What did you do this week ? The parser library was refactored to create a language class and use the language data python files. Tests were added for the supported language , which helped to identify a number of small bugs across the board, which were gradually fixed. Did you get stuck anywhere ? One of the bugs was how to elegantly handle multiple consecutive multipliers for example 'thousand millions'. In the end I did come up with a reasonable solution that should be working across all languages but more tests would need to be added to ascertain this. What is coming up next ? This week the first version would be released , to do that would require a round of code-cleanup, adding documentation , and more tests for all supported languages.
PSF GSoC students blogs: Week 6 : Refining the KML UI Features
2020-07-13 08:12:10
Week 5 had been so smooth! I was covering up features daily. Progress was so sharp! I had around 3 to 4 features left to implement for this week. And my major part of the project would be over. And then it all went down.
PyBites: Analyzing covid-19 data with pandas and matplotlib
2020-07-13 07:13:00
Some time ago, I was talking to Martin on the Pybites Slack about a challenge that involved the pandas library.
PSF GSoC students blogs: Week 4 (belated)
2020-07-13 06:58:09
I've been continuing to migrate to Django 3, which at this point should only be pending updating the unit test suite. Since this work has involved pulling several abandoned dependencies into our source tree and many of these tests use obsolete methods of running, this has involved a tedious migration to Django's newer test framework.
PSF GSoC students blogs: Weekly Check-In: Week 7
2020-07-13 05:27:30
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Mike Driscoll: PyDev of the Week: Dr. David Pena
2020-07-13 05:05:37
This week we welcome Dr. David Pena as our PyDev of the Week! David is the author of StremeCoder, a Graphical Python Programming Editor. You can learn more about what David has been up to through his Github profile.
Moshe Zadka: Hey, Back Off!
2020-07-13 04:00:00
The choice in parameters for back-off configuration is important. It can be the difference between a barely noticable blip in service quality and an hours-long site outage. In order to explore the consequences of the choice, I wrote a little fictional ditty about a fictional website.
PSF GSoC students blogs: GSoC: Week #7
2020-07-13 03:51:01
Hi!
Wingware: Wing Python IDE 7.2.3 - July 13, 2020
2020-07-13 01:00:00
Wing 7.2.3 introduces a How-To for using Wing with PyXLL, adds folding in .pyi and .pi files, fixes opening files from the macOS Catalina Finder, and makes many usability improvements.
PythonâSpeed: Too many objects: Reducing memory overhead from Python instances
2020-07-13 00:00:00
Every time you create an instance of a class in Python, you are using up some memoryâincluding overhead that might actually be larger than the data you care about. Create a million objects, and you have a million times the overhead.
Janusworx: A Hundred Days of Code, Day 005 - Magic Methods and Winding Up OOP
2020-07-12 13:53:05
Done with Reuven Lernerâs OOP basics
PSF GSoC students blogs: GSoC: Week 7: with ErrorHandler()
2020-07-12 13:24:45
This week my mentor has pointed out several issues in my InputEngine PR and I fixed those this week.I have fixed Issue: Use patterns in VERSION_PATTERNS as valid CONTAINS_PATTERNS by default and for that I have changed checker metaclass to include VERSION_PATTERNS by default as valid CONTAINS_PATTERNS. I also changed mapping test data of all checkers and removed redundant CONTAINS_PATTERNS. I have also fixed Escape sequence issue. I have also created an error_handler module which provides ErrorHandler context manager. It will display colorful traceback and set custom exit code. Currently, It supports four different modes for error handling:
PSF GSoC students blogs: [Week 6] Check-in
2020-07-12 01:32:03
No difficulties this week.
Janusworx: A Hundred Days of Code, Day 004 - Class Attributes and Inheritance
2020-07-11 12:17:49
Learnt about Class Attributes and Inheritance, today.
Weekly Python StackOverflow Report: (ccxxxv) stackoverflow python report
2020-07-11 11:59:00
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 GMT
Quansight Labs Blog: Learn NixOS by turning a Raspberry Pi into a Wireless Router
2020-07-11 05:39:56
I recently moved, and my new place has a relatively small footprint. (Yes, I moved during the COVID-19 pandemic. And yes, it was crazy.) I quickly realized that was going to need a wireless router of some sort, or more formally, a wireless access point (WAP). Using my Ubuntu laptop's "wireless hotspot" capability was a nice temporary solution, but it had a few serious drawbacks.
Kushal Das: Another try at a new Python module for OpenPGP aka johnnycanencrypt
2020-07-10 18:40:09
Using OpenPGP from Python is a pain. There are various documentation/notes on the Internet explaining why, including the famous one from isis agora lovecraft where they explained why they changed the module name to pretty_bad_protocol.
Mike Driscoll: wxPython by Example â Creating a wx.Notebook (Video)
2020-07-10 15:20:04
In this tutorial, you will learn how to add a wx.Notebook to your GUI application using wxPython. The notebook widget is how you would add a tabbed interface to your application.
Janusworx: A Hundred Days of Code, Day 003 - Methods
2020-07-10 14:14:34
Learnt about methods today. Notes follow âŠ
Codementor: 12+ Free (or Low-Cost) Websites to Empower Your Programming Education
2020-07-10 14:13:34
Although we still talk about programming as a standalone career, the dominance of technology in our lives makes it clear that coding is much more than a career path. In my opinion, computer science is more than a college major or a high-paid job - itâs a skill, essential for thriving in a modern-day economy.
Doing Math with Python: Chapter 3 - Google Correlate example update
2020-07-10 14:00:00
In Chapter 3 on Page 87, the book refers to the Google Correlate service. However, as of December 2019, the service has been shutdown. Since the chapter requires you to download a CSV formatted data, it is no longer possible. However, you can instead download a version of the data that I had used 5 years back when writing the book from here.
Stack Abuse: Managing Python Environments with direnv and pyenv
2020-07-10 12:30:00
As Python developers, most of us are familiar with Virtual Environments. One of the first things we do when working on a new project is to create an environment. We commonly use virtualenv or venv exactly for that purpose.
Real Python: The Real Python Podcast â Episode #17: Linear Programming, PySimpleGUI, and More
2020-07-10 12:00:00
Are you familiar with linear programming, and how it can be used to solve resource optimization problems? Would you like to free your Python code from a clunky command line and start making convenient graphical interfaces for your users? This week on the show, David Amos is back with another batch of PyCoder's Weekly articles and projects.
Reuven Lerner: âPython Workoutâ is available in print!
2020-07-10 08:56:13
If youâre like a lot of people, youâre able to get things done in Python, thanks to a combination of intuition, searching on Stack Overflow, and messing around. But you donât feel fluent with the language, in that youâre always wondering just why things work the way they do.
Tryton News: Security Release for issue9453
2020-07-10 08:05:04
A vulnerability in sao has been found by Cédric Krier.
Test and Code: 121: Industrial 3D Printing & Python, Finite State Machines, and Simulating Hardware - Len Wanger
2020-07-10 05:45:00
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.
Janusworx: A Hundred Days of Code, Day 002 - Basic Exercises
2020-07-09 13:45:05
Did a few exercises today. They were simple. Create a few classes, change them, modify them, use a list as an attribute and so on. In a couple of ways, this was just what I needed. One, I had an extremely busy day at work, and so I did not have the brain power to do anything complex, so I needed the bar really low any way. And two, Iâve realised, that I have always tried to just read a book and then leap mountains. I donât know why. I must be a sucker for pain. And then when stuff does not work, I sulk and get frustrated. Easing into hard topics like this, makes it more enjoyable for me and I learn better. This is a meta skill, I should remember to use. Come to think of it, everything I have learnt recently, actually learnt, has been this way. I learnt Dvorak and touch typing, slowly, key by single key. I learnt to diet and lose weight, by tens of grammes in the beginning.
Catalin George Festila: Python 3.8.3 : About aiohttp python package.
2020-07-09 13:08:15
This python package can help you to writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives, see the official documentation.
In this simple tutorial, I will show you in a few simple steps how to use it.
It is a complex module and there are multiple ways to use it.
First,
Python Anywhere: Outage report 7 July 2020
2020-07-09 12:59:00
We had an unplanned outage the day before yesterday; it was our first big one since July 2017. It was caused by an extremely unlikely storage system failure, but despite that it should not have led to such a lengthy downtime, and should not have affected so many people. We have some plans on what our next steps should be, and will be implementing at least some of them over the coming months.
Codementor: Big Data: 70 IncreĂbles Fuentes de Datos Gratuitas que Debes Conocer para 2020
2020-07-09 09:40:53
ay miles de conjuntos de datos gratuitos disponibles en lĂnea website, listos para ser analizados y visualizados por cualquier persona. AquĂ hemos reunido 70 fuentes de datos gratuitas para 2020 sobre gobierno, delincuencia, salud, datos financieros y econĂłmicos, marketing y redes sociales, periodismo y medios, bienes raĂces, directorio, revisiĂłn de empresas, y mĂĄs.
PyCharm: Release: PyCharm 2020.1.3
2020-07-09 09:39:48
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.
PSF GSoC students blogs: GSoC Week 6: Begin the Phase 2
2020-07-09 09:07:14
As mentioned I worked on refactoring output_engine due to its increasing size. It will now be easy to maintain although I have not sumbitted a PR because I need the latest PR by Niraj to work and I'm waiting to get that merged. As soon as that gets merged I'll file a 2 PRs one refactoring output_engine and other adding the exact path to the extracted files. That issue was also on our priority list. But I have not added that in our HTML and we are just storing that for now and it will be covered in the future updates.
Python Bytes: #189 What does str.strip() do? Are you sure?
2020-07-09 08:00:00
No <p> found.
pythonwise: Using module __dir__ and __getattr__ for configuration
2020-07-09 07:52:41
No <p> found.
PSF GSoC students blogs: Week 3 Blog Post
2020-07-09 00:23:43
Sorry for the late post.
Matt Layman: Enrolling Students - Building SaaS #64
2020-07-09 00:00:00
No <p> found.
Python Engineering at Microsoft: Enhance your Azure Machine Learning experience with the VS Code extension
2020-07-08 23:30:42
Hey Python community! Itâs been a while since weâve last posted about this, but weâre excited to present new capabilities weâve added to the VS Code Azure Machine Learning (AML) extension. From version 0.6.12 onwards weâve introduced UI changes and ways to help you manage Datastores, Datasets, and Compute instances all from directly within your favourite editor!
Mike Driscoll: Python 101 â Learning about Dictionaries (Video)
2020-07-08 14:51:25
In this video tutorial, you will learn about the following:
Real Python: Python import: Advanced Techniques and Tips
2020-07-08 14:00:00
In Python, you use the import keyword to make code in one module available in another. Imports in Python are important for structuring your code effectively. Using imports properly will make you more productive, allowing you to reuse code while keeping your projects maintainable.
Janusworx: A Hundred Days of Code, Day 001 - Beginning With Classes
2020-07-08 12:38:05
Notes Iâve taken from the videos I watched, today. This is my attempt at Feynman-ing (below), what I learnt so far.
Codementor: Object Oriented Programming in Python: Complete Tutorial
2020-07-08 09:45:42
Object Oriented Programming (OOP) plays a fundamental role in structuring the program in Python development. Hereâs an introduction to OOP principles in Python programming.
Spyder IDE: Writing docs is not just writing docs
2020-07-08 07:45:47
This blogpost was originally published on the Quansight Labs website.
Janusworx: A Hundred Days of Code, Day 000 - Begin Again
2020-07-08 05:31:33
How do I begin this post?
Quansight Labs Blog: Writing docs is not just writing docs
2020-07-07 22:00:00
I joined the Spyder team almost two years ago, and I never thought I was going to end up working on docs. Six months ago I started a project with CAM Gerlach and Carlos Cordoba to improve Spyderâs documentation. At first, I didnât actually understand how important docs are for software, especially for open source projects. However, during all this time Iâve learned how documentation has a huge impact on the open-source community and Iâve been thankful to have been able to do this. But, from the beginning, I asked myself âwhy am I the âright personâ for this?â
PyCoderâs Weekly: Issue #428 (July 7, 2020)
2020-07-07 19:30:00
#428 â JULY 7, 2020 View in Browser »
PSF GSoC students blogs: Week 6 Blog
2020-07-07 19:01:53
Hello everyone! So its the beginning of the sixth week. The first evaluation results are out and fortunately, I made it till here. :D This week I implemented the query functions present in DetourNavMeshQuery class. There are primarily two query functions: findPath() and findStraightPath(). Both have their own uses. The implementation initially looked to be easy, but got real complex when I started coding. There were many other function calls I had to make in order to implement these two functions, and in process taking care of the variables involved.
Paolo Amoroso: Repl.it Redesigned the Mobile Experience
2020-07-07 15:36:09
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
PSF GSoC students blogs: Week 5 Check-in
2020-07-07 15:33:04
I continued the PR started in the previous week by adding more multimethods for array manipulation. The following multimethods were added:
Codementor: Python Flask Tutorial: How to Make a Basic Page (Source Code Included!) đđšâđ»
2020-07-07 15:28:04
Boilerplate app for Python Flask. Example source code in Python for template flask.
Doug Hellmann: beagle 0.3.0
2020-07-07 14:12:56
No <p> found.
Mike Driscoll: Python 101 â Debugging Your Code with pdb
2020-07-07 14:00:16
Mistakes in your code are known as âbugsâ. You will make mistakes. You will make many mistakes, and thatâs totally fine. Most of the time, they will be simple mistakes such as typos. But since computers are very literal, even typos prevent your code from working as intended. So they need to be fixed. The process of fixing your mistakes in programming is known as debugging.
Real Python: Pointers and Objects in Python
2020-07-07 14:00:00
If youâve ever worked with lower-level languages like C or C++, then you may have heard of pointers. Pointers are essentially variables that hold the memory address of another variable. They allow you to create great efficiency in parts of your code but can lead to various memory management bugs.
Erik Marsja: Adding New Columns to a Dataframe in Pandas (with Examples)
2020-07-07 13:52:39
The post Adding New Columns to a Dataframe in Pandas (with Examples) appeared first on Erik Marsja.
Everyday Superpowers: Stop working so hard on paths. Get started with pathlib!
2020-07-07 13:39:46
Most people are working to hard to access files and folders with python. Pathlib makes it so much easier, and I have released two resources to help you get started using it.
The Digital Cat: Flask project setup: TDD, Docker, Postgres and more - Part 3
2020-07-07 12:00:00
In this series of posts I explore the development of a Flask project with a setup that is built with efficiency and tidiness in mind, using TDD, Docker and Postgres.
PSF GSoC students blogs: Weekly Blog Post | Gsoc'2020 | #6
2020-07-07 07:38:15
<meta charset="utf-8">
Matt Layman: Django Testing Toolbox
2020-07-07 00:00:00
No <p> found.
Codementor: Understanding Virtual Environments in Python
2020-07-06 20:37:13
Introduction to the concept of virtual environments in Python. Useful for a developer working on multiple projects on a single server.
PSF GSoC students blogs: Blog post for week 5: Polishing
2020-07-06 19:56:32
Last week was another week of code and documentation polishing. Originally I planned to implement duplicate filtering with external data sources, however, I already did that in week 2 when I evaluated the possibility of disk-less external queues (see pull request #2).
PSF GSoC students blogs: I'm Not Drowning On My Own
2020-07-06 19:09:15
Hello there! My schoolyear is coming to an end, with some final assignments and group projects left to be done. I for sure underestimated the workload of these and in the last (and probably next) few days I'm drowning in work trying to meet my deadlines.
RMOTR: Can Anybody Become a Data Scientist?
2020-07-06 18:41:36
Hi. My name is Lorelei, Iâm a writer, and I know absolutely nothing about coding.
PSF GSoC students blogs: Phase 2 - Weekly Check-in 6
2020-07-06 18:29:46
End of Week 5Â - 06/07/2020
PSF GSoC students blogs: Weekly Blog Post #3
2020-07-06 18:09:31
So this week I had my first evaluation. It went great also I received my stipend today so hurray.Extracting golang metadata with shell is frustrating not every go lang module have licenses or the copyright text in a set format. So writing a generic script is quiet challenging I researched on how go license works turns out they have a dedicated license parser as well as scripts which can request license from github. But we can't do that. This week was mostly debugging and restarting again. Now I am trying to work on go.sum file. Extracting names and versions is easy. So all the go modules live in ~/go/pkg/mod and then repo name. But we can't cd into module dir with its name because some does which have upper case letter in their name have different directory name. My exams are also nearing so I have to study for that too . :P
Podcast.__init__: Pure Python Configuration Management With PyInfra
2020-07-06 17:56:25
Building and managing servers is a challenging task. Configuration management tools provide a framework for handling the various tasks involved, but many of them require learning a specific syntax and toolchain. PyInfra is a configuration management framework that embraces the familiarity of Pure Python, allowing you to build your own integrations easily and package it all up using the same tools that you rely on for your applications. In this episode Nick Barrett explains why he built it, how it is implemented, and the ways that you can start using it today. He also shares his vision for the future of the project and you can get involved. If you are tired of writing mountains of YAML to set up your servers then give PyInfra a try today.
PSF GSoC students blogs: GSoC Weekly Blog #3
2020-07-06 17:23:15
This week, I worked on completing the delete and edit message functionality and writing tests for them. I was able to complete these tasks and later worked on refactoring some part of the new code. I also made some small tweaks and fixes to the existing code base of mscolab. I was planning on redesigning the version window UI but I realised the redesign would take a lot of work in the backend and changes in database as well. I would need to talk to my mentors on how to proceed on this.
Real Python: Object-Oriented Programming (OOP) in Python 3
2020-07-06 16:21:50
Object-oriented programming (OOP) is a method of structuring a program by bundling related properties and behaviors into individual objects. In this tutorial, youâll learn the basics of object-oriented programming in Python.
PSF GSoC students blogs: Weekly Check In - 5
2020-07-06 16:16:49
I was going through Twisted's implementation of HTTP/1.x and how they are handling multiple requests. I was focusing on their implementation of HTTPConnectionPool which is responsible for establing a new connection whenever required & using an existing connection (in cache).Â
PSF GSoC students blogs: GSoC 2020 Blog Post (#3)
2020-07-06 14:52:21
Hello all! It has been over a month since the official coding period began and the first evaluation just got over. Just received a message saying 900$ have been deposited in my account. It is an amazing feeling and I can't describe how happy I am right now.
Codementor: Tips For Python 2020
2020-07-06 13:17:24
In this article you are going to read about new tips in python
Davy Wybiral: CircuitPython Game Development (PewPew M4)
2020-07-06 13:13:14
No <p> found.
Stack Abuse: 'is' vs '==' in Python - Object Comparison
2020-07-06 12:30:00
Python has two very similar operators for checking whether two objects are equal. These two operators are is and ==.
PSF GSoC students blogs: Unleash content with Strapi and GraphQL in the feature request system in GSOCâ20
2020-07-06 12:12:08
You definitely received exactly what you wanted and you enjoyed using it. Now you just want to know how this actually works under the hood. Is it real magic? Did god just shaped it according to your needs and sent it down from heaven? Come with me and Iâll answer all your GraphQL queries.
The Digital Cat: Flask project setup: TDD, Docker, Postgres and more - Part 2
2020-07-06 12:00:00
In this series of posts I explore the development of a Flask project with a setup that is built with efficiency and tidiness in mind, using TDD, Docker and Postgres.
PSF GSoC students blogs: Week 5 : Adding Functionality to the UI
2020-07-06 11:55:38
The first phase of coding is over, and I am really happy that I passed :)) 4 weeks back, I wasn't sure of my capabilities, but every day now feels good; like I am going to accomplish a lot! Every week has been productive, but this week, I was able to accomplish lots of features, which really made my mentors happy :))Â
PSF GSoC students blogs: GSoC: Week #6
2020-07-06 11:08:18
Hi!
PSF GSoC students blogs: GSoC: Week 6: class InputEngine
2020-07-06 07:12:24
I have started working on input engine this week. Currently, we only have csv2cve which accepts csv file of vendor, product and version as input and produces list of CVEs as output. Currently, csv2cve is separate module with separate command line entry point. I have created a module called input_engine that can process data from any input format (currently csv and json).User can now add remarks field in csv or json which can have any value from following values ( Here, values in parenthesis are aliases for that specific type. )
Pythonicity: GraphQL - ORM
2020-07-06 07:00:00
REST and ORMs are both infamous for:
Mike Driscoll: PyDev of the Week: Philip James
2020-07-06 05:05:07
This week we welcome Philip James (@phildini) as our PyDev of the Week! Philip is a core contributor for Beeware project. He has worked on several other open source projects that youâll learn about in this interview. He is also a popular speaker at PyCons and DjangoCons. You can find out more about Philip on his website or check out his work on Github.
PSF GSoC students blogs: Weekly Blog #3 (29th Jun - 6th Jul)
2020-07-06 05:03:41
Hey everyone we are done with the first third of the program and I will use this blog to both give the weekly update as well as summarize the current state of progress. In the past 4 weeks , we have created a new number-parser library from scratch and build an MVP that is being continuously improved.
Mike Driscoll: Using Widgets in Jupyter Notebook (Video)
2020-07-06 01:23:26
Learn how to use Jupyter Notebookâs built-in widgets in this video tutorial.
Armin Ronacher: USB-C Hubs and Ethernet
2020-07-06 00:00:00
USB-C continues to be an exciting mess. And by exciting I mean frustrating and by mess I mean omnishambles. I already cycled through many, many USB-C hubs with various different degrees of success but the latest iteration of failure I think is pretty interesting that it's worth sharing.
Glyph Lefkowitz: Zen Guardian
2020-07-05 20:44:00
There should be one â and preferably only one â obvious way to do it.
PSF GSoC students blogs: Weekly Check-In: Week 6
2020-07-05 17:35:04
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Ian Ozsvald: Weekish notes
2020-07-05 15:42:33
I gave another iteration of my Making Pandas Fly talk sequence for PyDataAmsterdam recently and received some lovely postcards from attendees as a result. Iâve also had time to list new iterations of my training courses for Higher Performance Python (October) and Software Engineering for Data Scientists (September), both will run virtually via Zoom & Slack in the UK timezone.
PSF GSoC students blogs: [Week 5] Check-in
2020-07-05 14:21:24
1. What did you do this week?
The Digital Cat: Flask project setup: TDD, Docker, Postgres and more - Part 1
2020-07-05 12:00:00
There are tons of tutorials on Internet that tech you how to use a web framework and how to create Web applications, and many of these cover Flask, first of all the impressive Flask Mega-Tutorial by Miguel Grinberg (thanks Miguel!).
Kushal Das: dns-tor-proxy 0.2.0 aka DoH release
2020-07-05 05:31:14
I just now released 0.2.0 of the dns-tor-proxy tool. The main feature of this release is DNS over HTTPS support. At first I started writing it from scratch, and then decided to use modified code from the amazing dns-over-https project instead.
Full Stack Python: Quickly Use Bootstrap 4 in a Django Template with a CDN
2020-07-05 04:00:00
The Django web framework makes it easy to render HTML using the Django template engine. However, the default styling on HTML pages usually need a Cascading Style Sheet (CSS) framework such as Bootstrap to make the design look decent. In this beginner's tutorial, we'll use the Bootstrap Content Delivery Network (CDN) to quickly add Bootstrap to a rendered HTML page.
Weekly Python StackOverflow Report: (ccxxxiv) stackoverflow python report
2020-07-04 20:20:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-07-04 20:19:51 GMT
Talk Python to Me: #271 Unlock the mysteries of time, Python's datetime that is!
2020-07-04 08:00:00
No <p> found.
IslandT: Find the coefficients of the Quadratic Equation of the given two roots with Python
2020-07-04 03:04:39
In this example, you are expected to find the coefficients of the quadratic equation of the given two roots (x1 and x2) with a python function.
Python Insider: Python 3.9.0b4 is now ready for testing
2020-07-03 19:42:56
No <p> found.
Moshe Zadka: A Labyrinth of Lies
2020-07-03 17:30:00
In the 1986 movie Labyrinth, a young girl (played by Jennifer Connelly) is faced with a dilemma. The adorable Jim Henson puppets explain to her that one guard always lies, and one guard always tells the truth. She needs to figure out which door leads to the castle at the center of the eponymous Labyrinth, and which one to certain death (dun-dun-dun!).
Stack Abuse: How to Write a Makefile - Automating Python Setup, Compilation, and Testing
2020-07-03 12:26:00
When you want to run a project that has multiple sources, resources, etc., you need to make sure that all of the code is recompiled before the main program is compiled or run.
Real Python: The Real Python Podcast â Episode #16: Thinking in Pandas: Python Data Analysis the Right Way
2020-07-03 12:00:00
Are you using the Python library Pandas the right way? Do you wonder about getting better performance, or how to optimize your data for analysis? What does normalization mean? This week on the show we have Hannah Stepanek to discuss her new book "Thinking in Pandas".
CubicWeb: Release of CubicWeb 3.28
2020-07-03 09:21:00
Hello CubicWeb community,
Python Bytes: #188 Will there be a "switch" in Python the language?
2020-07-03 08:00:00
No <p> found.
Test and Code: 120: FastAPI & Typer - SebastiĂĄn RamĂrez
2020-07-03 07:00:00
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints. Typer is a library for building CLI applications, also based on Python type hints. Type hints and many other details are intended to make it easier to develop, test, and debug applications using FastAPI and Typer.
Reuven Lerner: Level up your Python skills with a supercharged Humble Bundle!
2020-07-02 17:42:20
Want to improve your Python skills?
Daniel Roy Greenfeld: I'm Teaching A Live Online Django Crash Course
2020-07-02 17:30:00
PyCharm: PyCharm EAP#3 is out!
2020-07-02 13:41:44
PyCharm EAP #3 is out and itâs almost releasing time!! If you are like us you are also looking forward to the end of the month! We have been talking about new features for the last month and today we will take a deeper look into two very exciting ones. For the full list, check our release notes.
PyCharm: PyCharm 2020.2 EAP#3 is out!
2020-07-02 13:41:44
PyCharm EAP #3 is out and itâs almost releasing time!! If you are like us you are also looking forward to the end of the month! We have been talking about new features for the last month and today we will take a deeper look into two very exciting ones. For the full list, check our release notes.
Philippe Normand: Web-augmented graphics overlay broadcasting with WPE and GStreamer
2020-07-02 13:00:00
Graphics overlays are everywhere nowadays in the live video broadcasting industry. In this post I introduce a new demo relying on GStreamer and WPEWebKit to deliver low-latency web-augmented video broadcasts.
EuroPython: EuroPython 2020: Our keynotes
2020-07-02 08:33:04
Weâre happy to announce our keynote lineup for EuroPython 2020.
Full Stack Python: How to Report Errors in Flask Web Apps with Sentry
2020-07-02 04:00:00
Flask web applications are highly customizable by developers thanks to the framework's extension-based architecture, but that flexibility can sometimes lead to more errors when you run the application due to rough edges between the libraries.
Matt Layman: The Home Stretch - Building SaaS #63
2020-07-02 00:00:00
In this episode, we return to the homeschool application that I’m building. I’m in the final stretch of changes that need to happen to make the product minimally viable. We worked on a template, wrote some model methods, and did a bunch of automated testing.
We started by adding students to the context of the students index page. With the students in the context, we updated the index page to display the list of students.
Python Software Foundation: Announcing the PSF Project Funding Working Group
2020-07-01 18:21:05
No <p> found.
PSF GSoC students blogs: Weekly Check-In #5
2020-07-01 15:59:49
This week I added checkers for libvirt and icecast libraries. Along with this, I also updated the out of tree checker of our tool.
Dataquest: Tutorial: Add a Column to a Pandas DataFrame Based on an If-Else Condition
2020-07-01 14:48:41
When weâre doing data analysis with Python, we might sometimes want to add a column to a pandas DataFrame based on the values in other columns of the DataFrame.
Real Python: Get Started With Django Part 2: Django User Management
2020-07-01 14:00:00
If you finished the first part of this series, then you may already have a lot of ideas for your own Django applications. At some point, you might decide to extend them with user accounts. In this step-by-step tutorial, youâll learn how to work with Django user management and add it to your program.
py.CheckIO: Find out more about Python by searching the solutions
2020-07-01 07:44:34
No summary found!
Tryton News: Newsletter July 2020
2020-07-01 07:00:01
Sea Waves Splashing1280Ă1599 251 KB
Mike Driscoll: Python 101 â Learning About Tuples (Video)
2020-07-01 05:07:14
In this tutorial, you will learn about Pythonâs tuple data type:
Django Weblog: Django bugfix releases issued: 3.0.8 and 2.2.14
2020-07-01 05:01:10
Today we've issued 3.0.8 and 2.2.14 bugfix releases.
Kushal Das: Introducing dns-tor-proxy, a new way to do all of your DNS calls over Tor
2020-07-01 04:20:42
dns-tor-proxy is a small DNS server which you can run in your local system along with the Tor process. It will use the SOCKS5 proxy provided from Tor, and route all of your DNS queries over encrypted connections via Tor.
IslandT: Create various graph and chart for Earning Software with Python
2020-07-01 03:32:34
Hello and welcome back, in this chapter we will continue to develop the previous earning application which shows the shoe and shirt sales figure from the input database.
Python Engineering at Microsoft: Announcing Pylance: Fast, feature-rich language support for Python in Visual Studio Code
2020-06-30 22:14:28
We are excited to announce Pylance, our fast and feature-rich language support for Python! Pylance is available today in the Visual Studio Code marketplace.
PSF GSoC students blogs: Week 5 Checkin!
2020-06-30 20:27:38
Hello everyone,
Quansight Labs Blog: Creating a Portable Python Environment from Imports
2020-06-30 19:39:56
Python environments provide sandboxes in which packages can be added. Conda helps us deal with the requirements and dependencies of those packages. Occasionally we find ourselves working in a constrained remote machine which can make development challenging. Suppose we wanted to take our exact dev environment on the remote machine and recreate it on our local machine. While conda relieves the package dependency challenge, it can be hard to reproduce the exact same environment.
PyCoderâs Weekly: Issue #427 (June 30, 2020)
2020-06-30 19:30:00
#427 â JUNE 30, 2020 View in Browser »
Mike Driscoll: Python 101 â Launching Subprocesses with Python
2020-06-30 19:17:37
There are times when you are writing an application and you need to run another application. For example, you may need to open Microsoft Notepad on Windows for some reason. Or if you are on Linux, you might want to run grep. Python has support for launching external applications via the subprocess module.
PSF GSoC students blogs: Week 4 Check-in
2020-06-30 16:08:50
I started a PR that adds multimethods for array manipulation routines. I'll name the multimethods according to the NumPy docs sectioning:
Real Python: Unicode in Python: Working With Character Encodings
2020-06-30 14:00:00
Pythonâs Unicode support is strong and robust, but it takes some time to master. There are many ways of encoding text into binary data, and in this course youâll learn a bit of the history of encodings. Youâll also spend time learning the intricacies of Unicode, UTF-8, and how to use them when programming Python. Youâll practice with multiple examples and see how smooth working with text and binary data in Python can be!
Python Insider: Python 3.8.4rc1 is now ready for testing
2020-06-30 12:19:06
No <p> found.
PSF GSoC students blogs: Weekly Check In - 4
2020-06-30 02:44:48
Last week I was working on
Podcast.__init__: Build Your Own Domain Specific Language in Python With textX
2020-06-30 00:25:02
Programming languages are a powerful tool and can be used to create all manner of applications, however sometimes their syntax is more cumbersome than necessary. For some industries or subject areas there is already an agreed upon set of concepts that can be used to express your logic. For those cases you can create a Domain Specific Language, or DSL to make it easier to write programs that can express the necessary logic with a custom syntax. In this episode Igor DejanoviÄ shares his work on textX and how you can use it to build your own DSLs with Python. He explains his motivations for creating it, how it compares to other tools in the Python ecosystem for building parsers, and how you can use it to build your own custom languages.
Matt Layman: Episode 6 - Where Does the Data Go?
2020-06-30 00:00:00
No <p> found.
TestDriven.io: Deploying Django to AWS with Docker and Let's Encrypt
2020-06-29 21:46:03
In this tutorial, we'll deploy a Django app to AWS EC2 with Docker and Let's Encrypt.
PSF GSoC students blogs: Weekly Check-In | Gsoc'2020 | #5
2020-06-29 21:15:03
Greetings, People of the world!
PSF GSoC students blogs: GSoC: Week 5: improve CVEDB
2020-06-29 18:26:38
I have finished my work on improving cvedb this week. I am using aiohttp to download NVD dataset instead of requesting with multiprocessing pool. This has improved our downloading speed since now every tasks are downloading concurrently in same thread instead of 4 tasks at a time with process pool. I have also measured performance of aiosqlite but it was significantly slower while writing to database so, I decided to keep writing process synchronous. I have also added a beautiful progressbar with the help of rich module. So, now user can get feedback about progress of the downloading and updating database. Here is the demo of how does it look now.Â
PSF GSoC students blogs: Weekly checkin #5
2020-06-29 17:03:53
I finished adding QA models and the PR got merged. With this i wrapped up adding models to DFFML which was the first part of my project.
Tryton News: Security Release for issue9394
2020-06-29 16:30:01
A vulnerability in sao has been found by Cédric Krier.
Tryton News: Security Release for issue9405
2020-06-29 16:30:01
A vulnerability in sao has been found by Coopengo and solved by Nicolas Ăvrard.
PSF GSoC students blogs: Third Check-In
2020-06-29 15:49:58
Holla, holla, holla! Last seven days has not been a really productive week for me, though I think there are still some nice things to share with you all here! The good news is that I've finish my last leçon as a somophore, the bad news is that I have a bunch of upcoming tests, mainly in the form of group projects and/or presentation (phew!). Enough about me, let's get back to pip:
PSF GSoC students blogs: Check-in for week 4
2020-06-29 15:38:58
1. What did you do this week?
PSF GSoC students blogs: GSoC Week 5: Priority Matters
2020-06-29 15:36:32
Instead of working on HTML output tests I worked on normalizing the package name and the module name because they were creating confusion so I prioritized that. I also added Vendor field in Console, CSV and JSON. So now we'll get output as Vendor, Product, Version, CVE Number, Severity. That will help distinguish between products that have same name but different vendors. Also I found that our console output is failing on windows, thanks to Niraj-Kamdar who was working on improving windows tests. So I also fixed that issue but as the issue was related to rich so I contacted the developer of rich because this issue can be faced by others. So he worked and released rich version 3.0.0 which he thinks can solve our error. Though I have not tested that But I think that will solve our problem in a very efficient way. Thanks to the developer of rich.
Real Python: Python's reduce(): From Functional to Pythonic Style
2020-06-29 14:00:00
Pythonâs reduce() is a function that implements a mathematical technique called folding or reduction. reduce() is useful when you need to apply a function to an iterable and reduce it to a single cumulative value. Pythonâs reduce() is popular among developers with a functional programming background, but Python has more to offer.
PSF GSoC students blogs: Week 4 : Working on the UI
2020-06-29 11:04:49
Hello there! Here's a quick update on my work this week, and then I'll hop back to it :P
PSF GSoC students blogs: Image Processing Operations Continued - Weekly Check-in 5
2020-06-29 10:07:10
End of Week 4Â - 29/06/2020
PSF GSoC students blogs: GSoC Weekly Check-In #3
2020-06-29 09:33:30
What did I do this week?
PSF GSoC students blogs: Magic with Strapi and GraphQL in the feature request system in GSOCâ20
2020-06-29 08:04:35
It is a dream come true situation when you get exactly what you want, neither more nor less. This also gives a sense of satisfaction and fulfillment. You already know what I am talking about. If you feel lost by now then either you are not a GraphQL fan or you are not aware of real magic. Follow along to catch a glimpse of GraphQL in action with Strapi.
PSF GSoC students blogs: GSoC: Week #5
2020-06-29 06:15:55
Hi!
Mike Driscoll: PyDev of the Week: Florian Dahlitz
2020-06-29 05:05:33
This week we welcome Florian Dahlitz (@DahlitzF) as our PyDev of the Week! Florian is a contributor to the CPython programming language and the PyTest framework. He is also a contributor to Real Python. You can check out Florianâs personal blog or get his newsletter to keep up-to-date with him.
PSF GSoC students blogs: Weekly Check In 3
2020-06-29 04:42:07
Hello all! It has been about 4 weeks since the official coding period started and the first evaluation is here. The entire month has been productive and I am having a lot of fun.
PythonâSpeed: Where's your code? Debugging ImportErrors in your Docker image
2020-06-29 00:00:00
Your code runs fine on your computer, but when you try to package it with Docker you keep getting ImportErrors: Python canât find your code.
PSF GSoC students blogs: Weekly Check-In #3 (22nd Jun - 29th Jun)
2020-06-28 19:10:16
Hi, so we are done with week 4 of the program - a third of the way in and it has been a fun ride and the progress is on par with the expected timeline. What did you do this week ? A major upheaval of the code was done to incorporate the multiple-locale features. https://github.com/arnavkapoor/number-parser/pull/12. Now the base structure is in place to incorporate multiple language support , currently we have the data for 4 supported languages (English, Russian, Spanish, Hindi). This involved parsing raw data for each of these languages . -
Mike Driscoll: An Overview of Jupyter Notebook (Video)
2020-06-28 18:27:18
In this video, you will learn the basics of using the Jupyter Notebook. How to change cells, edit cells, run cells, and much more!
Sebastian Pölsterl: scikit-survival 0.13 Released
2020-06-28 16:02:50
Today, I released version 0.13.0 of scikit-survival. Most notably, this release adds sksurv.metrics.brier_score and sksurv.metrics.integrated_brier_score, an updated PEP 517/518 compatible build system, and support for scikit-learn 0.23.
PSF GSoC students blogs: Weekly Check-In: Week 5
2020-06-28 15:16:16
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Kushal Das: Setting up a personal DoH server
2020-06-28 11:59:03
DoH is a hot discussion point in both the privacy and DNS people. There are many criticisms, including encryption support of the clients or still trusting a third party. There is an excellent talk from Bert Hubert on this topic.
PSF GSoC students blogs: [Week 4] Check-in
2020-06-28 10:13:50
This week's job is to implement jacobian and add test cases.Â
Python Insider: Python 3.7.8 and 3.6.11 now available - last 3.7.x bugfix release
2020-06-28 09:23:57
No <p> found.
Catalin George Festila: Python 3.8.3 : PyCryptodome python package - part 001.
2020-06-27 13:55:25
In the last tutorial, I wrote on Sunday, June 16, 2019, you can see a simple example of this python package with KDF with PBKDF2 function.I guess it should be interesting for visitors to this blog to read more about this package because it is very useful and interesting.Today I come up with another tutorial covering how to use A.E.S. standard encryption and decrypting text in a binary file.The
Nikola: Nikola v8.1.0 is out!
2020-06-27 13:38:55
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.1.0. This release makes a few feature changes, improvements, and fixes a few bugs.
Catalin George Festila: Python 2.7.10 : IronPython and C# with Dynamic Language Runtime.
2020-06-27 03:41:35
This is a simple tutorial about python and C# using the Dynamic Language Runtime with IronPython.I use Visual Studio 2019 and .NET Framework 4.7.2 with my Console C# project named DynamicLanguageRuntime_001.Let's install the package with Visual Studio by open the console using the main menu: Tools - NuGet Package Manager - Package Manager Console command.PM> Install-Package DynamicLanguageRuntime
Python Software Foundation: 2020 Python Software Foundation Board of Directors Election Retrospective and Next Steps
2020-06-26 17:27:54
No <p> found.
Stack Abuse: Bucket Sort in Python
2020-06-26 12:30:00
In this tutorial, we'll be diving into the theory and implementation of Bucket Sort in Python.
Real Python: The Real Python Podcast â Episode #15: Python Regular Expressions, Views vs Copies in Pandas, and More
2020-06-26 12:00:00
Have you wanted to learn Regular Expressions in Python, but don't know where to start? Have you stumbled into the dreaded pink SettingWithCopyWarning in Pandas? This week on the show, we have David Amos from the Real Python team to discuss a recent two-part series on Regex in Python. We also talk about another recent article on the site about views vs copies in Pandas. David also brings a few other articles and projects from the wider Python community for us to discuss.
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 005.
2020-06-26 11:44:15
Today I tested google colab python features with google authentification and google.colab drive and files.
The first part of google colab code comes with authentification and you need to add the verification code for google account.
The google colab use the same version of python:
3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0]
You can see all source code on my GitHub account.
The notebook
Python Bytes: #187 Ready to find out if you're git famous?
2020-06-26 08:00:00
No <p> found.
Test and Code: 119: Editable Python Installs, Packaging Standardization, and pyproject.toml - Brett Cannon
2020-06-26 07:00:00
There's stuff going on in Python packaging and pyproject.toml.
Mike C. Fletcher: Listener GUI Started
2020-06-26 05:31:53
So with the code-context, the dictation in Listener is getting okay-ish. It's still pretty frustrating and error prone, but I can use it maybe 1/4 of the time (mostly for doc-strings). Part of the frustration is just that the language models are not yet well tuned for some commonly needed phrases that the tokeniser didn't generate for the code corpus, but a big part of it is that I don't yet have the correction/undo operations nor the navigation bits, so any mistake means editing by keyboard. The lack of a good contextual awareness/biasing model is also pretty big.
Test and Code: 118: Code Coverage and 100% Coverage
2020-06-26 00:00:00
Code Coverage or Test Coverage is a way to measure what lines of code and branches in your code that are utilized during testing. Coverage tools are an important part of software engineering.
Matt Layman: Hackathon App Part 2 - Building SaaS #62
2020-06-26 00:00:00
In this episode, we took a break from the regular app to work on an app for a local hackathon that I’m participating in. This is the second week for the hackathon and in this stream, I apply the final touches to the application. We work on models, a template, and build an RSS feed using Django syndication contrib app.
The final presentation for the app was the next day so it was crunch time to finish everything off.
Codementor: An introduction to the BRKGA-MP-IPR Algorithm
2020-06-25 23:22:30
I recently performed a study on a brand new evolutionary algorithm called BRKGA-MP-IPR. This article aims to explain a little about what the algorithm consists of and its main features.
Red Hat Developers: Red Hat Enterprise Linux 8.2 brings faster Python 3.8 run speeds
2020-06-25 21:31:41
The Python interpreter shipped with Red Hat Enterprise Linux (RHEL) 8 is version 3.6, which was released in 2016. While Red Hat is committed to supporting the Python 3.6 interpreter for the lifetime of Red Hat Enterprise Linux 8, it is becoming a bit old for some use cases.
Data School: Answering 59 scikit-learn questions (video)
2020-06-25 16:17:48
In April, I hosted a live, public webcast to answer any questions about scikit-learn. I've been teaching scikit-learn for five years, and I really enjoy sharing my knowledge with others!
Codementor: Teaching Python Basics!
2020-06-25 16:11:24
Learning python from Industry veteran
Learn PyQt: Create GUI Applications with Python & Qt5, 4th Edition now available (PyQt5 & PySide2)
2020-06-25 12:50:49
Hello! This morning I released a new update to my PyQt5 book Create GUI Applications, with Python & Qt5. This is an enormous update, expanding it from 258 to 665 pages and adding 211 complete code examples.
Talk Python to Me: #270 Python in supply chains: oil rigs, rockets, and lettuce
2020-06-25 08:00:00
No <p> found.
Mike Driscoll: Creating a Photo Slideshow Application with wxPython (Video)
2020-06-25 05:05:30
In this tutorial, you will learn how to improve the image viewer application that you created in the previous video tutorial to make it load up a folder of images.
Matt Layman: Store Data With Models
2020-06-25 00:00:00
In the previous Understand Django article, we encountered forms and how forms allow your application to receive data from users who use your site. In this article, you’ll see how to take that data and store it into a database so that your application can use that data or display it later.
Setting Up Let’s figure out where your data goes before getting deep into how to work with it.
Giampaolo Rodola: test 2
2020-06-24 22:00:00
this is a test 2
Giampaolo Rodola: test 1
2020-06-24 22:00:00
this is a test
Real Python: The Python heapq Module: Using Heaps and Priority Queues
2020-06-24 14:00:00
Heaps and priority queues are little-known but surprisingly useful data structures. For many problems that involve finding the best element in a dataset, they offer a solution thatâs easy to use and highly effective. The Python heapq module is part of the standard library. It implements all the low-level heap operations as well as some high-level common uses for heaps.
PSF GSoC students blogs: Week 3
2020-06-24 12:33:56
I've continued work on upgrading to Django 3 - which has turned out to be a lot more involved than originally suspected. At this point aldryn_categories and aldryn_people have both needed to be pulled into the repository tree since they're also abandoned projects that were abandoned prior to upgrading for Django 3 (though the actually changes needed in them was minimal, they won't work as-is with Django 3). Every time I've thought I was close I've discovered new problems.
Codementor: Itâs Time to Start Learning Coding: Top 20+ Best Websites To Learn Programming in 2020
2020-06-24 12:33:29
Iâm sure many of us are wondering how to stay a relevant professional in the post-pandemic world. One of the ways, obviously, is learning to program.
CubicWeb: Report of June 16th Cubicweb Meeting
2020-06-24 07:38:48
Hi everyone,
eGenix.com: Python Meeting DĂŒsseldorf - 2020-06-24
2020-06-24 07:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
Mike Driscoll: Python 101 â Working with Files
2020-06-24 05:05:04
Application developers are always working with files. You create them whenever you write a new script or application. You write reports in Microsoft Word, you save emails or download books or music. Files are everywhere. Your web browser downloads lots of little files to make your browsing experience faster.
PSF GSoC students blogs: Weekly Blog Post #2
2020-06-24 04:21:13
Hi every one, So after 3 weeks my PR finally got merged now tern have html feature up and running. I had some quizzes at the start of week so it was a very busy start of the week.
Brett Cannon: What is the core of the Python programming language?
2020-06-24 01:16:13
It's no secret that I want a Python implementation for WebAssembly. It would not only get Python into the browser, but with the fact that both iOS and Android support running JavaScript as part of an app it would also get Python on to mobile. That all excites me.
Wing Tips: Extend Microsoft Excel with Python Using Wing and PyXLL
2020-06-24 01:00:00
This Wing Tip describes how to use Wing and PyXLL to develop and debug Microsoft Excel add-ins that are written in Python. PyXLL is a commercial product that embeds Python into Microsoft Excel on Windows. It allows you to expose Python code to Excel as worksheet functions, macros, menus, and ribbon toolbars.
PyCoderâs Weekly: Issue #426 (June 23, 2020)
2020-06-23 19:30:00
#426 â JUNE 23, 2020 View in Browser »
Mike Driscoll: Relaunch of Mouse Vs Python YouTube Channel
2020-06-23 17:00:29
I recently decided to relaunch the Mouse vs Python YouTube channel. I am working on new tutorials from the 2nd Edition of Python 101 as well as starting some new content on regular Python tutorials and wxPython tutorials.
Zato Blog: Understanding Zato server startup callable objects
2020-06-23 16:24:22
Zato startup callable objects are a means through which arbitrary Python functions or classes can be invoked when a server is booting up in order to influence its configuration or setup, even before any service is invoked.
Real Python: Creating a Discord Bot in Python
2020-06-23 14:00:00
In a world where video games are so important to so many people, communication and community around games are vital. Discord offers both of those and more in one well-designed package. In this course, youâll learn how to make a Discord bot in Python so that you can make the most of this fantastic platform.
EuroPython: EuroPython 2020: Opening our Merchandise Shop
2020-06-23 12:14:05
Weâre very happy to announce our very own EuroPython merchandise shop:
Podcast.__init__: Adding Observability To Your Python Applications With OpenTelemetry
2020-06-23 01:10:34
Once you release an application into production it can be difficult to understand all of the ways that it is interacting with the systems that it integrates with. The OpenTracing project and its accompanying ecosystem of technologies aims to make observability of your systems more accessible. In this episode Austin Parker and Alex Boten explain how the correlation of tracing and metrics collection improves visibility of how your software is behaving, how you can use the Python SDK to automatically instrument your applications, and their vision for the future of observability as the OpenTelemetry standard gains broader adoption.
PythonâSpeed: Clinging to memory: how Python function calls can increase your memory usage
2020-06-23 00:00:00
Unlike languages like C, much of the time Python will free up memory for you. But sometimes, it wonât work the way you expect it to.
PSF GSoC students blogs: Weekly Blog Post | Gsoc'2020 | #4
2020-06-22 23:57:53
<meta charset="utf-8">
PSF GSoC students blogs: Week 2.5
2020-06-22 22:25:57
I've been working to finish our update to Django 3 (which includes moving from aldryn newsblog as a dependency to an incorporated app). I've hit a lot of frustration doing this but am wrapping this up tonight.
PSF GSoC students blogs: Week 4 blog
2020-06-22 21:48:05
Hello everyone,
TestDriven.io: Securing a Containerized Django Application with Let's Encrypt
2020-06-22 21:45:58
In this tutorial, we'll look at how to secure a containerized Django app running behind an HTTPS Nginx proxy with Let's Encrypt SSL certificates.
PSF GSoC students blogs: Blog post for week 3: Passing settings around the right way
2020-06-22 20:43:54
Last week I did not implement new features but rather incorporated feedback from my mentors. In this blog post I want to write about one specific problem that I encountered last week.
PSF GSoC students blogs: Weekly Check In - 3
2020-06-22 19:37:21
Finish the HTTP2 Client Protocol implementation.Â
PSF GSoC students blogs: The Wonderful Wizard of O'zip
2020-06-22 19:35:31
Never give up⊠No one knows what's going to happen next.
Mike Driscoll: Python 101 â Learning About Lists (Video)
2020-06-22 17:00:05
In this video tutorial, you will learn all about Pythonâs list data type.
PSF GSoC students blogs: GSoC: Week 4: Status - 300 Multiple Choice
2020-06-22 15:35:20
Hello everyone,
PSF GSoC students blogs: Image Operations - Weekly Check-in 4
2020-06-22 15:30:43
End of Week 3Â - 22/06/2020
PSF GSoC students blogs: Week 3 Check-in
2020-06-22 15:20:37
I continued the work started in last week's PR by adding more multimethods on array creation:
Codementor: Latest Python Interview Question and Answers
2020-06-22 14:56:07
This Article will guide you on how to crack any python programming interview, including:
Doug Hellmann: sphinxcontrib-spelling 5.1.2
2020-06-22 14:53:29
No <p> found.
PSF GSoC students blogs: Weekly Check-In #4
2020-06-22 14:27:11
This week I added checkers for freeradius and haproxy libraries.
Real Python: Hands-On Linear Programming: Optimization With Python
2020-06-22 14:00:00
Linear programming is a set of techniques used in mathematical programming, sometimes called mathematical optimization, to solve systems of linear equations and inequalities while maximizing or minimizing some linear function. Itâs important in fields like scientific computing, economics, technical sciences, manufacturing, transportation, military, management, energy, and so on.
PSF GSoC students blogs: GSoC Week 4: import rich:
2020-06-22 13:52:17
I worked on adding color to the console as well as log. I'm using rich library for that. The reason why I choose this library is that rich supports cross platform implementaion and it's ability to detect terminal and adjust acoordingly is awesome. It supports mainly every terminal and even remove color codes if it detects that the output is not console. Now we can generate colored output for the console.
Stack Abuse: Statistical Hypothesis Analysis in Python with ANOVAs, Chi-Square and Pearson Correlation
2020-06-22 12:30:00
Python is an incredibly versatile language, useful for a wide variety of tasks in a wide range of disciplines. One such discipline is statistical analysis on datasets, and along with SPSS, Python is one of the most common tools for statistics.
PSF GSoC students blogs: Week 3 : Fixing Bugs and Multiple KML File UI
2020-06-22 12:10:00
Hello there!
PSF GSoC students blogs: GSoC Weekly Blog #2
2020-06-22 11:58:48
This week I finished up all the tests required in admin window as well as added markdown support in mscolab chat. I also did some redesigning of the chat window. I also made a new window to show the history of all the changes for mscolab. Most of my time last week was spent on how to implement the markdown feature. I looked at various different ways of implementing it. I was able to create rich text editor buttons for common features like bold, italics, underline and lists. However, I ran into a big issue which was that PyQt's QTextEdit widget returned a massive HTML response even for a very small message. I didn't want to store such a huge response in the database as it contained several unwanted HTML tags and inline styles. I could not find a way to reduce this output so I had to completely change my approach. I completely scrapped the button approach and moved on to allowing markdown syntax in the chat itself. I used the python-markdown library for converting markdown to HTML on the fly. I had to spend some time figuring out how to deregister any syntax I don't want to support as I only wanted support for bold, italics and lists. After going through the library's documentation and tutorials, I was able to get it all workingđ„ł After adding the markdown support, I removed some existing code which was made redundant after the addition of the admin dashboard and fixed the tests which were affected by this code. This week, I would be working on adding other chat features like edit and delete messages and hopefully, if I am able to complete these features move on to finishing up the new change history window.
PSF GSoC students blogs: GSoC: Week #4
2020-06-22 10:26:01
Hi!
Anwesha Das: PyLadies India embarked its journey
2020-06-22 09:36:44
20th June 2020 marked a new beginning for PyLadies in India. We had our first meetup.
Stefan Behnel: Should you ship the Cython generated C code or not?
2020-06-22 09:11:11
When you use Cython for your Python extensions (not if, when ;-)), there are different opinions on whether you should generate the C code locally and ship it in your sdist source packages on PyPI, or you should make Cython a build-time dependency for your package and let users run it on their side.
PSF GSoC students blogs: Diving deep into Strapi to build the EOS feature request system in GSOCâ20
2020-06-22 08:02:41
Hola a todos! Give me company as I explain to you the internals of Strapi and how I am using various mechanisms to implement custom and secure solutions for our feature request system. Grab your drink, sit back and relax as I walk you through the details.
Mike Driscoll: PyDev of the Week: Adrin Jalali
2020-06-22 05:05:18
This week we welcome Adrin Jalali (@adrinjalali) as our PyDev of the Week! Adrin works on the popular scikit-learn package as well as Fairlearn, an AI package for Python. You can see what else Adrin is up to via his website or by checking out his Github profile.
PSF GSoC students blogs: GSoC 2020 Blog Post (#2)
2020-06-22 05:00:09
Hello all!
PSF GSoC students blogs: Weekly Blog #2 ( 15th June - 22nd June)
2020-06-21 19:23:19
Hi all , so we have had 3 weeks of coding till now and overall am pleased with the progress of the project. It has been going smoothly without too many major issues. The three major milestones achieved this week were :- 1. Created a draft PR for incorporation with date-parser. The number-parser library is constantly improving but one of the major goals was also to incorporate it with other Scrapy libraries (primarily date-parser and price-parser). The incorporation needed to be seamless without too much modification to the date-parser base code. Once number-parser library improves we can add it as a dependency. 2. Issue creation and resolution on the number-parser library. Since we are done with the MVP , we can now move to a more organized structure where we are now discussing bugs/features and I am able to create PRs to target specific issues. 3. Implemented a parse_number feature that allows to parse single numbers written in natural language. eg) 'fifty seven' -> 57 , 'cats' -> None The plan for next-week is to tackle the multi-language feature (starting with spanish,hindi,russian) and hopefully by the end of the week will have the pipeline to incorporate multiple languages in place.
PSF GSoC students blogs: Weekly Check-in #4
2020-06-21 18:20:31
Hello world,
PSF GSoC students blogs: Weekly Check-In: Week 4
2020-06-21 16:38:38
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
Codementor: Deciphering Single-byte XOR Ciphertext
2020-06-21 13:22:40
Encryption is a process of encoding messages such that it can only be read and understood by the intended parties. The process of extracting the original message from an encrypted one is called...
PSF GSoC students blogs: [Week 3] Check-in
2020-06-21 08:58:29
This week's job is to add test cases and change the code as mentor's request.Â
Codementor: Metabob, a Github tool for your Python repos
2020-06-21 07:59:20
Exploring metabob
Catalin George Festila: Python 3.8.3 : Using twitter application with python-twitter - part 002.
2020-06-21 01:45:51
This is the second part of tutorials series with python-twitter.Today I will show you how to get pieces of information about friends, users and save into a binary file with pickle known as cPickle.I will use my old source code from the last tutorial.import os
import twitter
# for save to file import by python version
try:
import cPickle as pickle
except:
import pickle
consumer_key=' '
Ned Batchelder: Pickleâs nine flaws
2020-06-20 20:07:39
Pythonâs pickle module is a very convenient way to serialize and de-serialize objects. It needs no schema, and can handle arbitrary Python objects. But it has problems. This post briefly explains the problems.
Weekly Python StackOverflow Report: (ccxxxiii) stackoverflow python report
2020-06-20 12:40:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-06-20 12:39:44 GMT
Catalin George Festila: Python 3.8.3 : Using twitter application with python-twitter - part 001.
2020-06-20 10:46:12
You need to create a application for your twitter user developer on this webpage.
The next step is to get all keys and tokens from your application.
I used the python-twitter see the official webpage documentation.
Let's install this python module using the pip tool
pip install python-twitter
Collecting python-twitter
...
Installing collected packages: oauthlib, requests-oauthlib,
Kushal Das: Access Riseup email over Onion service
2020-06-20 08:32:03
Email service (đ§) is another excellent example that can be accessed safely over Tor Onion services. This is in particular useful in places where people in power do not like their citizens accessing privacy-focused email providers. I know, you must be thinking about your own country, but no worries, we all are in the same place :)
Catalin George Festila: Python 3.7.5 : Django on Fedora distro.
2020-06-20 06:44:46
[mythcat@desk django]$ source env/bin/activate
(env) [mythcat@desk django]$ python3
Python 3.7.6 (default, Dec 19 2019, 22:52:49)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.VERSION
(3, 0, 1, 'final', 1)
Static files are those files that can not be processed, generated or modified by the
Catalin George Festila: Python 3.8.3 : Using the fabric python module - part 002.
2020-06-20 06:35:31
This is second tutorial about the fabric.Using the old example, I will show you how can use it with some basic features.The example cover these issues:show fabric version;
use task decorator;
import and use multiple hosts;
The documentation page come with this info about task:Fabric 1.1 introduced the Task class to facilitate new features and enable some programming best practices, specifically:
Catalin George Festila: Python 3.8.2 : Create a Django Calendar - part 001.
2020-06-20 06:30:03
This tutorial show you how can use pipenv tool and set the Django project in order to create a calendar with Django project.First, install the pipenv tool using the pip tool:python -m pip install pipenv
Collecting pipenv
...
Successfully installed pipenv-2020.6.2 virtualenv-clone-0.5.4You can see all options and features with this command: pipenv
Usage: pipenv [OPTIONS] COMMAND [ARGS]...
Options
Catalin George Festila: Python 3.8.2 : Create a Django Calendar - part 002.
2020-06-20 06:29:41
I was a bit busy with another project I am working on and this is the reason that led to the delay of this tutorial.The big problem with Django tutorials is the volume of the source code.Because of this, this tutorial will highlight changes to the source code and share it in my GitHub account.Let's see the changes into my project tree and files: ââââtest_calendar
ââââfirst_calendar
â ââ
PSF GSoC students blogs: Week 2 Blog Post
2020-06-19 12:25:50
What i have done this week
Real Python: The Real Python Podcast â Episode #14: Going Serverless with Python
2020-06-19 12:00:00
Would you like to run your Python code in the cloud without having to become an infrastructure engineer? Do you want to have Python functions that run when triggered by specific events? This week on the show we have Anthony Chu to discuss serverless computing and running python functions in the cloud. Anthony Chu is program manager for Microsoft's Azure Functions.
PyCharm: PyCharm 2020.2 EAP2: In-place rename and signature change
2020-06-19 09:17:44
PyCharm 2020.2 EAP2 was released today with a feature that will blow your mind! You can download this EAP build from our website or from the Toolbox App.
Talk Python to Me: #269 HoloViz - a suite of tools for Python visualization
2020-06-19 08:00:00
No <p> found.
TestDriven.io: Working with Celery and Django Database Transactions
2020-06-18 21:46:09
This post details how to make Celery work nicely with Django Database Transactions.
Codementor: Generating cooking recipes using TensorFlow and LSTM Recurrent Neural Network: A step-by-step guide
2020-06-18 14:52:19
This article contains details of how the LSTM model was trained on Python using TensorFlow 2 with Keras API.
Python Software Foundation: 2020 Python Software Foundation Board of Directors Election Results
2020-06-18 10:23:24
No <p> found.
Django Weblog: DjangoCon Australia returns for the 8th time and opens CFP
2020-06-18 09:00:00
DjangoCon Australia was supposed to take place in Adelaide this year. With the current situation of travel restrictions and isolation requirements this is no longer possible. Instead, DjangoCon Australia will again run as a specialist track alongside PyConline AU, on September 4th, on The Internet. Details about how this is all going to work will be announced soon by the PyConline organizers; right now, everything is changing and everyone is trying to figure out how to react to that change, us included.
Python Bytes: #186 The treebeard will guard your notebook
2020-06-18 08:00:00
No <p> found.
Test and Code: 117: Python extension for VS Code - Brett Cannon
2020-06-18 07:30:00
The Python extension for VS Code is most downloaded extension for VS Code. Brett Cannon is the manager for the distributed development team of the Python extension for VS Code.
Mike Driscoll: How to Download a File with Python (Video)
2020-06-18 05:05:37
In this video tutorial, you will learn how to use Pythonâs urllib to download files from the internet:
Janusworx: Hiatus!
2020-06-18 03:40:31
Lost a friend to the virus last night. And a shit-ton of personal issues have cropped up at the same time.
Matt Layman: Hackathon App - Building SaaS #61
2020-06-18 00:00:00
No <p> found.
Python Insider: Python 3.7.8rc1 and 3.6.11rc1 now available for testing
2020-06-17 23:30:29
No <p> found.
Python Engineering at Microsoft: Python in Visual Studio Code â June 2020 Release
2020-06-17 16:33:34
We are pleased to announce that the June 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code in the documentation.  Â
Django Weblog: An Update on DjangoCon US 2020
2020-06-17 15:21:10
This is a tough announcement to make. After 12 consecutive years of DjangoCons in the United States, weâve decided to cancel DjangoCon US 2020. We look forward to seeing you in San Diego for DjangoCon US 2021 on October 17-22, 2021.
Real Python: PySimpleGUI: The Simple Way to Create a GUI With Python
2020-06-17 14:00:00
Creating a simple graphical user interface (GUI) that works across multiple platforms can be complicated. But it doesnât have to be that way. You can use Python and the PySimpleGUI package to create nice-looking user interfaces that you and your users will enjoy! PySimpleGUI is a new Python GUI library that has been gaining a lot of interest recently.
Django Weblog: DjangoCon Europe 2020 goes virtual
2020-06-17 13:30:00
These have been difficult times, we hoped for better news, but as time goes by it seems unlikely they will come. Airline companies all around are struggling, there are several border controls in place, and big events are restricted until further notice. As an example, in Portugal all festivals have been canceled until the 30th of September; other smaller events can follow or keep severe distancing rules which drastically reduces the maximum number of possible attendees. Long story short, the current schedule is no longer viable. More information regarding the tickets and sponsors policy on our website.
Stack Abuse: Calculating Mean, Median and Mode in Python
2020-06-17 12:30:00
When we're trying to describe and summarize a sample of data, we probably start by finding the mean (or average), the median, and the mode of the data. These are central tendency measures and are often our first look at a dataset.
Anwesha Das: Software Licenses : Legalese to English
2020-06-17 06:07:30
When I was doing a licensing survey in the Fedora ecosystem. I asked a few developers, "What is license according to them?" I got some interesting answers:
Janusworx: A Hundred Days of Code, Day 047
2020-06-17 05:35:49
Follow my whole plodding, Flask journey here. Crashed and burned even harder today. Tried to retrace my steps and did all the exercises again. I reached, once more, all the way upto the forms chapter and it just does not work. Now it wonât even display my login page.
Mike Driscoll: Python 101 â Exception Handling
2020-06-17 05:05:31
Creating software is hard work. To make your software better, your application needs to keep working even when the unexpected happens. For example, letâs say your application needs to pull information down from the Internet. What happens if the person using your application loses their Internet connectivity?
PyCoderâs Weekly: Issue #425 (June 16, 2020)
2020-06-16 19:30:00
#425 â JUNE 16, 2020 View in Browser »
The No TitleŸ Tech Blog: Haiku R1/beta2 has been released
2020-06-16 19:00:00
After about 20 months of hard work, the Haiku team has finally released, a few days ago, the second beta version of Haiku, the BeOS-inspired open-source operating system that aims to offer a fast, simple to use, and powerful alternative for personal computing. This time, I am particularly happy, even a bit proud myself, because I have also been contributing with Portuguese translations for the user interface, and this is the first beta which includes those translations. So, letâs celebrate!
PSF GSoC students blogs: Weekly Check-In #3
2020-06-16 16:18:43
Last week I had a discussion with my mentors, and it came up that since now I have a fair experience working with checkers, I should work on checkers for as many libraries as possible. Terri suggested a few of them, and from that list IÂ have added a checker for bash library. Also, I added checkers for dovecot and gimp libraries.
Erik Marsja: How to Add Empty Columns to Dataframe with Pandas
2020-06-16 14:45:00
The post How to Add Empty Columns to Dataframe with Pandas appeared first on Erik Marsja.
Kushal Das: Onion service v2 deprecation timeline
2020-06-16 14:26:46
On Monday June 15, the developers of the Tor Project announced the initial plan for the deprecation of Onion services v2. You can identify v2 addresses easily as they are only 16 character long, where as the v3 addresses are 56 character long.
Real Python: Python Generators 101
2020-06-16 14:00:00
Have you ever had to work with a dataset so large that it overwhelmed your machineâs memory? Or maybe you have a complex function that needs to maintain an internal state every time itâs called, but the function is too small to justify creating its own class. In these cases and more, generators and the Python yield statement are here to help.
Mike Driscoll: Python 101 â Working with Strings (Video)
2020-06-16 13:31:45
Learn how to use Strings in Python in this screencast.
Ned Batchelder: Math factoid of the day: 58
2020-06-16 11:35:20
58 is the sum of the first seven primes: 2 + 3 + 5 + 7 + 11 + 13 + 17.
PSF GSoC students blogs: GSoC week 2 check-in
2020-06-16 07:13:10
This is a quick check-in post to keep the blog count happy (most of this was covered in weekly mentor meeting)
Chris Rose: direnv and pip-tools together
2020-06-16 05:15:02
I have been experimenting with using pip-tools to manage my python project dependencies. If you're not familiar with it, I encourage you to read Hynek Schlawack's excellent introduction to dependency management in Python which introduces it and offers some comparisons to other alternatives like Poetry and Pipenv.
Janusworx: A Hundred Days of Code, Day 046
2020-06-16 04:42:01
Follow my whole plodding flask journey here..
Montreal Python User Group: MontrĂ©al-Python 78 â Ingenious Rewrite
2020-06-16 04:00:00
At Montréal-Python, everyone is welcome. As the Python Software Foundation says it very eloquently:
Codementor: Create a crawler: Python OR Octoparse?
2020-06-16 01:18:37
If you, a non-programmer need to start a web scraping project for your business purpose, research purpose or some others, this is the right video for you. In this video, weâre going to display the...
PSF GSoC students blogs: Weekly Check In - 2
2020-06-15 23:18:18
Add support for both GET and POST requests in the HTTP/2 Client. I read up setting up tests with Twisted.Â
PSF GSoC students blogs: Week 3 checkin
2020-06-15 21:44:21
Hey everyone
PSF GSoC students blogs: Weekly Check-in | GSoC'20 | #3
2020-06-15 21:29:02
<meta charset="utf-8">
PSF GSoC students blogs: Check-in for week 2
2020-06-15 20:04:28
1. What did you do this week?
Will McGugan: Richer Django logging
2020-06-15 18:13:26
I recently tested Rich logging with a Django project and the results were good. Here's what it looks like:
Peter Bengtsson: hashin 0.15.0 now copes nicely with under_scores
2020-06-15 18:08:37
tl;dr hashin 0.15.0 makes package comparison agnostic to underscore or hyphens
PSF GSoC students blogs: Second Weekly Check-In
2020-06-15 17:47:43
Hi everyone and may the odds ever in your favor, especially during this tough time!
PyCharm: Tutorial: Visual testing with pytest
2020-06-15 16:39:16
If you are like many Python developers out there you LOVE writing code! Tests? Not so much. Whether itâs the concept of testing or the interface of testing tools, testing is a chasm not all developers cross. The Visual Testing with pytest tutorial aims to bring Python testing to the masses, taking a new approach to first contact with Python testing.
Real Python: Python Keywords: An Introduction
2020-06-15 14:00:00
Every programming language has special reserved words, or keywords, that have specific meanings and restrictions around how they should be used. Python is no different. Python keywords are the fundamental building blocks of any Python program.
Anwesha Das: PyLadies India June meetup
2020-06-15 13:23:41
We, PyLadies, have started our journey for quite a sometime now. Every year since 2016, we are growing in numbers and chapters. Currently, we have eight active chapters and counting. The COVID pandemic has somehow stopped our course of having physical meetups. But on a brighter note, the situation has opened up a new opportunity for usâthe chance to be united. Therefore we, the PyLadies groups in India, have decided that we are going to have one collective meetup every month.
PSF GSoC students blogs: GSoC: Week 3: Awaiting the Future
2020-06-15 13:23:05
Hello everyone,
PSF GSoC students blogs: GSoC Week 3: try except finally:
2020-06-15 13:11:03
Last week I discussed that we need to find another charting library because "Pygal" was not up to the mark. So I started looking and found that Plotly can be an option. So I tested if it can produce the same results as Pygal and found it is much more useful. I'm now using Plotly Python which is a Plotly API. So, now we can quickly generate graphs using Plotly. I was also working on adding Filter property so that the user can filter out products. Now we can generate HTML reports with a nice filter property.
PSF GSoC students blogs: Week 2 : Complete Migration to Fastkml
2020-06-15 13:07:06
Hello there!
Podcast.__init__: Build A Personal Knowledge Store With Topic Modeling In Contextualize
2020-06-15 12:53:53
Our thought patterns are rarely linear or hierarchical, instead following threads of related topics in unpredictable directions. Topic modeling is an approach to knowledge management which allows for forming a graph of associations to make capturing and organizing your thoughts more natural. In this episode Brett Kromkamp shares his work on the Contextualize project and how you can use it for building your own topic models. He explains why he wrote a new topic modeling engine, how it is architected, and how it compares to other systems for organizing information. Once you are done listening you can take Contextualize for a test run for free with his hosted instance.
PSF GSoC students blogs: Inside look of the EOS feature request system in GSOCâ20
2020-06-15 12:00:43
Hello everyone! Come join me to catch a glimpse of how things work under the hood in the EOS feature request system. You can enjoy the magic which happens behind the scenes to hold back our pleasing and engaging UI, a fit for all devices.
PSF GSoC students blogs: GSoC Weekly Check-In #2
2020-06-15 10:32:05
What did IÂ do this week?
PSF GSoC students blogs: Images Images Images - Weekly Check-in 3
2020-06-15 09:56:45
End of Week 2Â - 15/06/2020
PSF GSoC students blogs: Weekly Check In 2
2020-06-15 09:52:03
Hello all!
Django Weblog: Django 3.1 beta 1 released
2020-06-15 08:09:32
Django 3.1 beta 1 is now available. It represents the second stage in the 3.1 release cycle and is an opportunity for you to try out the changes coming in Django 3.1.
Mike Driscoll: PyDev of the Week: Kyle Stanley
2020-06-15 05:05:18
This week we welcome Kyle Stanley (@Aeros1415) as our PyDev of the Week! Kyle is a core developer of the Python programming language. If youâd like to see what Kyle is working on, you can check out his Github profile. You can also connect with Kyle on LinkedIn.
Janusworx: A Hundred Days of Code, Day 045
2020-06-15 04:57:48
Follow my whole plodding journey here.
Kushal Das: Curious case of image based email signatures and Kmail
2020-06-15 03:02:28
We already talk about why HTML emails are bad, but that is the default in most of the email service providers. HTML emails means some code is getting executed and rendered on your system. Maybe on a browser, or on a desktop email client.
Daniel Nouri: Search your favorited tweets and articles with Twitter Discover
2020-06-14 21:39:15
If you're like me, you use Twitter's likes or favorites as bookmarks, to help you come back to a tweet or article later. If you're also like me, you've been using Twitter way too much and after more than ten years you have amassed over 2,000 likes and many more retweets with useful links and articles that you wanted to find later.
PSF GSoC students blogs: GSoC: Week #3
2020-06-14 19:11:21
Hi!
PSF GSoC students blogs: Weekly Check-In #2 ( 7th Jun - 14th Jun )
2020-06-14 19:10:57
Hey back with the second check in blog covering week 2. What did you do this week ? Fixes and features - still tweaking the number parser library now it handles multiple numbers (not separated by a delimiter and returns a set of words as opposed to a single word). I also experimented with the date-parser library and looked into the integration. Did you get stuck anywhere ? Nothing major as such . I was modifying, updating the overall structure of the library , which needed some research into best python practices. What is coming up next ? The next week involves completing the integration with date-parser and price-parser. Additionally hoping to handle date-specific years.
PSF GSoC students blogs: Weekly Check-In: Week 3
2020-06-14 13:09:29
Make sure to check out Project FURY :Â https://github.com/fury-gl/fury
PSF GSoC students blogs: Weekly Check-in #3
2020-06-14 12:18:56
Hello and welcome to my third weekly check-in, I will be sharing my progress with the project so far. In case you wondered, the sub-org that I am affiliated to is FURY. Make sure to check out the official repository here.
Codementor: Making Python Integers Iterable
2020-06-14 09:36:34
Iterables in Python are objects and containers that could be stepped through one item at a time, usually using a for ... in loop. Not all objects can be iterated, for example - we cannot iterate an...
PSF GSoC students blogs: [Week 2] Check-in
2020-06-14 08:45:04
This week's main job is to implement the backward propagation. After that, I complete the whole vjp.Â
Python Insider: Python 3.9.0b3 is now available for testing
2020-06-14 08:30:14
No <p> found.
Moshe Zadka: Conditionally Logging Expensive Tasks
2020-06-14 03:30:00
(I have shown this technique in my mailing list. If this kind of thing seems interesting, why not subscribe?)
Weekly Python StackOverflow Report: (ccxxxii) stackoverflow python report
2020-06-13 15:53:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-06-13 15:53:42 GMT
Eli Bendersky: You don't need virtualenv in Go
2020-06-13 12:41:00
Programmers that come to Go from Python often wonder "do I need something like virtualenv here?"
Philippe Normand: Setting up Debian containers on Fedora Silverblue
2020-06-13 11:50:00
After almost 20 years using Debian, I am trying something different, Fedora Silverblue. However for work I still need to use Debian/Ubuntu from time to time. In this post I am explaining the steps to setup Debian containers on Silverblue.
Talk Python to Me: #268 Analyzing dozens of notebook environments
2020-06-13 08:00:00
No <p> found.
Janusworx: A Hundred Days of Code, Day 044
2020-06-13 07:14:38
Continuing the Flask course.
Brett Cannon: Why I don't like SemVer anymore
2020-06-13 00:01:01
Back in 2017 I wrote a blog post on how I manage version numbers. In that post I mentioned how I tried to follow semantic versioning. Over the subsequent 3 years I have come to the conclusion I actually don't like SemVer for my projects. It turns out I am not the only person to hold this opinion; Donald, Hynek and Bernat seem to agree with the general sentiment.
Mike C. Fletcher: Auto-link a Host-provided Package into a Virtualenv
2020-06-12 23:36:14
There are Python packages that are basically a PITA to get compiled into your virtualenv. The one I constantly hit when doing GStreamer, DBus, IBus, etc is gobject-introspection (a.k.a. gi). So, there's now a trivial package available:
Spyder IDE: Thanking the people behind Spyder 4
2020-06-12 18:00:00
This blogpost was originally published on the Quansight Labs website.
Stack Abuse: any() and all() in Python with Examples
2020-06-12 12:23:00
In this tutorial, we'll be covering the any() and all() functions in Python.
Real Python: The Real Python Podcast â Episode #13: PDFs in Python and Projects on the Raspberry Pi
2020-06-12 12:00:00
Have you wanted to work with PDF files in Python? Maybe you want to extract text, merge and concatenate files, or even create PDFs from scratch. Are you interested in building hardware projects using a Raspberry Pi? This week on the show we have David Amos from the Real Python team to discuss his recent article on working with PDFs. David also brings a few other articles from the wider Python community for us to discuss.
Python Bytes: #185 This code is snooping on you (a good thing!)
2020-06-12 08:00:00
No <p> found.
Janusworx: A Hundred Days of Code, Day 043
2020-06-12 07:41:40
Continuing with the Flask course.
Janusworx: A Hundred Days of Code, Day 042
2020-06-11 11:06:21
Second day with the Flask course.
PSF GSoC students blogs: [Week 1] Check-in
2020-06-11 07:12:10
This week's main job is to build a calculation graph. The core of the automatic differential system is vjp, which is composed of calculation graph construction and gradient calculation.
PSF GSoC students blogs: Weekly Check In - 1
2020-06-11 06:02:53
As the Community Bonding phase finished I started coding the HTTP/2 Client Protocol. I started simple with adding support for GET requests.
Fabio Zadrozny: PyDev 7.6.0 (Python 3.8 parsing fixes and debugger improvements)
2020-06-11 05:13:07
No <p> found.
Matt Layman: A View From Start To Finish - Building SaaS #60
2020-06-11 00:00:00
In this episode, I created a view to add students from beginning to the end. I used Error Driven Development to guide what I needed to do next to make the view, then wrote tests, and finished it all off by writing the template code.
At the start of the episode, I gave a quick overview of the models in my application and which models I planned to focus on for the stream.
Nathan Piccini Data Science Dojo Blog: Building an AI-based Chatbot in Python
2020-06-10 19:58:14
Chatbots have become extremely popular in recent years and their use in the industry has skyrocketed. The chatbot market is projected to grow from $2.6 billion in 2019 to $9.4 billion by 2024. This really doesn't come as a surprise when you look at the immense benefits chatbots bring to businesses. According to a study by IBM, chatbots can reduce customer services cost by up to 30%.
PSF GSoC students blogs: GSoC week 1
2020-06-10 17:47:12
This week I've been largely focused on blog posting bugs, notably #394 and #396. These two bugs are not actually part of the python-blogs codebase, but the now-abandoned aldryn newsblog projected which we use as a dependency.
Peter Bengtsson: ./bin/huey-isnt-running.sh - A bash script to prevent lurking ghosts
2020-06-10 14:56:12
tl;dr; Here's a useful bash script to avoid starting something when its already running as a ghost process.
Real Python: SettingWithCopyWarning in Pandas: Views vs Copies
2020-06-10 14:00:00
NumPy and Pandas are very comprehensive, efficient, and flexible Python tools for data manipulation. An important concept for proficient users of these two libraries to understand is how data are referenced as shallow copies (views) and deep copies (or just copies). Pandas sometimes issues a SettingWithCopyWarning to warn the user of a potentially inappropriate use of views and copies.
CubicWeb: Report of June 10th Cubicweb Meeting
2020-06-10 13:39:05
Hi everyone,
Codementor: Django User Model
2020-06-10 09:35:52
a small introduction to django framework with more focus on the User Model class and Authentication
PyCoderâs Weekly: Issue #424 (June 9, 2020)
2020-06-09 19:30:00
#424 â JUNE 9, 2020 View in Browser »
Philippe Normand: WebKitGTK and WPE now supporting videos in the img tag
2020-06-09 16:00:00
Using videos in the <img> HTML tag can lead to more responsive web-page loads in most cases. Colin Bendell blogged about this topic, make sure to read his post on the cloudinary website. As it turns out, this feature has been supported for more than 2 years in Safari, but âŠ
Real Python: Getting the Most Out of a Python Traceback
2020-06-09 14:00:00
Python prints a traceback when an exception is raised in your code. The traceback output can be a bit overwhelming if youâre seeing it for the first time or you donât know what itâs telling you. But the Python traceback has a wealth of information that can help you diagnose and fix the reason for the exception being raised in your code. Understanding what information a Python traceback provides is vital to becoming a better Python programmer.
Anwesha Das: Difference between chcon and semanage
2020-06-09 11:40:59
Security Enhanced Linux, SELinux is the discretionary access control in the Linux distribution. This extra layer of security keeps the user's data safe in the system. SELinux context contains additional information, labels attached to each process, and files to determine the SELinux policy. The extra details about user, role, type, and sensitivity help to make access control decisions. The context of the file is generally similar to the context of its parent directory.
PSF GSoC students blogs: Weekly Blog Post | Gsoc'2020 | #2
2020-06-08 22:48:59
Greetings, People of the world!
Codementor: A Comprehensive Guide to Handling Exceptions in Python
2020-06-08 21:53:46
The dos and donâts of best-practice Python exception handling
PSF GSoC students blogs: Unexpected Things When You're Expecting
2020-06-08 20:56:54
Hi everyone, I hope that you are all doing well and wishes you all good health! The last week has not been really kind to me with a decent amount of academic pressure (my school year is lasting until early Jully). It would be bold to say that I have spent 10 hours working on my GSoC project since the last check-in, let alone the 30 hours per week requirement. That being said, there were still some discoveries that I wish to share.
PSF GSoC students blogs: Week 2 blog!
2020-06-08 19:26:44
Hello everyone,
PSF GSoC students blogs: Blog post for week 1: Introducing support for Redis
2020-06-08 18:02:38
Scrapy uses queues for handling requests. The scheduler pushes requests to the queue and pops them from the queue when the next request is ready to be made. At the moment, there is no support for external message queues (e.g. Redis, Kafka, etc.) implemented in Scrapy, however, there are external libraries (https://github.com/rmax/scrapy-redis and others) that bridge Scrapy with external message queues.
Philippe Normand: Introducing the WebKit Flatpak SDK
2020-06-08 16:50:00
Working on a web-engine often requires a complex build infrastructure. This post documents our transition from JHBuild to Flatpak for the WebKitGTK and WPEWebKit development builds.
Real Python: Python Community Interview With Kattni Rembor
2020-06-08 14:00:00
This week, Iâm joined by Kattni Rembor, a creative engineer at Adafruit Industries. Kattniâs role is varied, as she covers embedded software, hardware design, technical writing, and community leadership.
Podcast.__init__: Open Source Product Analytics With PostHog
2020-06-08 11:37:33
You spend a lot of time and energy on building a great application, but do you know how itâs actually being used? Using a product analytics tool lets you gain visibility into what your users find helpful so that you can prioritize feature development and optimize customer experience. In this episode PostHog CTO Tim Glaser shares his experience building an open source product analytics platform to make it easier and more accessible to understand your product. He shares the story of how and why PostHog was created, how to incorporate it into your projects, the benefits of providing it as open source, and how it is implemented. If you are tired of fighting with your user analytics tools, or unwilling to entrust your data to a third party, then have a listen and then test out PostHog for yourself.
Gocept Weblog: We have nearly one million lines of Python 2 code in production â and now?
2020-06-08 11:23:32
Still running Python 2 code in production is like steering a ship without radar in thick fog: You donât know, which obstacle you will hit next. But there are ways to see the sun again even for large code bases.
PSF GSoC students blogs: Weekly Check-In #2
2020-06-08 10:27:44
This week I added checkers for busybox and radare2 libraries. Along with this I fixed issue #546, which was for the clearer organisation of tests in test_scanner.py file. I arranged tests into sub-arrays for each checker, spilt up the giant array into arrays per checker, and chained them using itertools.chain in @pytest.mark.parametrize.
PSF GSoC students blogs: Week #2
2020-06-08 10:03:50
<meta name="uuid" content="uuid1f6vT3Xd98b4"><meta charset="utf-8">
PSF GSoC students blogs: GSoC Week 2: except Exception as opportunity_to_learn:
2020-06-08 09:15:38
I was working on the HTML Report genration process. For that I have to do some changes in the cvedb.py and some modificatioins in the structure of the code. We also figured out the confusion in the "product" and "package" naming conventions. So now we are using product everywhere except for the packages that are downloaded from the internet. Also I looked for other libraries for chart generation beacuse the one that we were using currently ("Pygal") is not being maintained. I'm currently testing Plotly and see if that can solve our problem. Â
PSF GSoC students blogs: GSoC Weekly Blog #1
2020-06-08 08:44:53
The coding phase of GSoC'20 finally began last week. I finished up fixing the existing bugs in mscolab and started my work on the admin window for mscolab. I have 3 major components that I am going to build during GSoC and the admin window is the first one. The admin window will allow flight campaign project admins to quickly add/modify/delete the permissions of the users working on their project.
PSF GSoC students blogs: Laying out the foundations for the EOS feature request system in GSOCâ20
2020-06-08 08:37:48
Hey folks! My goal is clear, the stage is set and I am ready to hit the keyboard to light up your way to the EOS feature request system which aims to provide users an accessible interface within EOS to request new features or icons.
PSF GSoC students blogs: Brainstorming ideas - Weekly Check-in 2
2020-06-08 07:13:33
End of Week 1Â Â -Â 08/06/2020
PyCharm: PyCharm at the 2020 Python Web Conference
2020-06-08 06:58:53
Our countdown for the 2020 Python Web Conference has started, come meet our team!
Test and Code: 116: 15 amazing pytest plugins - Michael Kennedy
2020-06-08 06:00:00
pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about.
PSF GSoC students blogs: GSoC 20: Week 2: del legacy.c
2020-06-08 05:36:41
Hello everyone!
Mike Driscoll: PyDev of the Week: Dong-hee Na
2020-06-08 05:05:10
This week we welcome Dong-hee Na (@dongheena92) as our PyDev of the Week! Dong-hee is a core developer of the Python programming language. You can see some of what he has been working on over on Github.
PSF GSoC students blogs: GSoC 2020 Blog Post (#1)
2020-06-08 02:35:56
Hello all! The coding period officially started last week and me and my partner Aditya Sharma began working on our project. Like I said earlier I was working on the Authentication module and thatâs what I did. A design (which was created in AdobeXD) of what the expected end product should look like was given to me, which I used as a reference while writing the React code. I started with setting up a React application using the "create-react-app" bootstrap method. This was followed by adding a bunch of dependencies ranging from router requirements, axios method for backend communication, linting and formatting checkers etc. My partner had done this previously so he helped me in setting up all of these. Once the directory structure was set up I began working on the authentication module. As I mentioned in my last blog post I started working on the Authentication module in the community bonding period itself, so I had a basic version of the module ready. Main thing that I had to do now was to make the interface look like the one I received as a part of the design. This involved writing SASS (which is basically like CSS) for the different pages and components. I also spent a lot of time on making sure that my UI was responsive and adaptable on different screen sizes. I submitted a PR for the same which is currently being reviewed. Mentors have been very helpful and quick in their response towards my work. Their comments on the PR are insightful and I am working on resolving the issues pointed out by them.
PSF GSoC students blogs: GSoC: Week #2
2020-06-07 19:58:12
Hello again!
PSF GSoC students blogs: Weekly Post #1 ( 1st June - 7th June)
2020-06-07 18:40:27
Hey everyone number-parser is up and running ( number parser ). Do check it out and raise issues / feature request etc.
PSF GSoC students blogs: Week 1 : Adding Fastkml Support
2020-06-07 16:26:44
Hello there!Â
PSF GSoC students blogs: Weekly Check-In: Week 2
2020-06-07 14:10:39
<meta charset="utf-8">Hey everyone!
PSF GSoC students blogs: Weekly Check-in #2
2020-06-07 14:07:21
Hello and welcome to my second weekly check-in, I will be sharing my progress for the first week of coding.
PSF GSoC students blogs: Week 2 Check-in
2020-06-07 12:46:03
Hello World,
Codementor: Powering inheritance in C using structure composition
2020-06-07 08:41:37
C language does not support inheritance however it does support Structure Compositions which can be tweaked to serve use-cases requiring parent-child relationships. In this article, we find out how...
Reuven Lerner: âPython Workoutâ is the Manning âDeal of the Dayâ for June 7
2020-06-07 07:48:50
Want to improve your Python fluency? Youâll need to practice! My book, âPython Workout,â gives you 50 exercises (+ screencast videos + 200 bonus exercises) to improve your Python programming ability.
PSF GSoC students blogs: Weekly Blog Post #1
2020-06-07 06:13:37
No <p> found.
PSF GSoC students blogs: Week 1 Blog Post
2020-06-07 05:47:38
What have done this week
Weekly Python StackOverflow Report: (ccxxxi) stackoverflow python report
2020-06-06 13:19:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-06-06 13:19:13 GMT
Talk Python to Me: #267 15 amazing pytest plugins
2020-06-06 08:00:00
No <p> found.
Codementor: How and why I built ClassUp
2020-06-06 06:48:06
How we developed a great Ed tech product using open source technologies
Stack Abuse: Reading and Writing Excel (XLSX) Files in Python with the Pandas Library
2020-06-05 14:06:59
Just like with all other types of files, you can use the Pandas library to read and write Excel files using Python as well. In this short tutorial, we are going to discuss how to read and write Excel files via DataFrames.
PyCharm: Smart execution of R code
2020-06-05 13:55:22
R plugin is announcing some helpful features to track execution of your R code:
Catalin George Festila: Python 3.8.3 : Using the fabric python module - part 001.
2020-06-05 13:19:16
The tutorial for today is about fabric python module.You can read about this python module on the official webpage.The team comes with this intro:Fabric is a high level Python (2.7, 3.4+) library designed to execute shell
commands remotely over SSH, yielding useful Python objects in return...It builds on top of Invoke (subprocess command
execution and command-line features) and Paramiko (SSH
Real Python: The Real Python Podcast â Episode #12: Web Scraping in Python: Tools, Techniques, and Legality
2020-06-05 12:00:00
Do you want to get started with web scraping using Python? Are you concerned about the potential legal implications? What are the tools required and what are some of the best practices? This week on the show we have Kimberly Fessel to discuss her excellent tutorial created for PyCon 2020 online titled "It's Officially Legal so Let's Scrape the Web."
Doug Hellmann: sphinxcontrib-spelling 5.1.0
2020-06-05 11:05:40
No <p> found.
Python Bytes: #184 Too many ways to wait with await?
2020-06-05 08:00:00
No <p> found.
PyCharm: PyCharm 2020.2 Early Access Program starts now!
2020-06-04 21:57:20
The Early Access Program for our next major release, PyCharm 2020.2, is now open! If you are the kind of person who is always looking forward to the next âbig thingâ, we encourage you to join and share your thoughts on the latest PyCharm improvements! Our upcoming release is loaded with cool features!
Reuven Lerner: Reminder: Python for non-programmers continues tomorrow!
2020-06-04 17:50:44
Weâre still going with my live, weekly (free) âPython for non-programmersâ course. Our next meeting is tomorrow (June 5th) at 10 a.m. Eastern.
Anarcat: Replacing Smokeping with Prometheus
2020-06-04 16:00:50
I've been struggling with replacing parts of my old sysadmin monitoring toolkit (previously built with Nagios, Munin and Smokeping) with more modern tools (specifically Prometheus, its "exporters" and Grafana) for a while now.
ListenData: How to drop one or multiple columns from Pandas Dataframe
2020-06-04 10:50:54
No <p> found.
Codementor: Python App Development: Perfect Web Framework choice for Startups
2020-06-04 10:23:27
Python app development is perfect for startups to build web applications. Python web programming saves cost & time, giving more time-to-market the application.
Wing Tips: Configuring Wing Pro's Python Debugger for Your Code Base
2020-06-04 01:00:00
This Wing Tip provides a roadmap to the configuration options available for Wing's debugger, to make it easier to understand the available possibilities and how these can be applied to your development projects.
Matt Layman: Designing A View - Building SaaS #59
2020-06-04 00:00:00
In this episode, I focused on a single view for adding a course to a school year. This view is reusing a form class from a different part of the app and sharing a template. We worked through the details of making a clear CreateView.
The stream started with me answering a question about how I design a new feature. I outlined all the things that I think through for the different kinds of features that I need to build.
PyCharm: PyCharm 2020.1.2
2020-06-03 16:56:39
PyCharm 2020.1.2 is out now with fixes that will improve your software development experience. Update from within PyCharm (Help | Check for Updates), using the JetBrains Toolbox, or by downloading the new version from our website.
Stack Abuse: Binary Search in Python
2020-06-03 16:45:00
In this article, we'll be diving into the idea behind and Python implementation of Binary Search.
PyCharm: Introducing the PyCharm Guide
2020-06-03 15:53:36
Want to be a badass at Python coding with PyCharm? Keep reading!
Real Python: Regular Expressions: Regexes in Python (Part 2)
2020-06-03 14:00:00
In the previous tutorial in this series, you covered a lot of ground. You saw how to use re.search() to perform pattern matching with regexes in Python and learned about the many regex metacharacters and parsing flags that you can use to fine-tune your pattern-matching capabilities.
CubicWeb: Report of June 3rd Cubicweb Meeting
2020-06-03 13:39:12
Hi everyrone,
Zato Blog: A dark theme for auto-generated API documentation
2020-06-03 11:40:01
Starting with version 3.2, Zato will use a new, dark theme for its auto-generated API documentation and specifications. Here is its preview.
Django Weblog: Django security releases issued: 3.0.7 and 2.2.13
2020-06-03 09:38:13
In accordance with our security release policy, the Django team is issuing Django 3.0.7 and Django 2.2.13. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Codementor: My Top 7 Picks on PyCon 2020 Online
2020-06-03 06:01:32
My top 7 picks for PyCon 2020 videos that is useful for Python developers, Data Scientist & Educators.
Karim Elghamrawy: How to Setup Python 3 on Windows? (Step-by-Step)
2020-06-03 04:37:02
In this video, I will talk about how to setup Python on a Windows operating system step-by-step. I will walk you through the installation process and discuss all the installation options that you will come across. In addition to that, I also talk about what the PATH environment variable is, and why it is important [...]
Kushal Das: Onion location and Onion names in Tor Browser 9.5
2020-06-03 03:07:47
Yesterday the Tor Browser 9.5 was released. I am excited about this release for some user-focused updates.
Obey the Testing Goat: Cosmic Pyhton
2020-06-02 23:00:00
Folks I've written a new book!
Obey the Testing Goat: Cosmic Python
2020-06-02 23:00:00
Folks I've written a new book!
Jaime Buelta: 2nd Edition for Python Automation Cookbook now available!
2020-06-02 20:58:04
No <p> found.
PyCoderâs Weekly: Issue #423 (June 2, 2020)
2020-06-02 19:30:00
#423 â JUNE 2, 2020 View in Browser »
Real Python: Parallel Iteration With Python's zip() Function
2020-06-02 14:00:00
Pythonâs zip() function creates an iterator that will aggregate elements from two or more iterables. You can use the resulting iterator to quickly and consistently solve common programming problems, like creating dictionaries. In this course, youâll discover the logic behind the Python zip() function and how you can use it to solve real-world problems.
Chris Moffitt: sidetable - Create Simple Summary Tables in Pandas
2020-06-02 12:45:00
Today I am happy to announce the release of a new pandas utility library called sidetable. This library makes it easy to build a frequency table and simple summary of missing values in a DataFrame. I have found it to be a useful tool when starting data exploration on a new data set and I hope others find it useful as well.
Codementor: About Me
2020-06-02 08:49:28
My experience working at tech giants like Google and Amazon and my contributions to open source
S. Lott: Overcoming Incuriosity -- Sailing Over The Horizon
2020-06-02 08:00:01
No <p> found.
CubicWeb: Report of May 26th Cubicweb Meeting
2020-06-02 07:39:06
Hi,
Podcast.__init__: Extending The Life Of Python 2 Projects With Tauthon
2020-06-02 01:49:53
The divide between Python 2 and 3 lasted a long time, and in recent years all of the new features were added to version 3. To help bridge the gap and extend the viability of version 2 Naftali Harris created Tauthon, a fork of Python 2 that backports features from Python 3. In this episode he explains his motivation for creating it, the process of maintaining it and backporting features, and the ways that it is being used by developers who are unable to make the leap. This was an interesting look at how things might have been if the elusive Python 2.8 had been created as a more gentle transition.
PSF GSoC students blogs: Weekly Check-In | Gsoc'2020 | #1
2020-06-01 19:03:57
Greetings, People of the world!
PSF GSoC students blogs: Weekly Check-In #1
2020-06-01 17:21:26
Hello everyone! I am Saurabh Khandelwal, a second year undergraduate at IIT Bombay, India and I will be contributing to the CVE-Binary-Tool under PSF.
PSF GSoC students blogs: Check-in for week 1
2020-06-01 16:37:22
1. What did you do this week?
PSF GSoC students blogs: GSoC: Week #1
2020-06-01 14:03:41
Hello!
Real Python: Build Physical Projects With Python on the Raspberry Pi
2020-06-01 14:00:00
The Raspberry Pi is one of the leading physical computing boards on the market. From hobbyists building DIY projects to students learning to program for the first time, people use the Raspberry Pi every day to interact with the world around them. Python comes built in on the Raspberry Pi, so you can take your skills and start building your own Raspberry Pi projects today.
PSF GSoC students blogs: GSoC Week 1: def journey_begins(excited=True):
2020-06-01 12:26:12
Hello Everyone! I'm Harmandeep Singh, a third-year undergrad in B.Tech CSE at Guru Nanak Dev University, Amritsar, India and I'll be working with CVE Binary Tool this summer under the umbrella of Python Software Foundation. My task will be to improve the Output of cve-bin-tool and other smaller issues.
A. Jesse Jiryu Davis: The Python Language Summit 2020
2020-06-01 12:01:31
No <p> found.
PSF GSoC students blogs: First Weekly Check-in
2020-06-01 10:32:28
Hi everyone, I am McSinyx, a Vietnamese undergraduate student who loves free software. This summer I am working with the maintainers and the contributors of pip to make the package manager download in parallel.
PSF GSoC students blogs: Weekly Checkin - 0
2020-06-01 10:24:16
Hey, I'm Tanish Grover. I'll be contributing to Mission Support System (MSS) under Python Software Foundation during GSoC'20. I'll be working on improving Mscolab functionalities. What did you do this week? I spent the last week of community bonding closing some existing issues in Mscolab to get more familiarized with the codebase. I spent some time reading the PyQt5 documentation and learning how to write better tests. I started designing the admin window and have got a good understanding of exactly what part of the existing codebase I need to update and what I need to add so I would be more efficient when I start coding. What is coming up next? This week I would be working on the Mscolab admin dashboard. I would be completing the UI and adding the add/modify/delete functionality. Did you get stuck anywhere? I got stuck while fixing an issue which required to import a different file when the test suites are running but I was able to fix it.
PSF GSoC students blogs: Week 0 : Checking in :))
2020-06-01 09:29:18
Hi there, I am Aryan Gupta and during GSoC'20, I will be contributing to Mission Support System under PSF. I'll be working on enhancing KML support in MSS!
Tryton News: Newsletter June 2020
2020-06-01 08:00:02
@ced wrote:
PSF GSoC students blogs: Week 1 check-in
2020-06-01 06:29:36
Hi,Â
PSF GSoC students blogs: GSoC: Week 1: __init__.py
2020-06-01 06:24:11
Hello everyone!
PSF GSoC students blogs: First check-in to GSOCâ20 @ Python Software Foundation
2020-06-01 05:08:19
Hello! I am Aditya Sharma, a second year Computer Science student and a Linux enthusiast who is crazy about web performance. I am really excited to work with our team of amazing mentors, developers and designers at The EOS Design System. Cheers to my journey as I share what I did before the official coding period starts.
Mike Driscoll: PyDev of the Week: Seth Michael Larson
2020-06-01 05:05:38
This week we welcome Seth Michael Larson (@sethmlarson) as our PyDev of the Week! Seth is the lead maintainer of urllib3. He also writes a Python blog. You can see some of Sethâs other contributions over on Github.
PSF GSoC students blogs: Weekly Check-in #01
2020-06-01 04:04:30
<meta charset="utf-8">
PSF GSoC students blogs: Weekly Check-in #01 (Week #01)
2020-06-01 01:29:01
PSF GSoC students blogs: Weekly Check In - 0
2020-05-31 21:48:17
Hello, I am Aditya Kumar. I will be contributing to Scrapy during GSoC'20. This is my first blog of the series.
Codementor: How I learnt Django
2020-05-31 18:36:35
This is a quick summary of how I learnt Django and tips on how you as a beginner can get through the learning process also.
Python Morsels: Duck Typing
2020-05-31 17:58:10
Duck typing is the idea that instead of checking the type of something in Python, we tend to check what behavior it supports (often by attempting to use the behavior and catching an exception if it doesn't work).
Python Morsels: The Iterator Protocol
2020-05-31 16:00:00
Iterators are all over the place in Python. You can often get away without knowing and understanding the word "iterator", but understanding this term will help you understand how you can expect various iterator-powered utilities in Python to actually work.
Test and Code: 115: Catching up with Nina Zakharenko
2020-05-30 23:15:00
One of the great things about attending in person coding conferences, such as PyCon, is the hallway track, where you can catch up with people you haven't seen for possibly a year, or maybe even the first time you've met in person.
PSF GSoC students blogs: Weekly Check-In #1 - Community Bonding ( 4th May - 31st May )
2020-05-30 20:16:23
Hi, I am Arnav Kapoor a 3rd year Undergraduate student from IIIT-Hyderabad and I will be working with the Scrapinghub sub-org this summer. The project goal is to create a nuarmber-parser library to parse numbers in natural language and incorporate the same with existing libraries. What did you do this week ? The community bonding phase mostly involved researching more into the existing solutions, understanding the pros and cons of each. I also got to know the mentors and we have set up weekly meetings for the duration of the program. Did you get stuck anywhere ? No there weren't any hurdles as such. What is coming up next ? Begin coding and face the challenges as and when they come.Â
Codementor: Splitwise Telegram Bot
2020-05-30 19:56:57
SplitwizeBot is a chat based bot to list, create and settle the expenses of Splitwise application from within Telegram đ€
PSF GSoC students blogs: Weekly Blog #1
2020-05-30 16:07:26
Hello Everyone, this is Soham Biswas currently in 2nd year pursuing my Bachelorâs(B.Tech) degree in Computer Science & Engineering from Institute of Engineering & Management, Kolkata. I have been selected for GSoC' 20 at sub-org FURY under the umbrella organisation of Python Software Foundation. I will be working on building sci-fi-like 2D and 3D interfaces and provide physics engine integration under project titled "Create new UI widgets & Physics Engine Integration".
Weekly Python StackOverflow Report: (ccxxx) stackoverflow python report
2020-05-30 12:46:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-05-30 12:45:10 GMT
Codementor: How to handle bulk data insertion SQLite + python
2020-05-30 12:04:01
SQLite Python: Inserting Data
PSF GSoC students blogs: GSoC Blog : Â Week 1
2020-05-30 07:10:04
Hey everyone! This is my blog for this summerâs GSoC @ PSF I am Lenix Lobo, an undergraduate student from India, and this summer I will be working with project Fury under the umbrella of the Python Software foundation.Â
PSF GSoC students blogs: First Blog GSoC 2020
2020-05-30 05:46:01
No summary found!
PSF GSoC students blogs: Weekly Check-in #1
2020-05-30 05:22:59
Brett Cannon: The many ways to pass code to Python from the terminal
2020-05-29 22:44:25
For the Python extension for VS Code, I wrote a simple script for generating our changelog (think Towncrier, but simpler, Markdown-specific, and tailored to our needs). As part of our release process we have a step where you are supposed to run python news which points Python at the news directory in our repository. A co-worker the other day asked how that worked since everyone on my team knows to use -m (see my post on using -m with pip as to why)? That made me realize that other people probably don't know the myriad of ways you can point python at code to execute, hence this blog post.
Red Hat Developers: Red Hat Software Collections 3.5 brings updates for Red Hat Enterprise Linux 7
2020-05-29 18:59:44
Red Hat Software Collections 3.5 and Red Hat Developer Toolset 9.1 are now available for Red Hat Enterprise Linux 7. Hereâs what that means for developers.
PSF GSoC students blogs: Community Bonding Check-in
2020-05-29 15:21:35
I had an onboarding meeting with my mentors where we got to know each other a bit better. They advised me to play around with uarray and unumpy without any goal in mind which I found to be a very good advice. I played a bit with special methods by implementing a simple Vector2D class and used the code in this notebook with some print statements to understand better the protocols and how they are called. I wanted to start earlier on my project so I took over a PR from one of my mentors which adds multimethods for the linalg module.
EuroPython: EuroPython 2020: Schedule published
2020-05-29 12:49:10
We are very excited to announce the first version of our EuroPython 2020 schedule:
Real Python: The Real Python Podcast â Episode #11: Advice on Getting Started With Testing in Python
2020-05-29 12:00:00
Have you wanted to get started with testing in Python? Maybe you feel a little nervous about diving in deeper than just confirming your code runs. What are the tools needed and what would be the next steps to level up your Python testing? This week on the show we have Anthony Shaw to discuss his article on this subject. Anthony is a member of the Real Python team and has written several articles for the site.
Zato Blog: Backing up and restoring Zato Single Sign-On data
2020-05-29 09:35:05
This article presents a procedure for backing up all of Zato Single Sign-On (SSO) data and restoring it later on.
Python Bytes: #183 Need a beautiful database editor? Look to the Bees!
2020-05-29 08:00:00
No <p> found.
Talk Python to Me: #266 Refactoring your code, like magic with Sourcery
2020-05-29 08:00:00
No <p> found.
Stefan Scherfke: Attrs, Dataclasses and Pydantic
2020-05-29 07:36:00
Iâve been using attrs for a long time now and I am really liking it. It is very flexible, has a nice API, is well documented and maintained, and has no runtime requirements.
PSF GSoC students blogs: Week 1 Check-in
2020-05-29 05:02:51
Completed tasks
Matt Layman: Bread and Butter Django - Building SaaS #58
2020-05-28 00:00:00
In this episode, I worked on a views and templates. There are a number of core pages that are required to flesh out the minimal interface for the app. We’re building them.
I began by showing the page that we were going to work on. I outlined the changes I planned to make, then we started.
The first thing we added was data about the school year, the main model on display in the page.
Gaël Varoquaux: Technical discussions are hard; a few tips
2020-05-27 22:00:00
Note
Real Python: How to Write an Installable Django App
2020-05-27 14:00:00
In the Django framework, a project refers to the collection of configuration files and code for a particular website. Django groups business logic into what it calls apps, which are the modules of the Django framework. Thereâs plenty of documentation on how to structure your projects and the apps within them, but when it comes time to package an installable Django app, information is harder to find.
Codementor: Pros and Cons of Python: A Definitive Python Web Development Guide
2020-05-27 11:35:24
Python web development is a popular programming language for most companies today. Read here the 5 Important pros and cons of using python for web development.
IslandT: Return people from a list and dictionary with Python
2020-05-27 06:10:19
In this article, we are going to return a list of names that show whether that person is nice or naughty based on True (Nice) or False (Naughty) value from the âwas_niceâ key within a list of dictionaries pass into either the get_nice_names function which will only return the name of a person who is nice or get_naughty_names function which will do vise versa.
Mike Driscoll: Python 101 â Learning About Loops
2020-05-27 05:05:37
There are many times when you are writing code that you will need to find a way to iterate over something. Perhaps youâll need to iterate over the letters in a string or the objects in a list. The process of iterating over something is done via a loop.
PyCoderâs Weekly: Issue #422 (May 26, 2020)
2020-05-26 19:30:00
#422 â MAY 26, 2020 View in Browser »
Real Python: A Beginner's Guide to Pip
2020-05-26 14:00:00
What is pip? pip is the standard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library. This course is an introduction to pip for new Pythonistas.
Kushal Das: Using Rust to access Internet over Tor via SOCKS proxy đŠ
2020-05-26 09:46:36
Tor provides a SOCKS proxy so that you can have any application using the same to connect the Onion network. The default port is 9050. The Tor Browser also provides the same service on port 9150. In this post, we will see how can we use the same SOCKS proxy to access the Internet using Rust.
Catalin George Festila: Python Qt5 - PyQt5 and PyGame compatibility with source code.
2020-05-26 09:11:32
This tutorial tries to solve from the objectives related to solving and stabilizing compatibility errors between PyQt4 and PyQt5 and creating a common interface between PyQt5 and PyGame.There is always the same problem in programming when the developer for some reason has to change classes, methods and functions and reusing the old code is no longer valid.In this case, common or other errors
Tryton News: Security Release for issue9351
2020-05-26 08:30:00
@ced wrote:
S. Lott: Modern Python Cookbook 2nd ed -- big milestone
2020-05-26 08:00:07
Whew.<br /><br />Chapter rewrites finished.<br /><br />Technical reviews in process.<br /><br />Things are going pretty well. Look for Packt to publish this in the next few months. Details will be posted.<br /><br />Now. For LinkedIn Learning course recordings.
Podcast.__init__: Dependency Management Improvements In Pip's Resolver
2020-05-25 23:32:12
Dependency management in Python has taken a long and winding path, which has led to the current dominance of Pip. One of the remaining shortcomings is the lack of a robust mechanism for resolving the package and version constraints that are necessary to produce a working system. Thankfully, the Python Software Foundation has funded an effort to upgrade the dependency resolution algorithm and user experience of Pip. In this episode the engineers working on these improvements, Pradyun Gedam, Tzu-Ping Chung, and Paul Moore, discuss the history of Pip, the challenges of dependency management in Python, and the benefits that surrounding projects will gain from a more robust resolution algorithm. This is an exciting development for the Python ecosystem, so listen now and then provide feedback on how the new resolver is working for you.
Luke Plant: Keyword-only arguments in Python
2020-05-25 21:42:33
Keyword-only arguments are a feature that has been around since Python 3.0. But Iâve seen and used them much less use that I could have. They are described in PEP 3102, which is pretty readable, but I think they could benefit from more exposure with examples and rationale.
Will McGugan: Rich gets Richer
2020-05-25 14:03:12
Since my last post on Rich there have been a number of improvements. Here are the major highlights:
Real Python: Creating and Modifying PDF Files in Python
2020-05-25 14:00:00
The PDF, or Portable Document Format, is one of the most common formats for sharing documents over the Internet. PDFs can contain text, images, tables, forms, and rich media like videos and animations, all in a single file.
Stack Abuse: The Factory Method Design Pattern in Python
2020-05-25 12:30:00
In this article, we'll be diving into the Factory Method Design Pattern, implemented in Python.
PSF GSoC students blogs: [Community Bonding Period] What is Automatic Differentiation?
2020-05-25 11:18:53
<meta charset="utf-8">The optimization process of deep learning models is based on the gradient descent method. Deep learning frameworks such as PyTorch and Tensorflow can be divided into three parts: model api, gradient calculation and gpu acceleration. Gradient calculation plays an important role, and the core technology of this part is automatic differentiation.
Codementor: Python Regex in a nutshell
2020-05-25 09:47:09
Demystifying Python Regular Expression
Mike Driscoll: PyDev of the Week: Cristi Vlad
2020-05-25 05:05:46
This week we welcome Cristi Vlad (@CristiVlad25) as our PyDev of the Week! Cristi teaches cybersecurity with Python on his Youtube Channel. He has also authored some books and writes on his blog. You can see his books there too.
Full Stack Python: Reporting Exceptions in Python Scripts with Sentry
2020-05-25 04:00:00
Python scripts are the glue that keep many applications and their infrastructure running, but when one of your scripts throws an exception you may not know about it immediately unless you have a central place to aggregate the errors. That's where adding Sentry can solved this distributed error logging problem.
Peter Hoffmann: DuckDB vs Azure Synapse SQL-on-Demand with parquet
2020-05-25 00:00:00
Short Disclaimer: This post is comparing apples to oranges, because DuckDB is an embedded database designed to execute analytical SQL queries on your local machine, whereas Azure Synapse SQL-on-Demand is Microsoft new cloud offering for a serverless SQL on-demand (preview) endpoint to query data in the Azure Blob Store/Data Lake.
Peter Hoffmann: Using turbodbc to access Azure Synapse SQL-on-Demand endpoints
2020-05-25 00:00:00
Azure Synapse SQL-on-Demand pools can be accessed though an odbc compatible client from python.
Codementor: Consistent Hashing
2020-05-24 17:12:01
Consistent hashing is a hashing technique that performs really well when operated in a dynamic environment where the distributed system scales up and scales down frequently. The core concept of...
Test and Code: 114: The Python Software Foundation (PSF) Board Elections - Ewa Jodlowska / Christopher Neugebauer
2020-05-24 17:00:00
"The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers."
Ned Batchelder: What I think is good and bad
2020-05-24 11:23:00
Iâm in the #python IRC channel on Freenode a lot. The people there are often quite opinionated. Julian had the idea of processing the logs to see what we thought was good, and what was bad, using sophisticated sentiment analysis.
Erik Marsja: How to Import Historical Stock Prices Into A Python Script Using the IEX Cloud API
2020-05-24 11:01:00
The post How to Import Historical Stock Prices Into A Python Script Using the IEX Cloud API appeared first on Erik Marsja.
Catalin George Festila: Python 3.8.3 : A brief introduction to the Celery python package.
2020-05-24 09:30:28
The development team tells us:
Celery is a simple, flexible, and reliable distributed system to process vast amounts of messages, while providing operations with the tools required to maintain such a system.
To do that Celery uses tasks.
These task queues are used as a mechanism to distribute work across threads or machines using brokers.
A task a client puts a message on the queue and the broker
Kushal Das: A few new generation command line tools
2020-05-24 02:29:31
Many of us live on the terminal. We use tools which allows us to do things faster and let us stay productive. Most of these tools are old. Sometimes we do pick up a few new generation command line tools. Here is a small list of tools I am using daily. All of these are written in Rust .
Armin Ronacher: My Standard Desktop
2020-05-24 00:00:00
Like many others I'm spending a lot more time working from home now. This in no way is a new situation for me, but I figured I might as well write a bit about how I work from home given the increased interest. Mostly because after seeing so many complex dev setups recently I wanted to share something that's largely bland.
Zero-with-Dot (Oleg ƻero): Financial Independence - simulating ODEs with python
2020-05-23 22:00:00
Imagine one day you wake up and you know you are free to do whatever you like for the rest of your life⊠and⊠money is no longer a problem. You became truly financially independent and you no longer need to work to make it the next year. Does it sound appealing?
Weekly Python StackOverflow Report: (ccxxix) stackoverflow python report
2020-05-23 12:58:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-05-23 12:57:35 GMT
Codementor: Difference between Map and Filter functions in Python
2020-05-22 22:36:39
Difference beween Map and Filter Python
Codementor: Building Datagrid for CRUD in Flask in PythonGrid
2020-05-22 22:02:47
Make beautiful and fully customizable datagrid for CRUD in Python web frameworks in less than 5 minutes with PythonGrid.
Anwesha Das: Gnome wins the battle against the patent troll
2020-05-22 21:52:16
The Gnome Foundation settled the dispute with Rothschild Patent Imaging (RPIL), RPIL agrees not to sue Gnome further for any intellectual property infringement. RPIL also signed to an undertaking to that effect.
Codementor: 10 Tips to avoid getting Blocked while Scraping Websites
2020-05-22 21:09:34
In this post we are going to understand how we can avoid getting blocked while scraping
Learn PyQt: Transmit extra data with signals in PyQt5 & PySide2
2020-05-22 16:09:24
Signals are a neat feature of Qt that allow you to pass messages between different components in your applications.
Marius Gedminas: Booting ISO images, 2020 edition
2020-05-22 15:57:21
Now that Ubuntu 20.04 LTS is out, it was time to update my bootable USB drive with a bunch of ISO images. Except I got tired of editing grub.cfg by hand. So I wrote a script.
Peter Bengtsson: Check your email addresses in Python, as a whole
2020-05-22 14:53:15
So recently, in MDN, we changed the setting WELCOME_EMAIL_FROM. Seems harmless right? Wrong, it failed horribly in runtime and we didn't notice until it was in production. Here's the traceback:
Real Python: The Real Python Podcast â Episode #10: Python Job Hunting in a Pandemic
2020-05-22 12:00:00
Do you know someone in the Python community who recently was let go from their job due to the pandemic? What does the job landscape currently look like? What are skills and techniques that will help you in your job search? This week we have Kyle Stratis on the show to discuss how he is managing his job search after just being let go from his data engineering job. Kyle is a member of the Real Python team and has written several articles for the site.
Zato Blog: Invoking Zato Python microservices with OpenAPI
2020-05-22 09:54:40
One of the exciting additions of the upcoming Zato 3.2 release is the ability to invoke services through OpenAPI endpoints without a need for creation of REST channels explicitly - read more for details.
PSF GSoC students blogs: test
2020-05-21 17:43:43
test
Stefan Behnel: ⊠and benchmarks
2020-05-21 17:41:00
Kevin Modzelewskis has written a blog post where (as I understand it) he is trying to give reasons why Python (specifically the CPython implementation) is perceived as slow. For this, he is timing variations of the following microbenchmark:
Dataquest: New Course: NumPy for Data Engineers
2020-05-21 17:04:14
We've just launched a new interactive online course that'll take you from zero to pro with NumPy in the context of data engineering â dive in!
Kushal Das: Securing your Elastic services using authenticated onion services
2020-05-21 13:40:11
Last year I set up an ElasticSearch box to monitor a few of my servers. The goal was to learn the basics of the elastic ecosystem. I know how powerful it is but never played enough with it before.
Hynek Schlawack: Waiting in asyncio
2020-05-21 00:00:00
One of the main appeals of using asyncio is being able to fire off many coroutines and run them concurrently. How many ways do you know for waiting for their results?
Matt Layman: Switch A Django Project To Use Pytest - Building SaaS #57
2020-05-21 00:00:00
In this episode, I replaced the default Django test runner to use pytest. We walked through installation, configuration, how to change tests, and the benefits that come from using pytest.
We started by looking at the current state of the test suite to provide a baseline to compare against. After that, I went to PyPI to find the version of pytest-django that we wanted to install. I added the package to my requirements-dev.
Codementor: 5 Simple Python Tricks You Need to Know
2020-05-20 19:17:00
Ease your code with python tricks
1
CubicWeb: Report of May 19th Cubicweb Meeting
2020-05-20 16:39:12
Hi everyone,
Codementor: Automate the shit
2020-05-20 15:17:30
Yup. Automation is the key. Why bother to do boring tasks when you can automate it?Automation=Less hard work+Time saverIn this very first blog, I will share how I automate the proces
Codementor: How to Process Headers using FastAPI
2020-05-20 14:19:40
FastAPI makes processing Headers very easy, just like everything else. There are two ways to process headers with FastAPI.
Real Python: Python Community Interview With Russell Keith-Magee
2020-05-20 14:00:00
Today Iâm joined by Russell Keith-Magee. Russell is a Django core developer and the founder and maintainer of the BeeWare project. In the interview, we talk about his mission to help Python become a feasible option for writing and packaging mobile applications as well as his passion for open source projects. We also touch on his PyCon 2020 talk, which has since been recorded and uploaded to the PyCon YouTube channel.
Mike Driscoll: Creating a Cross-Platform Image Viewer with wxPython (Video)
2020-05-20 05:05:09
Learn how to create a basic cross-platform image viewer using wxPython and Python
Wing Tips: Conditional Breakpoints Wing's Python Debugger
2020-05-20 01:00:00
This Wing Tip describes how to use conditional breakpoints in Wing Pro to stop in Python code only when certain conditions are true. This is useful for isolating a single case out of many that may be processed by the same code in a particular run, in order to investigate how that case is being handled.
PyCoderâs Weekly: Issue #421 (May 19, 2020)
2020-05-19 19:30:00
#421 â MAY 19, 2020 View in Browser »
Real Python: Convert a Python String to int
2020-05-19 14:00:00
Integers are whole numbers. In other words, they have no fractional component. Two data types you can use to store an integer in Python are int and str. These types offer flexibility for working with integers in different circumstances. In this course, youâll learn how you can convert a Python string to an int. Youâll also learn how to convert an int to a string.
Reuven Lerner: Understanding bitwise operations in Python
2020-05-19 12:30:17
Have you ever wondered about bitwise operations in Python? Theyâre not that common nowadays, but they are still in the language, and can be useful in some cases.
Catalin George Festila: Python 3.8.3 : Create shortcuts and add python to the context menu.
2020-05-19 12:00:38
The tutorial for today is a simple script for python user.
If you run this python script in your folder you will get an python shortcut to the python and the python to the Context Menu in Windows 10.
The Context Menu can be used with right click from your mouse, see the screenshot.
This script can also be used with any executable if you make some changes.
import os
import pythoncom
from
Talk Python to Me: #265 Why is Python slow?
2020-05-19 08:00:00
No <p> found.
Python Bytes: #182 PSF Survey is out!
2020-05-19 08:00:00
No <p> found.
Python Insider: Python 3.9.0b1 is now available for testing
2020-05-19 05:47:16
No <p> found.
Montreal Python User Group: MontĂ©al-Python 77 â Harmonious Serinette
2020-05-19 04:00:00
Pythonistas, Pythonistinas, we sneaked out of our burrows and crawled the Montréal-Python 76 gathering. We would have preferred to meet in person, but the virtual conference revived our passion for Python nonetheless.
Karim Elghamrawy: What is Python used for?
2020-05-19 03:51:43
So what is Python really used for? If you are really asking this question, then I am going to assume that you are a beginner who is not entirely sure if investing your time learning Python is a good choice. I totally get it. When you are new to the world of programming, it is [...]
Martijn Faassen: Roll Your Own Frameworks
2020-05-18 19:50:38
When I build an application, I build frameworks along the way. I recently realized that not everybody thinks this is normal, so I thought I'd give a description of what I do and why I think it's a good idea.
NumFOCUS: Moderna, IMC Renew NumFOCUS Corporate Sponsorships
2020-05-18 19:48:24
Monday, May 18th, 2020 Two NumFOCUS corporate supporters recently made fresh commitments to our open source mission. Trading firm IMC and biotechnology company Moderna Therapeutics each renewed their corporate sponsorships earlier this month. Both companies have supported NumFOCUS since 2018 at our Silver and Bronze sponsorship levels, respectively. Asked about his companyâs decision to partner [âŠ]
NumFOCUS: NumFOCUS Projects helping combat the COVID-19 pandemic
2020-05-18 14:58:09
Open source tools are uniquely positioned to help combat the ongoing COVID-19 pandemic through their adaptable and collaborative nature. NumFOCUS sponsored and affiliated projects are being used on a global scale to meet the needs of researchers and data scientists. Our projects are being used in groundbreaking scientific efforts to create response models, visualize and [âŠ]
Real Python: Python vs JavaScript for Pythonistas
2020-05-18 14:00:00
If youâre serious about web development, then youâll need to learn about JavaScript at some point. Year after year, numerous surveys have shown that JavaScript is one of the most popular programming languages in the world, with a large and growing community of developers. Just like Python, modern JavaScript can be used almost anywhere, including the front end, back end, desktop, mobile, and the Internet of Things (IoT). Sometimes it might not be an obvious choice between Python vs JavaScript.
Podcast.__init__: Easy Data Validation For Your Python Projects With Pydantic
2020-05-18 12:09:10
One of the most common causes of bugs is incorrect data being passed throughout your program. Pydantic is a library that provides runtime checking and validation of the information that you rely on in your code. In this episode Samuel Colvin explains why he created it, the interesting and useful ways that it can be used, and how to integrate it into your own projects. If you are tired of unhelpful errors due to bad data then listen now and try it out today.
PyBites: Assertions About Exceptions With pytest.raises()
2020-05-18 07:14:00
I got some feedback related to Bite 243 recently. Since that's a testing bite, it means working with pytest and specifically checking for exceptions with pytest.raises(). The comment got me to look at this handy feature of pytest with fresh eyes, and it seemed like a trip worth sharing!
Mike Driscoll: PyDev of the Week: Qiusheng Wu
2020-05-18 05:05:53
This week we welcome Qiusheng Wu (@giswqs) as our PyDev of the Week! Qiusheng has developed several Python packages that you can check out on Github. Specifically they are geemap, lidar, whitebox and they are used for advanced geospatial analysis. Qiusheng also has a website where you can learn more about his research and interests.
Montreal Python User Group: MP-76 â Hackathon recap
2020-05-18 04:00:00
Pythonistas, The Tonic Glacier hackathon of our 76th Montréal-Python event wrapped up on Sunday May 3rd on a very positive note. Hackers worked on three different project related to the COVID-19 crisis, notably:
Codementor: Python Caches Integers
2020-05-17 17:34:24
An integer in Python is not a traditional 2, 4, or 8-byte implementation but rather it is implemented as an array of digits in base 2^30 which enables Python to support super long integers...
Catalin George Festila: Python 3.8.3 : Simple example to fix maximum recursion depth exceeded.
2020-05-17 03:40:00
This short tutorial try to solve simple and easy the stack limit for recursion without using advanced programming techniques.
sys.setrecursionlimit(limit)
Set the maximum depth of the Python interpreter stack to limit. This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python.
This can be done in most cases with:
import sys
sys.setrecursionlimit(1976)
Doug Hellmann: beagle 0.2.2
2020-05-16 13:42:49
No <p> found.
Weekly Python StackOverflow Report: (ccxxviii) stackoverflow python report
2020-05-16 11:19:00
No <p> found.
Davy Wybiral: Raspberry Pi 4 Complete Guide
2020-05-16 08:55:39
No <p> found.
Python Engineering at Microsoft: Connect with us at Microsoft Build digital event
2020-05-15 21:51:20
We in the Python team are excited to be joining Microsoft Build 2020, which is starting next Tuesday, May 19. During a global pandemic, Build has turned into a digital-only event, running for 48 continuous hours, that is open to anyone around the world, at no cost.
RMOTR: Python Concurrency Tutorial
2020-05-15 19:01:01
This is a quick guide/tutorial on how to effectively write concurrent programs using Python. Concurrency in Python can be confusing. There are multiple modules (threading, _thread, multiprocessing, subprocess). Thereâs also the much hated GIL, but only for CPython (PyPy and Jython donât have a GIL). Collections are not thread safe, except for some implementation details with CPython.
Anwesha Das: Looking at the process through psutil and Python
2020-05-15 17:56:42
Lately I have been trying to improve my system administration skills. I needed to monitor some of the running processes. To do that I used psutil module in Python. It is a cross platform module to parse the information about running process. It also provides information on how the system is being utilized. In the area of - CPU, memory, disks, network, sensors. The name psutil is the abbreviation for - process and system utilities. It supports the following platforms:
PyCharm: 5 takeaways from the Python Developer Survey 2019
2020-05-15 17:10:42
Last week the Python Software Foundation (PSF) published the results of the Python Developer Survey 2019. The research was conducted in the fall of 2019 and collected answers from over 24 thousand Python developers from 150+ countries. The Python Developers Survey is an official instrument endorsed by the PSF and serves as a reference to understand what is going on in the Python world.
Test and Code: 113: Technical Debt - James Smith
2020-05-15 17:00:00
Technical debt has to be dealt with on a regular basis to have a healthy product and development team.
Kushal Das: Single file implementation of PEP582
2020-05-15 14:11:04
During 2018 CPython core developer sprint, I worked on the PEP 582. The goal was to help all the newbie learners during their first day writing Python by skipping the whole complexity of virtual environments. The PEP contains a reference implementation. During the sprint itself, a few core developers did not like the idea of yet another feature focusing only on newbies. Instead, there was another discussion to create a single tool to solve all the problems in the packaging world.
Real Python: The Real Python Podcast â Episode #9: Leveling Up Your Python Literacy and Finding Python Projects to Study
2020-05-15 12:00:00
In your quest to become a better developer, how do you find Python code that is at your reading level? What are good code bases or projects to study? What are the things holding you back from leveling up your Python literacy? This week we have Cecil Phillip on the show to discuss all of these common questions. Cecil is a Senior Cloud Advocate at Microsoft.
Catalin George Festila: IronPython 2.7.7 : Intro on RevitPythonShell.
2020-05-15 10:11:56
This is one of the several ways to use RevitPythonWrapper:pyRevit;RevitPythonShell;Dynamo;
This tool help you to use python with the Revit tool and can be found at the GitHub webpage.
They say:
The RevitPythonShell adds an IronPython interpreter to Autodesk Revit and Vasari.
The RevitPythonShell (RPS) lets you to write plugins for Revit in Python, my favourite scripting language! But even
Reuven Lerner: Todayâs lesson in âPython for non-programmersâ: Dictionaries
2020-05-15 09:03:26
My free, weekly âPython for non-programmersâ course continues!
David Szotten: Nginx caching with django
2020-05-14 23:00:00
For a small django site I run, I'd like to add nginx caching in front of my django server. Here's the setup I ended up with.
Python Software Foundation: Lightning Talks Part 2 - Python Language Summit 2020
2020-05-14 13:46:08
No <p> found.
Python Circle: Displaying custom 404 error (page not found) page in Django 2.0
2020-05-14 13:44:55
How to create custom 404 error page in Django. Handler404 example Django 2.0. Page not found error in Django 2.0. Custom Error handlers in Django 2.0
Python Circle: Designing custom 404 and 500 error pages in Django
2020-05-14 13:44:55
How to create your own awesome 404 error or 500 error page in django. Step by step guide to help you design your own 404 not found error page in Django. Design your own 500 internal server error page in Django application
Codementor: Top Python Testing Frameworks In 2020 For Selenium Automation
2020-05-14 11:38:40
It's hard to choose the right Python testing framework in 2020 for your selenium automation testing needs. Read now to find the right Python automation framework
Catalin George Festila: Python 3.8.3 : Pyxel free game engine.
2020-05-14 09:38:24
Pyxel is a free game engine is build for create old fashioned pixel art style games easily.
Pyxel is published under MIT License.
This allow you to use 2D sprites, sound and interactions.
The project can be found at the GitHub webpage.
The basic features are:
Run on Windows, Mac, and Linux
Code writing with Python3
Fixed 16 color palette
256x256 sized 3 image banks
256x256 sized 8
Django Weblog: Django 3.1 alpha 1 released
2020-05-14 08:18:15
Django 3.1 alpha 1 is now available. It represents the first stage in the 3.1 release cycle and is an opportunity for you to try out the changes coming in Django 3.1.
Python Bytes: #181 It's time to interrogate your Python code
2020-05-14 08:00:00
No <p> found.
Python Insider: Python 3.8.3 is now available
2020-05-14 04:48:27
No <p> found.
Matt Layman: How To Fix A Bug - Building SaaS #56
2020-05-14 00:00:00
In this episode, we picked an issue from GitHub and worked on it. I explained the flow of using test driven development to show how the bug existed in an automated test. We wrote the test, then fixed the code. After that, we did some test refactoring to clean things up.
We looked at what the issue was and how it is related to the handling of the Course model in a weekly view in the app.
Codementor: How to Write Middleware using FastAPI
2020-05-13 23:39:44
For one of my project, I needed to host an API service on the RapidAPI platform.
In order to make sure that all the requests to the application are routed via
RapidAPI I needed to check special header sent by RapidAPI.
Karim Elghamrawy: Python OOP Course is LIVE
2020-05-13 17:04:10
I am excited to announce that the Python OOP course is now LIVE. You can check it out here :)
Python Software Foundation: Call for Volunteers! Python GitHub Migration Work Group
2020-05-13 16:53:10
No <p> found.
Django Weblog: Django Google Summer of Code Students 2020
2020-05-13 14:43:15
For the 13th year, Django is participating in Google Summer of Code (GSoC), a program focused on bringing more student developers into open source software development. Over the years, the mentorship provided by Django community members and the effort of motivated students have led to major new features as well as overall improvements to the Django codebase.
Real Python: Python Community Interview With Christopher Bailey
2020-05-13 14:00:00
Today Iâm speaking to Christopher Bailey, the host of The Real Python Podcast. We dig into his past in music and video production as well as his approach to producing online video content. Christopher also provides some helpful tips and tricks for any budding content creator looking to create their first coding video tutorials.
Python Software Foundation: 6 Ways Salesforce Gets Things Done with Python
2020-05-13 12:13:58
No <p> found.
Python Software Foundation: Capital One - Lessons From Adopting Python as a Team
2020-05-13 12:13:47
No <p> found.
PyCon: A message from Google to the Python community
2020-05-13 12:12:49
No <p> found.
CubicWeb: A roadmap to Cubicweb 3.28 (and beyond)
2020-05-13 09:03:00
Yesterday at Logilab we had a small meeting to discuss about a roadmap to Cubicweb 3.28 (and beyond), and we would like to report back to you from this meeting.
Codementor: Create your first web scraper with ScrapingBee API and Python
2020-05-13 07:20:57
Learn how to use cloud based Scraping API to scrape web pages without getting blocked.
Brett Cannon: Thoughts on where tools fit into a workflow
2020-05-13 03:40:44
I am going to admit upfront that this is a thought piece, a brain dump, me thinking out loud. Do not assume there is a lesson here, nor some goal I have in mind. No, this blog post is providing me a place to write out what tools I use when in my ideal development workflow (and yes, this will have a bias towards the Python extension for  VS Code đ).
PyCoderâs Weekly: Issue #420 (May 12, 2020)
2020-05-12 19:30:00
#420 â MAY 12, 2020 View in Browser »
Python Engineering at Microsoft: Python in Visual Studio Code â May 2020 Release
2020-05-12 17:47:09
We are pleased to announce that the May 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about  Python support in Visual Studio Code in the documentation. Â
Mike Driscoll: Learn How to Log with Python (Video)
2020-05-12 14:17:54
Learn how to use Pythonâs logging module in this screencast:
Real Python: Improve Your Tests With the Python Mock Object Library
2020-05-12 14:00:00
When youâre writing robust code, tests are essential for verifying that your application logic is correct, reliable, and efficient. However, the value of your tests depends on how well they demonstrate these criteria. Obstacles such as complex logic and unpredictable dependencies make writing valuable tests difficult. The Python mock object library, unittest.mock, can help you overcome these obstacles.
Catalin George Festila: Python 3.8.3 : Create shortut and add python to the Context Menu.
2020-05-12 10:43:04
The tutorial for today is a simple script for python user.
If you run this python script in your folder you will get an python shortcut to the python and the python to the Context Menu in Windows 10.
The Context Menu can be used with right click from your mouse, see the screenshot.
This script can also be used with any executable if you make some changes.
import os
import pythoncom
from
Talk Python to Me: #264 10 tips every Flask developer should know
2020-05-12 08:00:00
No <p> found.
Wing Tips: Moving the Program Counter in Wing's Python Debugger
2020-05-12 01:00:00
This Wing Tip describes how to move the program counter while debugging Python code in Wing Personal and Wing Pro. This is a good way to go back and re-execute previously visited Python code, in order to trace through to the cause of a bug without having to restart the debug process.
Daniel Roy Greenfeld: Two Scoops of Django 3.x Released
2020-05-11 16:30:00
Podcast.__init__: Managing Distributed Teams In The Age Of Remote Work
2020-05-11 16:20:49
More of us are working remotely than ever before, many with no prior experience with a remote work environment. In this episode Quinn Slack discusses his thoughts and experience of running Sourcegraph as a fully distributed company. He covers the lessons that he has learned in moving from partially to fully remote, the practices that have worked well in managing a distributed workforce, and the challenges that he has faced in the process. If you are struggling with your remote work situation then this conversation has some useful tips and references for further reading to help you be successful in the current environment.
Real Python: Python eval(): Evaluate Expressions Dynamically
2020-05-11 14:00:00
Pythonâs eval() allows you to evaluate arbitrary Python expressions from a string-based or compiled-code-based input. This function can be handy when youâre trying to dynamically evaluate Python expressions from any input that comes as a string or a compiled code object.
Catalin George Festila: Python Qt5 - Simple text editor with QPlainTextEdit.
2020-05-11 12:17:51
I haven't played python in a long time. It can be seen after the last article.
Today I installed Python 3.8.3 and my favorite PyQt5 and started to see how much I forgot from what I knew.
Installing PyQt5 python mode was simple.
pip3 install PyQt5
Collecting PyQt5
Downloading PyQt5-5.14.2-5.14.2-cp35.cp36.cp37.cp38-none-win_amd64.whl (52.9 MB)
|ââââââââââââââââââââââââââââââââ| 52.9 MB 80
Julien Danjou: Interview: The Performance of Python
2020-05-11 11:40:56
Earlier this year, I was supposed to participate to dotPy, a one-day Python conference happening in Paris. This event has unfortunately been cancelled due to the COVID-19 pandemic.
PyCharm: Interview: PyCharm helping developers to navigate complexity and be more productive
2020-05-11 10:04:56
Developing in Python is the dream job of many developers out there. According to the latest survey from StackOverflow, Python is the second most âlovedâ language, and the âmost wantedâ one. Now, imagine working for a Python software house where you have the opportunity to be part of many different projects, sometimes even simultaneously? It sounds amazing, right? But, of course, it also brings some challenges. You need to communicate more, be aware of different project scopes, take decisions under different technology requirements, and much more. Complexity is also closely related to productivity. While some people excel in this scenario others spend more time finding their way around.
Codementor: đ€ Interactive Machine Learning Experiments
2020-05-11 05:06:18
This is a collection of interactive machine-learning experiments. Each experiment consists of đïž Jupyter/Colab notebook (to see how a model was trained) and đš demo page (to see a model in action right in your browser).
Mike Driscoll: PyDev of the Week: Jan Giacomelli
2020-05-11 05:05:11
This week we welcome Jan Giacomelli (@jangiacomelli) as our PyDev of the Week. Jan is an entrepreneur and blogs about Python. You can see what projects Jan contributes to over on Github.
The Three of Wands: Building Pyrseia III: Server Middleware, Client Senders, CLI and InApp Validators
2020-05-11 00:25:00
This is the third article in the Pyrseia series. The others are:
Matt Layman: Episode 5 - How To Use Forms
2020-05-11 00:00:00
On this episode, we will learn about HTML forms and Django’s form system to use when collecting input from users.
Listen at djangoriffs.com.
Last Episode On the previous episode, we looked at templates, the primary tool that Django provides to build user interfaces in your Django app.
Web Forms 101 HTML can describe the type of data that you may want your users to send to your site. Collecting this data is done with a handful of tags.
Abhijeet Pal: How To Upload Images With Django
2020-05-10 15:55:12
One of the most common requirement in any modern web application is the ability to take images or pictures from the users as input and save them on the server however Letting users upload files can have big security implications. In this article, we will learn how to upload images in a Django application. Uploading Images in Django Django has two model fields that allow user uploads FileField and ImageField basically ImageField is a specialized version of FileField that uses Pillow to confirm that a file is an image. Letâs, start by creating models. models.py from django.db import models class Image(models.Model): title = models.CharField(max_length=200) image = models.ImageField(upload_to='images') def __str__(self): return self.title The image column is an ImageField field that works with the Djangoâs file storage API, which provides a way to store and retrieve files, as well as read and write them. The upload_to parameters specify the location where images will be stored which for this model is MEDIA_ROOT/images/ Setting dynamic paths for the pictures is also possible. image = models.ImageField(upload_to='users/%Y/%m/%d/', blank=True) This will store the images in date archives âŠ
Python Software Foundation: CPython on Mobile platforms - Python Language Summit 2020
2020-05-10 15:23:44
No <p> found.
EuroPython: EuroPython 2020: First part of the program available
2020-05-10 15:07:23
Our program work group (WG) has been working hard over the last week to select the first batch of sessions for EuroPython 2020, based on your talk voting and our diversity criteria.
Will McGugan: Real working hyperlinks in the terminal with Rich
2020-05-10 14:38:44
Since releasing Rich 1.0.0 I've discovered that terminals support hyperlinks. And I don't mean the helpful highlighting of URLs that most terminals do, I mean actual HTML-like hyperlinks that launch a browser.
Python Circle: atexit with example
2020-05-10 13:44:28
There is an option in python where you can execute a function when the interpreter terminates. Here we will see how to use atexit module.
"Menno's Musings": Better Emacs Config: use-package
2020-05-10 11:27:21
use-package is an Emacs package which allows packages to be loaded declaratively. It's been around for ages and I've seen it used in other people's configurations, but I've only recently paid some real attention to it. I wish I'd learned how to use it sooner - it's really improved my Emacs config.
Naomi Ceder: Stepping back…
2020-05-10 01:34:41
As the PSF election cycle begins, Iâd like to share the news that I wonât be running for re-election to the board of directors.
Weekly Python StackOverflow Report: (ccxxvii) stackoverflow python report
2020-05-09 14:31:00
No <p> found.
"Coder's Cat": Understanding Recursion and Continuation with Python
2020-05-09 04:58:00
Sandro Tosi: It's a waiting game... but just how long we gotta wait?
2020-05-08 23:08:26
No <p> found.
Test and Code: 112: Six Principles of Readable Tests - David Seddon
2020-05-08 19:15:00
"Code is read much more often than it is written." - Guido van Rossum This is true for both production code and test code.
EuroPython: EuroPython 2020: Second call for proposals (CFP)
2020-05-08 13:20:15
After participating in several other online events in Europe, we found that there is a lot of interest in these events from other time zones as well. This is a real advantage of running an online event: without the need to travel, joining an event becomes much easier.
PyCharm: PyCharm 2019.3.5
2020-05-08 12:41:04
If you currently run PyCharm version 2019.3, this release comes with multiple bug fixes to improve your experience. Get it from within PyCharm (Help | Check for Updates), using JetBrains Toolbox, or by downloading the new version from our website.
Real Python: The Real Python Podcast â Episode #8: Docker + Python for Data Science and Machine Learning
2020-05-08 12:00:00
Docker is a common tool for Python developers creating and deploying applications, but what do you need to know if you want to use Docker for data science and machine learning? What are the best practices if you want to start using containers for your scientific projects? This week Christopher's guest is Tania Allard, she is a Sr. Developer Advocate at Microsoft focusing on Machine Learning, scientific computing, research and open source. Tania has created a talk for the PyCon US 2020 which is now online. The talk is titled "Docker and Python: Making them Play Nicely and Securely for Data Science and ML." Her talk draws on her expertise in the improvement of processes, reproducibility and transparency in research and data science. They discuss a variety of tools for making your containers more secure and results reproducible. Tania is passionate about mentoring, open-source, and its community. She is an organizer for Mentored Sprints for Diverse Beginners, and she talks about the upcoming online sprints for PyCon US 2020. Christopher and Tania also discuss her plans to start a podcast.
Reuven Lerner: Making sense of generators, coroutines, and âyield fromâ in Python
2020-05-08 11:45:45
Consider the following (ridiculous) Python function:
Python Bytes: #180 Transactional file IO with Python and safer
2020-05-08 08:00:00
No <p> found.
Erik Marsja: Seaborn Line Plots: A Detailed Guide with Examples (Multiple Lines)
2020-05-07 17:46:08
The post Seaborn Line Plots: A Detailed Guide with Examples (Multiple Lines) appeared first on Erik Marsja.
Reuven Lerner: Python for non-programmers continues!
2020-05-07 17:05:25
The next session of my free, weekly, live âPython for non-programmersâ course continues tomorrow, on May 8th.
EuroPython: Sharing our research and licenses for going online with Python events
2020-05-07 13:44:07
europythonsociety:
EuroPython Society: Sharing our research and licenses for going online with Python events
2020-05-07 13:43:33
In March 2020, we had to make a tough decision on whether to cancel EuroPython 2020 or run it online. Since we did not want to lose continuity and all the work we had already put into the in-person event, we decided to go for an online version.
Python Software Foundation: Core Workflow updates - Python Language Summit 2020
2020-05-07 13:37:25
No <p> found.
PyCharm: PyCharm 2020.1.1
2020-05-07 09:04:49
PyCharm 2020.1.1 is out with fixes for small issues, including usability problems introduced by version 2020.1. Update from within PyCharm (Help | Check for Updates), using the JetBrains Toolbox, or by downloading the new version from our website.
Codementor: My Software Development Journey - Read Time: 4 Mins
2020-05-07 08:08:33
I talk about the various software developments from YouTubers that had plan a huge role in shaping my software development career while I provide an update of myself of what I had done now.
Matt Layman: Remodeling Data Relationships - Building SaaS #55
2020-05-07 00:00:00
No <p> found.
Real Python: How to Move a Django Model to Another App
2020-05-06 14:00:00
If youâve ever thought about refactoring your Django app, then you might have found yourself needing to move a Django model around. There are several ways to move a Django model from one app to another using Django migrations, but unfortunately none of them are straightforward.
Marcos Dione: python-box-dict-object-duality
2020-05-06 13:43:35
At work I massage a lot of JSON and YAML data. One of the annoyances of this is that all imported data is handled as dicts, so you end up with things horrible to type like:
PyCon: Sailing Past PyCon 2020 - Thoughts on Code and Community
2020-05-06 12:44:00
No <p> found.
Ian Ozsvald: Week note
2020-05-06 12:43:37
Well, mid-next-week note I guess. I gave another variant of my higher performance Python talk last night for PyDataUK to 250 live streamers, we had some good questions, cheers all.
Stack Abuse: map(), filter(), and reduce() in Python with Examples
2020-05-06 12:16:00
The map(), filter() and reduce() functions bring a bit of functional programming to Python. All three of these are convenience functions that can be replaced with List Comprehensions or loops, but provide a more elegant and short-hand approach to some problems.
PyBites: 7 Tips to Improve Your Error Handling in Python
2020-05-06 12:08:00
Proper error handling can make your Python code simpler, more readable, and idiomatic. Here are 7 tips to help you.
EuroPython: EuroPython 2020: Call for Sponsors
2020-05-06 11:41:07
Reach out to enthusiastic Python developers, users and professionals worldwide by presenting your company at the first online EuroPython conference ever, from July 23-26!
PyCharm: New Database Features in PyCharm 2020.1
2020-05-06 10:16:25
PyCharm 2020.1 comes with new Database export features that make exporting data easier. You can now see previews of the data that you want to export, letting you have a quick glance of what the data will look like.
Talk Python to Me: #263 SEO for developers
2020-05-06 08:00:00
No <p> found.
PyCoderâs Weekly: Issue #419 (May 5, 2020)
2020-05-05 19:30:00
#419 â MAY 5, 2020 View in Browser »
Codementor: Working With JSON Data in Python
2020-05-05 17:46:27
Iterating the JSON Data, Converting Python Dictionary to JSON, Read the JSON data from the file, Writing the JSON data to file
Codementor: List Comprehension - Python
2020-05-05 16:31:49
List comprehension is a technique of creating a new list using other iterables and in fewer lines of codes.
Real Python: The Python print() Function: Go Beyond the Basics
2020-05-05 14:00:00
If youâre like most Python users, including us, then you probably started your Python journey by learning about print(). It helped you write your very own Hello Horld one-liner. You can use it to display formatted messages onto the screen and perhaps find some bugs. But if you think thatâs all there is to know about Pythonâs print(), then youâre missing out on a lot!
James Bennett: Variations on the Death of Python 2
2020-05-05 12:12:37
On April 20th, 2020, a release manager named Benjamin Peterson smashed the âpublishâ button on Python 2.7.18.
Python Software Foundation: Python Developers Survey 2019 Results
2020-05-05 11:00:08
No <p> found.
Codementor: How and why I built TraceItOut - A video summarizer
2020-05-05 03:57:13
About me
I am a software development engineer who is currently working at Mentor Graphics, India. I have studied Computer Engineering from Thapar Institute of Engineering & Technology.
The problem...
Matt Layman: User Interaction With Forms
2020-05-05 00:00:00
No <p> found.
Tryton News: Tryton Release 5.6
2020-05-04 16:00:01
@ced wrote:
Python Software Foundation: Pythonâs migration to GitHub - Request for Project Manager Resumes
2020-05-04 15:53:54
No <p> found.
Reuven Lerner: Become more fluent with Python functions in just 15 weeks
2020-05-04 15:35:00
A new cohort of Weekly Python Exercise A2 (âFunctions for beginnersâ) starts tomorrow â Tuesday, May 5th. If youâve been using Python for less than one year, and want to write better, more powerful, more idiomatic functions that do more with less code â then this is the course for you.
Real Python: Using Python datetime to Work With Dates and Times
2020-05-04 14:00:00
Working with dates and times is one of the biggest challenges in programming. Between dealing with time zones, daylight saving time, and different written date formats, it can be tough to keep track of which days and times youâre referencing. Fortunately, the built-in Python datetime module can help you manage the complex nature of dates and times.
Chris Moffitt: Exploring an Alternative to Jupyter Notebooks for Python Development
2020-05-04 12:25:00
Jupyter notebooks are an amazing tool for evaluating and exploring data. I have been using them as an integral part of my day to day analysis for several years and reach for them almost any time I need to do data analysis or exploration. Despite how much I like using python in Jupyter notebooks, I do wish for the editor capabilities you can find in VS Code. I also would like my files to work better when versioning them with git.
Podcast.__init__: Maintainable Infrastructure As Code In Pure Python With Pulumi
2020-05-04 12:04:59
After you write your application, you need a way to make it available to your users. These days, that usually means deploying it to a cloud provider, whether thatâs a virtual server, a serverless platform, or a Kubernetes cluster. To manage the increasingly dynamic and flexible options for running software in production, we have turned to building infrastructure as code. Pulumi is an open source framework that lets you use your favorite language to build scalable and maintainable systems out of cloud infrastructure. In this episode Luke Hoban, CTO of Pulumi, explains how it differs from other frameworks for interacting with infrastructure platforms, the benefits of using a full programming language for treating infrastructure as code, and how you can get started with it today. If you are getting frustrated with switching contexts when working between the application you are building and the systems that it runs on, then listen now and then give Pulumi a try.
PyBites: Rockstar Python Developers Need Great communication Skills Too
2020-05-04 07:15:00
Mentoring children is a whole new challenge, and one that served to help me think about my own communication and empathy skills at work too.
Django Weblog: Django bugfix release: 3.0.6
2020-05-04 05:27:20
Today we've issued the 3.0.6 bugfix release.
Mike Driscoll: PyDev of the Week: Samuel Hinton
2020-05-04 05:05:44
This week we welcome Samuel Hinton (@samreayh) as our PyDev of the Week! Samuel has written quite a few projects in Python and given lots of talks on astronomy. If you are interested in either of those topics, then you should definitely check out his website or his Github profile.
Hynek Schlawack: Why You Should Document Your Tests
2020-05-04 00:00:00
Some projects have the policy that all tests must have an explanatory comment â including all of mine. At first, I found that baffling. If thatâs you right now, this article is for you.
Techiediaries - Django: Building Django 3 HTTP APIs with GraphQL and Graphene
2020-05-04 00:00:00
Python Software Foundation: Property-Based Testing for Python builtins and the standard library - Python Language Summit 2020
2020-05-03 18:53:34
No <p> found.
Will McGugan: How to get Rich with Python (a terminal rendering library)
2020-05-03 10:41:33
I'm happy to announce the release of version 1.0.0 of Rich - my Python library for fancy terminal rendering.
Test and Code: 111: Subtests in Python with unittest and pytest - Paul Ganssle
2020-05-02 15:30:00
In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test.
Weekly Python StackOverflow Report: (ccxxvi) stackoverflow python report
2020-05-02 12:36:00
No <p> found.
PyBites: My Favorite Career Development Book
2020-05-02 10:16:00
For me one of the most succinct pieces of career advice comes from Steve Martin:
Quansight Labs Blog: Highlights of the Ibis 1.3 release
2020-05-02 03:30:00
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!
Python Software Foundation: Should All Strings Become f-strings? - Python Language Summit 2020
2020-05-01 18:07:04
No <p> found.
PyCharm: The PyCharm YouTube channel is (soft)launched!
2020-05-01 17:00:10
Good news for Python developers and the PyCharm community! We are soft-launching today a dedicated YouTube channel for PyCharm where we will share weekly curated content including quick tips & tricks, webinars, interviews, and much more!
NumFOCUS: Yellowbrick Update â April 2020
2020-05-01 16:32:10
Yellowbrick released Version 1.1 on February 25, 2020. If you havenât yet upgraded simply type pip install yellowbrick -U or conda install -c districtdatalabs yellow-brick into your terminal/command prompt to get it. The major improvement in v1.1 is introducing quick methods or one-liners to generate your favorite ML plots more quickly with Yellowbrick. Dr. Rebecca [âŠ]
Anwesha Das: Dot Org is still a safe haven for the folks depending on dot org
2020-05-01 15:17:00
Today I woke up to great news.
Codementor: 4 Things Every Full Stack Developer Should Know
2020-05-01 15:14:31
What comes to your mind when you hear the word, full stack developer? Well, you might probably be thinking about someone who codes for a living. Where it is true up to a point, a full stack...
Python Software Foundation: Lightning Talks Part 1 - Python Language Summit 2020
2020-05-01 13:14:01
No <p> found.
Real Python: The Real Python Podcast â Episode #7: AsyncIO + Music, Origins of Black, and Managing Python Releases
2020-05-01 12:00:00
Want to learn more about AsyncIO in Python, with an example where you can see and hear events being triggered in real-time? This week Christopher interviews Ćukasz Langa. Ćukasz has created a talk for PyCon 2020 about using AsyncIO with Music. In this talk he shows live examples of coroutines, gathering, the event loop and events being triggered to create a piece of music. They talk about his role as the release manager for Python 3.8 and 3.9. He also provides background on the origins of his very popular, uncompromising code formatter, Black, and the types of problems it can solve inside of an organization. Ćukasz previously worked for Facebook, which is where he started Black. He talks about recently moving back to Poland. Ćukasz discusses his current work for Edge DB, building a new generation object-relational database.
BreadcrumbsCollector: @staticmethod considered a code smell
2020-05-01 08:00:00
Python offers quite a few built-in decorators that can be used to give methods of classes certain superpowers. @property turning method into a read-only field-like attribute is a classic example. Or @classmethod â a method that receives a class as a first argument, not an instance. Fun fact, this kind of method is usually called static method in other languages (e.g. Java, C#, C++ just to name a few).
Talk Python to Me: #262 Build a career in data science
2020-05-01 08:00:00
No <p> found.
Python Software Foundation: The 2020 Python Language Summit
2020-04-30 22:37:42
No <p> found.
Python Software Foundation: The path forward for typing - Python Language Summit 2020
2020-04-30 22:37:15
"There are a lot of PEPs about typing!" said Guido van Rossum at the Language Summit. Since 2014 there have been ten PEPs approved for Python's type-checking features. Two of them have been approved already this year: the relatively "esoteric" PEP 613: Explicit Type Aliases, and another that will have widespread impact, PEP 585: Type Hinting Generics In Standard Collections, written by Ćukasz Langa and mainly implemented by Van Rossum. Thanks to this PEP, types which had been defined like List[int] can now be spelled list[int], with a lowercase "L". As Van Rossum told the Python Language Summit, "We want to avoid a world where users have to remember, 'Here I have to use a capital-L List and here I use a lowercase-L list.'"
Python Software Foundation: CPython Documentation: The Next 5 Years - Python Language Summit 2020
2020-04-30 22:36:56
"Documentation is the way we communicate with each other," said Willing. "Historically, we've done a great job with documentation." But the environment is changing: Python's BDFL has retired, and Python's user base is expanding, becoming more global, and moving away (to some degree) from lower-level programming to higher-level applications. These changes impose new documentation burdens on the small core team. Willing said, "We don't scale well."
Python Software Foundation: HPy: a future-proof way of extending Python? - Python Language Summit 2020
2020-04-30 22:36:47
No <p> found.
Python Software Foundation: A formal specification for the (C)Python virtual machine - Python Language Summit 2020
2020-04-30 22:36:37
No <p> found.
Python Software Foundation: Replacing CPythonâs parser - Python Language Summit 2020
2020-04-30 22:36:25
No <p> found.
Python Software Foundation: All Strings Become f-strings - Python Language Summit 2020
2020-04-30 22:35:36
No <p> found.
qutebrowser development blog: Paving the road towards qutebrowser v2.0
2020-04-30 20:15:46
Today, it's been exactly 6 months since I launched the GitHub Sponsors campaign - time flies!
Anwesha Das: Taking backup for znc instance in Python
2020-04-30 19:09:05
IRC plays an invaluable role in the life of so many people, separated by so many miles. It has been the primary source of communication for the Free and Open Source community for decades, now. In my last post, I shared how to install a znc bouncer to stay connected persistently to IRC. If you want to stay on top of the comings and goings on, in your favourite communities.
Python Insider: Pip 20.1 has been released
2020-04-30 18:42:24
No <p> found.
Reuven Lerner: Reminder: My free, weekly âPython for non-programmersâ course continues on Friday, May 1st
2020-04-30 16:44:37
This is a reminder that my free, weekly âPython for non-programmersâ course will continue tomorrow (Friday), May 1st, at 10 a.m. Eastern.
PyCharm: R 4.0.0 and better UX in the R Plugin
2020-04-30 14:46:05
Although it has not been a while since our last update release, weâre ready to announce some important enhancements and new features:
Codementor: How and why I built Data Scraping script in Python3
2020-04-30 10:31:12
About me
I am a Professional Python Developer who has built complex data scrapers, Python backends for mobile and web apps. I am working on AI and ML based tech stack these days and plan to...
Codementor: Full Stack Development in Django
2020-04-30 10:13:26
Talks about how versatile Django could be used by breaking the default Django to mix and match it to fit your own use case. Instead of using what is provided by Django.
Python Bytes: #179 Guido van Rossum drops in on Python Bytes
2020-04-30 08:00:00
No <p> found.
Stories in My Pocket: On being an expert
2020-04-30 01:46:55
No <p> found.
Stories in My Pocket: What is Your Burnout Telling You?
2020-04-30 01:46:55
I am glad that mental health is being discussed more often in the programming world. In particular, I would like to thank Kenneth Reitz for his transparency over the last few years and contributing his recent essay on developer burnout. Having just recently experienced a period of burnout, I would like to share some ideas that might help you skirt by it in your own life. And, before I go on, let me say loud and clear, there is absolutely no shame in experiencing, or reaching out for help from, anxiety, fear, anger, burnout, depression, or any other mental condition. If you think you might be struggling with something, please reach out for help! You might have to reach out several times to multiple sources, but remember you are too valuable to waste time with this funk.
Matt Layman: User Testing Feedback - Building SaaS #54
2020-04-30 00:00:00
In this episode, we worked on issues found from a round of user testing. I talked about how I did user testing with my customer, then started to tackle the usability issues that she identified.
We’re taking a break from building the onboarding flow so that we can take some time to address feedback from user testing with my customer.
I started the stream by explaining how I set up user testing and what I got out of the experience.
Codementor: 6 Python Projects for Beginners
2020-04-29 22:40:22
6 easy Python projects for beginners to help you start with python coding
Codementor: How to teach using Kaggle
2020-04-29 21:35:42
Do not waist time in classes installing things. You can use pre-installed notebooks to teach Python, R, DataScience, MachineLearning.
Red Hat Developers: Alertmanager Watchdog monitoring with Nagios passive checks
2020-04-29 20:51:39
After installing a fresh Red Hat OpenShift cluster, go to Monitoring -> Alerting. There, you will find a Watchdog alert, which sends messages to let you know that Alertmanager is not only still running, but is also emitting other signals for alerts you might be interested in. You can hook into Watchdog alerts with an external monitoring system, which in turn can tell you that alerting in your OpenShift cluster is working.
Reuven Lerner: Function Dissection Lab: Learn how Python functions work by examining their innards
2020-04-29 19:24:42
PyCon didnât happen in Pittsburgh, as planned, thanks to the coronavirus and covid-19. But it did happen online, and I was delighted to be able to present a talk!
NumFOCUS: 2020 PyData Conferences Update [COVID-19]
2020-04-29 18:34:15
We wanted to give an update to our community regarding the upcoming 2020 PyData conferences. We have been closely monitoring the situation and to help ensure the safety of our community given the threat of the COVID-19 virus, the following in-person events have been postponed to 2021: PyData Miami PyData Amsterdam PyData LA While disappointing, we [âŠ]
Django Weblog: PyCharm &amp; DSF Campaign 2020 Results
2020-04-29 15:10:38
For the fourth year in a row, JetBrains PyCharm  partnered with the Django Software Foundation on a promotion, âGet PyCharm, Support Django,â where for 28 days users could purchase new individual PyCharm Professional licenses for 30% while the full proceeds went to the DSF. Even with the current economic conditions the campaign was a huge success again this year.
Real Python: Regular Expressions: Regexes in Python, Part 1
2020-04-29 14:00:00
In this tutorial, youâll explore regular expressions, also known as regexes, in Python. A regex is a special sequence of characters that defines a pattern for complex string-matching functionality.
PyCon: Microsoftâs Python team loves PyCon, including this yearâs online version!
2020-04-29 13:06:41
No <p> found.
PyCharm: Interview: Koudai Aono, Author of pydantic Plugin for PyCharm
2020-04-29 10:00:36
Iâve long been a big fan of pydantic by the prolific Samuel Colvin. In 2018, the package added support for dataclasses by providing its own decorator which âcreates (almost) vanilla python dataclasses with input data parsing and validation.â
Janusworx: The Long Road I took to Learn Basic Python
2020-04-29 09:07:54
I have been wanting to switch careers to programming for a long time now. Just that juggling a part time job, home work, and a broken back, always kept me from somehow giving it the time, that that I needed.
Mike Driscoll: Python 101: Conditional Statements
2020-04-29 05:05:19
Developers have to make decisions all the time. How do you approach this problem? Do you use technology X or technology Y? Which programming language(s) can you use to solve this? Your code also sometimes needs to make a decision.
PyCoderâs Weekly: Issue #418 (April 28, 2020)
2020-04-28 19:30:00
#418 â APRIL 28, 2020 View in Browser »
NumFOCUS: Scientific Software Developer- Contract Basis [SunPy Project]
2020-04-28 18:16:15
Scientific Software Developer- Contract Basis NumFOCUS is seeking a Scientific Software Developer to support the SunPy project. SunPy is a Python-based open source scientific software package supporting solar physics data analysis. This is a 1 year contract.   The successful applicant will work to improve SunPyâs functionality. There are four main tasks:  Report on [âŠ]
Catalin George Festila: Python : Open any Jupiter notebook from GitHub in Colab.
2020-04-28 14:21:54
In this tutorial I will show you how to open any Jupiter notebook from GitHub in the Google online Colab area.
First, go to the jupyter notebook in GitHub project.
Example:
https://github.com/catafest/colab_google/blob/master/catafest_001.ipynb
Change the link by adding the world tocolab after github, see the following example:
https://githubtocolab.com/catafest/colab_google/blob/master/
Real Python: Structuring a Python Application
2020-04-28 14:00:00
Python, though opinionated on syntax and style, is surprisingly flexible when it comes to structuring your applications. On the one hand, this flexibility is great: it allows different use cases to use structures that are necessary for those use cases. On the other hand, though, it can be very confusing to the new developer. The Internet isnât a lot of help either. There are as many opinions as there are Python blogs!
Anarcat: Drowned my camera: dealing with liquid spills in electronics
2020-04-28 13:46:19
Folks who acutely dig into this website might know that I have been taking more pictures recently, as I got a new camera since January 2018: a beautiful Fujifilm X-T2 that I really like. Recently, I went out on a photo shoot in the rain. It was intermittent, light rain when I left so I figured the "weather proofing" (dpreview.com calls this "environmentally sealed") would keep the camera secure. After an hour of walking outside, however, rain intensified and I was just quickly becoming more and more soaked. Still trusting the camera would function, I carried on. But after about 90 minutes of dutiful work, the camera just turned off and wouldn't power back on.
Stack Abuse: Writing to a File with Python's print() Function
2020-04-28 12:38:00
Python's print() function is typically used to display text either in the command-line or in the interactive interpreter, depending on how the Python program is executed. However, we can change its behavior to write text to a file instead of to the console.
Python Insider: Python 3.9.0a6 is now available for testing
2020-04-28 11:54:13
No <p> found.
Codementor: Python Slicing Sequences
2020-04-28 07:19:38
I have tried to explain python slicing in details
Kushal Das: Writing Python module in Rust using PyO3
2020-04-28 06:54:47
Back in 2017, I wrote about how to create Python modules using Rust. Things changed in between, especially PyO3 project now makes it super easy to create such extension modules.
Quansight Labs Blog: Thanking the people behind Spyder 4
2020-04-28 06:00:00
After more than three years in development and more than 5000 commits from 60 authors around the world, Spyder 4 finally saw the light on December 5, 2019! I decided to wait until now to write a blogpost about it because shortly after the initial release, we found several critical performance issues and some regressions with respect to Spyder 3, most of which are fixed now in version 4.1.2, released on April 3rd 2020.
Mike Driscoll: Python 101: Learning About Sets
2020-04-28 05:05:17
A set data type is defined as an âunordered collection of distinct hashable objectsâ according to the Python 3 documentation. You can use a set for membership testing, removing duplicates from a sequence and computing mathematical operations, like intersection, union, difference, and symmetric difference.
Podcast.__init__: Teaching Python Machine Learning
2020-04-28 02:36:01
Python has become a major player in the machine learning industry, with a variety of widely used frameworks. In addition to the technical resources that make it easy to build powerful models, there is also a sizable library of educational resources to help you get up to speed. Sebastian Raschkaâs contribution of the Python Machine Learning book has come to be widely regarded as one of the best references for newcomers to the field. In this episode he shares his experiences as an author, his views on why Python is the right language for building machine learning applications, and the insights that he has gained from teaching and contributing to the field.
Sumana Harihareswara - Cogito, Ergo Sumana: Remote Sprint Tips
2020-04-27 22:01:13
No <p> found.
PyBites: Mutable vs Immutable Data Types in Python
2020-04-27 20:53:00
Have you ever wondered why there are mutable and immutable types in Python?
Reuven Lerner: Working with warnings in Python (Or: When is an exception not an exception?)
2020-04-27 20:51:03
It happens to all of us: You write some Python code, but you encounter an error:
PyBites: Exploring the Modern Python Command-Line Interface
2020-04-27 20:00:00
The goal here is simple: help the new Python developer with some of the history and terminology around command-line interfaces (CLIs) and explore how we write these useful programs in Python.
PyCharm: Webinar Recording: âHow To Build Real-Time Interactions In Your Django 3 Appâ with Calvin Hendryx-Parker
2020-04-27 15:14:23
Last week we hosted Calvin Hendryx-Parker from Six Feet Up for a webinar covering real-time Django 3: Django Rest Framework, Django Channels, ASGI, web sockets, a little Docker, and more. The recording is now available:
Real Python: The Python pickle Module: How to Persist Objects in Python
2020-04-27 14:00:00
As a developer, you may sometimes need to send complex object hierarchies over a network or save the internal state of your objects to a disk or database for later use. To accomplish this, you can use a process called serialization, which is fully supported by the standard library thanks to the Python pickle module.
Ian Ozsvald: “Flying Pandas” and “Making Pandas Fly” – virtual talks this weekend on faster data processing with Pandas, Modin, Dask and Vaex
2020-04-27 11:42:15
This Saturday and Monday Iâve had my first experience presenting at virtual conferences â on Saturday it was for Remote Pizza Python (brilliant line-up!) and on Monday (note â this post predates the talk, Iâll update it tomorrow after Iâve spoken) at BudapestBI.
Erik Marsja: Create a Correlation Matrix in Python with NumPy and Pandas
2020-04-27 11:27:00
The post Create a Correlation Matrix in Python with NumPy and Pandas appeared first on Erik Marsja.
BreadcrumbsCollector: How to implement a service layer in Django + Rest Framework
2020-04-27 08:00:00
From this article you will learn:
Mike Driscoll: PyDev of the Week: Gaetan Delannay
2020-04-27 05:05:09
This week we welcome Gaetan Delannay as our PyDev of the Week! Gaetan is the creator of Appy, a Python web framework and an entrepreneur.
Moshe Zadka: Numbers in Python
2020-04-27 00:00:00
Numbers in Python come in all shapes and forms. The reason different kind of representations of numbers exist is because they all have different trade-offs. These trade-offs are often surprising!
The No TitleŸ Tech Blog: How to install the current Python version on CentOS Linux 7
2020-04-26 23:40:00
One of these days, while setting up a couple of Linux virtual machines to test my Python applications, I was faced with a series of obstacles on CentOS 7 that I needed to overcome. Since this is the kind of issues that many other Python developers may encounter when setting up a Linux machine, I will share what I learned with this experience.
Reuven Lerner: Improve your Python: WPE A2 (âFunctions for beginnersâ) starts next week!
2020-04-26 15:29:44
If youâve programmed in Python for even a short amount of time, then youâve probably written a fair number of functions.
Abhijeet Pal: Using Environment Variables In Django
2020-04-26 14:21:52
While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be hardcoded in the settings.py file instead they should be loaded with Environment variables on runtime. An environment variable is a variable whose value is set outside the program, typically through a functionality built into the operating system. An environment variable is made up of a name/value pair. Environment variables help us keep secrets (for example, Passwords, API tokens, and so on) out of version control, therefore, they are considered an integral part of the popular Twelve-Factor App Design methodology and a Django best practice because they allow a greater level of security and simpler local/production configurations. Also, environment variables provide a greater degree of flexibility for switching between local development setup and production setup. Therefore Adding environment variables is a necessary step for any truly professional Django project. Creating Environment Variables Create a .env file in the same directory where settings.py resides and add the following key-value pair inside the âŠ
John Cook: A spring, a rubber band, and chaos
2020-04-26 12:39:36
Suppose you have a mass suspended by the combination of a spring and a rubber band. A spring resists being compressed but a rubber band does not. So the rubber band resists motion as the mass moves down but not as it moves up. In [1] the authors use this situation to motivate the following differential equation:
Abhijeet Pal: How To Deploy Django App with Nginx, Gunicorn, PostgreSQL and Letâs Encrypt SSL on Ubuntu
2020-04-26 10:03:54
Django is a high-level full-stack open-source web framework written in Python, that encourages rapid development and clean, pragmatic design. Django is the go-to framework for any project irrespective of size, from a basic blog to a full-fledged social media app. Out of the box, Django comes with a built-in development server that is used locally. However, it isnât suitable for the production environment because itâs single-threaded and lacks security measures. In this article, we will learn how to deploy a Django application with Nginx, Gunicorn, PostgreSQL, and Letâs Encrypt SSL on an Ubuntu server. Production Stack Architecture A modern Django applicationâs production stack is built with the following components. OS â Ubuntu WSGI Server â Gunicorn Web Server â Nginx Database â PostgreSQL The following diagram illustrates how Django works in the production environment. The following will happen when the client browser launches an HTTP request NGINX receives the HTTP request. If a static file is requested, NGINX serves the static file directly. If a dynamic page is requested, NGINX delegates the request to Gunicorn through a UNIX socket. Gunicorn âŠ
Test and Code: 110: Testing Django - from unittest to pytest - Adam Parkin
2020-04-25 23:30:00
Django supports testing out of the box with some cool extensions to unittest. However, many people are using pytest for their Django testing, mostly using the pytest-django plugin.
The Digital Cat: Object-Oriented Programming (OOP) concepts in Python
2020-04-25 23:00:00
In this article I will review the main concepts a beginner Python programmer should learn about OOP in Python. The content is explored in detail in other posts on the blog that are linked at the end of each section.
PyBites: When to Write Classes in Python And Why it Matters
2020-04-25 16:30:00
When people come to Python one of the things they struggle with is OOP (Object Oriented Programming). Not so much the syntax of classes, but more when and when not to use them. If that's you, read on.
PyBites: Building a Stadia Tracker Site Using Django
2020-04-25 15:20:00
I've been writing code for about 15 years (on and off) and Python for about 4 or 5 years. With Python it's mostly small scripts and such. Iâve never considered myself a âreal programmerâ (Python or otherwise).
Weekly Python StackOverflow Report: (ccxxv) stackoverflow python report
2020-04-25 12:06:00
No <p> found.
Talk Python to Me: #261 Monitoring and auditing machine learning
2020-04-25 08:00:00
No <p> found.
Codementor: iBuildApp: Android app maker review
2020-04-25 04:49:43
You can develop android apps like Live Lounge (https://liveloungeapk.vip/) with iBuildApp maker
Ahmed Bouchefra: Connecting Python 3 and Electron/Node.JS: Building Modern Desktop Apps
2020-04-25 00:00:00
In this post, youâll learn about the possible ways that you can use to connect or integrate Python with Node.js and Electron with simple examples.
Nikola: Automating Nikola rebuilds with GitHub Actions
2020-04-24 22:24:48
In this guide, weâll set up GitHub Actions to rebuild a Nikola website and host it on GitHub Pages.
Codementor: Python Selenium all mouse actions using ActionChains
2020-04-24 17:18:52
ActionChains are ways provided by Selenium to automate low-level interactions with the website such as mouse movements, mouse button actions, keypress, and context menu(right-click menu) interactions.
Ian Ozsvald: New Higher Performance Python class (June 1-3)
2020-04-24 17:01:03
Iâve listed my next Higher Performance Python public class, itâll run online for 3 mornings on June 1-3 during UK hours. Weâll use Zoom and Slack with pre-distributed Notebooks and modules and youâll run it using an Anaconda environment. Hereâs the write-up from my recent class.
Stack Abuse: The Bridge Design Pattern with Python
2020-04-24 12:30:00
The Bridge Design Pattern is a Structural Design Pattern, which splits the abstraction from the implementation. In this article, we'll be covering the motivation and implementation of the Bridge Design Pattern in Python.
Real Python: The Real Python Podcast â Episode #6: Python REST APIs and The Well-Grounded Python Developer
2020-04-24 12:00:00
Are you interested in building REST APIs with Flask and SQLAlchemy? This week Christopher interviews Doug Farrell about his four-part Real Python series on Python REST APIs. They discuss the various Python tools and libraries used in the series. Doug also shares his practices for continuous learning. Doug has worked in process control, embedded systems, and has a long background in software development. He's currently a developer at ShutterFly, and discusses developing tools for his internal customers. He also teaches Python to kids at a STEM school near where he lives. Currently Doug is writing a book for Manning Publications, "The Well-Grounded Python Developer". The book is currently available in an early access state. And as always please check out all the additional resources and tools that Doug discusses, they are all gathered for you in the show notes.
BreadcrumbsCollector: Encapsulation is your friend, also in Python
2020-04-24 08:00:00
Encapsulation is an act of deliberate limiting access to certain software components. The most common usage is to hide certain attributes of objects from other objects that use it. The most vivid example is the usage of so-called access modifiers, private and protected in languages that support it, for example, PHP:
Montreal Python User Group: Tonic Glacier Cyber Hackathon - Montreal - May 2020
2020-04-24 04:00:00
Pythonista Prevails
Reuven Lerner: Reminder: âPython for non-programmersâ continues tomorrow!
2020-04-23 19:20:43
My free, weekly âPython for non-programmersâ course continues tomorrow, Friday April 24th, at 10 a.m. Eastern.
PyCharm: PyCharm & DSF Campaign 2020 Results
2020-04-23 16:00:19
Kushal Das: mod_wsgi and a Python extention
2020-04-23 06:40:13
I was working on a performance analysis of a web API. After I identified the possible issues, I tried to see if I can use a native extension for that part of code (it is a Flask application). In this case the extension was written in Rust. It worked very well. In both test environment and using mod_wsgi-express it was super fast. But it failed when I tried to use it in the production under nginx + mod_wsgi combination. The import modulename statement was just stuck. Causing a timeout in the application. There were no other error messages or log lines.
James Bennett: django-registration 3.0
2020-04-23 05:14:32
Today Iâm pleased to announce the release of django-registration 3.0. This is a pretty big update, and one thatâs been coming for a while, so I want to take a moment to go briefly through the changes (if you want the full version, you can check out the upgrade guide in the documentation).
Matt Layman: More Onboarding Goodness - Building SaaS #53
2020-04-23 00:00:00
In this episode, we continued with onboarding. I added unit tests for the new form and explained how foreign keys are wired through in CreateView. Then we marched on to the next template in the flow.
In the last stream, we set all the context data for the view that shows the form to create a grade level for the school. With the context in place, and the form structure set, I added the form class that will create the GradeLevel record.
The Three of Wands: Building Pyrseia II: Fleshing out Clients and Servers
2020-04-22 23:59:12
This is the second article in the Pyrseia series. The others are:
Erik Marsja: Pandas Tutorial: Renaming Columns in Pandas Dataframe
2020-04-22 17:23:01
The post Pandas Tutorial: Renaming Columns in Pandas Dataframe appeared first on Erik Marsja.
Spyder IDE: Creating the ultimate terminal experience in Spyder 4 with Spyder-Terminal
2020-04-22 17:00:00
This blogpost was originally published on the Quansight Labs website.
PyCon: PyLadies Auction 2020 Cancelled
2020-04-22 14:14:37
No <p> found.
Real Python: The Pandas DataFrame: Make Working With Data Delightful
2020-04-22 14:00:00
The Pandas DataFrame is a structure that contains two-dimensional data and its corresponding labels. DataFrames are widely used in data science, machine learning, scientific computing, and many other data-intensive fields.
Codementor: Tips to Become a Confident & Successful Python Programmer
2020-04-22 12:59:11
The need of programmers and developers is there, more so now than ever before without any dispute. We have listed down some essential tips to assist you on your journey to become a confident and successful Python programmer.
PyCharm: New VCS Features in PyCharm 2020.1
2020-04-22 08:00:24
The Version Control System support in PyCharm has been revamped with a new and improved commit workflow as well as an interactive rebasing option. This means, that it gives you more control over the way you commit your changes.
Python Bytes: #178 Build a PyPI package from a Jupyter notebook
2020-04-22 08:00:00
No <p> found.
Abhijeet Pal: How To Backup and Restore Data in PostgreSQL Database
2020-04-22 05:50:14
PostgreSQL is undoubtedly one of the most popular and efficient open-source relational database management system powering millions of applications. These days a database backup mechanism is essential for any project onboard. Luckily PostgreSQL comes with built-in utilities for creating and restoring backups to make our life simpler. Backup and Restore Databases in PostgreSQL PostgreSQL allows a great degree of flexibility for backup and restoration of data, In this article one by one we will go through the most used utilities. Backing up a database in a tar file The pg_dump utility is used for backing up data of a single database or table in PostgreSQL. pg_dump -U db_user -W -F t db_name > /path/to/your/file/dump_name.tar Here we used the following options: -W will force pg_dump to prompt for a password before connecting to the server. -F is used to specify the format of the output file, which can be one of the following: p â plain-text SQL script c â custom-format archive d â directory-format archive t â tar-format archive In case you encounter the following error. pg_dump: [archiver (db)] connection to database "mydb" failed: FATAL: Peer âŠ
Wing Tips: Quick Navigation to Project Files in Wing Python IDE
2020-04-22 01:00:00
This Wing Tip highlights a simple but useful feature in Wing Personal and Wing Pro that you might have missed up until now: Open from Project in the File menu.
Moshe Zadka: Goodbye, John H. Conway
2020-04-22 00:00:00
John H. Conway passed away ten days ago, and I think it's only now I can write a proper eulogy.
PyCoderâs Weekly: Issue #417 (April 21, 2020)
2020-04-21 19:30:00
#417 â APRIL 21, 2020 View in Browser »
Python Engineering at Microsoft: Python in Visual Studio Code â April 2020 Release
2020-04-21 19:17:12
We are pleased to announce that the April 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation. Â
Abhijeet Pal: How To Fix â FATAL: Peer authentication failed for user âpostgresâ Error
2020-04-21 17:21:51
Peer authentication failed error arrives when you try to login to your PostgreSQL user but authentication fails because by default psql connects over UNIX sockets using peer authentication instead of password authentication. In this article we will learn how to get rid of FATAL: Peer authentication failed for user âpostgresâ error by enforcing password authentication over Unix sockets peer method, First, navigate to the /etc/postgresql/10/main directory. cd /etc/postgresql/10/main Note that 10 is the PostgreSQL version it can be different for you. Here resides the pg_hba.conffile we need to do some changes here you may need sudo access for this. sudo nano pg_hba.conf Scroll down the file till you find this â # Database administrative login by Unix domain socket local all postgres peer Here change the peer to md5 as follows. # Database administrative login by Unix domain socket local all postgres md5 peer means it will trust the authenticity of UNIX user hence does not prompt for the password. md5 means it will always ask for a password, and validate it after hashing with MD5. Now save the file and restart the Postgres server. âŠ
Sumana Harihareswara - Cogito, Ergo Sumana: Persisting
2020-04-21 16:19:04
I've now sewn three fabric facemasks. For fabric I used old tech company tee shirts. For ties: elastic from free airline eyemasks, shoelace-like handles from fancy shopping bags, and the hemmed bits of the tee shirts. All of them are serviceable. I'll be trying to improve and, if I can get better, give some away. We used this approach to gather and grow yeast using raisins, sugar, and water in a jar on a windowsill. Today Leonard's using it to make bread. We have some powdered dried yeast but are trying to save it. And we've been growing green onions in some jars of water on another windowsill. Their stalks keep pushing out new green growth. The most successful watercolor painting I've done so far is a portrayal of one of those bunches. The pip 20.1b1 beta release is out. And Python 2.7.18 is out marking the very last, final, release of Python 2.7 and the end of the 2.x era. My household contributed to both of these things. Here's Leonard's pull request that adds an informational banner to the 2.7 docs. When I can concentrate on work or exercise or media it's better. The news is awful. I try to only listen to or look at it a few minutes per day. There is light through the windows, along with the rain and lightning, and I see the tree branches in the wind, falling and rising, falling and rising. Every night at 7pm I know it's 7 because people start clapping and ringing bells from our windows and balconies, a gesture of support for the health care workers and all the other essential workers who are trying to keep us all going. I do it too. The other night I got out a little temple bell and started using that. Someone has a tambourine. A few nights ago someone started chanting "USA! USA!" and I recoiled; as I joked to a few friends, better to chant "South! Korea!" or "Germany!" since they're actually doing it right. And someone else has, a few times, played a recording of "The Star-Spangled Banner". As I mentioned to friends: well, the thing that works about that song now is that it's a question. Does that banner still wave? We don't know! I also have joked: And is this the land of the brave and the home of the free, or the land of the scared and the home of the at home? But it's all those things, of course. And the rhetoric of that joke, as though you cannot be both at home and free, plays into the hands of foolish, even malicious shouters who prefer to swan around shedding and catching viruses, and to mob streets while braying about government restrictions, and refuse to love their neighbors. I'm glad of the rain. It feels natural to be inside when it's raining.
Catalin George Festila: Python 3.7.4 : A simple addon for Blender 3D version 2.8 .
2020-04-21 14:18:13
Today I tested the python from Blender 3D software.
This software named Blender 3D come with python version 3.7.4 .
The version of this 3D tool is 2.82a .
This is a default addon with these python files: __init__.py , build.py, catafest_addon_start.py.
You can see a folder and images, but is not part of these tutorial.
The full source code of this addon can be found on my GitHub account on this
Real Python: Python Coding Interviews: Tips & Best Practices
2020-04-21 14:00:00
Youâve made it past the phone call with the recruiter, and now itâs time to show that you know how to solve problems with actual code. Whether itâs a HackerRank exercise, a take-home assignment, or an onsite whiteboard interview, this is your moment to prove your coding interview skills.
Python Software Foundation: Building a Python community in Colombia: John Roa, 2018 Q4 CSA Recipient
2020-04-21 09:40:14
No <p> found.
EuroPython Society: EuroPython 2020: Ticket sales started
2020-04-21 09:12:40
europython:
EuroPython: EuroPython 2020: Ticket sales started
2020-04-21 08:00:21
We have started the EuroPython 2020 online conference & sprint ticket sales today.
S. Lott: Why Python is not the programming language of the future -- a response
2020-04-21 08:00:06
No <p> found.
PyBites: Dropping Tutorial Paralysis, Building a Django Blog From Scratch
2020-04-21 07:35:00
(Photo by Rosie Kerr on Unsplash)
Real Python: Effective Python Testing With Pytest
2020-04-20 14:00:00
Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and ensures that changes to your code wonât cause regressions. Writing and maintaining tests is hard work, so you should leverage all the tools at your disposal to make it as painless as possible. pytest is one of the best tools you can use to boost your testing productivity.
Python Insider: Python 2.7.18, the last release of Python 2
2020-04-20 11:07:47
No <p> found.
BreadcrumbsCollector: How to patch in Python?
2020-04-20 08:00:00
(monkey-) patching is a technique for changing code behaviour without altering its source. It is done in runtime, usually by overriding attributes of existing objects. An object can be an instance of some sort, a class or even a module. The technique is most commonly (ab)used for tests when we cannot pass mocks in a simple way.
Mike Driscoll: PyDev of the Week: Cheukting Ho
2020-04-20 05:05:20
This week we welcome Cheukting Ho (@cheukting_ho) as our PyDev of the Week. Cheuk is an organizer for EuroPython and various Python sprints. You can find our more about her accomplishments on her website or see what open source projects she is a part of over on Github.
Quansight Labs Blog: Introducing ndindex, a Python library for manipulating indices of ndarrays
2020-04-20 05:00:00
One of the most important features of NumPy arrays is their indexing semantics. By "indexing" I mean anything that happens inside square brackets, for example, a[4::-1, 0, ..., [0, 1], np.newaxis]. NumPy's index semantics are very expressive and powerful, and this is one of the reasons the library is so popular.
IslandT: Count and Index method in Python Tuple
2020-04-20 04:52:36
Tuple just likes list, is an object used to group together related data in python. The difference between tuple and list is that the data inside tuple cannot be changed whereas the data in the list can be changed after that list object has been declared.
Podcast.__init__: Build The Next Generation Of Python Web Applications With FastAPI
2020-04-20 02:58:51
Python has an embarrasment of riches when it comes to web frameworks, each with their own particular strengths. FastAPI is a new entrant that has been quickly gaining popularity as a performant and easy to use toolchain for building RESTful web services. In this episode SebastiĂĄn Ramirez shares the story of the frustrations that led him to create a new framework, how he put in the extra effort to make the developer experience as smooth and painless as possible, and how he embraces extensability with lightweight dependency injection and a straightforward plugin interface. If you are starting a new web application today then FastAPI should be at the top of your list.
PyBites: Refactoring Opportunities That Will Boost the Quality of Your Code
2020-04-19 20:22:00
(Photo by Jonah Pettrich on Unsplash)
PyBites: Use Github to Manage Your Projects in an Agile Way
2020-04-19 18:50:00
In this article you will learn how to setup a project in GitHub and to use boards to organize you issues using agile methods.
The Three of Wands: Building Pyrseia I: The Idea
2020-04-19 14:58:16
Over at Highrise, we're looking to replace our internal Python RPC library. The in-house solution we're using now isn't particularly bad, but it doesn't integrate well with Mypy, which is a Python typechecker that might be useful to us. It's also somewhat boilerplate-y, and very coupled to our particular set of design choices. This series of articles follows my attempts to do better, in the form of a modern, open source, fully customizable RPC library. I've decided to call the library Pyrseia, which is an ancient greek method of long distance communication. I've created the initial repository over at GitHub.
Codementor: python Web Scrapping (requests_html not beautiful-soup)
2020-04-19 12:38:54
Using request-html in Python we do data scrapping of a movies listing site https://www.boxofficemojo.com/year/world/?ref=bonbhmtab
Codementor: Building Finite State Machines with Python Coroutines
2020-04-19 10:19:06
The most intuitive way of building and implementing Finite State Machines is by using Python Coroutines and in this article, we find how and why.
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 004.
2020-04-19 08:56:30
Today, I tested the python module named imdbpy with Colab Google features.
This show you how easy can build and run a simple python script to take data from web sites.
You can see the full example on my GitHub account.
Janusworx: A Hundred Days of Code, Day 006
2020-04-19 07:33:52
Journal progam done! Yay! Find the code over at Gitlab or Github.
Catalin George Festila: Python 3.8.2 : New release 2.3.2 for Pygame Menu.
2020-04-19 06:06:06
Today, the development team come with this infos from the GitHub comes with a new release version 2.3.2.
Python library that can create a simple menu for the pygame application.
Supports:
Textual menus ButtonsLists of values (selectors) that can trigger functions when pressing return or changing the valueInput text Color input
NOTE: pygame-menu v2 will not provide new widgets or functionalities,
Weekly Python StackOverflow Report: (ccxxiv) stackoverflow python report
2020-04-18 20:03:00
No <p> found.
EuroPython: Farewell to Oier Echaniz Beneitez
2020-04-18 14:34:42
europythonsociety:
EuroPython Society: Farewell to Oier Echaniz Beneitez
2020-04-18 14:27:17
We received the very sad news today, that Oier Echaniz Beneitez has passed away, after a long-term illness (not as a result of COVID-19).
Ned Batchelder: Letter boxed
2020-04-18 13:28:49
With more time on my hands during this quarantine time, I started doing the Letter Boxed puzzle. You are given a square with three letters on each side:
Bhavin Gandhi: How to live stream a meetup event
2020-04-18 12:37:50
No <p> found.
Talk Python to Me: #260 From basic script to interactive data sci app with Streamlit
2020-04-18 08:00:00
No <p> found.
Stéphane Wirtel: Weekly Update, April 18, 2020
2020-04-17 22:00:00
Weekly Update Work Move to my office for online meetings Create a new micro-service with FastAPI Experiment Elassandra (ElasticSearch and Cassandra) Play with VueJS and Vuetify Onboarding of a new colleague Python and the community PyCon I was supposed to be in Pittsburgh for PyCon US 2020 on Wednesday and Thursday, there was the first online Python Language Summit, organized by Mariatta and Ćukasz: Zoom (conference), Sli.
BreadcrumbsCollector: Beware of chicken testing! (or mocks overuse)
2020-04-17 14:00:00
Dealing with problematic dependencies is an indispensable part of software testing. Often, we cannot or do not want to rely on 3rd party service/network communication/hard drive etc., especially in unit-tests. The reasons vary; external dependencies are usually slow, fallible and difficult to put into the expected state before the actual test. Consider the following code snippet (simplified â no logger, no saving to database etc):
Real Python: The Real Python Podcast â Episode #5: Exploring CircuitPython
2020-04-17 12:00:00
Have you ever wanted to explore using Python with electronics? CircuitPython is a great platform to get started with. This week Christopher talks with Thea Flowers. Thea has been creating several hardware projects based around CircuitPython, and she talks about getting started on the platform. She also answers questions about how she taught herself to design and prototype printed circuit boards. Thea discusses several of her open source projects, including Nox, ConductHotline, and getting involved with CircuitPython. She was the conference co-chair for PyCascades, and Christopher asks her about how someone could get involved in volunteering for conferences. Thea also talks about building diversity in the community. This episode was initially recorded at an earlier date, so Christopher asked Thea to come back for a few minutes to discuss updates on her projects and about a recent honor she received.
Stéphane Wirtel: Yes!, I am a Github Sponsor
2020-04-17 00:20:31
No <p> found.
Anwesha Das: Setting up a znc service
2020-04-16 18:09:07
Here is an installation guide of znc on Fedora 31 :
Codementor: Flask Delicious Tutorial : Building a Library Management System Part 4 - Focus on Responses
2020-04-16 15:38:37
The reference kit for Flask responses
Filipe Saraiva: LaKademy 2019
2020-04-16 15:12:29
Past November 2019 KDE fellows from Latin-America arrived in Salvador â Brazil to attend an one more edition of LaKademy â the Latin American Akademy. That was the 7th edition of the event (or the 8th, if you count Akademy-BR as the first LaKademy) and the second one with Salvador as host city. No problem for me: in fact I would like to move there and live in Salvador for at least a few years.
Learn PyQt: Custom PyQt5/PySide2 PasswordEdit field with Show/Hide toggle
2020-04-16 13:50:57
When building applications which require a password (or some other secret) from a user you should use fields that hide the input. This prevents shoulder surfing passers by from being able to read off the user's secret and gain access to accounts.
Stefan Behnel: My responses to a Cython dev interview
2020-04-16 10:46:20
I recently received a request for an online interview by Jonathan Ruiz, a CS student in Berlin. He's implementing graph algorithms as part of his final Bachelor thesis, and was evaluating and using Cython to get performance improvements. During his work, he thought it'd be nice to get some comments from a Cython core dev and sent me a couple of questions. Here's what I answered.
Python Bytes: #177 Coding is 90% Google searching or is it?
2020-04-16 08:00:00
No <p> found.
Matt Layman: Consistent Onboarding - Building SaaS #52
2020-04-16 00:00:00
No <p> found.
Paul Bissex: How to port 100,000 lines of Python 2 to Python 3
2020-04-15 20:19:48
TLDR: Use python-future.
RMOTR: RMOTR Joins freeCodeCamp to Offer Data Analysis with Python Course
2020-04-15 19:50:10
RMOTR is proud to partner with freeCodeCamp to release a brand new, free course, Data Analysis with Python.
PyCharm: Django Custom Tags in PyCharm Professional 2020.1
2020-04-15 17:04:35
PyCharm started its life with Django support and our new release adds some useful improvements for Django coding. Letâs take a look at support for custom Django tags in PyCharm Professional 2020.1.
Jacob Perkins: NLTK Trainer Updates
2020-04-15 17:00:00
Iâve recently pushed some updates to nltk-trainer, so that it now supports Python 3.7 and NLTK 3.4.5 or greater. NLTK also just released version 3.5.
Nathan Piccini Data Science Dojo Blog: Building a Rule-based Chatbot in Python
2020-04-15 14:57:26
Chatbots have become extremely popular in recent years and their use in the industry has skyrocketed. They have found a strong foothold in almost every task that requires text-based public dealing. They have become so critical in the support industry, for example, that almost 25% of all customer service operations are expected to use them by 2020.
Mike Driscoll: Type Checking in Python
2020-04-15 14:37:27
Type checking or hinting is a newer feature of Python that was added in Python 3.5. Type hinting is also known as type annotation. Type hinting is adding special syntax to functions and variable declarations that tell the developer what type the argument or variable is.
Real Python: Sorting Algorithms in Python
2020-04-15 14:00:00
Sorting is a basic building block that many other algorithms are built upon. Itâs related to several exciting ideas that youâll see throughout your programming career. Understanding how sorting algorithms in Python work behind the scenes is a fundamental step toward implementing correct and efficient algorithms that solve real-world problems.
Python Software Foundation: Thank you to donors & sponsors
2020-04-15 12:54:40
No <p> found.
PyCon: PyCon 2020 Online Launch!
2020-04-15 11:49:44
No <p> found.
PyCon: Announcing The Startup Row Lineup At PyCon 2020
2020-04-15 11:46:40
No <p> found.
PyCon: Facebook: Building the Future Together
2020-04-15 11:46:33
No <p> found.
Caktus Consulting Group: A Quick Guide to Generating Fake Data with Pandas
2020-04-15 10:00:00
Photo by Chris Curry.
Montreal Python User Group: MontrĂ©al-Python 76 â Tonic Glacier
2020-04-15 04:00:00
Pythonistas, Pythonistinas,
Robin Parmar: Visual Coding with Processing: COVID-19 Tracker
2020-04-14 23:20:24
<br /><br />This project uses the public API for COVID-19 mortality data, and maps the regional totals. So long as you understand the basics of Processing, you should be prepared for the step-by-step instructions in the video. <br /><br />Get the code on <a href="https://github.com/robinparmar/processing_covid19">Github</a>. The repository has a improvements on the version in the video, but is largely similar.<br />
Test and Code: 109: Testing in Financial Services - Eric Bergemann
2020-04-14 22:00:00
Financial services have their own unique testing development challenges. But they also have lots of the same challenges as many other software projects.
PyCoderâs Weekly: Issue #416 (April 14, 2020)
2020-04-14 19:30:00
#416 â APRIL 14, 2020 View in Browser »
Evennia: Spring updates while trying to stay healthy
2020-04-14 16:40:48
No <p> found.
Learn PyQt: Implementing QPainter flood fill in PyQt5/PySide
2020-04-14 16:11:05
Building Piecasso (a PyQt5 Paint clone) I was disappointed to discover that while QPainter comes with a huge number of paint methods, ranging from pixels and lines to fully-filled polygons, it doesn't include a method for flood filling regions of an image.
Ian Ozsvald: Notes on last week’s Higher Performance Python class
2020-04-14 15:13:24
Last week I ran a two-morning Higher Performance Python class, we covered:
Real Python: Inheritance and Composition: A Python OOP Guide
2020-04-14 14:00:00
In this course, youâll explore inheritance and composition in Python. Inheritance and composition are two important concepts in object oriented programming that model the relationship between two classes. They are the building blocks of object oriented design, and they help programmers to write reusable code.
EuroPython: EuroPython 2020: Talk voting is open
2020-04-14 09:30:51
Talk voting is your chance to tell us what youâd like to see at EuroPython 2020. We will leave talk voting open until:
Mike Driscoll: An Overview of Profiling Tools for Python
2020-04-14 05:05:20
What does it mean to profile ones code? The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of thing is for optimization. You will run into situations where you need your code to run faster because your business needs have changed. When this happens, you will need to figure out which parts of your code are slowing it down.
Moshe Zadka: Using Twisted to Massively Parallelize Web Clients
2020-04-14 03:00:00
The Twisted Requests (treq) package is an HTTP client built on the popular Twisted library that is used for web requests. Async libraries offer the ability to do large amounts of network requests in parallel with relatively little CPU impact. This can be useful in HTTP clients that need to make several requests before they have all the information they need.
Podcast.__init__: Distributed Computing In Python Made Easy With Ray
2020-04-14 01:35:42
Distributed computing is a powerful tool for increasing the speed and performance of your applications, but it is also a complex and difficult undertaking. While performing research for his PhD, Robert Nishihara ran up against this reality. Rather than cobbling together another single purpose system, he built what ultimately became Ray to make scaling Python projects to multiple cores and across machines easy. In this episode he explains how Ray allows you to scale your code easily, how to use it in your own projects, and his ambitions to power the next wave of distributed systems at Anyscale. If you are running into scaling limitations in your Python projects for machine learning, scientific computing, or anything else, then give this a listen and then try it out!
The No TitleŸ Tech Blog: Just updated - Optimize Images v1.5
2020-04-13 21:37:00
If you are using Optimize Images, please notice that it has just been updated to version 1.5, which fixes a bug and adds some support to a JPEG sub-format known as MPO.
Codementor: How to build a Todo application with Python Flask, Heroku and Tailwind CSS
2020-04-13 21:11:26
Learn How to build a Todo application with Python Flask, Heroku and Tailwind CSS
Codementor: Mimic
2020-04-13 21:00:57
Here Iâm sitting at coffeeshop late afternoon brushing few of core Linux concepts. All of sudden somehow my mind took me to read new content in hacker news. Its always like a celebration goinâŠ
Anwesha Das: Internet Shutdown Panel at NullCon, 2020
2020-04-13 19:42:55
Internet shutdown has become a pretty regular event in todayâs world. India has seen the most number of shutdowns. Internet shutdowns are the âintentional disruptionâ of wired connection or mobile internet and /or both. Primarily carried on by the Government authorities with the aim of controlling the communication and the flow of information accessible over internet. The shutdowns vary in time, period, place, area and duration. Since the internet has become an essential to our physical world. It is critical for smooth working of every infrastructure. From health care to transportation, banking to business to Government Administration. Any and every form of internet shutdown not only slams the internet but disrupts the daily life of every individual. At NULLCON 2020 we, HasGeek, as a part of RootConf initiative, organized a panel on âAnatomy of Internet Shutdownsâ. It was organized as a part of Media Track at NullCon. There were few core questions to which we were trying to find answers through this panel.
Codementor: How to efficiently generate a random subset?
2020-04-13 16:26:14
Suppose you have an array with n elements and you want a random subset with k elements. What strategies can you think of to do this as efficiently as possible?
Take a moment.
Why should you care...
Real Python: Combining Data in Pandas With merge(), .join(), and concat()
2020-04-13 14:00:00
Pandasâ Series and DataFrame objects are powerful tools for exploring and analyzing data. Part of their power comes from a multifaceted approach to combining separate datasets. With Pandas, you can merge, join, and concatenate your datasets, allowing you to unify and better understand your data as you analyze it.
PyBites: Stop obsessing about algorithms
2020-04-13 12:05:00
(Photo by Patrick Perkins on Unsplash)
Codementor: Why you need Build Automation Tools for Selenium Automation Testing?
2020-04-13 11:16:38
Build automation tools are vital for Selenium testing, as they help to orchestrate the project build by automating the process. Read more to find out how!
Martin Fitzpatrick: Is it getting better yet? An optimistic visual guide to the Coronavirus pandemic
2020-04-13 11:01:00
As the apocalypse rumbles on, I found myself wondering "Is it getting any better?"
BreadcrumbsCollector: Stop naming your python modules âutilsâ
2020-04-13 08:00:00
Imagine the following situation: there is a software developer that is either adding new code or refactoring existing one by extracting a class/function. They have to place code somewhere, but it does not seem to fit anywhere. So what does a developer do? They create a new module â utils.py.
Mike Driscoll: PyDev of the Week: Mike Pirnat
2020-04-13 05:05:22
This week we welcome Mike Pirnat (@mpirnat) as our PyDev of the Week! Mike is an organizer for PyOhio and an active member of the Python community. You can catch up with Mike on his website. Letâs spend some time getting to know Mike!
Kushal Das: A few things from last week
2020-04-13 04:04:17
Last Monday I wrote some tips on security while working from home. in Economic Time. This includes some basic steps everyone of us can take. If you want to follow better practices, please read https://ssd.eff.org.
tryexceptpass: Episode 7 - Basic Practices to Secure Your Application Architecture
2020-04-13 04:00:00
Markets seem to reward fast product launches over secure one. This means that most organizations are not prioritizing security tasks early on. But following basic security practices early can yield great benefits without a significant increase in development time.
Python Circle: Sending post request with different body formats in Django
2020-04-12 13:45:20
There are a few different formats of the body we can use while sending post requests. In this article, we tried to send post requests to different endpoints of our hello world Django application from the postman. Let's see what is the difference between discussed body formats.
EuroPython Society: EuroPython 2020: Online conference from July 23-26
2020-04-11 12:38:11
europython:
Codementor: Types of API Authentication In Django REST Framework
2020-04-11 12:16:52
Provides a Django developer on the various types of API authentication in Dango REST Framework to help in building RESTful APIs for their Front-end web framework
Weekly Python StackOverflow Report: (ccxxiii) stackoverflow python report
2020-04-11 11:01:00
No <p> found.
PyBites: Introduction to Building Custom Apache Airflow Operators
2020-04-10 20:55:00
If you work in data engineering, then the chance are high that you are using or have used Apache Airflow.
PyBites: Using Python to Check for File Changes in Excel
2020-04-10 20:53:00
Finding differences in excel files using Pandas!
Codementor: Algo Trading 101: Building Your First Stock Trading Bot đ€ in Python đ
2020-04-10 19:28:26
Get started trading stocks in Python! Use Alpaca to quickly and easily trade stocks at the press of a button! Build custom stock algos and get proficient with Alpaca!
Doug Hellmann: sphinxcontrib-spelling 5.0.0
2020-04-10 14:17:28
No <p> found.
PyPy Development: PyPy 7.3.1 released
2020-04-10 13:45:45
No <p> found.
Stack Abuse: Reading and Writing JSON Files in Python with Pandas
2020-04-10 12:45:00
Pandas is one of the most commonly used Python libraries for data handling and visualization. The Pandas library provides classes and functionalities that can be used to efficiently read, manipulate and visualize data, stored in a variety of file formats.
Real Python: The Real Python Podcast â Episode #4: Learning Python Through Errors
2020-04-10 12:00:00
This week Christopher interviews Martin Breuss, about a couple of the video training courses he's created for Real Python. They discuss his course on getting started with Django, and how to learn Python through errors, and how errors really are your friends. Martin talks about his work with Coding Nomads, and teaching Python around the world. He also provides some tips on debugging and writing good questions. This episode was recorded at an earlier date, and because of recent events Martin came back to discuss a new #StayAtHome Mentorship Program he's working on. The program is meant not only for learners but also for those who want to try their hand at being a mentor. We also answer our first listener submitted question.
Reuven Lerner: Itâs Friday â time for another free âPython for non-programmersâ session!
2020-04-10 11:00:00
My free, weekly âPython for non-programmersâ course continues! Today, weâll start to talk about âstringsâ â in other words, text! Letters, words, sentences, and anything else contains text is a string in Python.
BreadcrumbsCollector: When to use metaclasses in Python: 5 interesting use cases
2020-04-10 08:00:00
Metaclasses are mentioned among the most advances features of Python. Knowing how to write one is perceived like having a Python black belt. But are they useful at all outside job interviews or conference talks? Letâs find out! This article will show you 5 practical applications of metaclasses.
PaweĆ Fertyk: WebRTC on mobile devices
2020-04-09 22:00:00
In one of my previous posts I described how to set up WebRTC in a simple web application, without unnecessary dependencies. Here I will expand that solution, making WebRTC work on a mobile device.
Anarcat: Mumble dreams
2020-04-09 16:08:47
With everyone switching to remote tools for social distancing, I've been using Mumble more and more. That's partly by choice -- I don't like videoconferencing much, frankly -- and partly by necessity: sometimes my web browser fails and Mumble is generally more reliable.
Test and Code: 108: PySpark - Jonathan Rioux
2020-04-09 15:00:00
Apache Spark is a unified analytics engine for large-scale data processing. PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task.
Talk Python to Me: #259 From Academia to Tech Industry and Python
2020-04-09 08:00:00
No <p> found.
Codementor: Flask Delicious Tutorial : Building a Library Management System Part 3 - Routes
2020-04-09 07:11:03
Understand how routes work in Flask
Armin Ronacher: Temporary Contact Number based Contact Tracing
2020-04-09 00:00:00
I have already talked here before about privacy preserving contact tracing to fight Covid-19 but I figured I give an update to this. I have spent the last week now investigating different approaches to this and my view has changed quite a bit.
Matt Layman: Onboarding Forms - Building SaaS #51
2020-04-09 00:00:00
In this episode, we added the first form to collect data in the onboarding flow. We used a CreateView and defined all the fields that are needed in the HTML form.
I started by filling in the HTML form structure of the page. Once the dummy version was in place, we changed from a TemplateView to a CreateView and began fixing each configuration error that the new view type reported as missing like missing a model field declaration.
Learn PyQt: Packaging PyQt5 & PySide2 applications for Windows, with PyInstaller
2020-04-08 14:46:01
There is not much fun in creating your own desktop applications if you can't share them with other people â whether than means publishing it commercially, sharing it online or just giving it to someone you know. Sharing your apps allows other people to benefit from your hard work!
PyCharm: PyCharm 2020.1 Out Now
2020-04-08 14:28:08
Real Python: How to Provide Test Fixtures for Django Models in Pytest
2020-04-08 14:00:00
If youâre working in Django, pytest fixtures can help you create tests for your models that are uncomplicated to maintain. Writing good tests is a crucial step in sustaining a successful app, and fixtures are a key ingredient in making your test suite efficient and effective. Fixtures are little pieces of data that serve as the baseline for your tests.
Stack Abuse: The Singleton Design Pattern in Python
2020-04-08 12:39:00
In this article, we'll be diving into the Singleton Design Pattern, implemented in Python.
Anwesha Das: Analysis of Aarogya Setu
2020-04-08 11:29:27
The COVID 19 pandemic has changed the world we knew. Individuals, Government, everybody is trying to fight it out, cope with it. But to deal with the immediate problem, we often overlook the issues which are brought by the solutions.
The Digital Cat: Multiple inheritance and mixin classes in Python
2020-04-08 10:47:24
I recently revisited three old posts on Django class-based views that I wrote for this blog, updating them to Django 3.0 (you can find them here) and noticed once again that the code base uses mixin classes to increase code reuse. I also realised that mixins are not very popular in Python, so I decided to explore them, brushing up my knowledge of the OOP theory in the meanwhile.
Matt Layman: Episode 4 - Building User Interfaces
2020-04-08 00:00:00
On this episode, we look at templates, the primary tool that Django provides to build user interfaces in your Django app.
Listen at djangoriffs.com.
Last Episode On the previous episode, we talked about views and how views handle requests to create HTTP responses for users.
Set Up Templates are static files that Django will fill in with data. In order to use those files, we must instruct Django on where to find them.
S. Lott: Why Isn't COBOL Dead? Or Why Didn't It Evolve?
2020-04-07 21:07:35
No <p> found.
PyCoderâs Weekly: Issue #415 (April 7, 2020)
2020-04-07 19:30:00
#415 â APRIL 7, 2020 View in Browser »
PyCharm: Webinar: âHow To Build Real-Time Interactions In Your Django 3 Appâ with Calvin Hendryx-Parker
2020-04-07 14:05:12
Django 3 has been making the rounds, so time for a webinar showing how to use the new features within PyCharm Professional. Calvin Hendryx-Parker from Six Feet Up, previous webinar presenter, is returning to give us the highlights.
S. Lott: The COBOL Problem
2020-04-07 08:00:06
No <p> found.
Python Bytes: #176 How python implements super long integers
2020-04-07 08:00:00
No <p> found.
Codementor: Flask Delicious Tutorial : Building a Library Management System Part 2 - Start With A Loaded Skeleton
2020-04-07 07:36:14
In this part, we include some front-end libs to have a great start!
Mike Driscoll: Python 101 â Working with Strings
2020-04-07 05:06:39
You will be using strings very often when you program. A string is a series of letters surrounded by single, double or triple quotes. Python 3 defines string as a âText Sequence Typeâ. You can cast other types to a string using the built-in str() function.
Montreal Python User Group: Montréal-Python 76: Tonic Glacier
2020-04-07 04:00:00
Pythonistas,
Podcast.__init__: Building The Seq Language For Bioinformatics
2020-04-07 01:35:38
Bioinformatics is a complex and computationally demanding domain. The intuitive syntax of Python and extensive set of libraries make it a great language for bioinformatics projects, but it is hampered by the need for computational efficiency. Ariya Shajii created the Seq language to bridge the divide between the performance of languages like C and C++ and the ecosystem of Python with built-in support for commonly used genomics algorithms. In this episode he describes his motivation for creating a new language, how it is implemented, and how it is being used in the life sciences. If you are interested in experimenting with sequencing data then give this a listen and then give Seq a try!
Wing Tips: Debug Python Services Running on AWS with Wing Pro
2020-04-07 01:00:00
In this Wing Tip we're continuing our look at how to use Wing Pro to remotely develop Python code running on an AWS instance. This time we'll set up remote debugging of code that is launched from outside of the IDE. This can be useful in debugging web apps and other services.
Go Deh: Spin the table: Solution!
2020-04-06 17:35:30
No <p> found.
Real Python: How to Make an Instagram Bot With Python and InstaPy
2020-04-06 14:00:00
What do SocialCaptain, Kicksta, Instavast, and many other companies have in common? They all help you reach a greater audience, gain more followers, and get more likes on Instagram while you hardly lift a finger. They do it all through automation, and people pay them a good deal of money for it. But you can do the same thingâfor freeâusing InstaPy!
Stack Abuse: Unpacking in Python: Beyond Parallel Assignment
2020-04-06 12:56:00
Unpacking in Python refers to an operation that consists of assigning an iterable of values to a tuple (or list) of variables in a single assignment statement. As a complement, the term packing can be used when we collect several values in a single variable using the iterable unpacking operator, *.
Python Software Foundation: Python Software Foundation Fellow Members for Q1 2020
2020-04-06 11:02:09
No <p> found.
Python Insider: Python 2.7.18 release candidate 1 available
2020-04-06 10:40:21
No <p> found.
PyBites: Effective Developers Leverage Their Toolset
2020-04-06 08:00:00
Compound interest is the 8th wonder of the world. He who understands it, earns it; he who doesnât, pays it. - Albert Einstein
BreadcrumbsCollector: What is Celery beat and how to use it â part 2, patterns and caveats
2020-04-06 08:00:00
Celery beat is a nice Celeryâs add-on for automatic scheduling periodic tasks (e.g. every hour). For more basic information, see part 1 â What is Celery beat and how to use it.
Codementor: Flask Delicious Tutorial : Building a Library Management System Part 1 - Planning
2020-04-06 07:09:38
Learn Python Web Dev By Building A Library Management System
Mike Driscoll: PyDev of the Week: Pablo Galindo Salgado
2020-04-06 05:05:34
This week we welcome Pablo Galindo Salgado (@pyblogsal) as our PyDev of the Week! Pablo is a core developer of the Python programming language. He is also a speaker at several Python related conferences. If youâd like to see what projects he is contributing to, you can check out his Github profile.
Codementor: How TO GET STARTED WITH Machine Learning
2020-04-04 16:09:24
this is tutorial to do image classification from basics and complete code with explanation .
Weekly Python StackOverflow Report: (ccxxii) stackoverflow python report
2020-04-04 13:57:00
No <p> found.
Talk Python to Me: #258 Thriving in a remote developer environment
2020-04-04 08:00:00
No <p> found.
Catalin George Festila: Python 2.7.8 : Using python scripts with Revit Dynamo.
2020-04-04 04:14:28
Dynamo is a visual programming tool that extends the power of the Revit by providing access to Revit API (Application Programming Interface.
Dynamo works with node, each node have inputs and outputs and performs a specific task.This is a short tutorial about how you can use your python skills with Revit and Dynamo software.
First, you need to start the Revit. I used Revit 2020 version.
Then from
Codementor: Analysis of the progress of COVID-19 in the world with Data Science.
2020-04-03 22:48:23
Analysis of the progress of COVID-19 in the world with Data Science.
PaweĆ Fertyk: Getting started with Django middleware
2020-04-03 22:00:00
Django comes with a lot of useful features. One of them is middleware. In this post I'll give a short explanation how middleware works and how to start writing your own.
Real Python: The Real Python Podcast â Episode #3: Effective Python and Python at Google Scale
2020-04-03 12:00:00
In this episode, Christopher interviews Brett Slatkin about the 2nd edition of his book Effective Python. Brett talks about the revisions he made for the book, and updating it for the newest versions of Python 3. Christopher asks who is the intended developer for the book. Brett also discusses working on Google App Engine, and what it's like to develop and maintain Python applications at Google Scale. Brett mentions a brief anecdote about working with Guido van Rossum, while they both worked at Google. He also provides advice about maintaining a large and aging Python code base.
Python Software Foundation: Announcing a new Sponsorship Program for Python Packaging
2020-04-03 11:41:50
No <p> found.
Codementor: 30 Days Of Python | Day 3 Project: A Simple Earnings Calculator
2020-04-03 08:27:13
Welcome to the first project in 30 Days Of Python! Today we'll be creating an earnings calculator for employees. Check it out, and the rest of the series too!
BreadcrumbsCollector: When to use the Clean Architecture?
2020-04-03 08:00:00
There are few possible reactions after learning about the Clean Architecture or Hexagonal Architecture (AKA Ports & Adapters) or even merely innocent service layer in Django. Some developers are enthusiastic and try to apply these techniques immediately, some are hesitant, full of doubts. The rest is strongly opposing, declaring openly this is an abomination. Then they say we already have excellent tools, like Django. Then they argue others donât know about the advanced features of common tools. Then they call you Java developer in disguise.
Randy Zwitch: Building pyarrow with CUDA support
2020-04-03 00:00:00
The other day I was looking to read an Arrow buffer on GPU using Python, but as far as I could tell, none of the provided pyarrow packages on conda or pip are built with CUDA support. Like many of the packages in the compiled-C-wrapped-by-Python ecosystem, Apache Arrow is thoroughly documented, but the number of permutations of how you could choose to build pyarrow with CUDA support quickly becomes overwhelming.
Armin Ronacher: App Assisted Contact Tracing
2020-04-03 00:00:00
I don't know how I thought the world would look like 10 years ago, but a pandemic that prevents us from going outside was not what I was picturing. It's about three weeks now that I and my family are spending at home in Austria instead of going to work or having the kids at daycare, two of those weeks were under mandatory social distancing because of SARS-CoV-2.
Codementor: Visualizing Decision Trees with Python (Scikit-learn, Graphviz, Matplotlib)
2020-04-02 17:52:58
This tutorial covers how to fit a decision tree model using scikit-learn, how to visualize decision trees using matplotlib and graphviz
as well as how to visualize individual decision trees from bagged trees or random forests.
EuroPython: EuroPython 2020: CFP for the Online Event
2020-04-02 14:40:54
Since we had started the CFP under the assumption of running an in-person conference and are now switching EuroPython 2020 to an online event, we will extend the CFP for another two weeks until April 12, to give everyone who would like to participate in this new format, a chance to submit a session proposal.
PyCharm: PyCharm 2020.1 Release Candidate
2020-04-02 12:05:29
Weâve passed the final approach fix, and weâre now established on the glideslope for the PyCharm 2020.1 release. This weekâs build brings a couple of bug fixes as we hope to take the release in for a smooth landing. Let us know how weâre doing by getting this version, if you run into any issues please leave us a ticket on YouTrack.
Reuven Lerner: Reminder: My free âPython for non-programmersâ course continues tomorrow!
2020-04-02 10:06:50
If youâve never programmed a computer before â or if you tried, and found it frustrating and difficult â then youâre welcome to join my âPython for non-programmersâ course, which takes place on Thursdays at 10 a.m. Eastern.
Matt Layman: Templates For User Interfaces
2020-04-02 00:00:00
In the previous Understand Django article, we looked at the fundamentals of using views in Django. This article will focus on templates. Templates are your primary tool in a Django project for generating a user interface. Let’s see how templates hook into views and what features Django provides with its template system.
Set Up Templates We need a place for templates to live. Templates are static files that Django will fill in with data.
Matt Layman: Onboarding Continuity - Building SaaS #50
2020-04-02 00:00:00
In this episode, we stepped from the welcome onboarding page to the first interactive page in the flow. I extracted the common banner for each of the templates and customized it for each of the steps in the process.
The first thing we did was create a button on the starting page. The button connects the welcome page to the second step in the flow where the app will ask for information about the user’s school year.
Stack Abuse: One-Hot Encoding in Python with Pandas and Scikit-Learn
2020-04-01 20:03:48
In computer science, data can be represented in a lot of different ways, and naturally, every single one of them has its advantages as well as disadvantages in certain fields.
Python Software Foundation: An Update on PyPI Funded Work
2020-04-01 14:55:47
No <p> found.
Real Python: Linked Lists in Python: An Introduction
2020-04-01 14:00:00
Linked lists are like a lesser-known cousin of lists. Theyâre not as popular or as cool, and you might not even remember them from your algorithms class. But in the right context, they can really shine.
PyCharm: Whatâs New in R Plugin
2020-04-01 08:40:13
Weâre releasing a new update of the R Plugin for PyCharm and other IntelliJ-based IDEs. If you havenât tried the plugin yet, download it from our website.
Django Weblog: Django bugfix releases issued: 3.0.5 and 2.2.12
2020-04-01 08:00:32
Today we've issued 3.0.5 and 2.2.12 bugfix releases.
Tryton News: Newsletter April 2020
2020-04-01 08:00:06
@ced wrote:
Python Bytes: #175 Python string theory with superstring.py
2020-04-01 08:00:00
No <p> found.
Brett Cannon: What the heck is pyproject.toml?
2020-04-01 04:25:32
Recently on Twitter there was a maintainer of a Python project who had a couple of bugs filed against their project due to builds failing (this particular project doesn't provide wheels, only sdists). Eventually it came out that the project was using a pyproject.toml file because that's how you configure Black and not for any other purpose. This isn't the first time I have seen setuptools users use pyproject.toml because they were "told to by <insert name of tool>" without knowing the entire point behind the file. And so I decided to write this blog post to try and explain to setuptools users why pyproject.toml exists and what it does as it's the future of packaging in the Python ecosystem (if you are not a conda user đ).
Zero-with-Dot (Oleg ƻero): Hidden Markov Model - A story of the morning insanity
2020-03-31 22:00:00
In this article, we present an example of an (im-)practical application of the Hidden Markov Model (HMM). It is an artifially constructed problem, where we create a case for a model, rather than applying a model to a particular case⊠although, maybe a bit of both.
Stack Abuse: Reading and Writing MS Word Files in Python via Python-Docx Module
2020-03-31 20:06:25
The MS Word utility from Microsoft Office suite is one of the most commonly used tools for writing text documents, both simple and complex. Though humans can easily read and write MS Word documents, assuming you have the Office software installed, often times you need to read text from Word documents within another application.
PyCoderâs Weekly: Issue #414 (March 31, 2020)
2020-03-31 19:30:00
#414 â MARCH 31, 2020 View in Browser »
Continuum Analytics Blog: Securing Pangeo with Dask Gateway
2020-03-31 15:42:54
This post is also available on the Pangeo blog. Over the past few weeks, we have made some exciting changes to Pangeoâs cloud deployments. These changes will make using Pangeoâs clusters easier for users whileâŠ
Red Hat Developers: How to write an ABI compliance checker using Libabigail
2020-03-31 14:52:34
Iâve previously written about the challenges of ensuring forward compatibility for application binary interfaces (ABIs) exposed by native shared libraries. This article introduces the other side of the equation: How to verify ABI backward compatibility for upstream projects.
Real Python: Comparing Python Objects the Right Way: "is" vs "=="
2020-03-31 14:00:00
Thereâs a subtle difference between the Python identity operator (is) and the equality operator (==). Your code can run fine when you use the Python is operator to compare numbers, until it suddenly doesnât. You might have heard somewhere that the Python is operator is faster than the == operator, or you may feel that it looks more Pythonic. However, itâs crucial to keep in mind that these operators donât behave quite the same.
EuroPython: EuroPython 2020: Online conference from July 23-26
2020-03-31 11:16:36
In the last two weeks, we have discussed and investigated concepts around running this yearâs EuroPython conference as an online conference. We have looked at conference tools, your feedback, drafted up ideas on what we can do to make the event interesting and what we can accomplish given our limited resources.
Python Software Foundation: PSF's Projected 2020 Financial Outcome
2020-03-31 11:00:04
No <p> found.
Codementor: Michael Kennedy almost learned Python in the 90s... and other things I learned recording his DevJourney
2020-03-31 10:58:15
Michael Kennedy is a podcaster and a trainer. After interviewing him for the DevJourney podcast, here are the key takeways I personally took out of the discussion.
Kushal Das: Introducing ManualBox project
2020-03-31 06:02:05
One of the major security features of the QubesOS is the file vaults, where access to specific files can only happen via user input in the GUI applet. Same goes to the split-ssh, where the user has to allow access to the ssh key (actually on a different VM).
Mike Driscoll: Python 101 â Learning About Dictionaries
2020-03-31 05:05:36
Dictionaries are another fundamental data type in Python. A dictionary is a key, value pair. Some programming languages refer to them as hash tables. They are described as a mapping object that maps hashable values to arbitrary objects.
IslandT: Lists in python example
2020-03-31 04:13:57
This is the final chapter of the lists in python topic, in this chapter we will create an example that will remove the duplicate student names within a student list with the help of the python loop.
Codementor: How to Install Odoo 13 in Ubuntu 18.04 ?
2020-03-31 02:59:46
Install Odoo13, Ubuntu 18.04
Podcast.__init__: An Open Source Toolchain For Natural Language Processing From Explosion AI
2020-03-30 22:49:55
The state of the art in natural language processing is a constantly moving target. With the rise of deep learning, previously cutting edge techniques have given way to robust language models. Through it all the team at Explosion AI have built a strong presence with the trifecta of SpaCy, Thinc, and Prodigy to support fast and flexible data labeling to feed deep learning models and performant and scalable text processing. In this episode founder and open source author Matthew Honnibal shares his experience growing a business around cutting edge open source libraries for the machine learning developent process.
Continuum Analytics Blog: Why Understanding CVEs Is Critical for Data Scientists
2020-03-30 20:51:06
CVEs are Common Vulnerabilities and Exposures found in software components. Because modern software is complex with its many layers, interdependencies, data input, and libraries, vulnerabilities tend to emerge over time. Ignoring a high CVE scoreâŠ
Real Python: How to Use any() in Python
2020-03-30 14:00:00
As a Python programmer, youâll frequently deal with Booleans and conditional statementsâsometimes very complex ones. In those situations, you may need to rely on tools that can simplify logic and consolidate information. Fortunately, any() in Python is such a tool. It looks through the elements in an iterable and returns a single value indicating whether any element is true in a Boolean context, or truthy.
Chris Moffitt: Using WSL to Build a Python Development Environment on Windows
2020-03-30 12:55:00
In 2016, Microsoft launched Windows Subsystem for Linux (WSL) which brought robust unix functionality to Windows. In May 2019, Microsoft announced the release of WSL 2 which includes an updated architecture that improved many aspects of WSL - especially file system performance. I have been following WSL for a while but now that WSL 2 is nearing general release, I decided to install it and try it out. In the few days I have been using it, I have really enjoyed the experience. The combo of using Windows 10 and a full Linux distro like Ubuntu is a really powerful development solution that works surprisingly well.
Will McGugan: Rich adds support for Jupyter Notebooks
2020-03-30 12:46:04
I recently added experimental support for Jupyter Notebooks to Rich. Here's an example of the kind of output it can generate:
BreadcrumbsCollector: How to mock in Python? â (almost) definitive guide
2020-03-30 12:00:00
Mock is a category of so-called test doubles â objects that mimic the behaviour of other objects. They are meant to be used in tests to replace real implementation that for some reason cannot be used (.e.g because they cause side effects, like transferring funds or launching nukes). Mocks are used to write assertions about the way they are used â e.g. if they were called, which arguments were used etc. It is a flagship technique of interaction-based testing â checking how objects under test use their collaborators (other objects).
Codementor: The one where we build a web scrapper and a slackbot - Part 2
2020-03-30 07:21:51
In this article I walk through my process of building a slackbot and sending messages to a channel at intervals
Codementor: The one where we build a web scrapper and a slackbot - Part 1
2020-03-30 07:17:03
In this article, I write about automation and building a web scraper using beautifulSoup4 and selenium.
Mike Driscoll: PyDev of the Week â Abigail Mesrenyame Dogbe
2020-03-30 05:05:32
This week we welcome Abigail Mesrenyame Dogbe (@MesrenyameDogbe) as our PyDev of the Week! Abigail is active with the PyLadies organization in Africa and has also helped organize PyCon Africa. Abigail is also a fellow of the Python Software Foundation.
IslandT: Lists in python â Python list methods
2020-03-30 04:28:37
In this chapter, we will create simple python programs that will demonstrate the usage of various python list methods.
Full Stack Python: Exporting pandas DataFrames into SQLite with SQLAlchemy
2020-03-30 04:00:00
It is common when performing exploratory data analysis, for example when examining COVID-19 data with pandas, to load from files like a CSV, XML, or JSON into a pandas DataFrame. You may then do some work with the data in the DataFrame and want to store it in a more durable location like a relational database.
Wingware: Wing Python IDE 7.2.2 - March 30, 2020
2020-03-30 01:00:00
Wing 7.2.2 introduces a How-To for using Wing with AWS, adds support for Python 3 enums, allows constraining Find Uses of imported symbols to only the current file, and makes a number of usability and stability improvements.
"Coder's Cat": Python: Pros and Cons of Lambda
2020-03-29 15:36:00
Codementor: Python File I/O
2020-03-29 06:03:53
Python File I/O
Weekly Python StackOverflow Report: (ccxxi) stackoverflow python report
2020-03-28 18:02:00
No <p> found.
"Coder's Cat": Python: Is and ==
2020-03-28 15:31:00
Talk Python to Me: #257 Exploring the galaxy with the fastest supercomputer, Python, and radio astronomy
2020-03-28 08:00:00
No <p> found.
Full Stack Python: Learning pandas by Exploring COVID-19 Data
2020-03-28 04:00:00
The European Centre for Disease Prevention and Control provides daily-updated worldwide COVID-19 data that is easy to download in JSON, CSV or XML formats. In this tutorial, we will use the pandas data analysis tool on the comma-separated values (CSV) data to learn some of the basic pandas commands and explore what is contained within the data set.
Codementor: What is Data Science?
2020-03-27 17:00:51
The demand for data scientists is increasing in the market and people are just flocking into the field.
Test and Code: 107: Property Based Testing in Python with Hypothesis - Alexander Hultnér
2020-03-27 15:00:00
Hypothesis is the Python tool used for property based testing. Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."
BreadcrumbsCollector: mypy: how to use it in my project? Part 3: kick-ass tools that leverage type annotations
2020-03-27 13:00:00
Type annotations are a formalized way to add some extra information about types to your project. Once you get through adding mypy to your project and annotate your code (remember you can do it automatically, at least to some extent) you will find yourself at the ocean of possibilities.
Ned Batchelder: How long did it take you to learn Python?
2020-03-27 12:28:54
Wait, donât answer that. It doesnât matter.
Real Python: The Real Python Podcast â Episode #2: Learn Python Skills While Creating Games
2020-03-27 12:00:00
In this episode, Christopher interviews Jon Fincher from the Real Python Team. Jon talks about his recent articles on PyGame and Arcade. They discuss if game programming is a good way to develop your Python programming skills, and if a game would make a good portfolio piece. He compares the two popular Python game libraries of Arcade and PyGame, and discusses about how to find assets for your own creations.
Codementor: The Realms of Data Science - Abhilash V
2020-03-27 07:32:20
Abhilash V https://miro.medium.com/fit/c/96/96/0*G64Vg0aFCr41TqPL.jpg (https://link.medium.com/@vabhilash2000?source=post_page-----2ebee0213af7----------------------)
Oct 13, 2019...
Zero-with-Dot (Oleg ƻero): Hidden Markov Model - Implemented from scratch
2020-03-26 23:00:00
The Internet is full of good articles that explain the theory behind the Hidden Markov Model (HMM) well (e.g. 1, 2, 3 and 4) . However, many of these works contain a fair amount of rather advanced mathematical equations. While equations are necessary if one wants to explain the theory, we decided to take it to the next level and create a gentle step by step practical implementation to complement the good work of others.
PyCharm: PyCharm 2020.1 Beta 2
2020-03-26 19:52:35
PyCharm is approaching its release, and this beta is yet another waypoint weâre passing. The new Beta version of PyCharm can now be downloaded from our website.
PyCharm: Webinar Recording: âDjango with PyCharm Tips and Tricksâ with Paul Everitt
2020-03-26 19:14:25
Yesterday we hosted a webinar showing some of PyCharmâs Django-specific features for speeding Django development. The recording is now available:
Reuven Lerner: Reminder: âPython for non-programmersâ continues tomorrow
2020-03-26 14:37:08
This is just a reminder that my 100% free, weekly âPython for non-programmersâ course is continuing tomorrow (Friday, March 27th) at 10 am Eastern. Join me for live discussion, coding, and Q&A as we march (slowly) through the Python language.
Mike Driscoll: Python 101 â Learning About Tuples
2020-03-26 13:50:43
Tuples are another sequence type in Python. Tuples consist of a number of values that are separated by commas. A tuple is immutable whereas a list is not. Immutable means that the tuple has a fixed value and cannot change. You cannot add, delete or modify items in a tuple. Immutable objects are useful when you need a constant hash value. The most popular example is the key to a Python dictionary.
"Coder's Cat": Python: Generator, Yield and Stream
2020-03-26 12:15:00
Tryton News: Podcast.__init__ episode about Tryton
2020-03-26 10:33:56
@nicoe wrote:
Python Bytes: #174 Happy developers use Python 3
2020-03-26 08:00:00
No <p> found.
Frank Wierzbicki: Jython 2.7.2 final released!
2020-03-26 00:39:20
No <p> found.
Matt Layman: Starting the Onboarding Flow - Building SaaS #49
2020-03-26 00:00:00
In this episode, we worked on the progress element that will display in every step of the onboarding flow. I added some labels and styled the banner using Tailwind CSS. At the end of the stream, we boxed in the shape of the welcome page with some placeholder elements.
The very first thing I did was insert a top bar that was unstyled to the top of the welcome page. We added some placeholder text for each of the steps in the onboarding flow.
Reuven Lerner: Announcing: Three new advanced Python courses (and one free course for absolute beginners)
2020-03-25 16:44:16
If youâve been using Python for a while, and want to up your game, then Iâve got great news for you: I have released three new advanced Python courses, all available immediately from my online store:
Stack Abuse: Reading and Writing CSV Files in Python with Pandas
2020-03-25 16:43:56
There are many ways of reading and writing CSV files in Python. There are a few different methods, for example, you can use Python's built in open() function to read the CSV (Comma Separated Values) files or you can use Python's dedicated csv module to read and write CSV files. Depending on your use-case, you can also use Python's Pandas library to read and write CSV files.
"Coder's Cat": Python: Dict setdefault and getdefault
2020-03-25 15:53:00
Real Python: SimPy: Simulating Real-World Processes With Python
2020-03-25 14:00:00
The real world is full of systems, like airports and highways, that frequently experience congestion and delay. When these systems are not optimized, their inefficiency can lead to countless unhappy customers and hours of wasted time. In this tutorial, youâll learn how to use Pythonâs simpy framework to create virtual simulations that will help you solve problems like these.
Mike Driscoll: Stuck at Home Python Book Sale
2020-03-25 01:29:44
Python is one of the most popular languages in the world. I have been using it myself for over a decade and am still constantly learning new things.
PyCoderâs Weekly: Issue #413 (March 24, 2020)
2020-03-24 19:30:00
#413 â MARCH 24, 2020 View in Browser »
Mike Driscoll: Whatâs New in Python 101 2nd Edition
2020-03-24 15:43:52
The original Python 101 was the first book I had ever written. In deciding to write a 2nd edition, I needed to decide what I should keep and what I should remove from the book. What I ended up doing was rewriting the book from the ground up.
Real Python: Using NumPy's np.arange() Effectively
2020-03-24 14:00:00
NumPy is the fundamental Python library for numerical computing. Its most important type is an array type called ndarray. NumPy offers a lot of array creation routines for different circumstances. arange() is one such function based on numerical ranges. Itâs often referred to as np.arange() because np is a widely used abbreviation for NumPy.
Python Insider: Python 3.9.0a5 is now available for testing
2020-03-24 05:43:13
No <p> found.
Wing Tips: Remote Python Development on AWS with Wing Pro
2020-03-24 01:00:00
In this Wing Tip we'll start looking at how to use Wing Pro to remotely develop Python code running on an AWS instance. With minimal configuration, Wing Pro can edit, debug, test, inspect, and navigate Python code residing on an AWS instance, as if it were on the local host.
Codementor: Simple Speech to Text Converter Using Speech Recognization in Python
2020-03-23 19:00:34
In this part, I'm going to share small script to create speech to text converter in python using google Speech Recognition module.
Here is the code -
```
import speech_recognition as sr
r =...
Python Software Foundation: New pip resolver to roll out this year
2020-03-23 15:17:40
The developers of pip are in the process of developing a new resolver for pip (as we announced on the PSF blog last year). We aim to roll it out later this year. As part of that work, there will be some major changes to how pip determines what to install, based on package requirements. In this post we share:
Stéphane Wirtel: Contribution to PythonIreland
2020-03-23 14:31:15
No <p> found.
Stéphane Wirtel: Contribution to Python Ireland
2020-03-23 14:31:15
No <p> found.
Real Python: The Python math Module: Everything You Need to Know
2020-03-23 14:00:00
In this article, youâll learn all about Pythonâs math module. Mathematical calculations are an essential part of most Python development. Whether youâre working on a scientific project, a financial application, or any other type of programming endeavor, you just canât escape the need for math.
BreadcrumbsCollector: mypy: how to use it in my project? Part 2: automatically annotate code
2020-03-23 13:00:00
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.
Podcast.__init__: A Flexible Open Source ERP Framework To Run Your Business
2020-03-23 12:59:10
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.
Twisted Matrix Labs: Twisted Drops Python 2.7 Support
2020-03-23 12:42:04
No <p> found.
"Coder's Cat": How to Shuffle a List in Python
2020-03-23 12:38:00
random is a Python module that implements pseudo-random number generators. random.shuffle can shuffle a list in-place.
"Coder's Cat": Python: Shuffle List
2020-03-23 12:38:00
random is a Python module that implements pseudo-random number generators. random.shuffle can shuffle a list in-place.
James Bennett: More on service layers in Django
2020-03-23 10:01:26
Well, that provoked some discussion.
PyBites: Productivity Mondays - a Simple yet Effective System
2020-03-23 09:00:00
There is just too much stuff out there when it comes to being more productive. I am reading The Ultimate Sales Machine (Chet Holmes) and it offers what is probably the most concise time management system I have seen so far:
Erik Marsja: How to use Pandas read_html to Scrape Data from HTML Tables
2020-03-23 06:57:44
The post How to use Pandas read_html to Scrape Data from HTML Tables appeared first on Erik Marsja.
Mike Driscoll: PyDev of the Week: Takeshi Komiya
2020-03-23 05:05:33
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. If you are interested in seeing some of the other projects that Komiya contributes to, you should check out his Github profile.
Hynek Schlawack: Hardening Your Web Serverâs SSL Ciphers
2020-03-23 00:00:00
There are many wordy articles on configuring your web serverâs TLS ciphers. This is not one of them. Instead I will share a configuration which is both compatible enough for todayâs needs and scores a straight âAâ on Qualysâs SSL Server Test.
Weekly Python StackOverflow Report: (ccxx) stackoverflow python report
2020-03-21 14:27:00
No <p> found.
Twisted Matrix Labs: Twisted 20.3.0 Released
2020-03-21 12:55:17
On behalf of Twisted Matrix Laboratories, I am honoured to announce the release of Twisted 20.3! The highlights of this release are: curve25519-sha256 key exchange algorithm support in Conch. "openssh-key-v1" key format support in Conch. Security fixes to twisted.web, including preventing request smuggling attacks and rejecting malformed headers. CVE-2020-10108 and CVE-2020-10109 were assigned for these issues, see the NEWS file for full details. twist dns --secondary now works on Python 3. The deprecation of twisted.news. ...and various other fixes, with 28 tickets closed in total. You can find the downloads at <https://pypi.org/project/Twisted> (or alternatively <https://twistedmatrix.com/trac/wiki/Downloads>). The NEWS file is also available at <https://github.com/twisted/twisted/blob/twisted-20.3.0/NEWS.rst>. Many thanks to everyone who had a part in this release â the supporters of the Twisted Software Foundation, the developers who contributed code as well as documentation, and all the people building great things with Twisted! - hawkowl
Test and Code: 106: Visual Testing : How IDEs can make software testing easier - Paul Everitt
2020-03-20 22:15:00
IDEs can help people with automated testing.
Real Python: The Real Python Podcast Is Here!
2020-03-20 20:18:40
The Real Python Podcast is finally live! Tune in for interesting guests, interviews with expert Pythonistas, and lots of behind-the-scenes with the Real Python Team.
BreadcrumbsCollector: mypy: how to use it in my project?
2020-03-20 19:17:00
Type annotations are a great addition to Python. Thanks to them, finally our IDEs are able to provide good quality autocompletion. They did not turn Python into statically typed language, though. If you put a wrong annotation (or forget to update it after code change), Python will still happily try to execute your program. It just may fail miserably. Type annotations are like comments â they do not really have any influence on the way how your program works. They have also the same disadvantage â once they become obsolete, they start leading developers astray. Type annotations advantage is that they have a very specific format (unlike comments) so can be used to build tools that will make your life easier and code better. In this article, you will learn how to start using mypy, even if you like to add it to your existing project.
Learn PyQt: MooseAche
2020-03-20 18:34:33
MooseAche is the latest revolution in web browsing! Go back and forward! Save files! Get help! (you'll need it). Any similarity to other browsers is entirely coincidental.
Django Weblog: DjangoCon Europe 2020 postponed to September
2020-03-20 14:40:00
It is with a sincere heart that we have decided to postpone DjangoCon Europe 2020 to September 16-20.
Python Anywhere: COVID-19 update: PythonAnywhere is now all-remote
2020-03-20 12:52:59
Scary times. We hope everyone reading this is well and keeping safe!
PyCon: PyCon US 2020 in Pittsburgh, Pennsylvania is cancelled
2020-03-20 11:14:03
No <p> found.
Talk Python to Me: #256 Click to run your notebook with Binder
2020-03-20 08:00:00
No <p> found.
Python 4 Kids: Python is No Good for Mortality Rates
2020-03-20 02:36:32
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. For example:
Python Engineering at Microsoft: Python in Visual Studio Code â March 2020 Release
2020-03-19 23:06:28
We are pleased to announce that the March 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code in the documentation. Â
PyCharm: PyCharm 2020.1 Beta
2020-03-19 19:36:14
We have a new Beta version of PyCharm that can now be downloaded from our website
Ruslan Spivak: Letâs Build A Simple Interpreter. Part 19: Nested Procedure Calls
2020-03-19 14:00:00
âWhat I cannot create, I do not understand.â â Richard Feynman
Caktus Consulting Group: What to do About Email: How to Extract Data from Microsoft PST Files
2020-03-19 12:27:52
In my previous line of work as an archivist, the question of what to do about email archives was an ongoing and deeply-considered topic. Email is everywhere. Yes, even Gen Z and millennials use it, despite thousands of think pieces that would have you believe that the old ways are giving way to business meetings conducted on fixed-gear bicycles, over avocado toast and Instagram.
PyBites: 4 Common Mistakes When Learning Python and Programming
2020-03-19 11:30:00
How are you progressing with your Python? What could be holding you back?
Python Bytes: #173 You test deserves a fluent flavor
2020-03-19 08:00:00
No <p> found.
Python Bytes: #173 Your test deserves a fluent flavor
2020-03-19 08:00:00
No <p> found.
Matt Layman: Onboarding - Building SaaS #48
2020-03-19 00:00:00
In this episode, we did some design work to plan out the onboarding flow for new users. I spoke through my design process, outlined what a new user will need to do to succeed, wrote down the plan in GitHub issues, then started to implement that flow.
I started the stream with a quick fix to the main app view.
After that, we started a new project in the app. I needed to design the starting experience for a user.
Erik Marsja: How to use Pandas Scatter Matrix (Pair Plot) to Visualize Trends in Data
2020-03-18 20:48:09
The post How to use Pandas Scatter Matrix (Pair Plot) to Visualize Trends in Data appeared first on Erik Marsja.
PyCharm: PyCharm 2019.3.4
2020-03-18 20:20:47
Weâve fixed a couple of issues in PyCharm 2019.3. You can get it from within PyCharm (Help | Check for Updates), using JetBrains Toolbox, or by downloading the new version from our website.
PyBites: How to Debug a Hanging Test Using pytest
2020-03-18 20:15:00
Today a wanted to share a neat trick that might save you some headache: debugging a hanging test.
Real Python: Python Scope & the LEGB Rule: Resolving Names in Your Code
2020-03-18 14:00:00
The concept of scope rules how variables and names are looked up in your code. It determines the visibility of a variable within the code. The scope of a name or variable depends on the place in your code where you create that variable. The Python scope concept is generally presented using a rule known as the LEGB rule.
Continuum Analytics Blog: How Weâre Responding to COVID-19
2020-03-18 13:55:19
To our community of customers, partners, contributors, and friends: We are all facing a dynamic and difficult situation in the face of the COVID-19 pandemic. Our families, friends, customers, employees, and communities are all dramaticallyâŠ
RMOTR: Learn Data Science by Analyzing COVID-19
2020-03-18 12:50:04
COVID-19 has hit hard in the past couple of weeks and its impact has been notorious both from a sanitary perspective and an economic one. Plenty has been written about it, especially statistical reports on its exponential growth and the importance of âflattening the curveâ.
Fabio Zadrozny: How is frame evaluation used in pydevd?
2020-03-18 07:19:00
No <p> found.
Anarcat: How can I trust this git repository?
2020-03-18 01:16:51
Join me in the rabbit hole of git repository verification, and how we could improve it.
PyPy Development: Leysin 2020 Sprint Report
2020-03-17 23:09:12
No <p> found.
Erik Marsja: How to get Absolute Value in Python with abs() and Pandas
2020-03-17 22:20:34
The post How to get Absolute Value in Python with abs() and Pandas appeared first on Erik Marsja.
PyCoderâs Weekly: Issue #412 (March 17, 2020)
2020-03-17 19:30:00
#412 â MARCH 17, 2020 View in Browser »
PyCharm: Webinar: âDjango and PyCharm Tips and Tricksâ with Paul Everitt
2020-03-17 14:34:49
PyCharm has long had mature support for Django. Want to learn tips and tricks about Django to learn how to get the most out of PyCharm? In this webinar we go through bite-sized Django tips being added to our PyCharm Guide.
Real Python: Make a 2D Side-Scroller Game With PyGame
2020-03-17 14:00:00
In this course, youâll learn about creating games using Python and the library PyGame.
Python Software Foundation: Débora Azevedo Awarded the PSF Community Service Award for Q4 2019
2020-03-17 12:27:13
No <p> found.
Gocept Weblog: Zope May sprint goes remote
2020-03-17 10:53:40
Earl Zope was inviting to the Zope May sprint, hoping for many volunteers to come. Due to restrictions to prevent spreading of COVID-19 (Corona) this sprint is going to be remote-only. â By now all of the organizers and their families are fine, so you do not have to worry about us.
Holger Krekel: Message to my IT/hacking friends (Mar17)
2020-03-17 10:37:56
Some thoughts and advises on March 17 from BB33, a little office and hackerspace in Freiburg in the black forest. Sitting here alone. My 8yo and partner are good, a few streets further, as is her family, for now. My sisters and many other friends are less well but i wonât detail this here. School has ended but my 8yo is totally angry with Covid-19 ⊠is asking if it could be killed by throwing a host of atomic bombs on it ⊠to which my answer is: ânuclear power can not kill covid-19 even it would kill all human life on the planet. But yes, sincerely, i understand your frustration â letâs take a bicicly ride together.â
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 003.
2020-03-17 09:52:58
This tutorial refers to a python module named cirq.
The documentation of this python module can be found on this website.
The development team comes with this intro:
Cirq is a software library for writing, manipulating, and optimizing quantum circuits and then running them against quantum computers and simulators. Cirq attempts to expose the details of hardware, instead of abstracting them away,
EuroPython: EuroPython 2020: Going virtual
EuroPython 2021: Dublin, Ireland
2020-03-17 09:21:58
In our blog post on the COVID-19 last week, we were still hopeful that the situation would improve in time for the event in July. The last few days have shown us that we need to have a more realistic view on how things will develop in the coming months.
Podcast.__init__: Getting A Handle On Portable C Extensions With hpy
2020-03-16 23:18:10
One of the driving factors of Pythonâs success is the ability for developers to integrate with performant languages such as C and C++. The challenge is that the interface for those extensions is specific to the main implementation of the language. This contributes to difficulties in building alternative runtimes that can support important packages such as NumPy. To address this situation a team of developers are working to create the hpy project, a new interface for extension developers that is standardized and provides a uniform target for multiple runtimes. In this episode Antonio Cuni discusses the motivations for creating hpy, how it benefits the whole ecosystem, and ways to contribute to the effort. This is an exciting development that has the potential to unlock a new wave of innovation in the ways that you can run your Python code.
PyBites: Productivity Mondays - Tips from Adam Grant
2020-03-16 22:59:00
We are longtime fans of the Tim Ferriss' show. I was listening to Adam Grant â The Man Who Does Everything again and there were some awesome nuggets about productivity, motivation and mindset in there:
Mike Driscoll: Python 101 2nd Edition Kickstarter Ending in Two Days
2020-03-16 17:29:41
My Kickstarter for the 2nd Edition of Python 101 is ending in less than two days. If you want a signed copy or to purchase one of my other books for a discount, you should check out the Kickstarter as I have lots of good deals on there.
James Bennett: Against service layers in Django
2020-03-16 15:52:43
Recently Iâve seen posts and questions pop up in a few places about a sort of âenterpriseâ Django style guide thatâs been getting attention. There are a number of things I disagree with in that guide, but the big one, and the one people have mostly been asking about, is the recommendation to add a âservice layerâ to Django applications. The short version of my opinion on this is: itâs probably not what you want âŠ
Real Python: How to Do a Binary Search in Python
2020-03-16 14:00:00
Binary search is a classic algorithm in computer science. It often comes up in programming contests and technical interviews. Implementing binary search turns out to be a challenging task, even when you understand the concept. Unless youâre curious or have a specific assignment, you should always leverage existing libraries to do a binary search in Python or any other language.
Doing Math with Python: Coding Starter Kit Humble Bundle
2020-03-16 14:00:00
I am very excited to share that "Doing Math with Python" is part of No Starch Press's Coding Starter Humble Bundle. Of course, you get No Starch Press's other excellent coding books as part of the bundle.
Stack Abuse: Default Arguments in Python Functions
2020-03-16 12:29:00
Functions in Python are used to implement logic that you want to execute repeatedly at different places in your code. You can pass data to these functions via function arguments. In addition to passing arguments to functions via a function call, you can also set default argument values in Python functions. These default values are assigned to function arguments if you do not explicitly pass a parameter value to the given argument. Parameters are the values actually passed to function arguments.
Catalin George Festila: Python 3.5.2 : Detect motion and save images with opencv.
2020-03-16 09:30:42
This script is simple to use it with a webcam or to parse a video file.
The main goal of this script is to see the difference in various frames of a video or webcam output.
The first frame of our video file will contain no motion and just background and then is compute the absolute difference.
There is no need to process the large, raw images straight from the video stream and this is the reason
Mike Driscoll: PyDev of the Week: Jessica Garson
2020-03-16 05:05:17
This week we welcome Jessica Garson (@jessicagarson) as our PyDev of the Week! Jessica is a developer advocate at Twitter. She also teaches Python at New York University. You can see some of what sheâs up to over on Github. Letâs spend some time getting to know her better!
Anarcat: Remote presence tools for social distancing
2020-03-15 16:38:39
As a technologist, I've been wondering how I can help people with the rapidly spreading coronavirus pandemic. With the world entering the "exponential stage" (e.g. Canada, the USA and basically all of Europe), everyone should take precautions and limit practice Social Distancing (and not dumbfuckery). But this doesn't mean we should dig ourselves in a hole in our basement: we can still talk to each other on the internet, and there are great, and free, tools available to do this. As part of my work as a sysadmin, I've had to answer questions about this a few times and I figured it was useful to share this more publicly.
PaweĆ Fertyk: WebRTC: a working example
2020-03-14 23:00:00
Recently I had to use WebRTC for a simple project. The technology itself has many advantages and is being developed as an open standard, without the need for any plugins. However, I was quite new to WebRTC and had some problems getting my head around the basic concepts, as well as creating a working solution. There are many tutorials available, but most of them are incomplete, obsolete, or forced me to use some third party services (e.g. Google Firebase), that only made the whole process more complicated to setup and more difficult to understand.
Reuven Lerner: Announcing: Free, weekly âPython for non-programmersâ workshop
2020-03-14 21:04:13
This is a tough time for the world. Wherever you live, you have likely been affected by covid-19, the coronavirus that has been making its way to every country, city, and town.
Quansight Labs Blog: Documentation as a way to build Community
2020-03-14 12:25:55
As a long time user and participant in open source communities, I've always known that documentation is far from being a solved problem. At least, that's the impression we get from many developers: "writing docs is boring"; "it's a chore, nobody likes to do it". I have come to realize I'm one of those rare people who likes to write both code and documentation.
Weekly Python StackOverflow Report: (ccxix) stackoverflow python report
2020-03-14 12:08:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-03-14 12:08:07 GMT
The Digital Cat: Public key cryptography: RSA keys
2020-03-14 11:00:00
I bet you created at least once an RSA key pair, usually because you needed to connect to GitHub and you wanted to avoid typing your password every time. You diligently followed the documentation on how to create SSH keys and after a couple of minutes your setup was complete.
Talk Python to Me: #255 Talking to cars with Python
2020-03-14 08:00:00
No <p> found.
Ned Batchelder: Functional strategies in Python
2020-03-13 18:01:01
I got into a debate about Pythonâs support for functional programming (FP) with a friend. One of the challenging parts was listening to him say, âPython is brokenâ a number of times.
NumFOCUS: PyData COVID-19 Response
2020-03-13 15:02:49
The safety and well-being of our community are extremely important to us. We have therefore decided to postpone all PyData conferences scheduled to take place until the end of June: PyData Miami PyData London PyData Amsterdam We have been closely monitoring the situation and believe this is the best action to take based on the [âŠ]
Python Bytes: #172 Floating high above the web with Helium
2020-03-13 08:00:00
No <p> found.
Moshe Zadka: Or else:
2020-03-13 02:00:00
This was originally sent to my newsletter. I send one e-mail, always about Python, every other Sunday. If this blog post interests you, consider subscribing.
PyCharm: PyCharm 2020.1 EAP 7
2020-03-12 22:20:56
We have a new Early Access Program (EAP) version of PyCharm that can now be downloaded from our website
Will McGugan: Progress bars with Rich
2020-03-12 20:32:13
I've added progress bar support to Rich.
"Coder's Cat": Encapsulation in Python
2020-03-12 16:22:00
Encapsulation is an essential aspect of Object Oriented Porgramming.
Django Weblog: New governance model for the Django project
2020-03-12 16:02:35
For some time now, a proposal to change the governance of the Django open-source project has been under discussion and refinement. It was written up as a Django Enhancement Proposal (DEP), and numbered as DEP 10.
PyCon: March 12 Update on COVID-19
2020-03-12 15:04:27
No <p> found.
EuroPython: EuroPython 2020 and COVID-19
2020-03-12 14:46:57
As you probably already know, the Coronavirus is spreading throughout Europe and we wanted to give you an update on our current plans around on the situation.
Python Anywhere: How to use shared in-browser consoles to cooperate while working remotely.
2020-03-12 14:12:01
One of the challenges of remote work is when you need to work together on one thing.
Quansight Labs Blog: uarray: GSoC Participation
2020-03-12 12:39:00
I'm pleased to announce that uarray is participating in GSoC '20 as a sub-organization under the umbrella of the Python Software Foundation. Our ideas page is up here, go take a look and see if you (or someone you know) is interested in participating, either as a student or as a mentor.
Kushal Das: More power to you my friend
2020-03-12 04:22:45
Continuum Analytics Blog: Anaconda Individual Edition 2020.02: New Name, Exciting Features
2020-03-11 22:12:24
 We are pleased to announce the release of Anaconda Individual Edition (formerly Anaconda Distribution) 2020.02! There are some exciting new features in this release, but first weâll touch on the name change. Recently, weâŠ
Real Python: Using the Python defaultdict Type for Handling Missing Keys
2020-03-11 14:00:00
A common problem that you can face when working with Python dictionaries is to try to access or modify keys that donât exist in the dictionary. This will raise a KeyError and break up your code execution. To handle these kinds of situations, the standard library provides the Python defaultdict type, a dictionary-like class thatâs available for you in collections.
Quansight Labs Blog: Planned architectural work for PyData/Sparse
2020-03-11 11:30:00
A lot of behind the scenes work has been taking place on PyData/Sparse. Not so much in terms of code, more in terms of research and community/team building. I've more-or-less decided to use the structure and the research behind the Tensor Algebra Compiler, the work of Fredrik Kjolstad and his collaborators at MIT. đđ»ââïž To this end, I've read/watched the following talks and papers:
Test and Code: 105: TAP: Test Anything Protocol - Matt Layman
2020-03-11 07:00:00
The Test Anything Protocol, or TAP, is a way to record test results in a language agnostic way, predates XML by about 10 years, and is still alive and kicking.
Karim Elghamrawy: Private Methods in Python
2020-03-11 02:18:19
Let me preface this article by emphasizing that understanding object-oriented programming (OOP) is crucial if you want to learn Python. One aspect of OOP is to learn how to define and use private methods. In this article, I will teach you how to create private methods, when to use them, and why they are necessary. [...]
Wing Tips: Goto-Definition From the Interactive Shells in Wing Pro
2020-03-11 01:00:00
In this Wing Tip we'll take a quick look at a lesser-known but often useful feature in Wing Pro: Jumping from symbols in the integrated shells to their point of definition in source code. This makes it a snap to bridge from runtime symbols to the source code where they are actually defined and used.
Anarcat: Font changes
2020-03-11 00:49:27
I have worked a bit on the fonts I use recently. From the main font I use every day in my text editor and terminals to this very website, I did a major and (hopefully) thoughtful overhaul of my typography, in the hope of making things easier to use and, to be honest, just prettier.
PyCoderâs Weekly: Issue #411 (March 10, 2020)
2020-03-10 19:30:00
#411 â MARCH 10, 2020 View in Browser »
NumFOCUS: Statement on Coronavirus
2020-03-10 19:13:20
As you are aware, the Coronavirus (COVID-19) is a topic of frequent and ongoing discussions. We would like to provide an update on our status and policies as well as provide resources for additional information. As of today, our event schedule remains as posted on event sites. Any changes or updates will be immediately shared. [âŠ]
Mike Driscoll: Python 101: Learning About Lists
2020-03-10 17:15:02
Lists are a fundamental data type in the Python programming language. A list is a mutable sequence that is typically a collection of homogeneous items. Mutable means that you can change a list after its creation. You will frequently see lists that contain other lists. These are known as nested lists. You will also see lists that contain all manner of other data types, such as dictionaries, tuples or objects.
Tryton News: Security Release for issue9089
2020-03-10 17:00:07
@ced wrote:
Tryton News: Security Release for issue9108
2020-03-10 17:00:07
@ced wrote:
Roberto Alsina: Episodio 33: DetrĂĄs de escena: Haciendo videos
2020-03-10 12:00:12
Me han preguntado un par de veces como hago los videos. La versiĂłn corta: grabo la pantalla con OBS y me pongo a hablar.
Python Insider: Python 3.7.7 is now available
2020-03-10 10:55:25
No <p> found.
Zato Blog: Zato services as containers for Python functions and methods
2020-03-10 09:25:37
Acting as containers for enterprise APIs, Zato services are able to invoke each other to form higher-level processes and message flows. What if a service needs to invoke a hot-deployable Python function or method, though? Read on to learn details of how to accomplish it.
eGenix.com: PyDDF Python Spring Sprint 2020
2020-03-10 09:00:00
The following text is in German, since we're announcing a Python sprint in DĂŒsseldorf, Germany.
eGenix.com: Canceled: PyDDF Python Spring Sprint 2020
2020-03-10 09:00:00
The following text is in German, since we're announcing a Python sprint in DĂŒsseldorf, Germany.
Programiz: Polymorphism in Python
2020-03-10 07:52:58
In this tutorial, we will learn about polymorphism, different types of polymorphism, and how we can implement them in Python with the help of examples.
Programiz: Python main function
2020-03-10 06:57:42
In this tutorial, we will learn how to use a Python program's __name__ attribute to run it dynamically in different contexts.
IslandT: Lists in python â Part One
2020-03-10 05:42:53
Lists in python are just like an array in Java, a python list is liked an apartment consists of many rooms where you will find a person living inside each of those rooms. The only difference between the Python list and the Java array is that Java is very strict when it comes to the type of element which is allowed to stay inside a particular type of array which means if that array belongs to the integer type then only integer will be allowed to stay inside that array, whereas Python will allow every data types to stay together inside a single list. For example, in the below program, we will put a string, a number, and a dictionary within that same list and then use those data types according to our needs.
Podcast.__init__: Open Source Machine Learning On Quantum Computers With Xanadu AI
2020-03-10 02:05:48
Quantum computers promise the ability to execute calculations at speeds several orders of magnitude faster than what we are used to. Machine learning and artificial intelligence algorithms require fast computation to churn through complex data sets. At Xanadu AI they are building libraries to bring these two worlds together. In this episode Josh Izaac shares his work on the Strawberry Fields and Penny Lane projects that provide both high and low level interfaces to quantum hardware for machine learning and deep neural networks. If you are itching to get your hands on the coolest combination of technologies, then listen now and then try it out for yourself.
Stack Abuse: Grid Search Optimization Algorithm in Python
2020-03-09 17:23:50
In this tutorial, we are going to talk about a very powerful optimization (or automation) algorithm, i.e. the Grid Search Algorithm. It is most commonly used for hyperparameter tuning in machine learning models. We will learn how to implement it using Python, as well as apply it in an actual application to see how it can help us choose the best parameters for our model and improve its accuracy. So let's start.
Real Python: Defining Your Own Python Function
2020-03-09 14:00:00
Throughout the previous tutorials in this series, youâve seen many examples demonstrating the use of built-in Python functions. In this tutorial, youâll learn how to define your own Python function. Youâll learn when to divide your program into separate user-defined functions and what tools youâll need to do this.
PyBites: Productivity Mondays - Break Fear to Boost Productivity
2020-03-09 13:45:36
Another week, another edition of Productivity Mondays! This week I'm looking at how fear can help you be more productive and, no I don't mean the fear of not delivering on time... although that is a good motivator right? Actually no, that's a terrible motivator. This is all about empowering you to break down fear barriers by getting uncomfortable then using that as a motivator to kick some goals!
Reuven Lerner: Last chance to level up your skills with Weekly Python Exercise B1 (advanced topics 1)
2020-03-09 13:38:23
If youâve been using Python for a while, then you know that itâs easy to learn â and even fun to use. But you probably also find yourself stuck on occasion, frustrated that the ideas and techniques donât flow more easily.
EuroPython: EuroPython 2020: Call for Proposals now open
2020-03-09 12:33:00
We have opened the Call for Proposals today. It will be left open for three weeks and then close on:
Roberto Alsina: Episodio 32: Python moderno 4 ... Click!
2020-03-09 12:00:10
Muchas veces, dentro de una biblioteca hecha en Python hay un comando Ăștil con ganas de salir. Para lograrlo: click!
Codementor: How to build a CSS pre-processor (like SASS) from scratch
2020-03-09 07:26:12
Sass, Less or Stylus? Now you get an idea how to roll out your own pre-processor!
IslandT: Global variables in python
2020-03-09 05:26:51
In Python, there has only an object data type for all global variables. No matter that is a string or number, a python programmer does not need to declare the data type of that variable before using it because each variable in Python is an object variable.
Mike Driscoll: PyDev of the Week: Tommy Falgout
2020-03-09 05:05:58
This week we welcome Tommy Falgout (@lastcoolname) as our PyDev of the Week! Tommy works on the Robo-Clippy project. You can see what else he is up to by checking out his website. Letâs take a few moments to get to know Tommy better!
Hynek Schlawack: Python in GitHub Actions
2020-03-09 00:00:00
GitHubâs own CI called GitHub Actions has been out of closed beta for a while and offers generous free quotas and a seamless integration with the rest of the site. Letâs have a look on how to use it for an open source Python package.
Roberto Alsina: enum_switch: a enum-based switch thing for Python
2020-03-08 19:21:24
I am doing a series of videos (spanish only!) about "modern Python", showing the modern replacements for things that are ... dense in their original forms.
Full Stack Python: The Best Resources for Developers to Learn Finance
2020-03-08 05:00:00
Software developers should understand the basics of finance not only to manage their own money but also to understand how businesses' software projects are funded.
Zero-with-Dot (Oleg ƻero): Weighted K-Means Clustering example - artificial countries
2020-03-07 23:00:00
One of fields where WKMC algorithm can be applied is demographics. Imagine a situation, in which you would like to see how people group or would group if all administation divisions or historical conflicts disappeared or ethnical, national or tribal identity would not matter? How would then people go about creating communities?
Codementor: Getting started with Flask
2020-03-07 20:34:15
Getting Started With Flask, A Python Microframework
EuroPython: EuroPython 2020: Launching the conference website
2020-03-07 18:33:13
We are very excited to announce the launch of our website for EuroPython 2020:
Weekly Python StackOverflow Report: (ccxviii) stackoverflow python report
2020-03-07 12:34:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-03-07 12:33:52 GMT
Codementor: Using Python Functions As Classes
2020-03-07 10:17:55
oop or functional? You decide!
Codementor: The Zen Of Python Is A Joke And Here Is Why
2020-03-07 10:11:16
The zen of python needs more meditation
Roberto Alsina: Episodio 33: DetrĂĄs de escena: Haciendo videos.
2020-03-06 20:36:54
Varias personas me han preguntado como hago los videos. La versiĂłn corta es "capturo la pantalla, me pongo a hablar, y lo subo a youtube".
BreadcrumbsCollector: Implementing the Clean Architecture with Python â my book is here!
2020-03-06 19:11:55
It is my pleasure to announce that my book is finally available to buy.
Roberto Alsina: Episodio 31: Python moderno III, Pathlib, el camino a la felicidad
2020-03-06 17:27:47
Pathlib es para crear / modificar / manipular paths. O, como decĂamos antes os.path.join(crear, modificar, manipular paths) ... mas allĂĄ del chiste, es muuuuucho mĂĄs legible. Veamos un ejemplo "real" de cĂłdigo que veo seguido y dejemos de usar os.path.
PyCharm: PyCharm 2020.1 EAP 6
2020-03-06 13:36:32
We have a new Early Access Program (EAP) version of PyCharm that can be now downloaded from our website.
PyCon: March 6 Update on COVID-19
2020-03-06 12:36:23
No <p> found.
Roberto Alsina: Episodio 30: Python Moderno 2: Black and Flake8
2020-03-06 12:00:10
Herramientas para mejorar la calidad de tu código! Que mås querés????
Talk Python to Me: #254 A Python mentorship story
2020-03-06 08:00:00
No <p> found.
Matt Layman: Episode 3 - Views On Django
2020-03-06 00:00:00
On this episode, we look at views, a major component within Django and a primary place where your code will run.
Listen at djangoriffs.com.
Last Episode On the previous episode, we talked about URLs and how they describe the main interface that a browser can use to interact with your application.
What Is A View? A view is a chunk of code that receives an HTTP request and returns an HTTP response.
pythonwise: Using __getattr__ for nicer configuration API
2020-03-05 21:47:46
No <p> found.
Reinout van Rees: Rotterdam python meetup
2020-03-05 19:38:00
In radiology, people take a long time to become experienced. Medical school, MD, certified radiologist... And when they're 68 they're off to a pension. What they did at Quantib was to try and "scale radiology experience with AI".
Stack Abuse: Removing Stop Words from Strings in Python
2020-03-05 17:31:40
In this article, you are going to see different techniques for removing stop words from strings in Python. Stop words are those words in natural language that have a very little meaning, such as "is", "an", "the", etc. Search engines and other enterprise indexing platforms often filter the stop words while fetching results from the database against the user queries.
Roberto Alsina: Episodio 29: Python Moderno 1: Poetry.
2020-03-05 16:33:05
Primera parte de una serie mostrando herramientas nuevas que reemplazan cosas viejas con algo mejor. En este video: poetry, reemplazando setup.py!
Python Anywhere: System updates on 3 and 5 March
2020-03-05 14:50:55
On 3 March we upgraded our EU-based system at eu.pythonanywhere.com to the latest version of our code, and this morning (5 March) we upgraded our US-based system at www.pythonanywhere.com to the same version.
Python Bytes: #171 Chilled out Python decorators with PEP 614
2020-03-05 08:00:00
No summary found!
Roberto Alsina: Episodio 28: Y meta clases, y meta clases!
2020-03-04 17:08:57
Metaclases. ¿Qué son? ¿Cómo funcionan? ¿Sirven para algo? (no)
RMOTR: Spatial Data with Python - Operations!
2020-03-04 16:07:03
We did it. Weâve taken the first step towards our data analysis project. We know the fundamental concepts of geographical data and how to load, inspect and visualize data in our Python project.
Python Software Foundation: An Update PyPI Funded Work
2020-03-04 15:40:22
No <p> found.
Real Python: Alexa Python Development: Build and Deploy an Alexa Skill
2020-03-04 14:00:00
Smart home speakers were a novel idea just a couple of years ago. Today, theyâve become a central part of many peopleâs homes and offices and their adoption is only expected to grow. Among the most popular of these devices are those controlled by Amazon Alexa. In this tutorial, youâll become an Alexa Python developer by deploying your own Alexa skill, an application that users will interact with using voice commands to Amazon Alexa devices.
Python Insider: Python 3.7.7rc1 is now available for testing
2020-03-04 12:53:32
No <p> found.
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 002.
2020-03-04 11:38:06
This is another notebook with the Altair python package.
The development team comes with this intro:
Altair is a declarative statistical visualization library for Python, based on Vega and Vega-Lite.
Altair offers a powerful and concise visualization grammar that enables you to build a wide range of statistical visualizations quickly. Here is an example of using the Altair API to quickly
Django Weblog: Django security releases issued: 3.0.4, 2.2.11, and 1.11.29
2020-03-04 09:36:35
In accordance with our security release policy, the Django team is issuing Django 3.0.4, Django 2.2.11 and Django 1.11.29. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Test and Code: 104: Top 28 pytest plugins - Anthony Sottile
2020-03-04 08:45:00
pytest is awesome by itself. pytest + plugins is even better. In this episode, Anthony Sottile and Brian Okken discuss the top 28 pytest plugins.
IslandT: 64 bit Python installation on Windows 10
2020-03-04 02:52:41
After a brief introduction to Python programming language in the previous article, in this chapter, we will go ahead and install 64 bit Python on Windows 10 operating system before we start to write the python program in the next chapter. I assume most of you are using the 64 bit Windows operating systemâs laptop or desktop if it is otherwise then you can follow the Python installation instructions either on Installing Python 3 on Mac OS or Installing Python 3 on Linux.
Matt Layman: How To Style Sign Up - Building SaaS #47
2020-03-04 00:00:00
In this episode, I added styling to the Sign Up page of the site. We chatted about CSS tools and frameworks, the benefit of feature flags to control what UI is displayed to users, and how to use Tailwind CSS to modify a design quickly.
In the first portion of the stream, we focused on CSS frameworks. We compared Bootstrap, Semantic UI, and Tailwind CSS.
After that discussion, I talked about feature flags.
Roberto Alsina: Episodio 27: Interpretado, mis polainas!
2020-03-03 21:19:34
"No me gusta Python porque es interpretado" "Prefiero Java porque es compilado" y otras frases que no es que estĂĄn bien ni mal, es que no tienen remedio.
PyCoderâs Weekly: Issue #410 (March 3, 2020)
2020-03-03 19:30:00
#410 â MARCH 3, 2020 View in Browser »
Erik Marsja: How to Convert a Pandas DataFrame to a NumPy Array
2020-03-03 17:18:09
The post How to Convert a Pandas DataFrame to a NumPy Array appeared first on Erik Marsja.
DaPythonista: API? Itâs not that scary!
2020-03-03 12:05:27
There are way too many services out there that provide a free API whichwaits to be adjusted into your favorite language.Also, API services could be generated from any visible data such as Facebook (which Iâve covered here), Twitter or any public databases.In this article, weâll be focusing on Paypal API service.
Matt Layman: Views On Views
2020-03-03 00:00:00
No <p> found.
Anarcat: Moving dconf entries to git
2020-03-02 15:36:11
I've been managing my UNIX $HOME repository with version control for almost two decades now (first under CVS, then with git). Once in a while, I find a little hack to make this work better.
Andre Roberge: True constants in Python - part 1
2020-03-02 15:06:21
No <p> found.
Andre Roberge: True constants in Python - part 2, and a challenge
2020-03-02 15:05:21
No <p> found.
Real Python: Python Bindings: Calling C or C++ From Python
2020-03-02 14:00:00
Are you a Python developer with a C or C++ library youâd like to use from Python? If so, then Python bindings allow you to call functions and pass data from Python to C or C++, letting you take advantage of the strengths of both languages. Throughout this tutorial, youâll see an overview of some of the tools you can use to create Python bindings.
Podcast.__init__: The Advanced Python Task Scheduler
2020-03-02 13:42:32
Most long-running programs have a need for executing periodic tasks. APScheduler is a mature and open source library that provides all of the features that you need in a task scheduler. In this episode the author, Alex Grönholm, explains how it works, why he created it, and how you can use it in your own applications. He also digs into his plans for the next major release and the forces that are shaping the improved feature set. Spare yourself the pain of triggering events at just the right time and let APScheduler do it for you.
PyCon: March 2 Update on COVID-19
2020-03-02 12:56:00
No <p> found.
PyCharm: PyCharm 2020.1 EAP 5
2020-03-02 10:56:16
We have a new Early Access Program (EAP) version of PyCharm that can be now downloaded from our website.
IslandT: What is python programming language?
2020-03-02 06:52:34
Python is the most popular programming language in the world, above Java and above C/C++/C#. We can use Python for free to develop web applications or desktop software and then sell that application or software in the marketplace. Just like Perl, Python source code is also available under the GNU General Public License (GPL) which guarantees end-users the freedom to run, study, share and modify the source code. Python is created by Guido van Rossum. In my opinion, Python programming language looks like the combination of Java, Javascript, and Perl programming language, therefore there is nothing new and nothing we have not seen before if we have already learned those programming languages above.
PyBites: Productivity Mondays - What Can You Do Consistently This Week?
2020-03-02 06:40:00
Continuous effort - not strength or intelligence - is the key to unlocking our potential â Winston S. Churchill.
Mike Driscoll: PyDev of the Week: Doug Farrell
2020-03-02 06:05:12
This week we welcome Doug Farrell (@writeson) as our PyDev of the Week! Doug is working on Python book entitled The Well-Grounded Python Developer for Manning. He is also a contributor for Real Python. You can find out more about Doug on his website. Now letâs spend some time learning more about Doug!
Roberto Alsina: Episodio 26: El REPL, pero mejor.
2020-03-02 00:15:31
El intérprete interactivo de Python (el REPL) estå bueno, pero puede ser mejor. ¿Cómo? Bueno, vean el video!
Ruslan Spivak: EOF is not a character
2020-03-01 16:53:00
I was reading Computer Systems: A Programmerâs Perspective the other day and in the chapter on Unix I/O the authors mention that there is no explicit âEOF characterâ at the end of a file.
Catalin George Festila: Python 3.6.9 : My colab tutorials - part 001.
2020-03-01 12:10:01
Today I start this tutorials series for the Colab tool.
To share my working with the Colab tool I created this GitHub project.
This project has two colab files :
catafest_001.ipynb Created using Colaboratory
catafest_002.ipynb Created using Colaboratory
First colab notebook come with a simple tutorial.
The next colab notebook is a little bit more complex and shares more information about how
Tryton News: Newsletter March 2020
2020-03-01 09:00:02
@ced wrote:
Catalin George Festila: Python Qt5 - Create a spectrum equalizer.
2020-03-01 07:49:20
I haven't written much for a while on these issues about python and PyQt5.
Today I will show a complex example of QtMultimedia and how to create a spectrum equalizer.
First, the PyQt5 bindings come with this python module named QtMultimedia.
The main reason was the lack of time and focus of my effort on more stringent elements of my life.
Let's start with the few lines of source code that show us
Test and Code: 103: Django - Lacey Williams Henschel
2020-03-01 00:30:00
Django is without a doubt one of the most used web frameworks for Python. Lacey Williams Henschel is a Django consultant and has joined me to talk about Django, the Django community, and so much more.
Roberto Alsina: Episodio 25: Asignaciones y mutabilidad
2020-02-29 17:42:25
En Python, asignar valores a variables no es exactamente igual que en otros lenguajes. Y eso provoca comportamientos que pueden resultar sorprendentes. Y después eso te lleva a ver que con algunos tipos funciona distinto. Y eso es porque algunos tipos son "inmutables". Y asà sigue, una cosa lleva a la otra.
Erik Marsja: How to Convert a Python Dictionary to a Pandas DataFrame
2020-02-29 15:07:37
The post How to Convert a Python Dictionary to a Pandas DataFrame appeared first on Erik Marsja.
Weekly Python StackOverflow Report: (ccxvii) stackoverflow python report
2020-02-29 08:02:00
No <p> found.
Andre Roberge: Implicit multiplication in Python - part 1
2020-02-28 19:56:53
No <p> found.
Luke Plant: Double-checked locking with Django ORM
2020-02-28 16:14:28
The double-checked locking pattern is one that is useful when:
Gocept Weblog: Zope May Sprint
2020-02-28 14:13:55
Earl Zope has settled down for a good while in Python 3 wonderland. He made friends with the inhabitants and other immigrants. He enjoys his new live.
Reuven Lerner: âPython Workoutâ is Manningâs âDeal of the Dayâ
2020-02-28 08:43:07
Iâm delighted to announce that my book, âPython Workout,â is Manningâs âDeal of the Dayâ for February 28th.
Daniel Roy Greenfeld: Adding Metadata to PDFs
2020-02-28 04:30:00
For both Django Crash Course and the forthcoming Two Scoops of Django 3.x, we're using a new process to render the PDFs. Unfortunately, until just a few days ago that process didn't include the cover. Instead, covers were inserted manually using Adobe Acrobat.
Catalin George Festila: Python 3.6.9 : Google give a new tool for python users.
2020-02-27 11:14:58
Today I discovered a real surprise gift made by the team from Google for the evolution of programmers.
I say this because not everyone can afford hardware resources.
This gift is a new tool called Colab and uses these versions of python and sys:
Python version
3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0]
Version info.
sys.version_info(major=3, minor=6, micro=9, releaselevel='final',
Test and Code: 102: Cosmic Python, TDD, testing and external dependencies - Harry Percival
2020-02-27 09:00:00
Harry Percival has completed his second book, "Architecture Patterns with Python". So of course we talk about the book, also known as "Cosmic Python". We also discuss lots of testing topics, especially related to larger systems and systems involving third party interfaces and APIs.
Roberto Alsina: Python Meetup Buenos Aires 27/2/2020
2020-02-27 00:02:45
Charla en el Buenos Aires Python Meetup el 7/11/2019
Reuven Lerner: Want to spend more time coding Python, and less time on Stack Overflow?
2020-02-26 16:58:01
How many times a day do you visit Stack Overflow? (If youâre like most programmers, the answer is âmany.â) Wouldnât it be nice to just be able to write Python code, without interrupting your work every few hours to check (or double-check) something? After all, whether youâre a data scientist, app developer, or just a hobbyist, your goal isnât to search for answers to your problems. Your goal is to actually solve those problems. Consider what would happen if you were able to use all of that search-for-answers time on actually solving problems:
EuroPython: EuroPython 2020: Call for Proposals opens on March 9th
2020-02-26 16:45:25
We are happy to announce that the Call for Proposals will open on March 9. It will be left open for three weeks and then close on:
PyCharm: Webinar Recording: âSecurity Checks for Python Codeâ with Anthony Shaw
2020-02-26 16:24:49
Last week we had a webinar on Python security with Anthony Shaw. He covered a number of places where Python code, including popular frameworks, run into security vulnerabilities. He also showed his PyCharm plugin for showing and fixing known vulnerabilities. The webinar recording is now available.
Real Python: The Beginner's Guide to Python Turtle
2020-02-26 14:00:00
When I was a kid, I used to learn Logo, a programming language that involved a turtle that you could move around the screen with just a few commands. I remember feeling like a computer genius as I controlled this little object on my screen, and this was what got me interested in programming in the first place. The Python turtle library comes with a similar interactive feature that gives new programmers a taste of what itâs like to work with Python.
PyBites: How to Write a Guest Article for PyBites
2020-02-26 07:21:00
Hello Everybody! In this article I'll run through the procedure of using git and github to submit a guest article to PyBites.
The No TitleŸ Tech Blog: Book review - Machine Learning with Python for Everyone, By Mark E. Fenner
2020-02-26 02:10:00
Machine learning, one of the hottest tech topics of today, is being used more and more. Sometimes as the best tool for the job, other times perhaps as a buzzword that is mainly used as a way to make a product look cooler. However, without knowing what ML is and how it works behind the scenes, itâs very easy to get lost. But this book does a great job in guiding you all the way up from very simple math concepts to some sophisticated machine learning techniques.
Wing Tips: Using Anaconda Environments with Wing Python IDE
2020-02-26 01:00:00
Wing version 7.2 has been released, and we've been looking at the new features in this version. So far we've covered reformatting with Black and YAPF, Wing 7.2's expanded support for virtualenv, and using python -m with Wing.
Matt Layman: A Week At A Time - Building SaaS #46
2020-02-26 00:00:00
In this episode, we worked on a weekly view for the Django app. We made navigation that would let users click from one week to the next, then fixed up the view to pull time from that particular week.
The first thing that I did was focus on the UI required to navigate to a new weekly view in the app. We mocked out the UI and talked briefly about the flexbox layout that is available to modern browsers.
Roberto Alsina: Episodio 24: I like Windows!
2020-02-25 23:02:11
Me puse a hacer un window manager de juguete en Python. Lo basĂ© en HackWM. Hack. Hacker. CarlĂn! Se llama carlin_wm y realmente no sirve para nada, excepto como experiencia educativa. O sea, es re Ăștil... para mĂ!
Codementor: Build Systems with Speed and Confidence by Closing the Loop First!
2020-02-25 20:48:48
No <p> found.
Python Insider: Python 3.8.2 and 3.9.0a4 are now available
2020-02-25 20:02:18
No <p> found.
PyCoderâs Weekly: Issue #409 (Feb. 25, 2020)
2020-02-25 19:30:00
#409 â FEBRUARY 25, 2020 View in Browser »
Data School: How to merge DataFrames in pandas (video)
2020-02-25 16:56:26
In my new pandas video, you're going to learn how to use the "merge" function so that you can combine multiple datasets into a single DataFrame.
Python Bytes: #170 Visualize this: Visualizing Python's visualization ecosystem
2020-02-25 08:00:00
No summary found!
Podcast.__init__: Reducing The Friction Of Embedded Software Development With PlatformIO
2020-02-25 03:25:01
Embedded software development is a challenging endeavor due to a fragmented ecosystem of tools. Ivan Kravets experienced the pain of programming for different hardware platforms when embroiled in a home automation project. As a result he built the PlatformIO ecosystem to reduce the friction encountered by engineers working with multiple microcontroller architectures. In this episode he describes the complexities associated with targeting multiple platforms, the tools that PlatformIO offers to simplify the workflow, and how it fits into the development process. If you are feeling the pain of working with different editing environments and build toolchains for various microcontroller vendors then give this interview a listen and then try it out for yourself.
Catalin George Festila: Python 3.7.6 : The new concepts of execution in python 3 - part 001.
2020-02-25 02:55:00
The main goal of these tutorials series is learning to deal with python source code using the new concepts of execution in python 3.
When two or more events are concurrent it means that they are happening at the same time.
Concurrent programming is not equivalent to parallel execution.
In computing, concurrency is the execution of pieces of work or tasks by a computer at the same time.
Talk Python to Me: #253 Moon base geekout
2020-02-25 00:00:00
This episode is a unique one. On this episode, I've invited Richard Campbell and developer and podcaster who also dives deep into science and tech topics. We are going to dig into his geekout series and spend some time talking realistically about moonbases and space travel.
PyBites: Productivity Mondays - Are You Producing Enough Value? 5 Tips to Boost Your Deep Work
2020-02-24 20:40:00
Here is another edition of Productivity Mondays geared towards getting you closer towards your goals. This weekend I picked up Deep work again. Every time I read it is a revelation. The better you manage your time, the more successful you will become. It all comes down to the amount of value you can produce. And for that deep work is essential.
PyBites: Talking to API's and goodlooking tools
2020-02-24 20:39:00
One of my go-to locations for security news had a thread recently about a tool called VTScan. I really liked the idea of not having to go through the browser overhead to check files against multiple scan engines.
Stack Abuse: Introduction to Image Processing in Python with OpenCV
2020-02-24 17:43:11
In this tutorial, we are going to learn how we can perform image processing using the Python language. We are not going to restrict ourselves to a single library or framework; however, there is one that we will be using the most frequently, the Open CV library. We will start off by talking a little about image processing and then we will move on to see different applications/scenarios where image processing can come in handy. So, let's begin!
Andre Roberge: From a rejected Pycon talk to a new project.
2020-02-24 16:38:19
No <p> found.
Anarcat: The CLA Denial-Of-Service attack
2020-02-24 15:32:53
I just stumbled upon this weird mind bender this morning. I have found what I believe is a simple typo in the Ganeti documentation which has a trivial fix. But then, before I submitted a PR to fix it, I remembered that I had trouble getting stuff merged in Ganeti before. That's because they require a CLA (which is already annoying enough) that requires a Google account to sign (which is simply unacceptable). So that patch has been sitting there for months, unused and I haven't provided a patch for the other issue because of this very problem.
Real Python: Introduction to Python SQL Libraries
2020-02-24 14:00:00
All software applications interact with data, most commonly through a database management system (DBMS). Some programming languages come with modules that you can use to interact with a DBMS, while others require the use of third-party packages. In this tutorial, youâll explore the different Python SQL libraries that you can use. Youâll develop a straightforward application to interact with SQLite, MySQL, and PostgreSQL databases.
Roberto Alsina: Episodio 23: Androides Linuxeros
2020-02-24 13:17:08
Demostrando Anbox, un paquete para usar aplicaciones Android en Linux!
pgcli: Welcome IRedis
2020-02-24 08:00:00
We are happy to welcome IRedis to the dbcli org.
Mike Driscoll: PyDev of the Week: Hameer Abbasi
2020-02-24 06:05:47
This week we welcome Hameer Abbasi as our PyDev of the Week! Hameer works on the PyData Sparse project. You can check out what else Hameer is working on over on Github. Letâs take some time to get to know him better!
tryexceptpass: Episode 4 - 7 Practices for High Quality Maintainable Code
2020-02-24 04:00:00
No <p> found.
Will McGugan: Better Python tracebacks with Rich
2020-02-23 21:22:00
One of my goals in writing Rich was to render really nice Python tracebacks. And now that feature has landed.
Hynek Schlawack: Python in Production
2020-02-23 16:45:00
Iâm missing a key part from the public Python discourse and I would like to help to change that.
Tryton News: Release 0.7.0 of GooCalendar
2020-02-23 16:03:17
@ced wrote:
Mike Driscoll: Python 101 2nd Edition Sample Chapters
2020-02-23 06:05:29
I have put together some sample chapters for the 2nd edition of Python 101 which is coming out later this year. You can download the PDF version of these sample chapters here. Note that these chapters may have minor typos in them. Feel free to let me know if you find any bugs or errors.
Catalin George Festila: Python 3.7.6 : The SELinux python package.
2020-02-23 03:21:00
The tutorial for today is about the SELinux python package.
The official webpage is this.
First, I update my pip tool and I used the python 3.7.6 version:
[mythcat@desk ~]$ pip install --upgrade pip --user
...
Successfully installed pip-20.0.2
Let's install the python package named selinux:
[mythcat@desk ~]$ pip3 install selinux --user
...
Requirement already satisfied: selinux in /usr/lib64/
Hynek Schlawack: Python Packaging Metadata
2020-02-23 00:00:00
Since this topic keeps coming up, Iâd like to briefly share my thoughts on Python package metadata because itâs â as always â more complex than it seems.
Roberto Alsina: Episodio 22: Color, Color, Color!
2020-02-22 16:00:44
Cosas que uso en mi terminal. ¿Qué terminal? ¿Qué shell? ¿Que font? ¿Vale la pena reemplazar herramientas que tienen 50 años como "cat"? Todo eso y alguito mås!
Weekly Python StackOverflow Report: (ccxvi) stackoverflow python report
2020-02-22 13:43:00
No <p> found.
Codementor: Automating Everything With Python: Reading Time: 3 Mins
2020-02-22 09:01:58
How Python is used to automate for work. With tons of areas like sales & marketing, system administration, software testing.
Catalin George Festila: Python 3.7.5 : This python package can work with ArcGIS platform.
2020-02-22 04:10:58
This python package is named like the ArcGIS platform and can be used for spatial analysis, mapping, and GIS.
The ArcGIS package uses the ArcGIS platform for organizations to create, manage, share, and analyze spatial data.
This platform has a server component, mobile and desktop applications, and developer tools.
[mythcat@desk projects]$ pip3 install arcgis --user
...You can test it on your
Quansight Labs Blog: My Unexpected Dive into Open-Source Python
2020-02-21 18:38:07
Header illustration by author, Mars Lee
Kushal Das: Maintaining your Qubes system using Salt part 1
2020-02-21 10:50:24
Last year I published qubes-ansible project. This enables maintaining your Qubes OS system via Ansible. But, to do the same, you will have to take a few steps as Ansible is not in the default Qubes.
Codementor: Personalize your python prompt
2020-02-21 04:01:53
Personalization is what we all love. In this article we find how we could personalize the Python interpreter prompt >>>
Talk Python to Me: #252 What scientific computing can learn from CS
2020-02-21 00:00:00
Did you come into Python from a computational science side of things? Were you just looking for something better than Excel or Matlab and got pulled in by all the Python has to offer?
NumFOCUS: Announcing JupyterCon 2020
2020-02-20 18:08:46
NumFOCUS is excited to be a part of JupyterCon 2020. JupyterCon will be held August 10 â 14 in Berlin, Germany at the Berlin Conference Center. Read the full announcement here. JupyterCon 2020 is an event brought to you in partnership by Project Jupyter and NumFOCUS.
NumFOCUS: MDAnalysis joins NumFOCUS Sponsored Projects
2020-02-20 16:27:43
NumFOCUS is pleased to announce the newest addition to our fiscally sponsored projects: MDAnalysis MDAnalysis is a Python library for the analysis of computer simulations of many-body systems at the molecular scale, spanning use cases from interactions of drugs with proteins to novel materials. It is widely used in the scientific community and is written [âŠ]
PyCharm: PyCharm 2020.1 EAP 4
2020-02-20 14:29:54
We have a new Early Access Program (EAP) version of PyCharm that can be now downloaded from our website.
Ruslan Spivak: Letâs Build A Simple Interpreter. Part 18: Executing Procedure Calls
2020-02-20 13:00:00
âDo the best you can until you know better. Then when you know better, do better.â â Maya Angelou
Ned Batchelder: Getting Started Testing with pytest
2020-02-20 12:12:18
Next week I am presenting Getting Started Testing: pytest edition at Boston Python (event page).
Codementor: Learn To Code By Playing These Games
2020-02-20 10:48:33
Apart from an ambition to become a programmer and have an interesting well-paid job, there are plenty of reasons to learn coding even for those who see themselves in other professions.
Codementor: The Best Android Apps for Learning How to Code
2020-02-20 10:11:24
As a senior software developer, Iâm often asked for advice on learning programming. Since I believe that the tech market always benefits from having more high-quality developers, Iâm happy to share tips and hacks that helped me become a better software engineer.
Moshe Zadka: Forks and Threats
2020-02-20 04:00:00
What is a threat? From a game-theoretical perspective, a threat is an attempt to get a better result by saying: "if you do not give me this result, I will do something that is bad for both of us". Note that it has to be bad for both sides: if it is good for the threatening side, they would do it anyway. While if it is good for the threatened side, it is not a threat.
Mike Driscoll: Python 101 2nd Edition Fully Funded + Stretch Goals
2020-02-20 02:12:21
The second edition of my book, Python 101, has been successfully funded on Kickstarter. As is tradition, I have added a couple of stretch goals for adding more content to this already hefty book.
Matt Layman: Templates and Logic - Building SaaS #45
2020-02-20 00:00:00
In this episode, we added content to a template and talked about the N+1 query bug. I also worked tricky logic involving date handling.
The first change was to update a course page to include a new icon for any course task that should be graded. After adding this, we hit an N+1 query bug, which is a performance bug that happens when code queries a database in a loop. We talked about why this happens and how to fix it.
Real Python: Null in Python: Understanding Python's NoneType Object
2020-02-19 14:00:00
If you have experience with other programming languages, like C or Java, then youâve probably heard of the concept of null. Many languages use this to represent a pointer that doesnât point to anything, to denote when a variable is empty, or to mark default parameters that you havenât yet supplied. null is often defined to be 0 in those languages, but null in Python is different.
Peter Bengtsson: Build pyenv Python versions on macOS Catalina 10.15
2020-02-19 13:11:15
I'm still working on getting pyenv in my bloodstream. It seems like totally the right tool for having different versions of Python available on macOS that don't suddenly break when you run brew upgrade periodically. But every thing I tried failed with an error similar to this:
Test and Code: 101: Application Security - Anthony Shaw
2020-02-19 08:00:00
Application security is best designed into a system from the start. Anthony Shaw is doing something about it by creating an editor plugin that actually helps you write more secure application code while you are coding.
Python Bytes: #169 Jupyter Notebooks natively on your iPad
2020-02-19 08:00:00
No summary found!
Catalin George Festila: Python 3.7.5 : The PyQtChart from python Qt5.
2020-02-19 07:56:04
The PyQtChart is a set of Python bindings for The Qt Companyâs Qt Charts library and is implemented as a single module.
Let's install this python package with the pip3 tool:
[mythcat@desk ~]$ pip3 install PyQtChart --user
...
Installing collected packages: PyQtChart
Successfully installed PyQtChart-5.14.0
Let's test with a simple example:
from PyQt5.QtWidgets import QApplication, QMainWindow
Programiz: Python Programming
2020-02-19 05:03:09
No summary found!
Kushal Das: Which verison of Python are you running?
2020-02-19 04:44:50
The title of the is post is misleading.
PyCoderâs Weekly: Issue #408 (Feb. 18, 2020)
2020-02-18 19:30:00
#408 â FEBRUARY 18, 2020 View in Browser »
Roberto Alsina: Airflow By Example (II)
2020-02-18 19:21:01
Second twitter thread about following a simple example to learn Apache Airflow.
PyCon: The Hatchery Returns with Nine Events!
2020-02-18 15:03:08
No <p> found.
Codementor: Wanted: Microsoft Dynamics data in Python scripts
2020-02-18 14:57:44
There is plenty of exciting stuff in Microsoft Dynamics that you can use for data analysis or data visualization projects in large organizations. So how do you get your hands on it using a Python script? Good news, it is not that complicated!
Podcast.__init__: APIs, Sustainable Open Source and The Async Web With Tom Christie
2020-02-18 14:35:52
Tom Christie is probably best known as the creator of Django REST Framework, but his contributions to the state the web in Python extend well beyond that. In this episode he shares his story of getting involved in web development, his work on various projects to power the asynchronous web in Python, and his efforts to make his open source contributions sustainable. This was an excellent conversation about the state of asynchronous frameworks for Python and the challenges of making a career out of open source.
EuroPython: EuroPython 2020: Presenting our conference logo for Dublin
2020-02-18 14:10:29
Weâre pleased to announce our official conference logo for EuroPython 2020, July 20-26, in Dublin, Ireland:
Real Python: Finding the Perfect Python Code Editor
2020-02-18 14:00:00
Find your perfect Python development setup with this review of Python IDEs and code editors. Writing Python using IDLE or the Python REPL is great for simple things, but not ideal for larger programming projects. With this course youâll get an overview of the most common Python coding environments to help you make an informed decision.
Stack Abuse: Integrating MongoDB with Python Using PyMongo
2020-02-18 13:15:00
In this post, we will dive into MongoDB as a data store from a Python perspective. To that end, we'll write a simple script to showcase what we can achieve and any benefits we can reap from it.
Chris Moffitt: Python Tools for Record Linking and Fuzzy Matching
2020-02-18 13:12:00
Record linking and fuzzy matching are terms used to describe the process of joining two data sets together that do not have a common unique identifier. Examples include trying to join files based on peopleâs names or merging data that only have organizationâs name and address.
Python Insider: Python 3.8.2rc2 is now available for testing
2020-02-18 05:13:53
No <p> found.
Anwesha Das: The scary digital world
2020-02-18 01:51:59
Some years ago, my husband and I were looking for houses to rent. We both were in different cities and were having a telephone conversation. We had three or four phone calls to discuss this. After that, I opened my laptop and turned on my then browser, Google. Advertisements started popping up. Showing the adds of houses for rent at the very same location, the same budget I was looking for. A chill went down my bone. How did this particular website knows that we are looking for a house?
Wing Tips: Using "python -m" in Wing 7.2
2020-02-18 01:00:00
Wing version 7.2 has been released, and the next couple Wing Tips look at some of its new features. We've already looked at reformatting with Black and YAPF and Wing 7.2's expanded support for virtualenv.
MichaĆ Bultrowicz: Universal app reload with entr
2020-02-18 00:00:00
A useful feature many web frameworks have is auto-reload. Your app is running in the background, you change the code, and the app is restarted with those changes, so you can try them out immediately. What if you wanted that behavior for everything that youâre writing? And without any coding to implement it over and over in every little project?
PyBites: Productivity Mondays - 5 tips that will boost your performance
2020-02-17 22:00:00
The following things are relatively easy to do, but also easy not to do. Do them consistently and they can change your career and life.
Roberto Alsina: Learning Serverless in GCP
2020-02-17 19:20:34
Usually, when I want to learn how to use a tool, the thing that works best for me is to try to build something using it. Watching someone build something instead is the second best thing.
Mike Driscoll: Python 101 2nd Edition Kickstarter is Live!
2020-02-17 14:01:10
I am excited to announce that my newest book, Python 101, 2nd Edition is launching on Kickstarter today!
Real Python: A Guide to the Newer Python String Format Techniques
2020-02-17 14:00:00
In the previous tutorial in this introductory series, you learned how to format string data using the string modulo operator. The string modulo operator is useful, and itâs good for you to be familiar with it because youâre likely to encounter it in older Python code. However, there are two newer ways that you can use Python to format strings that are arguably more preferable.
Stories in My Pocket: Refactoring and asking for forgiveness
2020-02-17 13:47:11
Recently, I had a great interaction with one of my coworkers that I think is worth sharing, with the hope you may learn a bit about refactoring and python.
Mike Driscoll: PyDev of the Week: Martin Fitzpatrick
2020-02-17 06:05:32
This week we welcome Martin Fitzpatrick (@mfitzp) as our PyDev of the Week! Martin is the author of âCreate Simple GUI Applications with Python and Qt 5â and the creator of the LearnPyQt website. You can also check out his personal site or see what heâs up to by visiting his Github profile. Letâs spend some time getting to know Martin better!
Anwesha Das: February PyLadies Pune workshop
2020-02-17 05:44:30
It was the time for âlearning Python with harwareâ in February, 2020 with PyLadies in Pune. Coding in Python becomes fun when one can see the changes it makes in the hardware.
tryexceptpass: Uniquely Managing Test Execution Resources using WebSockets
2020-02-17 04:00:00
Executing tests for simple applications is complicated. You have to think about the users, how they interact with it, how those interactions propagate through different components, as well as how to handle error situations gracefully. But things get even more complicated when you start looking at more extensive systems, like those with multiple external dependencies.
Robin Parmar: A review of Processing books
2020-02-17 00:50:38
No <p> found.
Glyph Lefkowitz: Modularity for Maintenance
2020-02-17 00:09:00
Never send a human to do a machineâs job.
Roberto Alsina: Airflow By Example
2020-02-16 19:54:30
Apache Airflow is a very interesting, popular and free tool to create, manage and monitor workflows, for example if you want to do ETL (Extract / Transform / Load) on data.
Kushal Das: No summer training 2020
2020-02-16 16:32:49
No summer training 2020 for me. Last yearâs batch was beyond my capability to handle. Most of the participants did not follow anything we taught in the course, instead, they kept demanding more things.
PyPy Development: PyPy and CFFI have moved to Heptapod
2020-02-16 15:36:00
No <p> found.
Erik Marsja: Your Guide to Reading Excel (xlsx) Files in Python
2020-02-16 15:12:16
The post Your Guide to Reading Excel (xlsx) Files in Python appeared first on Erik Marsja.
The Digital Cat: Dissecting a Web stack
2020-02-16 15:00:00
It was gross. They wanted me to dissect a frog.
Catalin George Festila: Python 3.7.5 : The httpx python package.
2020-02-16 01:23:17
Today I will present a new python packet that can help you in developing web applications.
This is the next generation HTTP client for Python and is named httpx.
This python package comes with a nice logo: a butterfly.
The official webpage can be found at this webpage.
The development team come with this intro:
HTTPX is a fully featured HTTP client for Python 3, which provides sync and async APIs
Zero-with-Dot (Oleg ƻero): Restoring intuition over multi-dimensional space
2020-02-15 23:00:00
We would not be human if we did not curse things. As beings that are confined in a three-dimensional world, we tend to blame space whenever we have a problem to visualize data that extend to more than three dimensions. From scientific books and journal papers to simple blog articles and comments the term: âcurse of dimensionalityâ is being repeated like a mantra, almost convincing us that any object, whose nature extends to something more than just â3Dâ is out of reach to our brains.
Python Circle: Getting query params from request in Django
2020-02-15 13:45:45
In this article, we will see how to access the query parameters from a request in the Django view, Accessing GET attribute of request, get() vs getlist() method of request in Django, query parameters Django,
Python Circle: Hello Word in Django 2: How to start with Django 2
2020-02-15 13:45:45
In this article, we will see how to start working with Django 2.2, Step by step guide to install Django inside a virtual environment and starting the application on localhost, Django 2.2 installation, first Django project, hello world in Django 2.2, First Django application
Weekly Python StackOverflow Report: (ccxv) stackoverflow python report
2020-02-15 10:08:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-02-15 10:08:41 GMT
Python Circle: Solving python error - ValueError: invalid literal for int() with base 10
2020-02-15 07:45:59
This article explains what is ValueError: invalid literal for int() with base 10 and how to avoid it, python error - ValueError: invalid literal for int() with base 10, invalid literal for base 10 error, what is int() function, converting string to integer in python
Catalin George Festila: Python 3.7.5 : Use Brython in web development to avoid javascript.
2020-02-15 04:08:42
The tutorial for today is about how can avoid the javascript and use python script in webdevelopment using the Brython.
Brython's goal is to replace Javascript with Python, as the scripting language for web browsers. see the official webpage.
It is necessary to include brython.js and to run the brython() function upon page load using the onload attribute of the BODY tag.
You can use python
Quansight Labs Blog: Creating the ultimate terminal experience in Spyder 4 with Spyder-Terminal
2020-02-14 19:00:00
The Spyder-Terminal project is revitalized! The new 0.3.0 version adds numerous features that improves the user experience, and enhances compatibility with the latest Spyder 4 release, in part thanks to the improvements made in the xterm.js project.
Peter Bengtsson: redirect-chain - Getting a comfortable insight input URL redirects history
2020-02-14 17:03:55
redirect-chain: A simple cli tool to see the history of redirects of a URL
Python Circle: Solving python error - TypeError: 'NoneType' object is not iterable
2020-02-14 16:45:40
In this article we are trying to understand what a NoneType object is and why we get python error - TypeError: 'NoneType' object is not iterable, Also we will try different ways to handle or avoid this error, python error NoneType object is not iterable, iterating over a None object safely in python
Stack Abuse: Selection Sort in Python
2020-02-14 13:50:00
Sorting, although a basic operation, is one of the most important operations a computer should perform. It is a building block in many other algorithms and procedures, such as searching and merging. Knowing different sorting algorithms could help you better understand the ideas behind the different algorithms, as well as help you come up with better algorithms.
PyCharm: PyCharm 2020.1 EAP 3
2020-02-14 12:53:08
We have a new Early Access Program (EAP) version of PyCharm that can be now downloaded from our website.
Erik Marsja: How to Get the Column Names from a Pandas Dataframe â Print and List
2020-02-14 08:46:49
The post How to Get the Column Names from a Pandas Dataframe â Print and List appeared first on Erik Marsja.
Techiediaries - Django: Multiple Image/File Upload with Django 3, Ionic 5 and FormData
2020-02-14 00:00:00
In this tutorial, you'll learn to implement multiple file upload with Ionic 5, django 3 and FormData.
Techiediaries - Django: Multiple File/Image Upload with Django 3, Angular 9 and FormData
2020-02-14 00:00:00
In the previous tutorial we have seen how to implement file uploading in Django and Angular 9. In this tutorial, we'll see how to implement multiple file uploading.
Roberto Alsina: Looking for a new job!
2020-02-13 22:07:58
My current employer (not anymore!) and I have decided to part ways. So, I am now open to new adventures in Python-land.
Ned Batchelder: Re-using my presentations
2020-02-13 20:51:00
Yesterday I got an email saying that someone in Turkey had stolen one of my presentations. The email included a YouTube link. The video showed a meetup. The presenter (Iâll call him Samuel) was standing in front of a title slide in my style that said, âBig-O: How Code Slows as Data Grows,â which is the title of my PyCon 2018 talk.
Codementor: Mobile Apps for Learning to Code On the Go, Even in Space
2020-02-13 18:12:37
In a way, programming is like riding a bicycle. You wonât know how to write code unless you do it for a while. In other words, this skill requires much practice to learn and even more support.
Test and Code: 100: A/B Testing - Leemay Nassery
2020-02-13 08:30:00
Let's say you have a web application and you want to make some changes to improve it. You may want to A/B test it first to make sure you are really improving things.
Talk Python to Me: #251 Building and UX Testing Azure's Python SDK
2020-02-13 08:00:00
What does it take to build a Python library that will be used by a large number of developers? This happens all the in open source. Projects take off and become wildly successful.
Codementor: Designing Big Picture
2020-02-13 05:12:25
Web design encompasses many different skills and disciplines in the production and maintenance of websites. The different areas of web de...
Codementor: Is Switching From Python to Java is a Good Idea?
2020-02-12 17:16:51
Knowing two languages is always better than one. If you are thinking of learning a second language after Python, Java could be a really nice choice. In this article, we are going to discuss switching from Python to Java in the case of a beginner software developer.
Codementor: Tensorflow basics
2020-02-12 16:11:46
Tensorflow basics - constants and variables
Nikolaos Diamantis: World's average country population and inspection paradox
2020-02-12 15:15:00
Have you ever thought how much is the world’s average country population? And what does it say about the country you are living in or for the quality of life of the average person? All these questions are related to what we call the “Inspection Paradox” which we are going to illustrate here using Python.
First of all we need to find some data. For that purpose we could use wikipedia.
Erik Marsja: How to Plot a Histogram with Pandas in 3 Simple Steps
2020-02-12 14:50:00
The post How to Plot a Histogram with Pandas in 3 Simple Steps appeared first on Erik Marsja.
Real Python: Python Community Interview With Brett Slatkin
2020-02-12 14:00:00
Today Iâm speaking to Brett Slatkin, a principal software engineer at Google and the author of the Python programming book Effective Python. Join us as we discuss Brettâs experience working with Python at Google, refactoring, and the challenges he faced when writing the second edition of his book. Without any further ado, letâs get into it!
PyBites: The Pythonic Fast Lane, Digest of a 30 Min Mentoring Session
2020-02-12 12:00:00
The other day I had an awesome mentoring session with a beginner Pythonista, amazing what 30 min of screen sharing can do. Read on to learn more ...
Zato Blog: Generating API documentation for both external and internal users
2020-02-12 10:09:23
A recurring need in larger integration projects is generation of API documentation for users belonging to different, yet related, target groups. Read on to learn how to generate Zato-based API specifications for more than one group from a single source of information.
Codementor: K-Nearest Neighbors explained
2020-02-12 04:47:17
In this post, I explain the intuition and logic behind KNN algorithm and show simple implementation written in pure pandas which yield 98% accuracy on the IRIS dataset.
Mike Driscoll: The NSA Has a Beginner Python Course
2020-02-12 02:26:52
The National Security Agency (NSA) recently released a free Python programming course for beginners after a Freedom of Information Act (FOIA) request according to ZDNet. There is almost 400 pages of material that has been uploaded to Digital Oceans Spaces by Chris Swenson, the software developer who made the original request.
Python Engineering at Microsoft: Python in Visual Studio Code â February 2020 Release
2020-02-11 21:55:33
Â
PyCoderâs Weekly: Issue #407 (Feb. 11, 2020)
2020-02-11 19:30:00
#407 â FEBRUARY 11, 2020 View in Browser »
PyBites: Introduction to Python Functions
2020-02-11 13:46:45
While seemingly "simple" to comprehend and use, functions can definitely be a bit of a hurdle to overcome when you're new to Python or programming in general. In this article I'm going to break down what a function is and how you can use them to be a better coder.
Anwesha Das: âCode is lawâ .. Technology is the regulator for today.
2020-02-11 11:20:00
The technology leads, and the law follows, or is it vice a versa? Both sides are trying to prove their superiority above the other. Thus the situation has lead to much distance between the two. Both these species use Language (legal and programming) to attain their vision. However, both of them do not understand what the other is speaking. Instead, they stand in awe, disbelief, or scared about each other, their work. Technologists gaged law as a distant, creature, a thing to be afraid.
Catalin George Festila: Python 3.7.5 : Using the hug framework - part 001.
2020-02-11 08:34:57
Today I will come with another tutorial series about the hug framework.
The hug framework is on the top 3 performing web frameworks for Python and comes with the cleanest way to create HTTP REST APIs on Python 3.
The official webpage can be found hug web page with a good area for learn.
Let's install this python package.
[mythcat@desk projects]$ mkdir hug_001
[mythcat@desk projects]$ cd hug_001/
Python Bytes: #168 Race your donkey car with Python
2020-02-11 08:00:00
No summary found!
Continuum Analytics Blog: 6 Reasons Your Open-Source Data Science Pipeline Needs Attention Now
2020-02-11 03:05:50
Your enterprise data scientists are almost certainly using Anaconda Distribution alongside 20 million other practitioners worldwide. The Anaconda Distribution is a package and environment manager designed for solo data scientists, and it is the mostâŠ
Codementor: Deploy a Flask app on AWS EC2
2020-02-10 23:31:39
Deploy your Flask app to AWS EC2 in simple steps
Daniel Roy Greenfeld: Our New Django Book Has Launched!
2020-02-10 20:57:50
Audrey and I wrote a new book titled Django Crash Course. You can get it right now on our website at roygreenfeld.com/products/django-crash-course. Right now it's in alpha, which means only the e-book is available. Later we'll produce it in print formats (perfect bound, spiral, and hardcover).
Roberto Alsina: Episodio 21: Quickie: pre commit hooks
2020-02-10 20:54:23
Intentando cosas nuevas:
Learn PyQt: Display tables in PyQt5/PySide2, QTableView with conditional formatting, numpy and pandas
2020-02-10 15:23:34
In the previous chapter we covered an introduction to the Model View architecture. However, we only touched on one of the model views â QListView. There are two other Model Views available in Qt5 â QTableView and QTreeView which provide tabular (Excel-like) and tree (file directory browser-like) views using the same QStandardItemModel.
Real Python: Implementing an Interface in Python
2020-02-10 14:00:00
Interfaces play an important role in software engineering. As an application grows, updates and changes to the code base become more difficult to manage. More often than not, you wind up having classes that look very similar but are unrelated, which can lead to some confusion. In this tutorial, youâll see how you can use a Python interface to help determine what class you should use to tackle the current problem.
Stack Abuse: Bubble Sort in Python
2020-02-10 13:54:00
For most people, Bubble Sort is likely the first sorting algorithm they heard of in their Computer Science course.
Mike Driscoll: Python 101 2nd Edition Kickstarter Preview
2020-02-10 13:45:18
I have been kicking around the idea of updating my first book, Python 101, for over a year. After doing a lot of planning and outlining, I am ready to announce that I have started work on the book.
IslandT: Create a project which shows the nutrition and diet data for generic foods, packaged foods, and restaurant meals using python
2020-02-10 13:26:51
Hello, nice to be back again, are you people ready for the next python project? In this latest project which will take maybe around half a month to complete, I will develop a python application that will show the nutrition and diet data for generic foods, packaged foods, and restaurant meals to the user. This application will use one of the free APIs from Rapid API to receive all the data that this project ever needs.
PyBites: Productivity Mondays - How to Instantly Save 2-3 Hours a Day
2020-02-10 10:48:00
Efficiency is doing things right; effectiveness is doing the right things. - Peter Drucker
Mike Driscoll: PyDev of the Week: Paul Sokolovsky
2020-02-10 06:05:51
This week we welcome Paul Sokolovsky as our PyDev of the Week! Paul is the creator of Pycopy, which is described as âa minimalist and memory-efficient Python implementation for constrained systems, microcontrollers, and just everythingâ. You can check out more of his contributions to open source on Github. Letâs take a few moments to get to know Paul better!
Ned Batchelder: sys.getsizeof is not what you want
2020-02-09 12:54:00
This week at work, an engineer mentioned that they were looking at the sizes of data returned by an API, and it was always coming out the same, which seemed strange. It turned out the data was a dict, and they were looking at the size with sys.getsizeof.
Kushal Das: Python course inside of NSA via a FOIA request
2020-02-09 09:08:28
Woke on on Sunday morning, and found Chris Swenson's tweet, he did a FOIA request about the Python course inside of NSA, and then scanned the almost 400 pages of course material. It is 118MB :)
PyBites: Exploring the Mutpy Library and How PyBites Uses it to Verify Test Code
2020-02-09 09:00:00
A while back we launched our Test Bites. In this follow up article Harrison explains the MutPy mutation testing tool in depth and how we use it to verify test code on our platform. Enter Harrison.
Mike Driscoll: How to Check if a File is a Valid Image with Python
2020-02-09 06:05:23
Python has many modules in its standard library. One that is often overlooked is imghdr which lets you identify what image type that is contained in a file, byte stream or path-like object.
tryexceptpass: Episode 3 - Decoupling Database Migrations at Application Startup
2020-02-09 04:00:00
No <p> found.
Weekly Python StackOverflow Report: (ccxiv) stackoverflow python report
2020-02-08 21:07:00
No <p> found.
Talk Python to Me: #250 Capture over 400x C02 as trees with AI and Python
2020-02-08 08:00:00
As the popularity of Python grows, we see it popping up in all sorts of interesting places and projects. On this episode, you'll meet C.K. Sample and Nathan Papapietro from HyperGiant. They are using Python and AI to develop the EOS Bioreactor.
IslandT: Plotting earning graph based on the month with Python
2020-02-08 07:26:01
For those of you who have followed the record sales and save data into the database project, this will be the final chapter of this project. In the future, you can follow the project updates on the Github page.
Python Circle: How to upload an Image file in Django
2020-02-07 19:45:58
This article explains the simple steps of uploading and storing an image in Django application, After storing the image, how to use it in Django template or emails, Uploading a file in Django, Storing image in Django model, Uploading and storing the image in Django model, HTML for multipart file upload
Python Circle: How to compress the uploaded image before storing it in Django
2020-02-07 19:45:58
Compressing an image in Django before storing it to the server, How to upload and compress and image in Django python, Reducing the size of an image in Django, Faster loading of Django template, Solving cannot write mode RGBA as JPEG error,
Peter Bengtsson: How to resolve a git conflict in poetry.lock
2020-02-07 18:16:53
We use poetry in MDN Kuma. That means there's a pyproject.toml and a poetry.lock file. To add or remove dependencies, you don't touch either file in an editor. For example, to add a package:
PyCharm: PyCharm 2019.3.3
2020-02-07 17:08:40
Our PyCharm release is now ready! Weâve added some important fixes to make sure we provide you with the best tool we can, so be sure to update to the newest version! You can get it from within PyCharm (Help | Check for Updates), using JetBrains Toolbox, or by downloading the new version from our website.
Stack Abuse: Formatting Strings with the Python Template Class
2020-02-07 13:00:00
Python Templates are used to substitute data into strings. With Templates, we gain a heavily customizable interface for string substitution (or string interpolation).
Codementor: Overload Functions in Python
2020-02-07 06:23:25
Python natively does not support function overloading - having multiple functions with the same name. Today we see how we can implement and add this functionality to Python by using common language constructs like decorators and dictionaries.
Python Circle: How to upgrade to paid account on PythonAnyWhere
2020-02-06 19:46:07
Which is the best server for hosting Django Apps, Best hosting provider for Django Apps, Cheapest Django Hosting, PythonAnyWhere Reviews, Django Hosting,
Nikola: Nikola v8.0.4 is out!
2020-02-06 19:38:25
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.4. This release fixes a few small bugs, including a date glitch that appeared around New Yearâs Eve.
PyCharm: PyCharm 2020.1 EAP 2
2020-02-06 16:15:17
We have a new Early Access Program (EAP) version of PyCharm that can be now downloaded from our website.
Codementor: Matplotlib tutorial (Plotting Graphs Using pyplot)
2020-02-06 14:12:09
In this matplotlib tutorial, you will learn how to plot different types of graphs using pyplot. Like vertical & horizontal lines and control the output.
py.CheckIO: Maya Island
2020-02-06 11:12:35
No summary found!
Learn PyQt: Creating searchable dashboards in PyQt5/PySide2 GUIs, widget filters and text prediction
2020-02-06 08:53:13
Dashboard applications are a popular way to display live data and user controls, whether interacting with APIs or controlling locally attached devices. However, as more controls are added, dashboards can quickly get out of control, making it hard to find the controls you want when you want them. One common solution is to provide the user with a way to filter the displayed widgets, allowing them to zero-in on the information and tools that are important to them right now.
Julien Danjou: Attending FOSDEM 2020
2020-02-06 08:29:10
This weekend, I've been lucky to attend again the FOSDEM conference, one of the largest open-source conference out there.
Matt Layman: Django Riffs, a podcast for learning Django
2020-02-06 00:00:00
No <p> found.
Matt Layman: Fast Forms With UpdateView - Building SaaS #44
2020-02-06 00:00:00
In this episode, we worked on an edit view. We used Django’s generic UpdateView to add the process and test drove the creation of the view to verify things every step of the way.
We worked on a view to make it possible to edit the CourseTask model that are the actions that a student must complete for a course.
To complete the form quickly, I took advantage of Django’s ModelForm views.
Peter Bengtsson: "ld: library not found for -lssl" trying to install mysqlclient in Python on macOS
2020-02-05 23:54:07
I don't know how many times I've encountered this but by blogging about it, hopefully, next time it'll help me, and you!, find this sooner.
Python Circle: How to reset Django superuser password
2020-02-05 19:46:40
This article explains 3 methods to reset the user password in Django, What command should be used to reset the superuser password from the terminal in Django application, Changing the user password in Django
Python Circle: AWS EC2 Vs PythonAnyWhere Vs DigitalOcean for hosting Django application
2020-02-05 19:46:40
This article list out the differences between three major options to deploy Django application, We are briefly comparing the digital ocean, pythonAnyWhere, and AWS EC2 to host the Django application here, AWS EC2 Vs PythonAnyWhere for hosting Django application, hosting Django application for free on AWS EC2, Hosting Django application for free on PythonAnyWhere, comparing EC2 and Pythonanywhere and DigitalOcean
PyCon: PyCon US 2020 Tutorial Launch!
2020-02-05 16:20:14
No <p> found.
Dataquest: 15 Python Libraries for Data Science You Should Know
2020-02-05 16:14:09
There are quite a few great, free, open-source Python libraries for data science. In this post, we'll cover 15 of the most popular and what they can do.
Real Python: Python Command Line Arguments
2020-02-05 14:00:00
Adding the capability of processing Python command line arguments provides a user-friendly interface to your text-based command line program. Itâs similar to what a graphical user interface is for a visual application thatâs manipulated by graphical elements or widgets.
Zato Blog: Accessing cache APIs from command line
2020-02-05 13:45:55
In addition to a GUI, Python and REST APIs, it is now possible to access your Zato caches from command line. Learn from this article how to quickly check, set and delete keys in this way - particularly useful for remote SSH connections to Zato environments.
Stack Abuse: Deploying Django Apps to Heroku from GitHub
2020-02-05 13:38:00
Heroku is a popular Platform-as-a-Service (PaaS) that allows developers to run and deploy applications by availing the infrastructure required in terms of hardware and software.
IslandT: Create an application with python to record sales
2020-02-05 13:13:03
In the previous article, I have created an application with python to record sales for various items. In this article, I have slightly modified the previous program to remove some errors in the code as well as included a button that will plot the graph for all the item sales during the month of January.
Martijn Faassen: Looking for new challenges
2020-02-05 10:30:03
I'm looking for new freelance challenges again! I've had an awesome couple of years working for a client that still keeps me very busy, but it's time to start thinking about moving on to something new.
Wing Tips: Using virtualenv with Wing Python IDE
2020-02-05 01:00:00
Wing version 7.2 has been released, and the next couple Wing Tips look at some of its new features. Last time at code reformatting with Black and YAPF. Now let's investigate Wing 7.2's expanded support for virtualenv.
Techiediaries - Django: Django 3 Authentication with a MySQL Databaseâ Login, Logout and Password Change/Reset
2020-02-05 00:00:00
In this tutorial, you'll learn how to easily add a complete authentication system to your django 3 application with login, logout and password change and reset functionalities.
PyCoderâs Weekly: Issue #406 (Feb. 4, 2020)
2020-02-04 19:30:00
#406 â FEBRUARY 4, 2020 View in Browser »
Dataquest: Python for Beginners: Why Does Python Look the Way It Does?
2020-02-04 17:55:56
When you're just getting started, looking at Python can be intimidating. Why the different colors? What are those line breaks for? Here are the answers you seek.
Real Python: Sets in Python
2020-02-04 14:00:00
In this course, youâll learn about sets. Theyâre a useful data structure that allows you to do some complex operations more easily. They come up everywhere in the real world and are important to understand.
Roberto Alsina: XRandRoll: a new program to configure displays
2020-02-04 13:52:01
TL; DR: I wrote a experimental tool to support X display configurations which I think is, or at least will be, better than others, and you can check it out at https://github.com/ralsina/xrandroll
Codementor: How to Hire Developers for Your Startup?
2020-02-04 12:37:19
Are you looking for hiring developers for your startup but don't know how to do the same? Hire are top things you should know before hiring.
Learn PyQt: Adding images to PyQt5/PySide2 applications, using QLabel and QPixmap
2020-02-04 09:13:44
Adding images to your application is a common requirement, whether you're building an image/photo viewer, or just want to add some decoration to your GUI. Unfortunately, because of how this is done in Qt, it can be a little bit tricky to work out at first.
Kushal Das: Tor rpm package repository for Fedora and CentOS/RHEL
2020-02-04 04:59:15
Now we have official Tor RPM repositories for Fedora, CentOS/RHEL. The support documentation is already in place.
Podcast.__init__: Build Your Own Personal Data Repository With Nostalgia
2020-02-04 02:29:38
The companies that we entrust our personal data to are using that information to gain extensive insights into our lives and habits while not always making those findings accessible to us. Pascal van Kooten decided that he wanted to have the same capabilities to mine his personal data, so he created the Nostalgia project to integrate his various data sources and query across them. In this episode he shares his motivation for creating the project, how he is using it in his day-to-day, and how he is planning to evolve it in the future. If youâre interested in learning more about yourself and your habits using the personal data that you share with the various services you use then listen now to learn more.
Real Python: Use a Flask Blueprint to Architect Your Applications
2020-02-03 14:00:00
Flask is a very popular web application framework that leaves almost all design and architecture decisions up to the developer. In this tutorial, youâll learn how a Flask Blueprint, or Blueprint for short, can help you structure your Flask application by grouping its functionality into reusable components.
Julien Danjou: Python Logging with Datadog
2020-02-03 10:33:00
At Mergify, we generate a pretty large amount of logs. Every time an event is received from GitHub for a particular pull request, our engine computes a new state for it. Doing so, it logs some informational statements about what it's doing â and any error that might happen.
CubicWeb: What is new in CubicWeb 3.27 ?
2020-02-03 09:55:00
Hello CubicWeb community,
Django Weblog: Django security releases issued: 3.0.3, 2.2.10, and 1.11.28
2020-02-03 09:54:05
In accordance with our security release policy, the Django team is issuing Django 3.0.3, Django 2.2.10 and Django 1.11.28. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Python Bytes: #167 Cheating at Kaggle and uWSGI in prod
2020-02-03 08:00:00
No summary found!
James Bennett: How I'm testing in 2020
2020-02-03 07:30:09
Once upon a time I wrote a bit about testing, specifically how I was organizing and testing my open-source Django apps. Itâs been a while since that post, though, and the calendar has even flipped over to a new penultimate digit in the year number, so itâs worth revisiting to go over whatâs changed in how I do things and whatâs stayed the same. And since I do maintain a couple things that arenât âŠ
Mike Driscoll: PyDev of the Week: Alessia Marcolini
2020-02-03 06:05:37
This week we welcome Alessia Marcolini (@viperale) as our PyDev of the Week! Alessia is a Python blogger and speaker. You can check out some of her work over on Medium. You can also see some of her coding skills on Github. Letâs spend a few moments getting to know her better!
Zero-with-Dot (Oleg ƻero): Surviving zombie apocalypse with random search algorithm
2020-02-02 23:00:00
Imagine a typical Holywood zombie apocalypse scenarioâŠ
Anarcat: 20 most significant programming languages in history
2020-02-02 15:55:07
This is a preposterous table I just made up after reading Wikipedia's History of Programming Languages. I was trying to figure out which programming language or environment this article might be refering to. The article talks about some of the Canadian federal government's computer systems "falling apart" because they are "60 years" old. Everyone cried "COBOL" but I figured there might be other culprits.
Ionel Cristian Maries: Speeding up Django pagination
2020-02-01 22:00:00
I assume you have already read Optimizing the Django Admin Paginator. If not, this is basically the take-away from that article:
Tryton News: Newsletter February 2020
2020-02-01 09:30:02
@ced wrote:
Weekly Python StackOverflow Report: (ccxiii) stackoverflow python report
2020-02-01 08:14:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-02-01 08:14:33 GMT
Peter Hoffmann: Azure Data Explorer and Parquet files in the Azure Blob Storage
2020-02-01 00:00:00
With the heavy use of Apache Parquet datasets within my team at Blue Yonder we are always looking for managed, scalable/elastic query engines on flat files beside the usual suspects like drill, hive, presto or impala.
Test and Code: 99: Software Maintenance and Chess
2020-01-30 23:45:00
I play a form of group chess that has some interesting analogies to software development and maintenance of existing systems. This episode explains group chess and explores a few of those analogies.
Daniel Roy Greenfeld: Feed Generator
2020-01-30 19:48:59
Late last year I changed my blog engine yet again. I've been happy with it so far, with the exception of XML feeds. The tooling I chose doesn't have good support for feeds, certainly not with the filtering I need. Specifically, I need to have a python feed, a family feed, and so on. As much as I love my wife and daughter, non-technical posts about them probably don't belong on places where this post will show up.
Continuum Analytics Blog: Weâve Reached a Milestone: pandas 1.0 Is Here
2020-01-30 15:07:00
Today the pandas project announced the release of pandas 1.0.0. For more on whatâs changed, read through the extensive release notes. Weâre particularly excited about Numba-accelerated window operations and the new nullable boolean and stringâŠ
Talk Python to Me: #249 Capture the Staff of Pythonic Knowledge in TwilioQuest
2020-01-30 08:00:00
Are you learning or helping someone else learn Python, why not make a game out of it? TwilioQuest is a game that doesn't treat you with kid-gloves while teaching you Python. Using your editor of choice, write code on your machine, and still play the game to solve Python challenges.
Erik Marsja: Random Forests (and Extremely) in Python with scikit-learn
2020-01-30 07:48:26
The post Random Forests (and Extremely) in Python with scikit-learn appeared first on Erik Marsja.
Sumana Harihareswara - Cogito, Ergo Sumana: MOSS Video, BSSw Honorable Mention, and The Maintainership Book I Am Writing
2020-01-29 20:09:34
Video
testmon: Hidden test dependencies
2020-01-29 17:37:00
PyCharm: Webinar: âSecurity Checks for Python Codeâ with Anthony Shaw
2020-01-29 15:43:42
Software has security issues, Python is software, so how do Python developers avoid common traps? In this webinar, Anthony Shaw discusses the topic of security vulnerabilities, how code quality tools can help, and demonstrates the PyCharm plugin he wrote to let the IDE help.
PyPy Development: Leysin Winter sprint 2020: Feb 29 - March 8th
2020-01-29 14:44:33
No <p> found.
Real Python: Python '!=' Is Not 'is not': Comparing Objects in Python
2020-01-29 14:00:00
Thereâs a subtle difference between the Python identity operator (is) and the equality operator (==). Your code can run fine when you use the Python is operator to compare numbers, until it suddenly doesnât. You might have heard somewhere that the Python is operator is faster than the == operator, or you may feel that it looks more Pythonic. However, itâs crucial to keep in mind that these operators donât behave quite the same.
Wingware: Wing Python IDE 7.2.1 - January 29, 2020
2020-01-29 01:00:00
Wing 7.2.1 fixes debug process group termination, avoids failures seen when pasting some Python code, prevents crashing in vi browse mode when the first line of the file is blank, and fixes some other usability issues.
Continuum Analytics Blog: Introducing Anaconda Team Edition: Secure Open-Source Data Science for the Enterprise
2020-01-28 21:39:50
Iâm very excited to announce a new addition to Anacondaâs product line â Anaconda Team Edition! For the last few years, Anaconda has offered two products: our free Anaconda Distribution, meant for individual practitioners, andâŠ
PyCoderâs Weekly: Issue #405 (Jan. 28, 2020)
2020-01-28 19:30:00
#405 â JANUARY 28, 2020 View in Browser »
Ian Ozsvald: Another Successful Data Science Projects course completed
2020-01-28 18:37:32
A week back I ran the 4th iteration of my 1 day Successful Data Science Projects course. We covered:
Go Deh: Three guys on math
2020-01-28 18:16:04
No <p> found.
Artem Rys: Why you should use typing for all your Python projects
2020-01-28 18:00:20
PyCharm: Webinar Recording: âAdvanced Debugging in PyCharmâ
2020-01-28 16:00:57
Last week we held a special webinar for âAdvanced Debugging in PyCharmâ. Special how? In person, in the St. Petersburg office, with the two PyCharm team members in charge of the debugger, and a huge webinar audience. The recording is now available.
Real Python: Python Modules and Packages: An Introduction
2020-01-28 14:00:00
In this course, youâll learn about Python modules and Python packages, two mechanisms that facilitate modular programming.
Stack Abuse: Text Classification with BERT Tokenizer and TF 2.0 in Python
2020-01-28 13:46:00
This is the 23rd article in my series of articles on Python for NLP. In the previous article of this series, I explained how to perform neural machine translation using seq2seq architecture with Python's Keras library for deep learning.
PyCharm: PyCharm 2020.1 EAP starts now
2020-01-28 05:57:43
There are two types of people in the world: those who can wait to open a package theyâve received, and people like me, who need to see whatâs inside this very second.
Roberto Alsina: Episodio 19: Small Data (I)
2020-01-27 16:50:58
Jugando con datos de verdad! CĂłmo podemos usar esta pila de datos que sacamos de algĂșn lado para hacer algo interesante? Empecemos!
Real Python: Python Community Interview With Kelly and Sean of Teaching Python
2020-01-27 14:00:00
This week Iâm joined by Kelly Paredes and Sean Tibor, the hosts of the Teaching Python podcast. Join us as we discuss the benefits of learning Python outside of the code itself, and what itâs like to learn Python when youâre not planning to become a professional developer. So, without further ado, letâs meet Kelly and Sean!
Codementor: Dividing Deep Into Enhancing Photos With Python
2020-01-27 13:30:27
Python is the most reliable and renowned content management system for websites of any kind to create dynamically attractive web resources for their uses.
Python has got everything that developers...
Stack Abuse: Text Translation with Google Translate API in Python
2020-01-27 13:05:00
Unless you have been hiding under a rock, you have probably used Google Translate on many occasions in your life. Whenever you try to translate a word or a sentence from a certain language to another, it is the Google Translate API which brings you the desired results in the background. Though you can translate anything by simply going to the Google Translate web page, you can also integrate Google Translate API into your web applications or desktop programs. The best thing about the API is that it is extremely easy to set up and use.
Python Bytes: #166 Misunderstanding software clocks and time
2020-01-27 08:00:00
No summary found!
Mike Driscoll: PyDev of the Week: Thomas Wouters
2020-01-27 06:05:00
This week we welcome Thomas Wouters (@Yhg1s) as our PyDev of the Week! Thomas is a core developer of the Python language. He is very active in open source in general and has been a director of the Python Software Foundation in the past. Letâs spend some time getting to know him better!
Podcast.__init__: Simplifying Social Login For Your Web Applications
2020-01-27 03:14:01
A standard feature in most modern web applications is the ability to log in or register using accounts that you already own on other sites such as Google, Facebook, or Twitter. Building your own integrations for each service can be complex and time consuming, distracting you from the features that you and your users actually care about. Fortunately the Python social auth library makes it easy to support third party authentication with a large and growing number of services with minimal effort. In this episode MatĂas Aguirre discusses his motivation for creating the library, how he has designed it to allow for flexibility and ease of use, and the benefits of delegating identity and authentication to third parties rather than managing passwords yourself.
Made With Mu: Announcing Mu version 1.0.3
2020-01-26 20:30:00
The latest stable version of Mu is here!
Will McGugan: Prettier logging with Rich
2020-01-26 15:29:39
Pretty log output
Tryton News: Release of Relatorio 0.9.1
2020-01-26 10:13:44
@ced wrote:
tryexceptpass: Episode 2 - Writing README files
2020-01-26 04:00:00
No <p> found.
Weekly Python StackOverflow Report: (ccxii) stackoverflow python report
2020-01-25 14:50:00
No <p> found.
Go Deh: Sharing another way?
2020-01-25 12:04:08
No <p> found.
Python Insider: Python 3.9.0a3 now available for testing
2020-01-25 10:38:30
No <p> found.
Tryton News: Release 1.1.0 of python-sql
2020-01-25 10:22:59
@ced wrote:
Codementor: Python 3 Functions - Learn Python Programming Tutorial
2020-01-25 00:46:58
Learn Python programming by learning functions in python. Python 3 is the latest python version and the best python version. Python is great for beginners and learning programming. This is a free&hellip;
PythonClub - A Brazilian collaborative blog about Python: Criando um CI de uma aplicação Django usando Github Actions
2020-01-24 15:10:00
Fala pessoal, tudo bom?
Abhijeet Pal: Python Program To Reverse a Sentence
2020-01-24 13:24:39
Problem Definition Create a python program to reverse a sentence. Algorithm Take a string as input. Convert the sentence into a list of words. Join the list in the reverse order which ultimately is the reversed sentence. Program sentence = "dread it run from it destiny still arrives" word_list = sentence.split() reversed_list = word_list[:: -1] reversed_sentence = " ".join(reversed_list) print(reversed_sentence) Output arrives still destiny it from run it dread This program can be further be compressed. sentence = "dread it run from it destiny still arrives" print(" ".join(sentence.split()[::-1])) Output arrives still destiny it from run it dread Python lists can be reversed using the reversed() method, which can be used in place of list[ : : -1]Â in the program as follows. sentence = "dread it run from it destiny still arrives" word_list = sentence.split() reversed_list = reversed(word_list) reversed_sentence = " ".join(reversed_list) print(reversed_sentence) Program for user-provided input sentence = input("Enter a sentence :") print(" ".join(reversed(sentence.split()))) Output Enter a sentence :This is an input input an is This
Stack Abuse: Using SQLAlchemy with Flask and PostgreSQL
2020-01-24 13:12:00
Databases are a crucial part of modern applications since they store the data used to power them. Generally, we use the Structured Query Language (SQL) to perform queries on the database and manipulate the data inside of it. Though initially done via dedicated SQL tools, we've quickly moved to using SQL from within applications to perform queries.
Abhijeet Pal: Python Program to Convert Octal Number to Decimal and vice-versa
2020-01-24 12:21:33
The octal numeral system, or oct for short, is the base-8 number system and uses the digits 0 to 7. The main characteristic of an Octal Numbering System is that there are only 8 distinct counting digits from 0 to 7 with each digit having a weight or value of just 8 starting from the least significant bit (LSB). In the decimal number system, each digit represents the different power of 10 making them base-10 number system. Problem definition Create a python program to convert an octal number into a decimal number. Algorithm for octal to decimal conversion Take an octal number as input. Multiply each digit of the octal number starting from the last with the powers of 8 respectively. Add all the multiplied digits. The total sum gives the decimal number. Program num = input("Enter an octal number :") OctalToDecimal(int(num)) def OctalToDecimal(num): decimal_value = 0 base = 1 while (num): last_digit = num % 10 num = int(num / 10) decimal_value += last_digit * base base = base * 8 print("The decimal value is :",decimal_value) Output Enter an octal number :24 The âŠ
Talk Python to Me: #248 Climate change and your Python code
2020-01-24 08:00:00
The most critical issue of our time is climate change. Yet, when you think about our carbon impact in the software industry, what comes to mind? Business travel? Commuting to the office so you don't miss filing that TPS report? Yeah, those are bad. But data centers, servers, and our apps consume a substantial portion of the total energy used by modern humans.
Peter Bengtsson: How to pad/fill a string by a variable in Python using f-strings
2020-01-24 03:19:04
I often find myself Googling for this. Always a little bit embarrassed that I can't remember the incantation (syntax).
Erik Marsja: Rename Files in Python: A Guide with Examples using os.rename()
2020-01-23 20:40:17
The post Rename Files in Python: A Guide with Examples using os.rename() appeared first on Erik Marsja.
IslandT: Create a project to track total sales at different locations with the Python program
2020-01-23 16:10:34
In the previous posts, we have gone through a project which will receive the user input and commit those data into the earning table. This program has been further modified to include the plotting of a bar chart to indicate the total sales of various inventories in various locations.
Stack Abuse: String Formatting with Python 3's f-Strings
2020-01-23 13:23:00
Python 3.6 introduced a new way to format strings: f-Strings. It is faster than other string formatting methods in Python, and they allow us to evaluate Python expressions inside a string.
PyCon: Refund policy for Attendees and Financial Aid recipients traveling to PyCon internationally
2020-01-23 12:22:34
No <p> found.
Abhijeet Pal: Python Program to Convert Binary Number to Decimal and Vice-Versa
2020-01-23 06:04:51
A binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols 0 and 1. The decimal numeral system is the standard system for denoting integer and non-integer numbers. All decimal numbers can be converted to equivalent binary values and vice versa for example, the binary equivalent of â2â is â10â to explore more visit binary to decimal converter. In this article, we will create python programs for converting a binary number into decimal and vice versa Convert Binary to Decimal # Taking binary input binary = input("Enter a binary number:") # Calling the function BinaryToDecimal(binary) def BinaryToDecimal(binary): decimal = 0 for digit in binary: decimal = decimal*2 + int(digit) print("The decimal value is:", decimal) Output Enter a binary number:10 The decimal value is: 2 Pythonic way to convert binary into decimal We can use the built-in int() function to convert binary numbers into decimals. The int() function converts the binary string in base 2 number. binary_string = input("Enter a binary number :") try: decimal = int(binary_string,2) print("The decimal value is âŠ
Artem Rys: âEffective Pythonâ by Brett Slatkin book review
2020-01-23 01:32:32
Learn PyQt: Matplotlib plots in PyQt5, embedding charts in your GUI applications
2020-01-22 21:57:53
In a previous tutorial we covered plotting in PyQt5 using PyQtGraph. PyQtGraph uses the Qt vector-based QGraphicsScene to draw plots and provides a great interface for interactive and high performance plotting.
Python Circle: Hello Word in Django: How to start with Django
2020-01-22 16:46:22
Creating a hello world Django app, Starting the development of Django application in less than 5 minutes, How to start development in python Django, your first application in Django
Catalin George Festila: Python 3.7.5 : Django security issues - part 003.
2020-01-22 14:26:37
Let's update this subject today with another new tutorial.
In the last tutorial about Django security I wrote about python package named django-axes.
First, let's fix an old issue about a URL pattern that matches anything and expects an integer that generates errors like:
...
File "/home/mythcat/.local/lib/python3.7/site-packages/django/db/models/fields/__init__.py", line 1772,
in
Davy Wybiral: ESP32-Cam Quickstart with Arduino Code
2020-01-22 14:15:31
<br /><br /><br /><br /><span class="style-scope yt-formatted-string" dir="auto">Learn how to add a camera to your Arduino projects the easy way using one of these cheap ESP32-Cam modules. Great for pet cams, home surveillance, time lapses, and computer vision applications.</span><br /><br /><div><span class="style-scope yt-formatted-string" dir="auto"> </span> </div>
Real Python: Python GUI Programming With Tkinter
2020-01-22 14:00:00
Python has a lot of GUI frameworks, but Tkinter is the only framework thatâs built into the Python standard library. Tkinter has several strengths. Itâs cross-platform, so the same code works on Windows, macOS, and Linux. Visual elements are rendered using native operating system elements, so applications built with Tkinter look like they belong on the platform where theyâre run.
Python Circle: Using IF ELSE condition in Django template
2020-01-22 13:46:24
how to use IF ELSE in Django template, Syntax of IF, ELIF and ELSE in Django, Using filters within IF condition in Django template, Multiple elif (else if) confitions in Django template
Stack Abuse: Ensemble/Voting Classification in Python with Scikit-Learn
2020-01-22 13:36:00
Ensemble classification models can be powerful machine learning tools capable of achieving excellent performance and generalizing well to new, unseen datasets.
PyCharm: PyCharm 2019.3.2
2020-01-22 12:42:07
Weâve been taking some time to polish PyCharm further, so be sure to update to the newest version! You can get it from within PyCharm (Help | Check for Updates), using JetBrains Toolbox, or by downloading the new version from our website.
EuroPython: EuroPython 2020: Pre-launch Website Ready
2020-01-22 10:59:04
In the last couple of weeks we have put together a pre-launch site for EuroPython 2020, which has all the information around the event, as we currently know and can share with you.
Tim Arnold / reachtim: The contextmanager Decorator
2020-01-22 05:00:00
Table of Contents
Wing Tips: Using Black and YAPF Code Reformatting in Wing Python IDE
2020-01-22 01:00:00
Wing version 7.2 has been released, so in the next couple Wing Tips we'll take a look at some of its new features.
Matt Layman: URLs Lead The Way
2020-01-22 00:00:00
In the last article in the Understand Django series, we saw how a user’s browser request goes from their browser to Django’s “front door.” Now it’s time to look at how Django processes those requests.
An HTTP request coming from a browser includes a URL describing which resource Django should produce. Since URLs can come in many forms, we must instruct Django on the kinds of URLs that our web application can handle.
Matt Layman: Add Styles To Templates - Building SaaS #42
2020-01-22 00:00:00
No <p> found.
Brett Cannon: A quick-and-dirty guide on how to install packages for Python
2020-01-21 22:18:58
When people start learning Python, they often will come across a package they want to try and it will usually start with "just pip install it!" The problem with that advice is it's a very simplistic view of how to manage packages and can actually lead to problems down the road. And while there is a tutorial on installing packages at packaging.python.org, it might be a bit intimidating for some if they are just looking to quickly get up and going.
PyCoderâs Weekly: Issue #404 (Jan. 21, 2020)
2020-01-21 19:30:00
#404 â JANUARY 21, 2020 View in Browser »
Real Python: Basic Data Types in Python
2020-01-21 14:00:00
In this step-by-step course, youâll dig into the basic data types that are built into Python.
Catalin George Festila: Python 3.7.5 : Use Django Formsets.
2020-01-21 12:20:44
Django Formsets manage the complexity of multiple copies of a form in a view.
This simplifies the task of creating a formset for a form that handles multiple instances of a model.
Let's start with my old project:
[mythcat@desk ~]$ cd projects/
[mythcat@desk projects]$ cd django/
[mythcat@desk django]$ source env/bin/activateInto models.py I add these classes:
#create Inline Form with book and
Test and Code: 98: pytest-testmon - selects tests affected by changed files and methods - Tibor Arpas
2020-01-21 08:00:00
pytest-testmon is a pytest plugin which selects and executes only tests you need to run. It does this by collecting dependencies between tests and all executed code (internally using Coverage.py) and comparing the dependencies against changes. testmon updates its database on each test execution, so it works independently of version control.
Python Bytes: #165 Ranges as dictionary keys - oh my!
2020-01-21 08:00:00
No summary found!
Python Circle: Improving python code performance by using lru_cache decorator
2020-01-20 19:46:35
Store the result of repetitive python function calls in the cache, Improve python code performance by using lru_cache decorator, caching results of python function, memoization in python
Podcast.__init__: Building A Business On Building Data Driven Businesses
2020-01-20 16:01:01
In order for an organization to be data driven they need easy access to their data and a simple way of sharing it. Arik Fraimovich built Redash as a way to address that need by connecting to any data source and building attractive dashboards on top of them. In this episode he shares the origin story of the project, his experiences running a business based on open source, and the challenges of working with data effectively.
Real Python: Scientific Python: Using SciPy for Optimization
2020-01-20 14:00:00
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.
IslandT: Python class to create SQL database, table and submit values
2020-01-20 13:33:49
Let us continue with the final touch up of the python class uses to create SQL database and submits values to the SQL databaseâs earning table.
Chris Moffitt: Using Markdown to Create Responsive HTMLÂ Emails
2020-01-20 13:15:00
As part of managing the PB Python newsletter, I wanted to develop a simple way to write emails once using plain text and turn them into responsive HTML emails for the newsletter. In addition, I needed to maintain a static archive page on the blog that links to the content of each newsletter. This article shows how to use python tools to transform a markdown file into a responsive HTML email suitable for a newsletter as well as a standalone page integrated into a pelican blog.
Catalin George Festila: Python 3.7.5 : Django security issues - part 002.
2020-01-20 11:57:58
The project can be found at this Github project.
Let's start with my default project and activate the env:
[mythcat@desk ~]$ cd projects/
[mythcat@desk projects]$ cd django/
[mythcat@desk django]$ source env/bin/activate
Let's install this python module:
(env) [mythcat@desk django]$ pip3 install django-axes --user
Make this changes into settings.py:
(env) [mythcat@desk django]$ cd mysite/
(env) [
Erik Marsja: How to Save a Seaborn Plot as a File (e.g., PNG, PDF, EPS, TIFF)
2020-01-20 09:54:10
The post How to Save a Seaborn Plot as a File (e.g., PNG, PDF, EPS, TIFF) appeared first on Erik Marsja.
James Bennett: Having some fun with Python
2020-01-20 09:05:35
The other day on a Slack I hang out in, someone posted an amusing line of Python code:
eGenix.com: Python Meeting DĂŒsseldorf - 2020-01-22
2020-01-20 07:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
Mike Driscoll: PyDev of the Week: SebastiĂĄn RamĂrez
2020-01-20 06:05:33
This week we welcome SebastiĂĄn RamĂrez (@tiangolo) as our PyDev of the Week! SebastiĂĄn is the creator of the FastAPI Python web framework. He maintains his own website/blog which you should check out if you have some free time. You can also see his open source projects there. You can also see what projects he is contributing to over on Github.
IslandT: Link together the Tkinter user interface and database Input class
2020-01-20 06:04:10
In this chapter, we will create the Input class which has a few methods used to create a database and the earning table as well as an insert method to insert earning values into that earning table. After that, we will create an object of that class inside the main program which can be used to create a database and the earning table and then insert the user inputs into that earning table.
Wingware: Wing Python IDE 7.2 - January 20, 2020
2020-01-20 01:00:00
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.
Ionel Cristian Maries: Is there anything safe in python?
2020-01-19 22:00:00
In the process of working on Hunter I have found many strange things from merely trying to do a repr on objects that are passed around. Code blowing up with an exception is the least of your concerns. Take a look at this:
Codementor: How To Publish Your Own Python Package
2020-01-19 21:48:24
Proper guide with demonstration of each step of HOW TO PUBLISH A PYTHON PACKAGE on PyPI.
Simple is Better Than Complex: How to Use Chart.js with Django
2020-01-19 15:00:00
Chart.js is a cool open source JavaScript library that helps you render HTML5 charts. It is responsive and counts with 8 different chart types.
Weekly Python StackOverflow Report: (ccxi) stackoverflow python report
2020-01-19 12:01:00
No <p> found.
Python Circle: How to set a variable in Django template
2020-01-19 07:46:08
Declaring a new variable in Django template, Set the value of a variable in Django template, using custom template tag in Django, Defining variables in Django template tag
Python Circle: Encryption-Decryption in Python Django
2020-01-19 07:46:08
How to encrypt and decrypt the content in Django, Encrypting the critical information in Django App, Encrypting username, email and password in Django, Django security
Python Circle: Top 5 Python Books
2020-01-19 07:46:08
top 10 python programming books, List of python books to start with, Start with a python book collection, Buy best python books, Top and best python books,
Codementor: Why ASGI is Replacing WSGI in Django
2020-01-19 05:31:20
Talks about why ASGI is replacing WSGI for Django development and the future it holds for Django development moving forward.
Peter Hoffmann: Understand predicate pushdown on row group level in Parquet with pyarrow and python
2020-01-19 00:00:00
We are using the NY Taxi Dataset throughout this blog post because it is a real world dataset, has a reasonable size and some nice properties like different datatypes and includes some messy data (like all real world data engineering problems).
Python Circle: How to display flash messages in Django templates
2020-01-18 19:46:23
flash messages in Django template, one-time notifications in Django template, messages framework Django, displaying success message in Django, error message display in Django
Catalin George Festila: Python 3.7.5 : Django security issues - part 001.
2020-01-18 06:48:56
Django like any website development and framework implementation requires security settings and configurations.
Today I will present some aspects of this topic and then I will come back with other information.
1. First, check your security vulnerabilities by the following command:
[mythcat@desk django]$ source env/bin/activate
(env) [mythcat@desk django]$ cd mysite
(env) [mythcat@desk mysite]$
IslandT: Create the input text box with tkinter
2020-01-18 04:45:18
In the previous post, I have written a python program to create the database, earning table as well as input the first row of data into the earning table. In this chapter, I will create a simple UI to accept the userâs input so we do not need to hardcoded the values into the SQL query. I will leave the SQL commit code to the next chapter, we will only create a simple inputâs UI in this chapter first.
Peter Bengtsson: JavaScript destructuring like Python kwargs with defaults
2020-01-18 02:59:14
I'm sure it's been blogged about a buncha times before but, I couldn't find it, and I had to search too hard to find an example of this. Basically, what I'm trying to do is what Python does in this case, but in JavaScript:
Tim Arnold / reachtim: Reading Binary Data with Python
2020-01-17 16:48:07
When you deal with external binary data in Python, there are a couple of ways to get that data into a data structure. You can use the ctypes module to define the data structure or you can use the struct python module.
Codementor: How to Build RESTful APIs with Python and Flask
2020-01-17 16:05:55
For some time now I have been working with Python but I just got to try out Flask recently, so I felt it would be nice to write about it. In this aritcle I'll discuss about Flask and how you can...
Python Software Foundation: Start using 2FA and API tokens on PyPI
2020-01-17 15:06:23
No <p> found.
PyPy Development: Leysin Winter sprint 2020: Feb 28 - March 7th
2020-01-17 11:37:59
No <p> found.
py.CheckIO: Mocking in Python
2020-01-16 17:09:38
No summary found!
Stack Abuse: Variable-Length Arguments in Python with *args and **kwargs
2020-01-16 13:32:00
Some functions have no arguments, others have multiple. There are times we have functions with arguments we don't know about beforehand. We may have a variable number of arguments because we want to offer a flexible API to other developers or we don't know the input size. With Python, we can create functions to accept any amount of arguments.
Codementor: Build REST API with Flask & SQLAlchemy
2020-01-16 09:05:53
Flask is a great framework that enables you to build web applications quickly with Python. It's fast, small, and fun to work with. In thisâŠ
Python Bytes: #164 Use type hints to build your next CLI app
2020-01-16 08:00:00
No summary found!
Talk Python to Me: #247 Solo maintainer of open-source in academia
2020-01-16 08:00:00
Do you run an open-source project? Does it seem like you never have enough time to support it? Have you considered starting one but are unsure you can commit to it? It's a real challenge.
Programiz: Python pip
2020-01-16 06:17:00
In this tutorial, we will learn how to use pip to install and manage Python packages.
Codementor: Reuven Lerner made one of the first 100 websites... ever... and other things I learned recording his DevJourney
2020-01-16 05:43:15
Reuven Lerner is a consultant, an author and a teacher. After interviewing him for the DevJourney podcast, here are the key takeways I personally took out of the discussion.
IslandT: Create a daily earning database with Python SQLite
2020-01-16 05:01:55
In this chapter, we will start a project which will then record my daily earning in the future. We will create the earing table and populate the first row of data into that table. I can then view my earning table using DB Browser which is a browser uses to create, edit, plot and view the SQLite tableâs items.
Codementor: Airflow Case Study: ProofPort
2020-01-15 22:45:24
A case study of using Apache Airflow to complete transform the data pipeline at a SaaS startup - in just a few months.
John Cook: More efficient way to sum a list comprehension
2020-01-15 16:17:16
List comprehensions in Python let you create a list declaratively, much like the way you would describe the set in English. For example,
Real Python: Arcade: A Primer on the Python Game Framework
2020-01-15 14:00:00
Computer games are a great way to introduce people to coding and computer science. Since I was a player in my youth, the lure of writing video games was the reason I learned to code. Of course, when I learned Python, my first instinct was to write a Python game.
PyCon: The 9th Annual PyLadies Auction
2020-01-15 13:04:01
No <p> found.
Codementor: Things You Need to Know Before Hiring Developers for Your Startup
2020-01-15 08:29:23
No summary found!
Ahmed Bouchefra: Django 3 Tutorial & CRUD Example with MySQL and Bootstrap
2020-01-15 00:00:00
Django 3 is released with full async support! In this tutorial, weâll see by example how to create a CRUD application from scratch and step by step. Weâll see how to configure a MySQL database, enable the admin interface, and create the django views.
Matt Layman: User Accounts With django-allauth - Building SaaS #41
2020-01-15 00:00:00
No <p> found.
PyCoderâs Weekly: Issue #403 (Jan. 14, 2020)
2020-01-14 19:30:00
#403 â JANUARY 14, 2020 View in Browser »
Python Anywhere: The PythonAnywhere newsletter, January 2020
2020-01-14 17:01:44
So, we have managed to break another record for our longest period ever between two monthly newsletters. It has been sixteen busy months between September 2018 and now, so we have made 2019 an official Year Without a Newsletter.
Will Kahn-Greene: Switching from pyup to dependabot
2020-01-14 17:00:00
I maintain a bunch of Python-based projects including some major projects like Crash Stats, Mozilla Symbols Server, and Mozilla Location Services. In order to keep up with dependency updates, we used pyup to monitor dependencies in those projects and create GitHub pull requests for updates.
Trey Hunner: Passing a function as an argument to another function in Python
2020-01-14 16:00:00
One of the more hair-raising facts we learn in my introductory Python trainings is that you can pass functions into other functions. You can pass functions around because in Python, functions are objects.
Codementor: Quick Dive into Selenium with python
2020-01-14 14:06:21
Dive into the world of browser automation with python.
Abhijeet Pal: Python Programs to Create Pyramid and Patterns
2020-01-14 08:51:16
In this article, we will go over different ways to generate pyramids and patters in Python. Half pyramid of asterisks def half_pyramid(rows): for i in range(rows): print('*' * (i+1)) half_pyramid(6) Output * ** *** **** ***** ****** An alternate way to generate half pyramid using nested loops in Python. Program def half_pyramid(rows): for i in range(rows): for j in range(i+1): print("*", end="") print("") half_pyramid(6) Output * ** *** **** ***** ****** Half pyramid of Xâs def half_pyramid(rows): for i in range(rows): print('X' * (i+1)) half_pyramid(6) Output X XX XXX XXXX XXXXX XXXXXX Half pyramid of numbers def half_pyramid(rows): for i in range(rows): for j in range(i + 1): print(j + 1, end="") print("") half_pyramid(5) Output 1 12 123 1234 12345 Generating a full pyramid of asterisks def full_pyramid(rows): for i in range(rows): print(' '*(rows-i-1) + '*'*(2*i+1)) full_pyramid(6) Output * *** ***** ******* ********* *********** Full pyramid of Xâs def full_pyramid(rows): for i in range(rows): print(' '*(rows-i-1) + 'X'*(2*i+1)) full_pyramid(6) Output X XXX XXXXX XXXXXXX XXXXXXXXX XXXXXXXXXXX Reversed pyramid def inverted_pyramid(rows): for i in reversed(range(rows)): print(' '*(rows-i-1) + '*'*(2*i+1)) inverted_pyramid(6) Output âŠ
Abhijeet Pal: Python Program to Find the Factors of a Number
2020-01-14 08:07:35
The factor of any number is a whole number which exactly divides the number into a whole number without leaving any remainder. For example, 3 is a factor of 9 because 3 divides 9 evenly leaving no remainder. Problem Create a Python program to find all the factors of a number. Algorithm Step 1: Take a number Step 2: Loop over every number from 1 to the given number Step 3: If the loop iterator evenly divides the provided number i.e. number % i == 0 print it. Program number = 69 print("The factors of {} are,".format(number)) for i in range(1,number+1): if number % i == 0: print(i) Output The factors of 69 are, 1 3 23 69 Print factors of a user-provided number number = int(input("Enter a number ")) print("The factors of {} are,".format(number)) for i in range(1,number+1): if number % i == 0: print(i) Output Enter a number 469 The factors of 469 are, 1 7 67 469
Abhijeet Pal: Python Program to Calculate Power of a Number
2020-01-14 06:48:38
Problem Definition Create a Python program to take two numbers from the user one being the base number another the exponent then calculate the power. Program import math base_number = float(input("Enter the base number")) exponent = float(input("Enter the exponent")) power = math.pow(base_number,exponent) print("Power is =",power) Output Enter the base number2 Enter the exponent4 Power is = 16.0 The built-in math module provides a number of functions for mathematical operations. The pow() method takes a base number and exponent as parameters and returns the power. Since in Python, there is always more than one way of achieving things calculating power with the exponentiation operator is also possible. The exponentiation operator x**yevaluates to power. Program base_number = int(input("Enter the base number")) exponent = int(input("Enter the exponent")) power = base_number ** exponent print("Result is =",power) Output Enter the base number2 Enter the exponent5 Result is = 32
Abhijeet Pal: Python Program To Reverse a Number
2020-01-14 06:15:20
Problem Definition Create a Python program to reverse a number in Python. Solution This article will show multiple solutions for reversing a number in Python. Reversing a number mathematically The algorithm below is used to reverse a number mathematically with time complexity of O(log n) where n is input number. Algorithm Input : num (1) Initialize rev_num = 0 (2) Loop while num > 0 (a) Multiply rev_num by 10 and add remainder of num divide by 10 to rev_num (b) Divide num by 10 (3) Return rev_num  Program num = 12345 rev_num = 0 while num != 0: rev_num = rev_num * 10 rev_num = rev_num + (num%10) num = num // 10 print(rev_num) Output 54321 Using reversed() method Pythonâs built in reversed() method returns an iterator that accesses the given sequence in the reverse order. Program # input num = 1234 rev_iterator = reversed(str(num)) rev_num = "".join(rev_iterator) print(rev_num) Output 4321 Note that the reversed() method doesnât accept integer as a parameter therefore data type is converted to a string. Sincereversed() returns an iterator we need to join it âŠ
Mike Driscoll: Getting Jenkins Jobs by Build State with Python
2020-01-14 06:05:16
I have been working with Python and Jenkins a lot lately and recently needed to find a way to check the jobâs status at the build level. I discovered the jenkinsapi package and played around with it to see if it would give me the ability to drill down to the build and resultset level within Jenkins.
Kushal Das: Creating password input widget in PyQt
2020-01-14 05:40:32
One of the most common parts of writing any desktop tool and taking password input is about having a widget that can show/hide password text. In Qt, we can add a QAction to a QLineEdit to do the same. The only thing to remember, that the icons for the QAction, must be square in aspect ratio; otherwise, they look super bad.
IslandT: Return the word with the longest length within a string using Python
2020-01-14 05:08:49
Simple challenge â eliminate all bugs from the supplied code so that the code runs and outputs the expected value. The output should be the length of the longest word, as a number. There will only be one âlongestâ word.
Python Diary: Creating a transparently encrypted field in Django
2020-01-14 02:45:14
This is officially PythonDiary's first Python 3 article! Python 2 is now officially dead, so there's less reasons to make that a major focus going forward.
Wingware News: Wing Python IDE 7.2 Release Candidate 1 - January 14, 2020
2020-01-14 01:00:00
Wing 7.2 adds auto-formatting with Black and YAPF, expands support for virtualenv, adds support for Anaconda environments, explicitly supports debugging modules launched with python -m, simplifies manually configured remote debugging, and fixes a number of usability issues.
Techiediaries - Django: Django 3 Tutorial & CRUD Example with MySQL and Bootstrap
2020-01-14 00:00:00
Django 3 is released with full async support! In this tutorial, we'll see by example how to create a CRUD application from scratch and step by step. We'll see how to configure a MySQL database, enable the admin interface, and create the django views.
Podcast.__init__: Using Deliberate Practice To Level Up Your Python
2020-01-13 21:28:11
An effective strategy for teaching and learning is to rely on well structured exercises and collaboration for practicing the material. In this episode long time Python trainer Reuven Lerner reflects on the lessons that he has learned in the 5 years since his first appearance on the show, how his teaching has evolved, and the ways that he has incorporated more hands-on experiences into his lessons. This was a great conversation about the benefits of being deliberate in your approach to ongoing education in the field of technology, as well as having some helpful references for ways to keep your own skills sharp.
Real Python: Logistic Regression in Python
2020-01-13 14:00:00
As the amount of available data, the strength of computing power, and the number of algorithmic improvements continue to rise, so does the importance of data science and machine learning. Classification is among the most important areas of machine learning, and logistic regression is one of its basic methods. By the end of this tutorial, youâll have learned about classification in general and the fundamentals of logistic regression in particular, as well as how to implement logistic regression in Python.
Abhijeet Pal: Python Program To Display Characters From A to Z
2020-01-13 13:16:12
Problem Definition Create a Python program to display all alphabets from A to Z. Solution This article will go through two pythonic ways to generate alphabets. Using String module Pythonâs built-in string module comes with a number of useful string functions one of them is string.ascii_lowercase Program import string for i in string.ascii_lowercase: print(i, end=" ") Output a b c d e f g h i j k l m n o p q r s t u v w x y z The string.ascii_lowercase method returns all lowercase alphabets as a single string abcdefghijklmnopqrstuvwxyzso the program is simply running a for loop over the string characters and printing them. Similarly for uppercase A to Z letters. Program import string for i in string.ascii_uppercase: print(i, end=" ") Output A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Using chr() Function The chr() function in Python returns a Unicode character for the provided ASCII value, hence chr(97) returns âaâ. To learn more about chr() âŠ
Reuven Lerner: Last chance for Weekly Python Exercise A1
2020-01-13 12:00:00
This is a final reminder that in a few hours, registration will close for Weekly Python Exercise A1: Data structures for beginners.Again and again, WPE participants have said that Weekly Python Exercise was the boost they needed to become more familiar with Python.Now, if Python fluency is your goal, then thatâs great. But for most people, Python fluency isnât the goal â itâs a means to an end. And to what end?
Ned Batchelder: Bug #915: solved!
2020-01-13 11:15:00
Yesterday I pleaded, Bug #915: please help! It got posted to Hacker News, where Robert Xiao (nneonneo) did some impressive debugging and found the answer.
Codementor: 5 Best Text Editors for Programmers
2020-01-13 08:32:49
The 5 Best Text Editors for Programmers. 1. Atom text editor 2. Vim text editor 3. VS Code text editor 4. Notepad++ text editor 5. Sublime text editor. It is essential for Software Developers and&hellip;
Codementor: Top 3 Best Python Books You Should Read in 2019
2020-01-13 08:27:25
These 3 best python books cover the python programming language. They contain quality content on python 3, data science, and machine learning techniques used in python. Python is a widely used&hellip;
IslandT: Small python application which will remove duplicate files from the windows 10 os
2020-01-13 06:43:20
I am glad to inform you all that the remove duplicate file project written with python has finally completed and now it will be uploaded to GitHub for your all to enjoy. This is free software and it will always remain free. Although I would really love to create a Linux version of this remove duplicate fileâs software, but I do not have a Linux osâs computer therefore at the moment this software is just for the windows user only. I have packed this software up where you can just download the setup.exe file and then install the program and start it up to search and destroy the duplicate files inside your computer. Here are the steps you need to do to search and destroy the duplicate files:
Mike Driscoll: PyDev of the Week: Tyler Reddy
2020-01-13 06:05:42
This week we welcome Tyler Reddy (@Tyler_Reddy) as our PyDev of the Week! Tyler is a core developer of Scipy and Numpy. He has also worked on the MDAnalysis library, which is for particle physics simulation analysis. If youâre interested in seeing some of his contributions, you can check out his Github profile. Letâs spend some time getting to know Tyler better!
Mike C. Fletcher: Started work on getting py-spy/speedscope in RunSnakeRun
2020-01-13 05:47:33
So having finally written down the thoughts on a carbon tax, that kept distracting me from actually working on Open Source, I finally got a bit of work done on Open Source on the last night of the vacation.
Codementor: Python for Beginners: Making Your First Socket Program (Client & Server Communication)
2020-01-13 05:39:07
How to send a text file between client and server: Python simple example and source code download. See the video for more info!
Jaime Buelta: ffind v1.2.0 released!
2020-01-12 21:32:25
The new version of ffind v1.2.0 is available in GitHub and PyPi. This version includes the ability to configure defaults by environment variables and to force case insensitivity in searches. You can upgrade with     pip install ffind --upgrade This will be the latest version to support Python 2.6. Happy searching!
Jaime Buelta: Python Automation Cookbook
2020-01-12 20:55:18
No <p> found.
Jaime Buelta: Hands-On Docker for Microservices with Python Book
2020-01-12 20:54:36
No <p> found.
Ned Batchelder: Bug #915: please help!
2020-01-12 15:17:52
I just released coverage.py 5.0.3, with two bug fixes. There was another bug I really wanted to fix, but it has stumped me. Iâm hoping someone can figure it out.
Weekly Python StackOverflow Report: (ccx) stackoverflow python report
2020-01-11 19:37:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-01-11 19:37:20 GMT
Catalin George Festila: Python 3.7.5 : About asterisk operators in Python.
2020-01-11 10:41:31
The asterisk known as the star operator is used in Python with more than one meaning attached to it.
Today I will show you some simple examples of how can be used.
Let's start with these issues.
You can merge two or more dictionaries by unpacking them in a new one:
>>> a = {'u': 1}
>>> b = {'v': 2}
>>> ab = {**a, **b, 'c':'d'}
>>> ab
{'u': 1, 'v': 2, 'c': 'd'}Create multiple assignments:
>>> *x,
Peter Hoffmann: Azure Data Lake Storage Gen 2 with Python
2020-01-11 00:00:00
Microsoft has released a beta version of the python client azure-storage-file-datalake for the Azure Data Lake Storage Gen 2 service.
Peter Bengtsson: How to have default/initial values in a Django form that is bound and rendered
2020-01-10 23:44:05
Django's Form framework is excellent. It's intuitive and versatile and, best of all, easy to use. However, one little thing that is not so intuitive is how do you render a bound form with default/initial values when the form is never rendered unbound.
Python Data: Python Data Weekly Roundup â Jan 10 2020
2020-01-10 17:24:22
In this weekâs Python Data Weekly Roundup:
Paolo Amoroso: Ideas for Python Authors
2020-01-10 16:06:02
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
PyCharm: Webinar: âAdvanced Debugging in PyCharmâ
2020-01-10 15:51:30
PyCharmâs debugger is one of its most popular features. But many just stick to the basics and donât learn intermediate and advanced features. In this webinar, two of PyCharmâs core developers who work on the debugger show its less-known but powerful features, while talking a bit about the debugger architecture and future improvements.
Reinout van Rees: Github basic auth deprecation and jenkins
2020-01-10 13:46:00
I have been getting periodic deprecation notice emails from github for the last few months:
Speed Matters: A socketserver with threads vs uvloop
2020-01-10 10:47:37
The uvloop project is great with an amazing performance, and a good replacement for the default asyncio module, if Linux is used. Unfortunately uvloop is not available for Windows.
Speed Matters: scandir-rs
2020-01-10 10:40:00
Because speed mattersâŠ
Reuven Lerner: Is Weekly Python Exercise for you?
2020-01-10 10:23:23
In just a few days, Iâll be starting a new cohort of Weekly Python Exercise A1: Data structures for beginners. From my experience teaching Python for 20 years, Iâd say that this is one of the best ways out there to improve your Python fluency. Thatâs because it combines actual practice, automated âpytestâ tests, and community interactions.
Fabio Zadrozny: PyDev 7.5.0 Released (Python 3.8 and Cython)
2020-01-10 10:05:13
No <p> found.
Codementor: How python implements super long integers?
2020-01-10 03:56:35
Python must be doing something beautiful internally to support super long integers and today we find out what's under the hood. The article goes in-depth to explain design, storage, and operations on super long integers as implemented by Python.
Catalin George Festila: Python 3.7.5 : The this python package.
2020-01-09 14:05:39
The this python package is simple to use:
[mythcat@desk ~]$ python3
Python 3.7.5 (default, Dec 15 2019, 17:54:26)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better
Stack Abuse: Convert Strings to Numbers and Numbers to Strings in Python
2020-01-09 13:54:00
Python allows you to convert strings, integers, and floats interchangeably in a few different ways. The simplest way to do this is using the basic str(), int(), and float() functions. On top of this, there are a couple of other ways as well.
Learn PyQt: Build GUI layouts with Qt Designer for PyQt5 apps
2020-01-09 12:26:22
When laying out your Qt GUIs it can be quite a tricky task to place every widget in the right position on your forms. Fortunately, Qt offers a set of layout managers that simplify the process of widget positioning and will allow you to easily create any kind of layout. To lay out the widget in a form, you can create everything in code, or you can create your layout with Qt Designer. In this tutorial, you'll learn how to use Qt's layouts with Qt Designer to build complex GUIs for your applications.
Talk Python to Me: #246 Practices of the Python Pro
2020-01-09 08:00:00
When you can call yourself a professional developer? Sure, getting paid to write code is probably part of the formula. But when is your skillset up to that level?
Python Bytes: #163 Meditations on the Zen of Python
2020-01-09 08:00:00
No summary found!
Matt Layman: Serverless Python And Why You Should Try It Out
2020-01-09 00:00:00
At the January 2020 Python Frederick event, Patrick Pierson showed the group how you can use Python in different serverless services on AWS and GCP. He also showed a couple of serverless frameworks like Serverless and Chalice.
The recording from the talk is available on YouTube. Check it out!
Questions? Feel free to mention me on Twitter at @mblayman so I can try to respond to your question.
Mike Driscoll: Letting Users Change a wx.ComboBoxâs Contents in wxPython
2020-01-08 18:15:40
This week I came across someone who was wondering if there was a way to allow the user to edit the contents of a wx.ComboBox. By editing the contents, I mean change the names of the pre-existing choices that the ComboBox contains, not adding new items to the widget.
Real Python: Exploring HTTPS With Python
2020-01-08 14:00:00
Have you ever wondered why itâs okay for you to send your credit card information over the Internet? You may have noticed the https:// on URLs in your browser, but what is it, and how does it keep your information safe? Or perhaps you want to create a Python HTTPS application, but youâre not exactly sure what that means. How can you be sure that your web application is safe?
Stack Abuse: Deploying Django Applications to AWS EC2 with Docker
2020-01-08 13:56:00
In the fast-paced field of web applications, containerization has become not only common but the preferred mode of packaging and delivering web applications. Containers allow us to package our applications and deploy them anywhere without having to reconfigure or adapt our applications to the deployment platform.
Matt Layman: From Browser To Django
2020-01-08 00:00:00
Maybe you have heard about Django and that it can help you build websites. You might be new to Python, new to web development, or new to programming as a whole.
This new series, Understand Django, will show you what Django is all about. Throughout this series, I hope to reveal how Django is a powerful tool that can unlock the potential of anyone interested in making applications on the internet.
PyCoderâs Weekly: Issue #402 (Jan. 7, 2020)
2020-01-07 19:30:00
#402 â JANUARY 7, 2020 View in Browser »
Will Kahn-Greene: How to pick up a project with an audit
2020-01-07 19:00:00
Over the last year, I was handed a bunch of projects in various states. One of the first things I do when getting a new project that I'm suddenly responsible for is to audit the project. That helps me figure out what I'm looking at and what I need to do with it next.
Python Engineering at Microsoft: Python in Visual Studio Code â January 2020 Release
2020-01-07 18:08:45
We are pleased to announce that the January 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code in the documentation. Â
Python Software Foundation: Python Software Foundation Fellow Members for Q4 2019
2020-01-07 11:00:08
No <p> found.
Codementor: How I use Python to get Salesforce data
2020-01-07 10:54:35
Writing a script that accesses data from Salesforce from using the Python language is easier than you think. Go ahead and Salesforce and Python combination!
S. Lott: Patreon Book Idea
2020-01-07 08:00:00
<br />See "<a href="https://www.patreon.com/posts/32521611" target="_blank">Additional, Related Content</a>". It's one of the posts here: <a href="https://www.patreon.com/slott">https://www.patreon.com/slott</a>. <div><br /></div><div>I think there's space for a <i>Building Skills in Functional Python</i> title next to the <i>Building Skills in OO Design</i>. </div>
Dataquest: Tutorial: Python Regex (Regular Expressions) for Data Scientists
2020-01-07 08:00:00
In this tutorial, learn how to use regular expressions and the pandas library to manage large data sets during data analysis.
Mike Driscoll: Top 10 Most Read Mouse vs Python Articles of 2019
2020-01-07 06:05:21
2019 was a good year for my blog. While we didnât end up getting a lot of new readers, we did receive a small bump. There has also been a lot more interest in the books that are available on this site.
Hynek Schlawack: Better Python Object Serialization
2020-01-07 00:00:00
The Python standard library is full of underappreciated gems. One of them allows for simple and elegant function dispatching based on argument types. This makes it perfect for serialization of arbitrary objects â for example to JSON in web APIs and structured logs.
Erik Marsja: Pandas drop_duplicates(): How to Drop Duplicated Rows
2020-01-06 21:01:39
The post Pandas drop_duplicates(): How to Drop Duplicated Rows appeared first on Erik Marsja.
Reuven Lerner: Looking back at 2019, looking forward to 2020
2020-01-06 18:28:46
Hi, and welcome to 2020! The last year (2019) was quite a whirlwind for me and my work â and I thus wanted to take a few minutes to summarize what Iâve done over the past year. But the coming year looks like itâll be just as exciting, if not more so, and I wanted to fill you in on what you can expect.
Vinta Software: Counting Queries: Basic Performance Testing in Django
2020-01-06 16:48:51
It's very common to read about testing techniques such as TDD and how to test application business logic. But testing the performance of an application is a whole different issue. There are many ways you can do it, but a common approach is to set up an environment where you can DDoS your application and watch how it behaves. This is an exciting top
Kushal Das: 5 months of Internet shutdown in Kashmir and more fascist attacks in India
2020-01-06 16:41:41
From 5th August 2019, Kashmir is under a communication shutdown. SMS service for a particular connection provider is now available for postpaid users, but Internet is still down for all Indian citizens of Kashmir.
Real Python: Using Pandas and Python to Explore Your Dataset
2020-01-06 14:00:00
Do you have a large dataset thatâs full of interesting insights, but youâre not sure where to start exploring it? Has your boss asked you to generate some statistics from it, but theyâre not so easy to extract? These are precisely the use cases where Pandas and Python can help you! With these tools, youâll be able to slice a large dataset down into manageable parts and glean insight from that information.
Julien Danjou: Atomic lock-free counters in Python
2020-01-06 10:47:00
At Datadog, we're really into metrics. We love them, we store them, but we also generate them. To do that, you need to juggle with integers that are incremented, also known as counters.
Catalin George Festila: Python 3.7.5 : Post class and migration process.
2020-01-06 10:09:05
Today I will solve some issues with the Django framework like:
create a new class for posts;
explain how the migration process works.
use the database with Django shell;
Let's activate the environment:
[mythcat@desk django]$ source env/bin/activateI used my old project django-chart, see my old tutorials.
Let's add some source code to the models.py to create a class for the post into my website:
Mike Driscoll: PyDev of the Week: Bryan Weber
2020-01-06 06:05:40
This week we welcome Bryan Weber (@darthbith) as our PyDev of the Week! Bryan is a contributor for Real Python and a core developer for Cantera. If youâd like to learn more about Bryan, you can check out his website or his Github profile. Letâs take a few moment to get to know him better!
James Bennett: A Python Packaging Carol
2020-01-06 03:44:37
I have endeavoured in this Ghostly little book, to raise the Ghost of an Idea, which shall not put my readers out of humour with themselves, with each other, with the season, or with me. May it haunt their houses pleasantly, and no one wish to lay it.
Podcast.__init__: Checking Up On Python's Role in DevOps
2020-01-06 03:22:52
Python has been part of the standard toolkit for systems administrators since it was created. In recent years there has been a shift in how servers are deployed and managed, and how code gets released due to the rise of cloud computing and the accompanying DevOps movement. The increased need for automation and speed of iteration has been a perfect use case for Python, cementing its position as a powerful tool for operations. In this episode Moshe Zadka reflects on his experiences using Python in a DevOps context and the book that he wrote on the subject. He also discusses the difference in what aspects of the language are useful as an introduction for system operators and where they can continue their learning.
Catalin George Festila: Python 3.7.5 : Set json with settings in Django project.
2020-01-06 01:30:52
[mythcat@desk django]$ source env/bin/activate
(env) [mythcat@desk django]$ cd mysite/
(env) [mythcat@desk mysite]$ ls
db.sqlite3 manage.py mysite test001
(env) [mythcat@desk mysite]$ pwd
/home/mythcat/projects/django/mysiteCreate a file named config.json in the folder django:
(env) [mythcat@desk mysite]$ vim /home/mythcat/projects/django/config.jsonOpen your settings.py file from your Django
Techiediaries - Django: MyCLI: A MySQL CLI Based on Python with Auto-completion and Syntax Highlighting
2020-01-06 00:00:00
If you prefer to work with MySQL via its command-line interface, you'll like mycli which is a CLI tool with auto-completion and syntax highlighting built on top of Python and prompt_toolkit for building interactive command line applications with Python.
Codementor: Getting started with Python - Reading Time: 6 Mins
2020-01-05 09:35:01
Getting started with Python for the absolute beginners for 2020
Catalin George Festila: Python 3.7.5 : Testing cryptography python package - part 001.
2020-01-05 02:58:31
There are many python packets that present themselves as useful encryption and decryption solutions. I recommend before you test them, use them and spend time with them to focus on the correct study of cryptology because many disadvantages and problems can arise in the correct and safe writing of the source code.
Today I will show you a simple example with cryptography python package.
Let's
Weekly Python StackOverflow Report: (ccix) stackoverflow python report
2020-01-04 21:56:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-01-04 21:55:45 GMT
Paolo Amoroso: A List of Free Python Books
2020-01-04 12:07:29
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
Abhijeet Pal: Adding Custom Model Managers In Django
2020-01-04 09:18:21
A manager is an interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application, objects is the default manager of every model that retrieves all objects in the database. However, one model can have multiple model managers, we can also build our own custom model managers by extending the base manager class. In this article, we will learn how to create custom model managers in Django. Creating Custom Model Managers In this article, we will build a model manager for a blog application. class Post(models.Model): title = models.CharField(max_length=200) content = models.TextField() created = models.DateTimeField(auto_now_add=True) updated = models.DateTimeField(auto_now=True) active = models.BooleanField(default=False) def __str__(self): return self.title As we know objects is the default model manager for every model, therefore Post.objects.all() will return all post objects. The objects method is capable of doing all basic QuerySets then why would we need a custom model manager? There are two reasons you might want to customize a Manager â To add extra Manager methods. To modify the initial QuerySet the Manager returns. Letâs âŠ
Catalin George Festila: Python 3.7.5 : Testing the PyMongo package - part 001.
2020-01-04 08:03:54
MongoDB and PyMongo are not my priorities for the new year 2020 but because they are quite evolved I thought to start presenting it within my free time.
The PyMongo python package is a Python distribution containing tools for working with MongoDB.
The full documentation can be found on this webpage.
You can see my tutorial about how to install the MongoDB into Fedora 31 on this webpage.
I used
Mike C. Fletcher: PyOpenGL 3.1.5 is Out
2020-01-04 03:57:08
I've pushed out the PyOpenGL 3.1.5 release. It has some (relatively minor) fixes for wgl and egl operations, and one for what looks like a change in numpy scalar handling in the latest numpy. Available on PyPI now.
Django Weblog: DjangoCon Europe 2020 Announcement
2020-01-03 18:00:00
We are happy to announce that DjangoCon Europe 2020 will take place in Porto, Portugal đ”đč! The website is already online at 2020.djangocon.eu and it will be kept up to date with the latest updates. Don't forget to follow @djangoconeurope on Twitter.
Python Data: Python Data Weekly Roundup â Jan 3 2020
2020-01-03 16:25:54
In this weekâs Python Data Weekly Roundup:
Abhijeet Pal: Creating Feeds with Django
2020-01-03 16:14:04
Django ships with built-in syndication feed generating framework, which is used to generate dynamic Atom and RSS feeds. RSS is an abbreviation for Really Simple Syndication, itâs a way to have information delivered to you instead of you having to go find it. RSS is basically a structured XML document that includes full or summarized text along with other metadata such as published date, author name, etc. Creating RSS Feeds with Django In this article, we are going to generate feeds for a blog application following is the models.py file. class Post(models.Model): title = models.CharField(max_length=200, unique=True) slug = models.SlugField(max_length=200, unique=True) author = models.ForeignKey( User, on_delete=models.CASCADE, related_name="blog_posts" ) updated_on = models.DateTimeField(auto_now=True) content = models.TextField() created_on = models.DateTimeField(auto_now_add=True) status = models.IntegerField(choices=STATUS, default=0) class Meta: ordering = ["-created_on"] def __str__(self): return self.title def get_absolute_url(self): from django.urls import reverse return reverse("post_detail", kwargs={"slug": str(self.slug)}) Create a new file feeds.py inside the application directory. from django.contrib.syndication.views import Feed from django.template.defaultfilters import truncatewords from .models import Post from django.urls import reverse class LatestPostsFeed(Feed): title = "My blog" link = "" description = "New posts of my blog." âŠ
Doug Hellmann: entry_point_inspector 0.1.2
2020-01-03 14:44:44
No <p> found.
RMOTR: New NumPy and Panda Courses Released
2020-01-03 13:31:01
Happy New Year, Data Scientists!
Stack Abuse: Introduction to Speech Recognition with Python
2020-01-03 13:07:00
Speech recognition, as the name suggests, refers to automatic recognition of human speech. Speech recognition is one of the most important tasks in the domain of human computer interaction. If you have ever interacted with Alexa or have ever ordered Siri to complete a task, you have already experienced the power of speech recognition.
Erik Marsja: How to Read a File in Python, Write to, and Append, to a File
2020-01-03 12:05:22
The post How to Read a File in Python, Write to, and Append, to a File appeared first on Erik Marsja.
Weekly Python StackOverflow Report: 20 best Python questions at stackoverflow in 2019
2020-01-03 09:20:00
These are the 20 most rated questions at 2019 Stack Overflow.Between brackets: question score & answers countBuilt date: 2020/01/03 09:19:25 GMT
Talk Python to Me: #245 Python packaging landscape in 2020
2020-01-03 08:00:00
Python is growing incredibly quickly and has found its place in many facets of the developer and computational space. But one area that is still shaky and uncertain is packaging and shipping software to users.
Python Bytes: #162 Retrofitting async and await into Django
2020-01-03 08:00:00
No summary found!
Abhijeet Pal: Creating Sitemaps in Django
2020-01-03 07:12:54
Django comes with baked-in functionality for generating sitemaps dynamically using the sitemap framework. A sitemap is an XML file that informs search engines such as Google, the pages of your website, their relevance, and how frequently they are updated. Using sitemaps facilitates crawlers indexing the site, therefore sitemap plays a crucial role in modern SEO (Search Engine Optimization). In this article, we will go through the process of creating sitemaps in Django. Creating Sitemaps in Django Considering the scope of the article I am assuming you have basic knowledge of Django and have a project up and running if not read the following article first. Building A Blog Application With Django Installation Add 'django.contrib.sitemaps' in INSTALLED_APPS setting. INSTALLED_APPS += ( 'django.contrib.sitemaps',) Make sure your TEMPLATES setting contains a DjangoTemplates backend whose APP_DIRS options is set to True. Itâs in there by default, revert it in case you have changed it. Creating Sitemap I am generating a sitemap for a blog application following is the models.py file for reference. class Post(models.Model): title = models.CharField(max_length=200, unique=True) slug = models.SlugField(max_length=200, unique=True) author = âŠ
Codementor: The Skills to Get a Job As a Django Developer - Reading Time: 4 Mins
2020-01-03 03:05:13
The skills to get a job as a Django developer.
Codementor: 3 Tips to be Effective In Pycharm - Reading Time: 3 Mins
2020-01-03 03:03:04
Shows 3 tips and tricks in using PyCharm for Python development.
Techiediaries - Django: Python Webviews with PyWebView
2020-01-03 00:00:00
Have you ever wanted to use your python and web development skills to build cross platform desktop GUI apps? if yes then welcome to this tutorial where we'll show you how to use PyWebView to turn your web application built using python and client side technologies such as HTML, CSS and JavaScript into a standalone cross platform GUI application that runs under major operating systems such as Linux, Windows and MAC.
Techiediaries - Django: Django 3 Tutorial & Example [2020]: Build a CRUD REST API for A Simple CRM
2020-01-03 00:00:00
Django 3 is released with full async support!
EuroPython: EuroPython 2020: Venue and location selected
2020-01-02 20:01:33
europythonsociety:
Davy Wybiral: Intro to Arduino with LoRa
2020-01-02 18:09:44
No <p> found.
Mike C. Fletcher: Windows Isn't a Horror Show
2020-01-02 15:09:26
So it has been a long time since I forced myself to boot into Windows to get support/development work done for the platform. Other than one hard-freeze where the machine updated its drivers, rebooted, and just stopped recognising the keyboard or trackpad, it pretty much just worked (turning it off and on again did, as the IT Crowd suggests, fix the problem).
Codementor: Build a Rest API with Python and Django - The easiest way
2020-01-02 10:38:32
How you can build a Rest api with Python
Doing Math with Python: Number of trailing zeros in the factorial of an integer
2020-01-02 09:50:00
I recently learned about a cool formula to calculate the number of trailing zeros in the factorial of a number. It has been a while since I wrote a program to do something like this. So, I decided to change that and write this blog post. Let's jump in.
Catalin George Festila: Python 3.7.5 : Testing the Falcon framework - part 001.
2020-01-02 09:10:44
I start the new year with this python framework named Falcon.
The Falcon is a low-level, high-performance Python framework for building HTTP APIs, app backends, and higher-level frameworks.
The main reason was the speed of this python framework, see this article about falcon benchmark.
You can see is more faster like Flask and Django.
The instalation is easy with pip tool, you can read also the
Django Weblog: Django bugfix release: 3.0.2
2020-01-02 07:08:15
Today we've issued the 3.0.2 bugfix release.
Caktus Consulting Group: Our Top 19 Blogs of 2019
2020-01-01 17:17:32
During the last year we gave our popular technical blog an official name: Developer Access. We published 32 posts on the blog, including technical how-toâs, conference information, web development best practices and detailed guides. Among all those posts, 19 rose to the top of the popularity list (based on total pageviews):
Mike C. Fletcher: DRM Names for EGL Enumerated Devices
2020-01-01 05:07:01
So it turns out that there's an extension for getting the DRM name for an EGL queried device that seems to work on Ubuntu 19.10. With that it should be relatively easy to target an off-screen render to a particular device. (The extension allows `eglQueryDeviceStringEXT` to respond to `EGL_DRM_DEVICE_FILE_EXT`). Happy New Year all.
IslandT: Create a simple python project on Google Colaboratory
2020-01-01 04:53:06
Hello and happy 2020 to you all, in this year I will continue to write more python related articles and continue to build up this website which is not only for python programming but also other interesting topics such as game creation with Godot and other game engines, Linux and Windows related topics and online earning opportunity. In the Python part, we will start to build a few online projects using Google Colaboratory and a few offline projects using various IDEs. So let us get started immediately!
Armin Ronacher: I'm not feeling the async pressure
2020-01-01 00:00:00
Async is all the rage. Async Python, async Rust, go, node, .NET, pick your favorite ecosystem and it will have some async going. How good this async business works depends quite a lot on the ecosystem and the runtime of the language but overall it has some nice benefits. It makes one thing really simple: to await an operation that can take some time to finish. It makes it so simple, that it creates innumerable new ways to blow ones foot off. The one that I want to discuss is the one where you don't realize you're blowing your foot off until the system starts overloading and that's the topic of back pressure management. A related term in protocol design is flow control.
Matt Layman: Make A Custom User Model - Building SaaS #40
2020-01-01 00:00:00
In this episode, we started a users app and hooked up the custom user model feature of Django to unlock the full extensibility of that model in the future. The stream was cut short this week because of some crashing issues in the OBS streaming software.
The goal of the episode was to add django-allauth so that users can sign into the service with an email and password instead of the default username and password combination.
Tryton News: Newsletter January 2020
2019-12-31 23:00:05
@ced wrote:
PyCoderâs Weekly: Issue #401 (Dec. 31, 2019)
2019-12-31 19:30:00
#401 â DECEMBER 31, 2019 View in Browser »
Test and Code: 97: 2019 Retrospective, 2020 Plans, and an amazing decade
2019-12-31 19:30:00
This episode is not just a look back on 2019, and a look forward to 2020. Also, 2019 is the end of an amazingly transofrmative decade for me, so I'm going to discuss that as well.
John Cook: Area of sinc and jinc function lobes
2019-12-31 15:23:05
Someone left a comment this morning on my blog post on sinc and jinc integrals regarding the area of the lobes.
Real Python: Sorting Data With Python
2019-12-31 14:00:00
All programmers will have to write code to sort items or data at some point. Sorting can be critical to the user experience in your application, whether itâs ordering a userâs most recent activity by timestamp, or putting a list of email recipients in alphabetical order by last name. Python sorting functionality offers robust features to do basic sorting or customize ordering at a granular level.
Catalin George Festila: News : The Python 2.7 no longer support from Python team.
2019-12-31 10:13:26
The 1st of January 2020 will mark the sunset of Python 2.7.
Itâs clear that Python 3 is more popular these days.
You can learn more about the popularity of both on Google Trends.
Python 3.0 was released in December 2008.
The main goal was to fix problems existing in Python 2.
Since the 1st January 2020, Python 2 will no longer receive any support whatsoever from the core Python team.
Migrating to
S. Lott: Christmas Ornament
2019-12-31 08:00:04
No <p> found.
Moshe Zadka: Meditations on the Zen of Python
2019-12-31 04:44:41
(This is based on the series published in opensource.com as 9 articles: 1, 2, 3, 4, 5, 6, 7, 8, 9)
Codementor: Making Your First GUI: Python3, Tkinter
2019-12-31 02:00:22
Your First GUI: Python3, Tkinter! Making a conversion app with a GUI
Learn PyQt: LearnPyQt â One year in, and much more to come.
2019-12-31 00:21:54
It's been a very good year.
qutebrowser development blog: 2019 qutebrowser crowdfunding - reminder
2019-12-30 17:54:38
Two months ago, I wrote:
Mike C. Fletcher: Playing with EGL+OpenGL Off-screen Multi-Card
2019-12-30 17:34:23
So I've now spent the last day and a half playing with getting EGL offscreen rendering working on Linux. There are two major ways to do off-screen rendering with EGL and OpenGL. In the first, you use a pbuffer surface, that surface is basically a purpose-defined surface-type for off-screen backing of a renderer. When I use the EGL enumeration API we always seem to get pbuffer compatible visuals (and *not* window compatible ones).
John Cook: Minimizing context switching between shell and Python
2019-12-30 14:05:25
Sometimes youâre in the flow using the command line and youâd like to briefly switch over to Python without too much interruption. Or it could be the other way around: youâre in the Python REPL and need to issue a quick shell command.
Real Python: Python Timer Functions: Three Ways to Monitor Your Code
2019-12-30 14:00:00
While many developers recognize Python as an effective programming language, pure Python programs may run slower than their counterparts in compiled languages like C, Rust, and Java. Throughout this tutorial, youâll see how to use a Python timer to monitor how fast your programs are running.
Mike Driscoll: PyDev of the Week: Saul Pwanson
2019-12-30 06:05:56
This week we welcome Saul Pwanson (@saulfp) as our PyDev of the Week! Saul is the creator of VisiData, an interactive multitool for tabular data. If youâd like to see what Saul has been up to, then you should check out his website or his Github profile. You can also support Saulâs open source endeavors on Patreon. Letâs take a few moments to get to know Saul better!
Zero-with-Dot (Oleg ƻero): Training on batch: how to split data effectively?
2019-12-29 23:00:00
With increasing volumes of the data, a common approach to train machine-learning models is to apply the so-called training on batch. This approach involves splitting a dataset into a series of smaller data chunks that are handed to the model one at a time.
Zero-with-Dot (Oleg ƻero): Training on batch: how do you split the data?
2019-12-29 23:00:00
With increasing volumes of the data, a common approach to train machine-learning models is to apply the so-called training on batch. This approach involves splitting a dataset into a series of smaller data chunks that are handed to the model one at a time.
Erik Marsja: How to use Pandas get_dummies to Create Dummy Variables in Python
2019-12-29 17:36:27
The post How to use Pandas get_dummies to Create Dummy Variables in Python appeared first on Erik Marsja.
Weekly Python StackOverflow Report: (ccviii) stackoverflow python report
2019-12-28 13:35:00
No <p> found.
Catalin George Festila: Python 3.7.5 : Fix to python language the GitHub project.
2019-12-28 09:31:53
I created a GitHub project with Django and I saw is detect like tcl programming language:
You need to create a file named .gitattributes in the root folder of my repository.
Use this source code to tell GitHub is a python project:
* linguist-vendored
*.py linguist-vendored=false
Now the project will be target with python language.
Armin Ronacher: Open Source Migrates With Emotional Distress
2019-12-28 00:00:00
Legacy code is bad and if you keep using it, it's really your own fault. There are many variations of the same thing floating around in Open Source communities and it always comes down to the same thing: at one point something is being declared old and it has to be replaced by something newer which is better. That better typically has some really good arguments on its side: we learned from our mistakes, it was wrong to begin with or something along the lines of it being impure or that it propagated bad ideas. Maybe that new thing only supports the newest TLS/SSL and you really should not longer be using the old versions because they are insecure.
Python Data: Python Data Weekly Roundup â Dec 27 2019
2019-12-27 17:00:45
In this weekâs Python Data Weekly Roundup:
Talk Python to Me: #244 Top 10 Real Python Articles of 2019
2019-12-27 08:00:00
We've come to the end of 2019. Python 2 has just a handful of days before it goes unsupported. And I've met up with Dan Bader from RealPython.com to look back at the year of Python articles on his website. We dive into the details behind 10 of his most important articles from the past year.
Codementor: Python For Finance(Beginner): See Behind the FX rate
2019-12-26 21:59:07
Beginner Python Financial Project
Codementor: Decision Tree: Knowing The Every Possible Output
2019-12-26 16:13:01
No summary found!
Python Data: Market Basket Analysis with Python and Pandas
2019-12-26 14:45:24
If youâve ever worked with retail data, youâll most likely have run across the need to perform some market basket analysis (also called Cross-Sell recommendations). If you arenât sure what market basket analysis is, Iâve provided a quick overview below.
Stack Abuse: Heap Sort in Python
2019-12-26 13:03:00
Heap Sort is another example of an efficient sorting algorithm. Its main advantage is that it has a great worst-case runtime of O(n*logn) regardless of the input data.
John Cook: Calculating the period of Van der Pol oscillators
2019-12-26 12:35:10
A few days ago I wrote about how to solve differential equations with SciPyâs ivp_solve function using Van der Polâs equation as the example. Van der Polâs equation is
Andre Roberge: Xmas present from Thonny
2019-12-25 15:03:23
No <p> found.
Artem Rys: Consider absl Python library to work with flags
2019-12-25 13:38:25
Erik Marsja: Pipx: Installing, Uninstalling, & Upgrading Python Packages in Virtual Envs
2019-12-25 09:06:00
The post Pipx: Installing, Uninstalling, & Upgrading Python Packages in Virtual Envs appeared first on Erik Marsja.
PyCoderâs Weekly: Issue #400 (Dec. 24, 2019)
2019-12-24 19:30:00
#400 â DECEMBER 24, 2019 View in Browser »
PyPy Development: PyPy 7.3.0 released
2019-12-24 14:55:52
No <p> found.
Real Python: Python Dictionary Iteration: Advanced Tips & Tricks
2019-12-24 14:00:00
Dictionaries are one of the most important and useful data structures in Python. They can help you solve a wide variety of programming problems. This course will take you on a deep dive into how to iterate through a dictionary in Python.
Stack Abuse: How to Get the Current Date and Time in Python
2019-12-24 13:24:00
Logging, saving records to the database, and accessing files are all common tasks a programmer works on. In each of those cases, date and time play an important role in preserving the meaning and integrity of the data. Programmers often need to engage with date and time.
Catalin George Festila: Python 3.7.5 : Is Django the best web framework?
2019-12-24 11:31:20
This is the question for today in order to lineup the Django features with any web framework from my point of view.
Let's start with a brief introduction to this framework:
Django was created in the fall of 2003, when the web programmers at the Lawrence Journal-World newspaper, Adrian Holovaty and Simon Willison, began using Python to build applications. Jacob Kaplan-Moss was hired early in
Quansight Labs Blog: metadsl PyData talk
2019-12-24 11:00:00
PyData NYC just ended and I thought it would be good to collect my thoughts on metadsl based on the many conversations I had there surrounding it. This is a rather long post, so if you are just looking for some code here is a Binder link for my talk
IslandT: Return an even number based on the Nth even number with python
2019-12-24 02:42:50
In this example, we will create a python function that will return an even number based on the Nth even number given.
Podcast.__init__: Python's Built In IDE Isn't Just Sitting IDLE
2019-12-23 23:48:31
One of the first challenges that new programmers are faced with is figuring out what editing environment to use. For the past 20 years, Python has had an easy answer to that question in the form of IDLE. In this episode Tal Einat helps us explore its history, the ways it is used, how it was built, and what is in store for its future. Even if you have never used the IDLE editor yourself, it is still an important piece of Pythonâs strength and history, and this conversation helps to highlight why that is.
Reuven Lerner: Ace Python Interviews â a new, free course to help you get a better job
2019-12-23 20:14:41
Itâs hard to exaggerate just how hot Python is right now. Lots of companies â from small startups to the Fortune 100 â have realized that Python allows them to do more in less time, and with less code. This means, of course, that companies are scrambling to hire Python developers. Thereâs tons of demand, and not nearly enough supply.Â
Python Circle: Using a custom domain for Django app hosted on AWS EC2
2019-12-23 19:45:54
Using a custom domain for Django app hosted on AWS EC2, GoDaddy DNS with EC2 instance, Django App on EC2 with GoDaddy DNS, Using domain name in Nginx and EC2, Elastic IP and DNS on EC2
Codementor: Guide to the Latest Trend in Fintech Area - RegTech
2019-12-23 14:28:09
In this article, Iâll describe RegTech and how it helps solve issues related to compliance with government regulations.
Real Python: NumPy, SciPy, and Pandas: Correlation With Python
2019-12-23 14:00:00
Correlation coefficients quantify the association between variables or features of a dataset. These statistics are of high importance for science and technology, and Python has great tools that you can use to calculate them. SciPy, NumPy, and Pandas correlation methods are fast, comprehensive, and well-documented.
Chris Moffitt: Creating Interactive Dashboards from Jupyter Notebooks
2019-12-23 13:38:37
I am pleased to have another guest post from Duarte O.Carmo. He wrote series of posts in July on report generation with Papermill that were very well received. In this article, he will explore how to use Voilà and Plotly Express to convert a Jupyter notebook into a standalone interactive web site. In addition, this article will show examples of collecting data through an API endpoint, performing sentiment analysis on that data and show multiple approaches to deploying the dashboard.
Catalin George Festila: Python 3.7.5 : About Django REST framework.
2019-12-23 09:52:47
First, let's activate my Python virtual environment:
[mythcat@desk django]$ source env/bin/activateI update my django version 3.0 up to 3.0.1.
(env) [mythcat@desk django]$ pip3 install --upgrade django --user
Collecting django
...
Successfully uninstalled Django-3.0
Successfully installed django-3.0.1The next step comes with installation of Python modules for Django and Django REST:
(env) [
IslandT: Create a python function which will merge, sort and remove duplicate values from lists
2019-12-23 08:28:35
In this example, we will create a single python function that will accept unlimited lists of numbers and merges them into a single list that contains sorted values as well as no duplicated values. This question is from Codewars which I have further modified it to accept unlimited lists instead of two.
Mike Driscoll: PyDev of the Week: Kelly Schuster-Paredes
2019-12-23 06:05:26
This week we welcome Kelly (@KellyPared) Schuster-Paredes. Kelly is the co-host of the popular Python podcast, Teaching Python. Kelly specializes in curriculum design and development. She blogs a bit over on her website which you should check out if you have the time.
Stein Magnus Jodal: 10 years of Mopidy
2019-12-23 00:00:00
Ten years ago today, on December 23, 2009, Mopidy was born. While chatting with my friend and then-colleague Johannes Knutsen, we came up with the idea of building an MPD server that could play music from Spotify instead of local files.
John Cook: Solving Van der Pol equation with ivp_solve
2019-12-22 23:57:16
Van der Polâs differential equation is
Codementor: Supporting Multiple Languages In Django â Part 1
2019-12-22 17:29:13
Sanyam's tutorial to support multiple languages in Django based projects and be a Multilingual Super Hero!
Codementor: Why you should contribute to Open Source
2019-12-22 17:16:29
Reasons on contributing to Open Source
Python Circle: AWS EC2 Vs PythonAnyWhere for hosting Django application
2019-12-22 16:45:59
AWS EC2 Vs PythonAnyWhere for hosting Django application, hosting Django application for free on AWS EC2, Hosting Django application for free on PythonAnyWhere, comparing ec2 and pythonanywhere
Python Circle: How to setup Django app on EC2 instance (AWS) - Part 2
2019-12-22 16:45:59
Step by step guide on hosting Django application on AWS ec2 instance, How to host the Django app on AWS ec2 instance from scratch, Django on EC2, Django app hosting on AWS, Free hosting of Django App
Python Circle: Hosting Django app for free on Amazon (AWS) EC2 with Gunicorn and Nginx
2019-12-22 16:45:59
Step by step guide on hosting Django application on AWS ec2 instance, How to host the Django app on AWS ec2 instance from scratch, Django on EC2, Django app hosting on AWS, Free hosting of Django App
Python Circle: How to setup Django app on EC2 instance (AWS)
2019-12-22 13:46:17
Step by step guide on hosting Django application on AWS ec2 instance, How to host the Django app on AWS ec2 instance from scratch, Django on EC2, Django app hosting on AWS, Free hosting of Django App
Erik Marsja: How to Change the Size of Seaborn Plots
2019-12-22 13:07:13
The post How to Change the Size of Seaborn Plots appeared first on Erik Marsja.
Catalin George Festila: Python 3.7.5 : The new PyQt5 released.
2019-12-22 04:45:23
The PyQt v5.14.0 has been released with support for Qt v5.14.0.
[mythcat@desk ~]$ pip3 install --upgrade PyQt5 --user
Collecting PyQt5
...
Installing collected packages: PyQt5-sip, PyQt5
Successfully installed PyQt5-5.14.0 PyQt5-sip-12.7.0Let's see how can see the version:
[mythcat@desk ~]$ python3
Python 3.7.5 (default, Dec 15 2019, 17:54:26)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Weekly Python StackOverflow Report: (ccvii) stackoverflow python report
2019-12-21 22:17:00
No <p> found.
Catalin George Festila: Python 3.7.5 : Simple web search with google python package.
2019-12-21 10:57:48
This is a simple search on the web with python google package.
[mythcat@desk ~]$ pip3 install google --user
Collecting google
...
Installing collected packages: google
Successfully installed google-2.0.3
This is a simple example for search on web with this words: protv news 2019.
From the python package, I need to import just the search and used it.
The python package need a variable string named
Stack Abuse: Working with Redis in Python with Django
2019-12-20 13:34:00
Data is increasingly becoming a valuable commodity in the current era of technology and this necessitates the optimization of storage and access to this data.
Python Software Foundation: Python 2 series to be retired by April 2020
2019-12-20 09:37:39
No <p> found.
PyCharm: PyCharm 2019.3.1
2019-12-19 14:11:07
Have you made some plans to build a cool side project over the holidays? We polished PyCharm further to make sure you can focus on getting it done! Tweet us @pycharm to tell us about your project!
Python Insider: Python 3.8.1, 3.7.6, 3.6.10, and 3.9.0a2 are now available!
2019-12-19 11:58:20
No <p> found.
Python Data: Python Data Weekly Roundup â Dec 18 2019
2019-12-18 16:40:05
In this weekâs Python Data Weekly Roundup:
PyPy Development: HPy kick-off sprint report
2019-12-18 15:13:12
Recently Antonio, Armin and Ronan had a small internal sprint in the beautiful city of GdaĆsk to kick-off the development of HPy. Here is a brief report of what was accomplished during the sprint.
Real Python: Run Python Versions in Docker: How to Try the Latest Python Release
2019-12-18 14:00:00
Thereâs always a new version of Python under development. However, it can be cumbersome to compile Python yourself to try out a new version! As you work through this tutorial, youâll see how to run different Python versions using Docker, including how you can have the latest alpha running on your computer within minutes.
Marc Richter: Using pyenv to manage your Python interpreters
2019-12-18 13:03:20
This article was published at Using pyenv to manage your Python interpreters . If you are reading this on any other page, which is not some âplanetâ or aggregator, you are reading stolen content. Please read this article at its source, which is linked before to ensure to get the best reading experience; thank you! â€
Django Weblog: Django security releases issued: 3.0.1, 2.2.9, and 1.11.27
2019-12-18 09:10:35
In accordance with our security release policy, the Django team is issuing Django 3.0.1, Django 2.2.9 and Django 1.11.27. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Python Bytes: #161 Sloppy Python can mean fast answers!
2019-12-18 08:00:00
No summary found!
Moshe Zadka: Precise Unit Tests with PyHamcrest
2019-12-18 04:44:54
(This is based on my article on opensource.com)
Matt Layman: A Failed SaaS Postmortem
2019-12-18 00:00:00
No <p> found.
Matt Layman: django-environ and django-debug-toolbar - Building SaaS #39
2019-12-18 00:00:00
No <p> found.
Django Weblog: 2019 Malcolm Tredinnick Memorial Prize awarded to Jeff Triplett
2019-12-17 21:01:07
The Board of the Django Software Foundation is pleased to announce that the 2019 Malcolm Tredinnick Memorial Prize has been awarded to Jeff Triplett (@webology).
RMOTR: Spatial data with pythonâââLetâs begin!
2019-12-17 20:18:52
Latitude and longitude. Points, lines, and polygons. GIS. CRS. EPSG. Vector or raster. Shapefile, TIF. At some point in your adventures with Python and/or data, youâve probably come across some of these words and acronyms. We can easily deduce what some of them reference, but others arenât as intuitive. In this post, Iâll explain these concepts, which will help you take the first steps into the world of spatial data with Python.
PyCoderâs Weekly: Issue #399 (Dec. 17, 2019)
2019-12-17 19:30:00
#399 â DECEMBER 17, 2019 View in Browser »
PyCon: PyCon US 2020 CFP Submissions are due!
2019-12-17 18:25:31
No <p> found.
Continuum Analytics Blog: 2019: A Year in Review
2019-12-17 17:50:45
Before we dive into a new decade, weâre looking back on all weâve accomplished together as a company and as a community in 2019. Weâre excited to be part of such a vibrant and growingâŠ
Tiago Montes: Kids on Python: AÂ Workshop
2019-12-17 14:55:39
Kids on Python is a kids oriented introduction to programming workshop I prepared after having that thought in my mind for quite some time. In early 2019, a close friend came to me looking for ways of initiating one of his kids to computer programming. After countless discussions, thinking things through down to the most tiny details, figuring out which skills we might be taking for granted and either avoiding their need or including them in the journey, at some point, I finally sat down and wrote the thing: this is what came out of it.
Real Python: Documenting Python Code: A Complete Guide
2019-12-17 14:00:00
In this course, youâll learn how to document your Python code! Documenting your code is important because it can help developers and users fully understand its usage and purpose.
Ned Batchelder: Fancy console output in GitHub comments
2019-12-17 12:47:00
Providing detailed command output in GitHub issues is hard: I want to be complete, but I donât want to paste unreadable walls of text. Some commands have long output that is usually uninteresting (pip install), but which every once in a while has a useful clue. I want to include that output without making it hard to find the important stuff.
Ned Batchelder: Pytest trick: subsetting unknown suites
2019-12-17 12:46:00
While trying to reproduce an issue with coverage.py 5.0, I had a test suite that showed the problem, but it was inconvenient to run the whole suite repeatedly, because it took too long. I wanted to find just one test (or small handful of tests) that would demonstrate the problem.
Ned Batchelder: Coverage 5.0, finally
2019-12-17 12:45:00
After a quiet week of beta 2 being available, and not hearing from anyone, I released coverage.py 5.0 on Saturday.
Talk Python to Me: #243 Python on Windows is OK, actually
2019-12-17 08:00:00
We all love the Python language. But it's the 200,000+ packages that actually make Python incredibly useful and productive. But installing these libraries and sometimes even Python itself can vary across platforms. In particular, Windows has had a hard time.
Vladimir Iakolev: Sound lights with Spotify and ESP8266
2019-12-17 00:50:00
As unfortunately my old fancy sound lights setup only works on Linux, it stopped working after I switched to a new laptop. So I decided to make a cross-platform solution.
PyCon: Python Education Summit - 8 years in 2020!
2019-12-16 21:22:03
No <p> found.
Test and Code: 96: Azure Pipelines - Thomas Eckert
2019-12-16 16:45:00
Pipelines are used a lot in software projects to automated much of the work around build, test, deployment and more. Thomas Eckert talks with me about pipelines, specifically Azure Pipelines. Some of the history, and how we can use pipelines for modern Python projects.
Stack Abuse: Creational Design Patterns in Python
2019-12-16 16:38:15
This is the first article in a short series dedicated to Design Patterns in Python.
Stack Abuse: Design Patterns in Python
2019-12-16 16:38:03
Design Patterns are reusable models for solving known and common problems in software architecture.
Chris Moffitt: Finding Natural Breaks in Data with the Fisher-Jenks Algorithm
2019-12-16 15:55:00
This article is inspired by a tweet from Peter Baumgartner. In the tweet he mentioned the Fisher-Jenks algorithm and showed a simple example of ranking data into natural breaks using the algorithm. Since I had never heard about it before, I did some research.
Codementor: LAST Part - teach your kids to build their own game with Python.
2019-12-16 15:43:36
a tutorial that teaches kids/beginners how to develop the famous Space Invaders game with Python.
Podcast.__init__: Riding The Rising Tides Of Python
2019-12-16 14:58:56
The past two decades have seen massive growth in the language, community, and ecosystem of Python. The career of Pete Fein has occurred during that same period and his use of the language has paralleled some of the major shifts in focus that have occurred. In this episode he shares his experiences moving from a trader writing scripts, through the rise of the web, to the current renaissance in data. He also discusses how his engagement with the community has evolved, why he hasnât needed to use any other languages in his career, and what he is keeping an eye on for the future.
Real Python: Python Statistics Fundamentals: How to Describe Your Data
2019-12-16 14:00:00
In the era of big data and artificial intelligence, data science and machine learning have become essential in many fields of science and technology. A necessary aspect of working with data is the ability to describe, summarize, and represent data visually. Python statistics libraries are comprehensive, popular, and widely used tools that will assist you in working with data.
Janusworx: #100DaysOfCode, Days 024, 025 & 026 â Watched Videos
2019-12-16 10:12:27
Life has suddenly turned a little topsy turvy at work. No time to work at stuff.
Andre Roberge: Friendly Mu
2019-12-16 09:38:38
No <p> found.
Mike Driscoll: PyDev of the Week: Ted Petrou
2019-12-16 06:05:24
This week we welcome Ted Petrou (@TedPetrou) as our PyDev of the Week! Ted is the author of the Pandas Cookbook and also teaches Pandas in several courses on Udemy. Letâs take some time to get to know Ted better!
Kushal Das: Indian police attacked university campuses on government order
2019-12-16 03:38:50
Wesley Chun: Authorized Google API access from Python (part 2 of 2)
2019-12-15 18:17:00
No <p> found.
Codementor: Function-Based Views vs Class-Based Views in Django
2019-12-15 18:05:35
A detailed comparison guide on the difference between function-based views and class-based views for Django 3
Anwesha Das: Rootconf Hyderbad, 2019
2019-12-15 10:15:16
Rootconf is the conference on sysadmins, DevOps, SRE, Network engineers. Rootconf started its journey in 2012 in Bangalore, 2019 was the 7th edition of Rootconf. In these years, through all the Rootconfs, there is a community that has developed around Rootconf. Now people do come to attend Rootconf not just to attend the conference but also to attend friends and peers to discuss projects and ideas.
Catalin George Festila: Python 3.7.5 : Simple intro in CSRF.
2019-12-15 06:03:42
CSRF or Cross-Site Request Forgery is a technique used by cyber-criminals to force users into executing unwanted actions on a web application.
To protect against web form CSRF attacks, it's isn't sufficient for web applications to trust authenticated users, must be equipped with a unique identifier called a CSRF token similar to a session identifier.
Django 3.0 can be used with CSRF, see the
Andre Roberge: A Tiny Python Exception Oddity
2019-12-14 22:09:40
No <p> found.
Weekly Python StackOverflow Report: (ccvi) stackoverflow python report
2019-12-14 12:54:00
No <p> found.
Catalin George Festila: Python 3.7.5 : Django admin shell by Grzegorz TÄĆŒycki.
2019-12-14 11:18:16
Today I tested another python package for Django named django-admin-shell.
This package created by Grzegorz TÄĆŒycki can be found on GitHub and come with the intro:
Django application can execute python code in your projectâs environment on django admin site. You can use similar as python manage shell without reloading the environment.
[mythcat@desk ~]$ cd projects/
[mythcat@desk projects]$ cd
Peter Bengtsson: A Python and Preact app deployed on Heroku
2019-12-13 16:55:59
Heroku is great but it's sometimes painful when your app isn't just in one single language. What I have is a project where the backend is Python (Django) and the frontend is JavaScript (Preact). The folder structure looks like this:
Programiz: Python Dictionary Comprehension
2019-12-13 06:23:42
In this tutorial, we will learn about Python dictionary comprehension and how to use it with the help of examples.
Kushal Das: Highest used usernames in break-in attempts to my servers 2019
2019-12-13 06:08:02
Steve Dower: What makes Python a great language?
2019-12-13 04:00:33
I know Iâm far from the only person who has opined about this topic, but figured Iâd take my turn.
Anwesha Das: Circuit Python at PyConf Hyderabad
2019-12-12 18:46:52
Coding in/with hardware has become my biggest stress buster for me ever since I have been introduced to it in PyCon Pune 2017 by John. Coding with hardware provides a real-life interaction with the code you write. It flourishes creativity. I can do all of this while I learn something new. Now I look for auctions to offer me a chance to code in/with Hardware. It gives the chance to escape the muggle world.
testmon: New in testmon 1.0.0
2019-12-12 14:16:00
Stack Abuse: Merge Sort in Python
2019-12-12 13:46:00
Merge Sort is one of the most famous sorting algorithms. If you're studying Computer Science, Merge Sort, alongside Quick Sort is likely the first efficient, general-purpose sorting algorithm you have heard of. It is also a classic example of a divide-and-conquer category of algorithms.
Python Bytes: #160 Your JSON shall be streamed
2019-12-12 08:00:00
No summary found!
Kushal Das: Updates on Unoon in December 2019
2019-12-12 03:44:05
This Saturday evening, I sat with Unoon project after a few weeks, I was continuously running it, but, did not resume the development effort. This time Bhavin also joined me. Together, we fixed a location of the whitelist files issue, and unoon now also has a database (using SQLite), which stores all the historical process and connection information. In the future, we will provide some way to query this information.
Python Insider: Python 3.7.6rc1 and 3.6.10rc1 are now available for testing
2019-12-11 18:36:55
No <p> found.
Codementor: The easiest way to deploy Django application
2019-12-11 16:14:38
I show you how to deploy your Django application to Heroku.
Continuum Analytics Blog: 8 AI Predictions for 2020: Business Leaders & Researchers Weigh In
2019-12-11 15:27:08
The first industrial revolution was powered by coal, the second by oil and gas, and the third by nuclear power. The fourth â AI â is fueled by an abundance of data and breakthroughs inâŠ
Catalin George Festila: Python 3.7.5 : The Pygal python package.
2019-12-11 14:15:08
Today's tutorial aims to get data from a URL and display it with the Pygal python package.
I believe that global warming is a very important topic for human evolution.
You can read more about this topic on this website.
About this python package you can learn more at the official website.
[mythcat@desk ~]$ pip3 install Pygal --user
Collecting Pygal
...
Installing collected packages: Pygal
Real Python: Data Engineer Interview Questions With Python
2019-12-11 14:00:00
Going to interviews can be a time-consuming and tiring process, and technical interviews can be even more stressful! This tutorial is aimed to prepare you for some common questions youâll encounter during your data engineer interview. Youâll learn how to answer questions about databases, Python, and SQL.
Stack Abuse: Encoding and Decoding Base64 Strings in Python
2019-12-11 13:46:00
Have you ever received a PDF or an image file from someone via email, only to see strange characters when you open it? This can happen if your email server was only designed to handle text data. Files with binary data, bytes that represent non-text information like images, can be easily corrupted when being transferred and processed to text-only systems.
testmon: Determining affected tests
2019-12-11 12:30:00
Automatically determining affected tests sounds too good to be true. Python developers rightfully have a suspecting attitude towards any tool which tries to be too clever about their source code. Code completion and symbol searching doesn't need to be 100% reliable but messing with the test suite execution? This page explains what testmon tries and what it does not try to achieve.
Talk Python to Me: #242 Your education will be live-streamed
2019-12-11 08:00:00
Online education has certainly gone mainstream. Developers and companies have finally gotten comfortable taking online courses. Sometimes these are recorded, self-paced courses like we have at Talk Python Training. Other times, they are more like live events in webcast format.
IslandT: Python Positional-only parameters
2019-12-11 04:48:20
I have downloaded Python 3.8 and start to play around with those latest python functions. In this article, we will look at the Positional-only parameter syntax which is a function parameter syntax / to indicate that some function parameters must be specified positionally and cannot be used as keyword arguments which means after the / syntax we may specify a value for each parameter within that function. For example,
PyCoderâs Weekly: Issue #398 (Dec. 10, 2019)
2019-12-10 19:30:00
#398 â DECEMBER 10, 2019 View in Browser »
Real Python: Variables in Python
2019-12-10 14:00:00
If you want to write code that is more complex, then your program will need data that can change as program execution proceeds.
Stack Abuse: Executing Shell Commands with Python
2019-12-10 13:10:00
Repetitive tasks are ripe for automation. It is common for developers and system administrators to automate routine tasks like health checks and file backups with shell scripts. However, as those tasks become more complex, shell scripts may become harder to maintain.
testmon: How to set-up and use py.test in Pycharm
2019-12-10 12:30:00
We asked our friend Miro to try using Pytest with PyCharm. Miro has background in test automation, Python, DevOps and metal music. Since he was new to the set-up he would be the ideal person to write a beginner's guide. This is his take.
Robin Wilson: Creating an email service for my sonâs childhood memories with Python
2019-12-10 11:23:01
For a number of years â since my now-toddler son was a small baby â Iâve been keeping track of various childhood achievements or memories. When I first came up with this I was rather sleep-deprived, and couldnât decide what the best way to store this information would be â so I went with a very simple option. I just created a Word document with a table in it with two columns: the date, and the activity/achievement/memory. For example:
Programiz: Python Comments
2019-12-10 06:10:48
In this tutorial, we will learn to create comments in Python with the help of examples.
Programiz: Python Docstrings
2019-12-10 05:46:07
In this tutorial, we will learn about Python docstrings. More specifically, we will learn how and why docstrings are used with the help of examples.
Python Insider: Python 3.8.1rc1 is now available for testing
2019-12-10 04:27:27
No <p> found.
Stein Magnus Jodal: pathlib and paths with arbitrary bytes
2019-12-10 00:00:00
The ">">pathlib module was added to the standard library in Python 3.4, and is one of the many nice improvements that Python 3 has gained over the past decade. In three weeks, Python 3.5 will be the oldest version of Python that still receive security patches. This means that the presence of pathlib can soon be taken for granted on all Python installations, and the quest towards replacing os.path can begin for real.
Django Weblog: 2020 DSF Board Election Results
2019-12-09 22:26:13
Our 2020 Django Software Foundation Election results are in. The Top 7 candidates are listed below in order of their ranking:
Continuum Analytics Blog: Itâs Time to Upgrade to Python 3 â Time Is Running Out!
2019-12-09 15:36:35
The Python community will sunset Python 2 on January 1, 2020.  How much time is left? Check out the handy clock at: https://pythonclock.org/. How does this impact the Anaconda Distribution and the conda packages AnacondaâŠ
Real Python: MicroPython: An Intro to Programming Hardware in Python
2019-12-09 14:00:00
Are you interested in the Internet of Things, home automation, and connected devices? Have you ever wondered what it would be like to build a blaster, a laser sword, or even your own robot? If so, then youâre in luck! MicroPython can help you do all of those things and more.
Stack Abuse: Creating Command Line Utilities with Python's argparse
2019-12-09 13:49:00
Most of the user-facing software comes with a visually pleasing interface or via a decorated webpage. At other times, a program can be so small that it does not warrant an entire graphical user interface or web application to expose its functionality to the end-user.
Catalin George Festila: Python 3.7.5 : The OSMnx python package.
2019-12-09 11:48:08
About this python package named OSMnx, you can read on GitHub.
OSMnx is a Python package that lets you download spatial geometries and model, project, visualize, and analyze street networks from OpenStreetMap's APIs. Users can download and model walkable, drivable, or bikable urban networks with a single line of Python code, and then easily analyze and visualize them ...
You cannot install osmnx
Mike Driscoll: PyDev of the Week: Sebastian Steins
2019-12-09 06:05:32
This week we welcome Sebastian Steins (@sebastiansteins) as our PyDev of the Week! Sebastian is the creator of the Pythonic News website. You can find out more about Sebastian by checking out what heâs been up to over on Github. Letâs take a few moments to get to know him better!
Podcast.__init__: Debugging Python Projects With PySnooper
2019-12-09 01:46:18
Debugging is a painful but necessary practice in software development. The tools that are available in Python range from the built-in debugger, to tools integrated with your coding environment, to the trusty print function. In this episode Ram Rachum describes his work on PySnooper and how it can be used to speed up your problem solving in complex or legacy applications.
Ned Batchelder: Coverage 5.0 beta 2
2019-12-08 20:10:00
I mean it this time, coverage.py 5.0 is nearly ready. Iâm putting out coverage.py 5.0 beta 2 for a week before declaring it really done. Please try it.
Andre Roberge: pydeps: a very useful program
2019-12-08 19:11:01
No <p> found.
Codementor: Test-Driven Development with PyTest - Part 2
2019-12-08 17:24:04
Part two of the test-driven development series on the use of PyTest to create test cases with it.
Erik Marsja: Learn all About Installing & Updating Packages in Python
2019-12-08 16:44:52
The post Learn all About Installing & Updating Packages in Python appeared first on Erik Marsja.
Roberto Alsina: Episodio 18: ÂĄPython mĂĄs rĂĄpido que C!
2019-12-08 16:28:42
Charla relĂĄmpago presentada en PyCon Argentina 2019. Es mĂĄs o menos lo mismo que otro video del canal pero mĂĄs corto y en vivo, y me saliĂł un poquito mejor porque es la segunda vez que lo hago ;-)
Philippe Normand: HTML overlays with GstWPE, the demo
2019-12-08 14:00:00
Once again this year I attended the GStreamer conference and just before that, Embedded Linux conference Europe which took place in Lyon (France). Both events were a good opportunity to demo one of the use-cases I have in mind for GstWPE, HTMLÂ overlays!
Janusworx: Moving Python Planet Feed, Test Post.
2019-12-08 09:15:21
Changing the feed for the planet, so i donât flood it with my daily python updates. If you want to keep up with programming specific stuff, the feed is here. And if you want to read all the madness, this is the site feed.
Catalin George Festila: Python 3.7.5 : Starting with kaggle platform.
2019-12-08 06:38:47
Kaggle is the world's largest community of data scientists and the platform is the fastest way to get started on a new data science project.
A good choice to use Kaggle is this feature: Kaggle provides free access to NVidia K80 GPUs in kernels.
The tutorial for today is about kaggle and is new for me because I hear about this opportunity last year.
This platform that hosts data science and
A. Jesse Jiryu Davis: PyGotham 2019 Speaker Coaching Recap
2019-12-07 22:25:58
No <p> found.
TechBeamers Python: Generate a Python Random Number
2019-12-07 19:09:26
Here is a quick guide on Pythonâs random number. You can always refer to it whenever you need to generate a random number in your programs. Python has a built-in random module for this purpose. It exposes several methods such as randrange(), randint(), random(), seed(), uniform(), etc. You can call any of these functions to generate a Python random number. Usually, a random number is an integer, but you can generate float random also. However, you first need to understand the context as a programmer and then pick the right function to use. A Python Random Number Tutorial for Beginners
Codementor: Trigger Local Python App Remotely
2019-12-07 17:49:04
Trigger an app from your phone on another machine and receive the output on your phone within seconds!
Catalin George Festila: Python 3.7.5 : Using the django with javascript.
2019-12-07 12:49:12
The Django framework can work great with javascript.
I start this project a few days ago.
You can start a simple Django project, see my old tutorials.
I used a template for main page in my template folder named chart.html.
The chart.min.js is set on base.html.
The links work from the Django framework to HTML5 templates with javascript.
The full project can be found on my GitHub project.
See the
Ned Batchelder: Sleepy snake
2019-12-07 12:34:00
My son Ben has created a mascot for coverage.py. It adorns the new coverage.py Twitter feed. I give you Sleepy Snake:
Talk Python to Me: #241 Opal: Full stack health care apps
2019-12-07 08:00:00
Open source has permeated much of the software industry. What about health care? This highly regulated and important industry might seem to be the domain of huge specialized software companies.
Stack Abuse: Serving Files with Python's SimpleHTTPServer Module
2019-12-06 22:36:29
Servers are computer software or hardware that processes requests and deliver data to a client over a network. Various types of servers exist, with the most common ones being web servers, database servers, application servers, and transaction servers.
Mike C. Fletcher: RunSnakeRun for Python3 Out
2019-12-06 15:52:23
So I finally pushed out the Python3/wxPython Pheonix compatible release of RunSnakeRun. The Python3 version has to run Python2 in order to load Python2 pstats dumps, and Meliae doesn't AFAIK support Python3 yet, so I expect I'll just drop support for it eventually. The code is now living on GitHub rather than Launchpad.
Janusworx: #100DaysOfCode, Day 016 â Corey Schafer Python Video Marathon
2019-12-06 10:19:50
Had decided to play hookey and start up another personal mini project. But went down the rabbit hole of how to set up arguments.
Matt Layman: New Project, Who Dis? - Building SaaS #38
2019-12-06 00:00:00
In this episode, we started a brand new project! I had some internet troubles so this “stream” is actually a local recording from my computer. We created a new Django project from scratch and set up Heroku to handle deployments.
In spite of the streaming trouble, we were able to get a bunch done. We started the project from scratch so we made a repository on GitHub with some .gitignore settings tailored for Python projects.
Techiediaries - Django: Angular 9 CRUD Tutorial: Consume a Python/Django CRUD REST API
2019-12-06 00:00:00
Angular 9 is in pre-release! Read about its new features in this article and how to update to the latest Angular version in this article.
Andre Roberge: Significant changes for some error messages in Python 3.8
2019-12-05 17:04:26
No <p> found.
Continuum Analytics Blog: How Machine Learning Will Generate up to $2 Trillion in Value for the Manufacturing Industry
2019-12-05 16:32:30
Today manufacturers must create high-quality products as efficiently and consistently as possible to remain competitive. With the increasing price of raw materials, skilled labor shortages, and rising competition, this can be difficult. Fortunately, machine learningâŠ
NumFOCUS: SunPy Receives NASA Grant, Helps Generate Parker Solar Probe Results
2019-12-05 14:39:45
The post SunPy Receives NASA Grant, Helps Generate Parker Solar Probe Results appeared first on NumFOCUS.
Stack Abuse: List Comprehensions in Python
2019-12-05 13:07:00
A list is one of the fundamental data types in Python. Every time you come across a variable name that's followed by a square bracket [], or a list constructor, it is a list capable of containing multiple items, making it a compound data type. Similarly, it is also a breeze to declare a new list and subsequently add one or more items to it.
Davy Wybiral: Interactive (Touch) Musical Christmas Tree
2019-12-05 12:13:08
In this video I should how to build a capacitive touch Christmas tree that allows you to play music just by touching the ornaments. All it takes is a little bit of Python code, a Raspberry Pi, and a Bare Conductive Pi Cap.<br /><br />Get ready to rock around the Christmas tree! <br /><br /><br /><div><br /></div><div></div>
Catalin George Festila: Python 3.7.5 : About PEP 8.
2019-12-05 11:24:32
Today is December 5, 2019, and this is the reason I wrote about PEP 8.
The official webpage can be found at this webpage.
PEP 8 recommends using 4 spaces to show indentation and tabs should only be used to maintain consistency in the code.
The Python Library is conservative and 79 characters are the maximum required line limit as suggested by PEP 8.
The main goal is to avoid line wrapping.
Janusworx: #100DaysOfCode, Day 015 â Quick and Dirty Web Page Download
2019-12-05 06:52:53
Finally got the program done! I wanted to write a program that would just get the latest comic from turnoff.us and save the picture to a file.
IslandT: Python if else demo
2019-12-05 04:28:35
A simple kata from codewars will show us how to use the if-else statement in python.
Dan Yeaw: GitHub Actions: Automate Your Python Development Workflow
2019-12-05 02:22:00
At GitHub Universe 2018, GitHub launched GitHub Actions in beta. Later in August 2019, GitHub announced the expansion of GitHub Actions to include Continuous Integration / Continuous Delivery (CI/CD). At Universe 2019, GitHub announced that Actions are out of beta and generally available. I spent the last few days, while I was taking some vacation during Thanksgiving, to explore GitHub Actions for automation of Python projects.
Techiediaries - Django: Angular 9/8 Tutorial By Example: REST CRUD APIs & HTTP GET Requests with HttpClient
2019-12-05 00:00:00
In this Angular 9 tutorial, we'll learn to build an Angular 9 CRUD example application going through all the required steps from creating/simulating a REST API, scaffolding a new project, setting up the essential APIs, and finally building and deploying your final application to the cloud.
S. Lott: Creating Palindromes -- if possible -- from a string of letters.
2019-12-04 19:07:55
No <p> found.
NumFOCUS: NumFOCUS Kicks Off Year-End Fundraising with $2,500 Gift
2019-12-04 18:50:46
Giving Tuesday 2019 marked the start of NumFOCUSâs year-end fundraising campaign, and this yearâs effort began with a major donation from the organizationâs Board President, Andy Terrel. âToday Iâm pledging a gift of $2,500 to help kick off the NumFOCUS end-of-year fundraising campaign,â Terrel wrote yesterday in an e-mail to the NumFOCUS community. âI believe [âŠ]
Mike Driscoll: Adding Notifications to Long-Running Jupyter Notebook Cells
2019-12-04 18:15:28
If you use Jupyter Notebook to run long-running processes, such as machine learning training, then you would probably like to know when the cell finishes executing. There is a neat browser plugin that you can use to help solve this issue called jupyter-notify. It will allow you to have your browser send a pop-up message when the cell finishes executing.
Python Software Foundation: Mozilla and Chan Zuckerberg Initiative to support pip
2019-12-04 15:53:38
No <p> found.
Mike Driscoll: Two New Typosquatting Libraries Found on PyPI
2019-12-04 14:45:45
Two new malicious packages were found on the Python Packaging Index (PyPI) that were designed to steal GPG and SSH keys according to ZDNet. The packages were named python3-dateutil and jeIlyfish where the first âLâ is actually an I. These two libraries mimicked the dateutil and jellyfish packages respectively.
Martijn Faassen: Framework Patterns
2019-12-04 14:35:38
A software framework is code that calls your (application) code. That's how we distinguish a framework from a library. Libraries have aspects of frameworks so there is a gray area.
Real Python: Beautiful Soup: Build a Web Scraper With Python
2019-12-04 14:00:00
The incredible amount of data on the Internet is a rich resource for any field of research or personal interest. To effectively harvest that data, youâll need to become skilled at web scraping. The Python libraries requests and Beautiful Soup are powerful tools for the job. If you like to learn with hands-on examples and you have a basic understanding of Python and HTML, then this tutorial is for you.
Stack Abuse: Tensorflow 2.0: Solving Classification and Regression Problems
2019-12-04 13:58:00
After much hype, Google finally released TensorFlow 2.0 which is the latest version of Google's flagship deep learning platform. A lot of long-awaited features have been introduced in TensorFlow 2.0. This article very briefly covers how you can develop simple classification and regression models using TensorFlow 2.0.
Zato Blog: Auto-generating API specifications as OpenAPI, WSDL and Sphinx
2019-12-04 12:27:16
This article presents a workflow for auto-generation of API specifications for your Zato services - if you need to share your APIs with partners, external or internal, this is how it can be done.
Robin Wilson: Automatically downloading nursery photos from ParentZone using Selenium
2019-12-04 10:17:10
My son goes to a nursery part-time, and the nursery uses a system called ParentZone from Connect Childcare to send information between us (his parents) and nursery. Primarily, this is used to send us updates on the boring details of the day (what heâs had to eat, nappy changes and so on), and to send âobservationsâ which include photographs of what heâs been doing at nursery. The interfaces include a web app (pictured below) and a mobile app:
Janusworx: #100DaysOfCode, Day 014 â Classes, List Comprehensions and Generators
2019-12-04 07:17:29
Did a video session again today, since I came back late from the doc.
Kushal Das: Podman on Debian Buster
2019-12-04 05:11:45
I use podman on all of my production servers, and also inside of the Qubes system in Fedora VMs. A few days ago I saw this post and thought of trying out the steps on my Debian Buster system.
Philip Semanchuk: Mailing lists for my Python IPC packages
2019-12-04 03:08:07
My package sysv_ipc celebrates its 11th birthday tomorrow, so I thought I would give it a mailing list as a gift. I didnât want its sibling posix_ipc to get jealous, so I created one for that too.
Codementor: Developer Tools & Frameworks for a Python Developer - Reading Time: 3 Mins
2019-12-04 03:07:03
A list of developer tools & framework that is useful for any aspiring Python developer.
Andre Roberge: Friendly-traceback, Real Python, Pycon, and more
2019-12-03 20:45:09
No <p> found.
PyCoderâs Weekly: Issue #397 (Dec. 3, 2019)
2019-12-03 19:30:00
#397 â DECEMBER 3, 2019 View in Browser »
Dataquest: Excel vs Python: How to Do Common Data Analysis Tasks
2019-12-03 17:38:12
In this tutorial, weâll compare Excel and Python by looking at how to perform basic analysis tasks across both platforms. Excel is the most commonly used data analysis software in the world. Why? Itâs easy to get the hang of and fairly powerful once you master it. In contrast, Pythonâs reputation is that itâs more [âŠ]
Real Python: Python, Boto3, and AWS S3: Demystified
2019-12-03 14:00:00
Amazon Web Services (AWS) has become a leader in cloud computing. One of its core components is S3, the object storage service offered by AWS. With its impressive availability and durability, it has become the standard way to store videos, images, and data. You can combine S3 with other services to build infinitely scalable applications.
Catalin George Festila: Python 3.7.5 : The new Django version 3.0 .
2019-12-03 11:03:14
On December 2, 2019, comes with Django 3.0 Released.
This new release comes with many changes and features, let's see :
Django 3.0 supports new versions of Python 3.6, 3.7, and 3.8 (the old Django 2.2.x series is the last to support Python 3.5);
Django now officially supports MariaDB 10.1 and higher;
Django is fully async-capable by providing support for running as an ASGI application;
The
Learn PyQt: Creating scrollable GUIs with QScrollArea in PyQt5
2019-12-03 10:55:37
When you start building apps that display long documents, large amounts of data or large numbers of widgets, it can be difficult to arrange things within a fixed-size window. Resizing the window beyond the size of the screen isn't an option, and shrinking widgets to fit can make the information unreadable.
Janusworx: #100DaysOfCode, Day 013 â Test code using Pytest
2019-12-03 10:08:41
Watched the video on the upcoming challenge to learn testing code. Sounds challenging. There are classes and decorators, which I have not worked with, but just read about.
S. Lott: Functional programming design pattern: Nested Iterators == Flattening
2019-12-03 08:00:00
No <p> found.
Python Bytes: #159 Brian's PR is merged, the src will flow
2019-12-03 08:00:00
No summary found!
Podcast.__init__: Making Complex Software Fun And Flexible With Plugin Oriented Programming
2019-12-03 03:44:04
Starting a new project is always exciting because the scope is easy to understand and adding new features is fun and easy. As it grows, the rate of change slows down and the amount of communication necessary to introduce new engineers to the code increases along with the complexity. Thomas Hatch, CTO and creator of SaltStack, didnât want to accept that as an inevitable fact of software, so he created a new paradigm and a proof-of-concept framework to experiment with it. In this episode he shares his thoughts and findings on the topic of plugin oriented programming as a way to build and scale complex projects while keeping them fun and flexible.
NumFOCUS: Stepping Onto a New PathâŠ
2019-12-02 22:55:41
The post Stepping Onto a New Path⊠appeared first on NumFOCUS.
Continuum Analytics Blog: Get Python Package Download Statistics with Condastats
2019-12-02 19:55:10
Hundreds of millions of Python packages are downloaded using Conda every month. Thatâs why we are excited to announce the release of condastats, a conda statistics API with Python interface and Command Line interface. Now anyoneâŠ
PyCharm: PyCharm 2019.3 is out now
2019-12-02 18:52:10
Interactive widgets for Jupyter notebooks, MongoDB support, and code assistance for all Python 3.8 features. Download the new version now, or upgrade from within you IDE.
Python Software Foundation: Giving Tuesday 2019
2019-12-02 18:43:54
No <p> found.
Mahmoud Hashemi: Thanks, 201X!
2019-12-02 18:00:00
Thought I'd take a Sunday afternoon to reflect on, oh I don't know, a decade. Been a long ten years, but it's flown past. This particular decade happens to coincide with my first years of full-time professional software engineering. The Quantity I can't possibly summarize it all, and if I tried, it'd still be colored by what's on my mind right now. But I can point to the artifacts I tried to leave along the way: Twitter FWIW1 (2008+) ~20 Open-Source Projects (2012+) ~15 Hatnote Projects (2013+, follow us) ~25 entries on this blog (2015+) +7 here (2014-2016) Not including pythondoeswhat.com or blog.hatnote.com (or other posts on the blogs only real heads know) ~10 Talks (2016+) Lest I forget: O'Reilly's Enterprist Software with Python (2016) And several podcast/media appearances calver.org (2016) and 0ver.org (2018) (Versioning is a fun pastime) Pyninsula (2017+) - YouTube, Meetup, Email Announce Taking a chronological look at each of the above, I'm relieved to see obvious growth. If I were to highlight one resource, it would probably be the talks. Despite the stress of preparation and delivery, I'm least concerned with having a massive miscommunication when we're all in the room and I can see the points hitting home. It's impossible to pick a favorite, but Ask the Ecosystem (2019), the Restructuring Data lightning talk (2018), and The Packaging Gradient (2017) seem like audience faves from where I'm sitting. The Quality Each project, post, and talk had its own reward, but I guess I've got more than just those to show for the decade. On the more profit-driven side, I built tools and teams at PayPal, but once I could manage the risk, I got to dip into startups for the last few years. Lucky for me, it wasn't a total bust, and the wife and I bought a place in my favorite neighborhood (in the USA). Not a millionaire, but I'm hoping and working for a world where no one has to be. More recently, the Python Software Foundation made me a Fellow. This isn't something I can be nonchalant about, and I'm not going to understate how much this means, to me, working in a field like software, where concrete symbols of progress are alternatingly elusive and vanishing. Plus it's Python, and reciprocated love is nice. I have hundreds of people to thank for helping me reach this point, and I have to thank the PSF for dedicating the time to ramping up these awards. They've convinced me more than ever that we need more institutions to build this sort of advancement. To all of you, thank you. The Struggle I like to think I managed to do all of the above while staying away from industry hype, on the principle that massive speculative capital influx isn't where real value is added to society, and doesn't generate the kind of innovation that excites me. I may have been naĂŻve, but I came to Silicon Valley with an idea about the transformative power of software. Changing times may illustrate a grittier interpretation than the one I had and have, but I continue to hold dear software's potential for positive impact. If you've felt that vision waver, let me tell you, you're not alone. In the past decade, I've seen too many engineers sucked in by new technologies and ventures, only to find themselves alienated from their work. Episodes ranging from an afternoon lost to debugging Docker/k8s clusters, to years of work disappearing at the end of a VC runway. Nothing has been harder to watch than those bedraggled-but-persistent idealists regroup, each time a bit more cynical than the last. Even if its seeming intractibility has taken it from the center stage, the burnout conversation continues to smolder, because there's no issue realer. I know; I released more ceramics than software back in 2014. Some problems can be solved by paying the maintainers, but I think the vastly bigger issue is around losing the human connection between the real effort software takes and the real benefits it brings, combined with FOSS's dearth of collaborators in supporting roles (QA, product/project/release management). That's why I'm incredibly thankful for the Wikimedia community for always being there, patient with schedules and issues, as long as the software got the job done. It can be a challenge to juggle projects, but I tell every budding engineer: find that direct connection to people who will appreciate your work, and avoid cynicism at all costs. There are some interesting prospects in the works, but I'm keeping this post retro. Besides, if 2029 rolls around and all I did was break even with 2009-19, I don't see how I can be disappointed. Thanks again for everything in 201X, and for sticking with me in 202X. Despite using Twitter for over a decade, the process of tweeting feels so perfunctory, and the service itself so tenuous, that I still can't bring myself to invest the time. I mostly use it to crosspost my blog posts or help friends promote their posts/projects. But until I start an email newsletter, or really get on top of yak.party, it's still the best I got for announcing where I'm speaking next. â©
Janusworx: #100DaysOfCode, Day 012 â Data Structures Video Refresher
2019-12-02 14:57:52
Extremely tight and busy day today. But still made the time to watch the videos for the next challenge in the course. As a matter of fact, I think this is what I should do. If I am in office, I ought to watch videos. And spend the time at home when I can coding.
Mike C. Fletcher: Seems SimpleParse needs work for 3.8
2019-12-02 14:06:22
So as I work through all the OpenGLContext projects to get automatic (or near automatic) releasing, SimpleParse wound up failing on the 3.x branches with a weird xml test failure. But with Python 3.8 the C code just won't import at all. Seems there was a change in Python 3.8 where it does a load-time test for functions in the module and the hand-coded C module triggers it. So I'll have to spend some time on that before I can get the whole stack releasing.
Real Python: Pandas: How to Read and Write Files
2019-12-02 14:00:00
Pandas is a powerful and flexible Python package that allows you to work with labeled and time series data. It also provides statistics methods, enables plotting, and more. One crucial feature of Pandas is its ability to write and read Excel, CSV, and many other types of files. Functions like the Pandas read_csv() method enable you to work with files effectively. You can use them to save the data and labels from Pandas objects to a file and load them later as Pandas Series or DataFrame instances.
Chris Moffitt: Building a Windows Shortcut with Python
2019-12-02 13:25:00
I prefer to use miniconda for installing a lightweight python environment on Windows. I also like to create and customize Windows shortcuts for launching different conda environments in specific working directories. This is an especially useful tip for new users that are not as familiar with the command line on Windows.
Django Weblog: Django 3.0 Released
2019-12-02 11:14:12
The Django team is happy to announce the release of Django 3.0.
Reuven Lerner: Last chance for Black Friday pricing
2019-12-02 11:00:45
Today (Monday) is the final chance to get 50% off all of my Python, data science, and Git courses, including the six cohorts of Weekly Python Exercise Iâm offering in 2020. Donât miss out; go to https://store.lerner.co.il/ and use the coupon code BF2019 to get the best prices Iâm offering all year!
Made With Mu: A Manga Book on CircuitPython and Mu
2019-12-02 11:00:00
I was recently contacted by Mitsuharu Aoyama (éć±±ć
æ„), a Japanese maker and author. It turns out theyâve written a cool book about using CircuitPython on the Circuit Playground Express with Mu. Not only is it really great to see folks write about Mu, but the book has wonderful Manga artwork.
Django Weblog: Django security releases issued: 2.2.8 and 2.1.15
2019-12-02 09:04:52
In accordance with our security release policy, the Django team is issuing Django 2.2.8 and Django 2.1.15. These release addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Trey Hunner: Cyber Monday Python Sales
2019-12-02 07:47:33
Iâm running a sale that ends in 24 hours, but Iâm not the only one. This post is a compilation of the different Cyber Monday deals Iâve found related to Python and Python learning.
Kushal Das: IP addresses which tried to break into this server in 2019
2019-12-02 06:25:51
This Friday, I tried to look into the SSH failures on my servers, how different systems/bots/people tried to break into the servers. I have the logs from July this month (when I moved into newer servers).
Mike Driscoll: PyDev of the Week: Bob Belderbos
2019-12-02 06:05:12
This week we welcome Bob Belderbos (@bbelderbos) as our PyDev of the Week! Bob is a co-founder of PyBites. Bob has also contributed to Real Python and heâs a Talk Python trainer. You can learn more about Bob by checking out his website or visiting his Github profile. Letâs spend some quality time getting to know Bob better!
Janusworx: #100DaysOfCode, Day 011 â Quick and Dirty Web Page Download
2019-12-01 11:34:42
Watched another Corey Schafer video on how to scrape web pages. Thought that would be handy in my image from a web page download project. Coreyâs an awesome teacher. The video was fun and it taught me lots.
Tryton News: Newsletter December 2019
2019-12-01 07:00:00
@ced wrote:
Gaël Varoquaux: Getting a big scientific prize for open-source software
2019-12-01 05:00:00
Note
John Cook: Data Science and Star Science
2019-12-01 04:11:53
I recently got a review copy of Statistics, Data Mining, and Machine Learning in Astronomy. Iâm sure the book is especially useful to astronomers, but those of us who are not astronomers could use it as a survey of data analysis techniques, especially using Python tools, where all the examples happen to come from astronomy. It covers a lot of ground and is pleasant to read.
BangPypers: Guidelines for BangPypers Dev Sprints
2019-12-01 00:00:00
How do you get started on open source programming? How can you contribute to that framework youâve been itching to add an extra feature to? How do you get guidance and get help pushing your changes to merge upstream?
Mike C. Fletcher: PyOpenGL 3.1.4 is Out
2019-11-30 20:31:04
So I just went ahead and pulled the trigger on getting PyOpenGL and PyOpenGL Accelerate 3.1.4 out the door. Really, there is little that has changed in PyOpenGL, save that I'm actually doing a final (non alpha/beta/rc) release. The last final release having been about 5.5 years ago if PyPI history is to be believed(!)
Weekly Python StackOverflow Report: (ccv) stackoverflow python report
2019-11-30 17:26:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-11-30 17:26:36 GMT
Test and Code: 95: Data Science Pipeline Testing with Great Expectations - Abe Gong
2019-11-30 17:00:00
Data science and machine learning are affecting more of our lives every day. Decisions based on data science and machine learning are heavily dependent on the quality of the data, and the quality of the data pipeline.
Janusworx: #100DaysOfCode, Day 010 â Quick and Dirty Web Page Download
2019-11-30 14:53:37
Decided to take a break from the course, and do something for me. I want to check a site and download new content if any.
Trey Hunner: Black Friday Sale: Gift Python Morsels to a Friend
2019-11-29 23:00:00
From today until the end of Monday December 2nd, Iâm selling bundles of two 52-week Python Morsels redemption codes.
Catalin George Festila: Python 3.7.5 : Script install and import python packages.
2019-11-29 15:02:16
This script will try to import Python packages from a list.
If these packages are not installed then will be installed on system.
import sys
import subprocess
if __name__ == '__main__':
def ModuleInstall(package_name):
try:
subprocess.check_call(['python3', '-m', 'pip3', 'install', package_name, "--user"])
except:
subprocess.check_call(['python', '-m'
Stack Abuse: Unit Testing in Python with Unittest
2019-11-29 13:33:00
In almost all fields, products are thoroughly tested before being released to the market to ensure its quality and that it works as intended.
Janusworx: #100DaysOfCode, Day 009 â The Collections Module
2019-11-29 11:43:39
I cheated and peeked again at the solution :) After five days, I think I needed help. But it was still a very good day. I learned lots.
Quansight Labs Blog: Variable Explorer improvements in Spyder 4
2019-11-29 01:00:00
Spyder 4 will be released very soon with lots of interesting new features that you'll want to check out, reflecting years of effort by the team to improve the user experience. In this post, we will be talking about the improvements made to the Variable Explorer.
Codementor: teach your kids to build their own game with Python - 2
2019-11-28 21:43:33
a series of tutorials that teaches kids/beginners how to develop the famous Space Invaders game with Python.
Reuven Lerner: My Black Friday sale is live! Take 50% off any course in Python or data science
2019-11-28 21:00:55
As promised, the Black Friday sale has begun in my online store. Through Monday, my courses and books are all 50% off with the coupon code BF2019.
Codementor: How I learned Python
2019-11-28 18:50:22
About me
Hi,
I'm Kai and I am currently between my Bachelor's and my Master's Degree in Computer Engineering / Science. I want to help people to develop their skills in python.
Why I wanted to...
Python Circle: Improve Your Python Practices: Debugging, Testing, and Maintenance
2019-11-28 07:45:31
improving your python skills, debugging, testing and practice, pypi
Janusworx: #100DaysOfCode, Day 008 â The Collections Module
2019-11-28 07:16:55
Finally feels like something is happening. Did two hours today.
Wingware Blog: Navigating Python Code with Wing Pro 7 (part 3 of 3)
2019-11-28 01:00:00
Last week and the week before, we looked at some of the code navigation features in Wing, including goto-definition, find uses, and project-wide search, code index menus, and the Source Browser.
Python Anywhere: Python 3.8 now available!
2019-11-27 19:49:40
If you signed up since 26 November, you'll have Python 3.8 available on your account -- you can use it just like any other Python version.
Real Python: Python Descriptors: An Introduction
2019-11-27 14:00:00
Descriptors are a specific Python feature that power a lot of the magic hidden under the languageâs hood. If youâve ever thought that Python descriptors are an advanced topic with few practical applications, then this tutorial is the perfect tool to help you understand this powerful feature. Youâll come to understand why Python descriptors are such an interesting topic, and what kind of use cases you can apply them to.
Codementor: How to Update Legacy Code Successfully
2019-11-27 12:46:39
In this article, weâll talk about when updates are necessary and how to make them without affecting the appâs functionality.
PyBites: There's no Wrong Way... to Eat a Bite of Py
2019-11-27 11:02:00
The Bites of Py exercises from PyBites are a wonderful way to improve your Python skills in short, focused practice sessions. You can even work on them right from your browser! Of course, that's not the only way.
PyBites: From Webscraper to Wordcloud
2019-11-27 11:01:00
Living in Belgium, I decided to scrape the Belgian newspaper Het Laatste Nieuws. I wanted to know what kept people busy when reading the news, so I went for a collection of all comments on all articles in the news section.
Lintel Technologies: Manhole service in Twisted Application.
2019-11-27 08:46:59
Manhole is an in-process service, that will accept UNIX domain socket connections and present the stack traces for all threads and an interactive prompt.
Janusworx: #100DaysOfCode, Days 005, 006 and 007 â The Collections Module
2019-11-27 08:08:53
I have been at this an hour daily for four days now. It just is not clicking for me. One thing is for sure, this Talk Python course is definitely going to take longer than a hundred days!
Talk Python to Me: #240 A guided tour of the CPython source code
2019-11-27 08:00:00
You might use Python every day. But how much do you know about what happens under the covers, down at the C level? When you type something like variable = [], what are the byte-codes that accomplish this? How about the class backing the list itself?
Python Bytes: #158 There's a bounty on your open-source bugs!
2019-11-27 08:00:00
No summary found!
Codementor: Awesome Full Stack Python Resources
2019-11-27 05:29:45
A list of Python Full Stack resources for aspiring Python web developer looking to learn web development using Python.
PyCoderâs Weekly: Issue #396 (Nov. 26, 2019)
2019-11-26 19:30:00
#396 â NOVEMBER 26, 2019 View in Browser »
Chris Moffitt: Tips for Selecting Columns in a DataFrame
2019-11-26 17:10:00
This article will discuss several tips and shortcuts for using iloc to work with a data set that has a large number of columns. Even if you have some experience with using iloc you should learn a couple of helpful tricks to speed up your own analysis and avoid typing lots of column names in your code.
Stack Abuse: Insertion Sort in Python
2019-11-26 14:21:35
If you're majoring in Computer Science, Insertion Sort is most likely one of the first sorting algorithms you have heard of. It is intuitive and easy to implement, but it's very slow on large arrays and is almost never used to sort them.
Paolo Amoroso: Revisiting Building Android Apps in Python Using Kivy with Android Studio
2019-11-26 14:18:06
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
Reuven Lerner: Black Friday: All of my Python courses are 50% off!
2019-11-26 14:09:57
This coming Friday is âBlack Friday,â when many stores offer big discounts on their products. Iâm happy to say that from Friday through Monday, every course in my online store will be 50% off.
PyCharm: Webinar: âReact+TypeScript+TDD Part 2â with Paul Everitt
2019-11-26 13:12:19
Last month we did a webinar on using PyCharm to write React+TypeScript apps using TDD. We teased a âPart 2â that was more in-depth. Thanks to the good folks at WebStorm, weâll be doing a Part 2, Tuesday, December 10th, 6:00 PM â 7:00 PM CET (12:00 â 1:00 PM EST).
Podcast.__init__: Faster And Safer Software Development With Feature Flags
2019-11-26 12:36:52
Any software project that is worked on or used by multiple people will inevitably reach a point where certain capabilities need to be turned on or off. In this episode Pete Hodgson shares his experience and insight into when, how, and why to use feature flags in your projects as a way to enable that practice. In addition to the simple on and off controls for certain logic paths, feature toggles also allow for more advanced patterns such as canary releases and A/B testing. This episode has something useful for anyone who works on software in any language.
Robin Wilson: Using SQLAlchemy to access MySQL without frustrating library installation issues
2019-11-26 09:56:54
This is more a ânote to myselfâ than anything else, but I expect some other people might find it useful.
Mike Driscoll: Black Friday Deals on Python Books
2019-11-26 06:15:57
Interesting in learning Python? Well you will be happy to know that I am running a Black Friday / Cyber Monday sale of my Python books. But I am starting the sale early so that you have plenty of time to decide if youâd like to buy one of my books. Check them out below!
NumFOCUS: Astropy Receives $900k Grant from Moore Foundation
2019-11-25 18:00:20
The post Astropy Receives $900k Grant from Moore Foundation appeared first on NumFOCUS.
Codementor: Creating Dashboard to Visualise Data In Python
2019-11-25 15:57:55
List of the various dashboard libraries to allow the creation of a website dashboard in Python.
Real Python: Python Community Interview With Brian Okken
2019-11-25 14:00:00
This week, itâs my pleasure to interview Brian Okken. Brian is perhaps best known as the author of Python Testing with pytest, as well as being the host of two podcasts. Read on to find out more about the man behind the voice, his new meetup in Portland, and the advice he has for anyone new to testing software.
Catalin George Festila: Python 3.7.5 : Python and SQL, a fast approach.
2019-11-25 12:47:30
Today he had to solve a task that required declaring a series of consecutive days to read from several SQL tables.
As you know, this task would require a complex query to include statements.
I solved it quite simply by using a python script that would automatically generate the days and then concatenate them into a query.
It may not be the best solution but it is very fast and does not require
Jaime Buelta: Interviewed about microservices
2019-11-25 09:31:52
No <p> found.
Mike Driscoll: PyDev of the Week: Miguel Grinberg
2019-11-25 06:05:11
This week we welcome Miguel Grinberg (@miguelgrinberg) as our PyDev of the Week! Miguel is the author of Flask Web Development and the very popular Flask Mega-Tutorial. You can find out more about Miguel by checking out his blog or his Github profile. Letâs spend some time getting to know Miguel better!
Mike C. Fletcher: Updating PyOpenGL Sample Code References
2019-11-25 04:52:20
Continuing to prepare for a PyOpenGL 3.1.4 release.
Weekly Python StackOverflow Report: (cciv) stackoverflow python report
2019-11-24 10:07:00
No <p> found.
Ned Batchelder: Support windows bar calendar
2019-11-23 13:18:10
Like any large suite of applications, Open edX software (my day job) depends on a number of underpinnings: Django, Python, Ubuntu, MySQL, and so on. We want to stay up-to-date on those dependencies, or at least ensure we are using supported versions of each.
Janusworx: #100DaysOfCode, Day 004 â The Collections Module
2019-11-23 11:18:41
Decided to watch the videos for day 4 since I am a day behind. The exercises look complicated, but the collections module looks like a real time saver.
Talk Python to Me: #239 Bayesian foundations
2019-11-23 08:00:00
In this episode, we'll dive into one of the foundations of modern data science, Bayesian algorithms, and thinking. Join me along with guest Max Sklar as we look at the algorithmic side of data science.
Janusworx: #100DaysOfCode, Days 002 & 003 â Dates & Times
2019-11-23 06:13:43
Worked an hour for the past two days, exerting all of my python knowledge at the small project they gave me. Try as I might, I could not do it. So looked at the solution. And realised, while it was all logical, I couldnât for the life of me have written that code on my own. Long way to travel. Lots of work to do.
Catalin George Festila: Python 3.7.5 : Create GUI with npyscreen.
2019-11-23 04:04:15
This python module solves the issue of creating easy GUI in the terminal.
The development team tells us:
Npyscreen is a python widget library and application framework for programming terminal or console applications.
The development of this python module is similar to the PyQt python module.
The npyscreen comes with many widgets and easy development.
The GitHub repo for this python module comes
NumFOCUS: mlpack Machine Learning Library joins NumFOCUS Sponsored Projects
2019-11-22 20:29:12
The post mlpack Machine Learning Library joins NumFOCUS Sponsored Projects appeared first on NumFOCUS.
qutebrowser development blog: qutebrowser meetup Berlin (2019-11-28)
2019-11-22 19:55:50
I (The-Compiler) am currently in Berlin - I've met with Qt/QtWebEngine developers at Qt Contributors Summit and had some very interesting development discussions there. There are some writeups available in the Qt Wiki.
Stack Abuse: Dimensionality Reduction in Python with Scikit-Learn
2019-11-22 18:30:00
In machine learning, the performance of a model only benefits from more features up until a certain point. The more features are fed into a model, the more the dimensionality of the data increases. As the dimensionality increases, overfitting becomes more likely.
Mike C. Fletcher: Getting Twitch out the Door (but not as Twitch)
2019-11-22 17:13:37
As part of trying to get testing done for a PyOpenGL release, I finally got around to testing Twitch, porting it to Python 3.6 and doing a release, only to discover that in the 4 years (!) since I last worked on it, the original package name got used on PyPI. Duh. So Twitch is now formally Twitch OGLC/twitchoglc (for OpenGLContext, on which it's based). If you don't release early and often you lose, folks.
Davy Wybiral: ESPlay Micro: Open Source ESP32 Game Console
2019-11-22 16:49:15
No <p> found.
Jaime Buelta: “Hands-On Docker for Microservices with Python” is now available!
2019-11-22 13:33:45
No <p> found.
Ian Ozsvald: Higher Performance Python (ODSC 2019)
2019-11-22 13:21:06
Building on PyDataCambridge last week I had the additional pleasure of talking on Higher Performance Python at ODSC 2019 yesterday. I had a brilliant room of 300 Pythonic data scientists at all levels who asked an interesting array of questions:
Codementor: Python, Javascript, and Web automation
2019-11-22 12:33:52
Comparing Python and Javascript in the context of web automation.
Python Anywhere: System update on 21 November 2019
2019-11-21 17:40:17
This morning's system update went smoothly; some websites did take a bit longer than we expected to start up afterwards, but all is well now.
PyCharm: PyCharm 2019.3 Release Candidate
2019-11-21 17:07:11
The release of PyCharm 2019.3 is right around the corner and weâre excited to announce we now have available a release candidate version. Check it out by downloading it from our website!
py.CheckIO: 11 Ways How To Make Home Education More Effective
2019-11-21 16:06:07
No summary found!
NumFOCUS: Now Hiring: Matplotlib Research Software Engineering Fellow
2019-11-21 15:15:40
The post Now Hiring: Matplotlib Research Software Engineering Fellow appeared first on NumFOCUS.
The Digital Cat: Punch 2.0.0 is out
2019-11-21 15:00:00
Punch 2.0.0 is out!
IslandT: Sort list alphabetically with python
2019-11-21 12:38:42
You will be given a vector of string(s). You must sort it alphabetically (case-sensitive!!) and then return the first value.
Wingware Blog: Navigating Python Code with Wing Pro 7 (part 2 of 3)
2019-11-21 01:00:00
Last week we looked at goto-definition, find uses, and project-wide search as tools for navigating Python code in Wing 7. This time, we'll take a look at the code indices that Wing provides.
NumFOCUS: NumFOCUS Summit 2019
2019-11-20 23:24:48
The post NumFOCUS Summit 2019 appeared first on NumFOCUS.
Codementor: Scraping dynamic websites using Scraper API and Python
2019-11-20 17:30:41
Learn how to efficiently and easily scrape modern Javascript enabled websites or Single Page Applications without installing a headless browser and Selenium
TechBeamers Python: Top 25 Python Libraries for Data Science Projects
2019-11-20 17:24:25
This post is attempting to enlighten you about the most useful and popular Python libraries used by data scientists. And why only Python, because it has been the leading programming language for solving real-time data science problems. These libraries have been tested to give excellent results in various areas like Machine Learning (ML), Deep Learning, Artifical Intelligence (AI), and Data Science challenges. Hence, you can confidently induct any of these without putting too much time and effort in R&D. In every data science project, programmers, even architects, use to spend considerable time researching the Python libraries that can be the
Real Python: Invalid Syntax in Python: Common Reasons for SyntaxError
2019-11-20 14:00:00
Python is known for its simple syntax. However, when youâre learning Python for the first time or when youâve come to Python with a solid background in another programming language, you may run into some things that Python doesnât allow. If youâve ever received a SyntaxError when trying to run your Python code, then this guide can help you. Throughout this tutorial, youâll see common examples of invalid syntax in Python and learn how to resolve the issue.
PyCon: Registration for PyCon US 2020 is open!
2019-11-20 11:32:54
No <p> found.
Robin Wilson: A couple of handy zsh/bash functions for Python programmers
2019-11-20 11:28:27
Just a quick post today, to tell you about a couple of simple zsh functions that I find handy as a Python programmer.
Janusworx: #100DaysOfCode, Day 001 â Dates & Times
2019-11-20 09:48:29
Watched videos for the tiny projects to do over the next two days.
Programiz: Python CSV
2019-11-20 09:43:22
In this tutorial, we will learn how to read and write into CSV files in Python with the help of examples.
Python Bytes: #157 Oh hai Pandas, hold my hand?
2019-11-20 08:00:00
No summary found!
PyCoderâs Weekly: Issue #395 (Nov. 19, 2019)
2019-11-19 19:30:00
#395 â NOVEMBER 19, 2019 View in Browser »
Stack Abuse: Using cURL in Python with PycURL
2019-11-19 17:39:05
In this tutorial, we are going to learn how to use PycURL, which is an interface to the cURL library in Python. cURL is a tool used for transferring data to and from a server and for making various types of data requests. PycURL is great for testing REST APIs, downloading files, and so on. Some developers prefer using Postman for testing APIs but PycURL is another suitable option to do so as it supports multiple protocols like FILE, FTPS, HTTPS, IMAP, POP3, SMTP, SCP, SMB, etc. Moreover, PycURL comes in handy when a lot of concurrent, fast, and reliable connections are required.
PyCharm: PyCharm 2019.2.5
2019-11-19 17:01:14
A new version for PyCharm 2019.2 is now available!
Real Python: Threading in Python
2019-11-19 14:00:00
Python threading allows you to have different parts of your program run concurrently and can simplify your design. If youâve got some experience in Python and want to speed up your program using threads, then this course is for you!
Catalin George Festila: Python 3.7.5 : Display a file in the hexadecimal and binary output.
2019-11-19 10:43:35
This is an example with a few python3 modules that display a file in the hexadecimal and binary output:
import sys
import os.path
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("FILE", help="the file that you wish to dump to hexadecimal", type=str)
parser.add_argument("-b", "--binary", help="display bytes in binary format instead of hexadecimal")
args = parser.parse_args(
Codementor: Lesson 101: Everything You Need To Learn About Programming Guidance
2019-11-19 09:45:20
Myhomeworkhelponline Experts provides the most trusted and reliable online Programming assignment help . Programming is one of the most widely taught subjects across the universities.
Codementor: teach your kids to build their own game with Python - 1
2019-11-19 05:09:22
how to teach your kids to build their own game with Python
The No TitleÂź Tech Blog: Book review â Supercharged Python, by Brian Overland and John Bennet
2019-11-19 01:27:00
If you have been following beginner or even intermediate guides on Python and are starting to feel the need for more advanced learning, this book may be the one you have been looking for.
Podcast.__init__: From Simple Script To Beautiful Web Application With Streamlit
2019-11-18 21:57:33
Building well designed and easy to use web applications requires a significant amount of knowledge and experience across a range of domains. This can act as an impediment to engineers who primarily work in so-called back-end technologies such as machine learning and systems administration. In this episode Adrien Treuille describes how the Streamlit framework empowers anyone who is comfortable writing Python scripts to create beautiful applications to share their work and make it accessible to their colleagues and customers. If you have ever struggled with hacking together a simple web application to make a useful script self-service then give this episode a listen and then go experiment with how Streamlit can level up your work.
Python Engineering at Microsoft: Python in Visual Studio Code â November 2019 Release
2019-11-18 18:52:47
We are pleased to announce that the November 2019 release of the Python Extension for Visual Studio Code is now available. You can âŻdownload the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code âŻin the documentation. Â
Test and Code: 94: The real 11 reasons I don't hire you - Charity Majors
2019-11-18 17:15:00
You've applied for a job, maybe lots of jobs. Depending on the company, you've gotta get through:
Stack Abuse: Quicksort in Python
2019-11-18 17:13:02
Quicksort is a popular sorting algorithm and is often used, right alongside Merge Sort. It's a good example of an efficient sorting algorithm, with an average complexity of O(n logn). Part of its popularity also derives from the ease of implementation.
Codementor: Solving CAPTCHA with Web automation
2019-11-18 16:24:45
All you need to know about CAPTCHA bypassing.
Python Software Foundation: Python Software Foundation Fellow Members for Q3 2019
2019-11-18 14:35:38
No <p> found.
Real Python: Pandas GroupBy: Your Guide to Grouping Data in Python
2019-11-18 14:00:00
Whether youâve just started working with Pandas and want to master one of its core facilities, or youâre looking to fill in some gaps in your understanding about .groupby(), this tutorial will help you to break down and visualize a Pandas GroupBy operation from start to finish.
PyCon: Attention! Attention! Tutorial Proposal Deadline Approaching
2019-11-18 13:50:47
No <p> found.
Python Software Foundation: Why Sponsor PyCon 2020?
2019-11-18 12:58:33
No <p> found.
Django Weblog: Introducing DjangoCon Africa
2019-11-18 12:25:45
Following the huge success of PyCon Africa, the Django community in Africa is ready to bring a new major software event to the continent - the very first DjangoCon Africa! The Django Software Foundation is excited to endorse and support this initiative.
PyBites: You can now hone your testing / pytest skills on our platform
2019-11-18 11:21:00
Writing test code is an essential skill. As PyBites we believe writing code is the only solution to becoming a master (Ninja) at programming. The same applies to test code. For that reason we extended our regular exercises with Test Bites.
Django Weblog: Django 3.0 release candidate 1 released
2019-11-18 08:44:23
Django 3.0 release candidate 1 is the final opportunity for you to try out the raft of new features before Django 3.0 is released.
Codementor: Cyber Discovery - What it is all about
2019-11-18 07:33:29
No summary found!
Mike Driscoll: PyDev of the Week: Martin Uribe
2019-11-18 06:05:42
This week we welcome Martin Uribe (@clamytoe) as our PyDev of the Week! Martin helps out at PyBites. You can find him on PyBiteâs Slack channel answering lots of Python related questions. You can also find out what Martin is up to via his Github or LinkedIn profiles. Letâs take a few moments to get to know Martin better!
Codementor: How and why I built Sudoku Solver
2019-11-17 14:50:11
Sudoku Solving algorithm
Ian Ozsvald: Training Courses for 2020 Q1 – Successful Data Science Projects & Software Engineering for Data Scientists
2019-11-17 11:36:59
Early next year I run new iterations of two of my existing training courses for Pythonic Data Scientists:
Python Circle: The simplest explanation of Decorators in Python
2019-11-17 10:45:40
The simplest explanation of Decorators in Python, decorator example in python, what is a decorator, simple example decorator, decorator for a newbie, python decorators, changing function behavior without changing content, decorators
ABlog for Sphinx: ABlog v0.10 released
2019-11-17 00:00:00
ABlog v0.10 is released with the main focus being to support the latest version of Sphinx as well as Python 3 only support.
Ian Ozsvald: “Higher Performance Python” at PyDataCambridge 2019
2019-11-16 17:11:07
Iâve had the pleasure of speaking at the first PyDataCambridge conference (2019), this is the second PyData conference in the UK after PyDataLondon (which colleagues and I co-founded 6 years back). Iâm super proud to see PyData spread to 6 regional meetups and now 2 UK conferences.
Codementor: How to Extract Data from PDF to Excel
2019-11-16 08:31:34
The Portable Document Format (PDF) is a file format developed by Adobe to present documents, including text formatting and images, in a manner independent of application software, hardware, and&hellip;
Weekly Python StackOverflow Report: (cciii) stackoverflow python report
2019-11-16 07:05:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-11-16 07:05:12 GMT
NumFOCUS: 2019 NumFOCUS Awards and New Contributor Recognition
2019-11-15 19:30:44
The post 2019 NumFOCUS Awards and New Contributor Recognition appeared first on NumFOCUS.
Paolo Amoroso: Two Books About the Kivy GUI Framework
2019-11-15 14:48:01
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
Kushal Das: PoC to auto attach USB devices in Qubes
2019-11-15 09:48:59
Here is PoC based on qubesadmin API which can auto attach USB devices to any VM as required. By default Qubes auto attaches any device to the sys-usb VM, that helps with bad/malware full USB devices. But, in special cases, we may want to select special devices to be auto attached to certain VMs. In this PoC example, we are attaching any USB storage device, but, we can add some checks to mark only selected devices (by adding more checks), or we can mark few vms where no device can be attached.
Catalin George Festila: Python 3.7.5 : About PEP 8016.
2019-11-15 09:07:46
Let's start with PEP 8012 which proposes a new model of Python governance based on consensus and voting, without the role of a centralized singular leader or a governing council and was rejected.
The PEP 8015 formalize the current organization of the Python community and proposes changes.
This PEP 8015 was rejected by a core developer vote described in PEP 8001 on Monday, December 17, 2018.
The
Python Bytes: #156 All the programming LOLs
2019-11-15 08:00:00
No summary found!
Vinay Sajip (Logging): A Qt GUI for logging
2019-11-15 06:27:37
A question that comes up from time to time is about how to log to a GUI application. The Qt framework is a popular cross-platform UI framework with Python bindings using PySide2 or PyQt5 libraries.
Full Stack Python: Basic Data Types in Python 3: Booleans
2019-11-15 05:00:00
Welcome back to our ongoing series of blog posts on basic data types in Python 3! Last time, we explored the functionality of strings. Today, we dive in to another key data type - booleans. Booleans (and "boolean logic") are an important concept in programming, representing the concept of "true" and "false".
tryexceptpass: Unconventional Secure and Asynchronous RESTful APIs using SSH
2019-11-15 04:00:00
Some time ago, in a desperate search for asynchronicity, I came across a Python package that changed the way I look at remote interfaces: AsyncSSH.
Quansight Labs Blog: A new grant for NumPy and OpenBLAS!
2019-11-14 20:00:00
I'm very pleased to announce that NumPy and OpenBLAS just received a $195,000 grant from the Chan Zuckerberg Initiative, through its Essential Open Source Software for Science (EOSS) program! This is good news for both projects, and I'm particularly excited about the types of activities we'll be undertaking, what this will mean in terms of growing the community, and to be part of the first round of funded projects of this visionary program.
NumFOCUS: Chan Zuckerberg Initiative Funds Maintenance of NumFOCUS Projects
2019-11-14 18:00:17
The post Chan Zuckerberg Initiative Funds Maintenance of NumFOCUS Projects appeared first on NumFOCUS.
Logilab: Typing Mercurial with pytype
2019-11-14 15:42:00
Following the recent introduction of Python type annotations (aka "type hints") in Mercurial (see, e.g. this changeset by Augie Fackler), I've been playing a bit with this and pytype.
Roberto Alsina: Episodio 17: Esto es Personal
2019-11-14 15:02:56
A veces gente me pide consejos sobre su carrera y cosas asĂ... probablemente no soy la persona correcta para darlos.
Robin Wilson: Easily specifying colours from the default colour cycle in matplotlib
2019-11-14 11:19:47
Another quick matplotlib tip today: specifically, how easily specify colours from the standard matplotlib colour cycle.
Talk Python to Me: #238 Collaborative data science with Gigantum
2019-11-14 08:00:00
Collaborative data science has a few challenges. First of all, those who you are collaborating with might not be savvy enough in the computer science techniques (for example, git and source control or docker and Linux). Second, seeing the work and changes others have made is a challenge too.
Continuum Analytics Blog: Essential Open-Source Library pandas Awarded CZI Grant to Further Development
2019-11-14 01:46:02
Weâre pleased to announce that pandas, the open-source library providing high-performance data structures for tabular data analysis, has received grant funding from the Chan Zuckerberg Initiative (CZI) as part of their Essential Open Source SoftwareâŠ
Wingware Blog: Navigating Python Code with Wing Pro 7 (part 1 of 3)
2019-11-14 01:00:00
Wing Python IDE includes a boatload of features aimed at making it easier to navigate and understand the structure of Python code. Some of these allow for quick navigation between the definition and uses of a symbol. Others provide a convenient index into source code. And still others quickly find and open files or navigate to symbols matching a name fragment.
Wingware News: Wing Python IDE 7.1.3 - November 14, 2019
2019-11-14 01:00:00
Wing 7.1.3 adds improved and expanded documentation and support for matplotlib, improves the accuracy of code warnings, fixes automatically debugging child processes on Windows with Python 3.8, fixes installing the remote agent from .rpm or .deb installations, solves several issues with runtime type introinspection, allows Open from Project and similar navigation commands from non-Browse vi mode, improves debugger reliability, and fixes about 30 other minor usability issues.
Matt Layman: Python Tears Through Mass Spectrometry Data
2019-11-14 00:00:00
At the November 2019 Python Frederick event, Conor Jenkins showed the group how mass spectrometry works and how Python saves huge amounts of time when processing the large amount of data produced by a mass spec analysis.
The recording from the talk is available on YouTube. Check it out!
Questions? Feel free to mention me on Twitter at @mblayman so I can try to respond to your question.
Artem Rys: 5 Scraping Tips
2019-11-13 15:11:32
Real Python: Getting Started With Python IDLE
2019-11-13 14:00:00
If youâve recently downloaded Python onto your computer, then you may have noticed a new program on your machine called IDLE. You might be wondering, âWhat is this program doing on my computer? I didnât download that!â While you may not have downloaded this program on your own, IDLE comes bundled with every Python installation. Itâs there to help you get started with the language right out of the box. In this tutorial, youâll learn how to work in Python IDLE and a few cool tricks you can use on your Python journey!
Not Invented Here: Introduction to ZODB Data Storage
2019-11-13 13:19:00
ZODB is a powerful native object database for Python, widely known for its use in the Zope web framework and the Plone content management system. By enabling transparent object graph persistence with no need to predefine schemas, ZODB enables extremely flexible application development. With pluggable storage engines such as FileStorage, ZEO, and RelStorage, it also provides flexible ways to store data.
Sumana Harihareswara - Cogito, Ergo Sumana: My New Title, Improving pip, Availability For Work, And SSL (No, The Other One)
2019-11-12 23:29:19
Seeking developers for paid contract on pip; apply by Nov. 22 One is that I helped the Packaging Working Group of the Python Software Foundation get funding for a long-needed improvement to pip. I led the writing of a few proposals -- grantwriting, to oversimplify -- and, starting possibly as soon as next month, contractors will start work. As Dustin Ingram explains: Big news: the Python Packaging Working Group has secured >$400K in grants from multiple funders (TBA) to improve one of the most fundamental parts of pip: its dependency resolver. https://pyfound.blogspot.com/2019/11/seeking-developers-for-paid-contract.html The dependency resolver is the algorithm which takes multiple constrained requirements (e.g. "some_package>=1.0,=2.0") and finds a version of all dependencies (and sub-dependencies) which satisfy all the constraints. https://pip.pypa.io/en/stable/user_guide/#requirements-files Right now, pip's resolver mostly works for most use cases... However the algorithm it uses is naĂŻve, and isn't always guaranteed to produce an optimal (or correct) result. ..... These funds will pay multiple developers to work on completing the design, implementation and rollout of this new dependency resolver for pip, finally closing issue #988. Not only will this give pip a better resolver, but it will "enable us to untangle pipâs internals from the resolver, enabling pip to share code for dependency resolution with other packaging tooling". https://pradyunsg.me/blog/2019/06/23/oss-update-1/ This is great news for pip and Python packaging in general. Huge shout out to @pradyunsg for his existing work on the resolver issue and guidance here, and to @brainwane for all her tireless work acquiring and directing funding for Python projects. If you or your organization is interested in participating in this project, we've just posted the RFP, which includes instructions for submitting proposals, evaluation criteria and scope of work. https://github.com/python/request-for/blob/master/2020-pip/RFP.md If you're interested, please apply by 22 November. NYU, Secure Systems Lab, and my new title In further news: New York University's Tandon School of Engineering has now announced that: ...pioneering open-source software nonprofits the Tor Project and Python Software Foundation (PSF) are the newest tenants at 370 Jay Street, a recently renovated addition to the Universityâs engineering and applied sciences programs in Downtown Brooklyn. NYU Tandon is donating work space to both organizations for their first offices in New York City. .... Sumana Harihareswara, a volunteer with the PSFâs Packaging Working Group and a contracted project manager for the Python Packaging Index, is among the first to move into the NYU facility. Harihareswara is also a visiting scholar in [Professor Justin] Cappos's Secure Systems Lab. Yes, I am now a Visiting Scholar at NYU's Secure Systems Lab and I get to use an office with a door, shelves, whiteboards, and so on (per the picture at right). If you contribute to Python packaging/distribution tools and live in/near or sometimes visit New York City, let me know and perhaps we could cowork a bit? The Secure Systems Lab stewards The Update Framework (TUF) and related projects, and works to improve the security of the software supply chain. The Python Package Index is likely going to implement TUF to add cryptographic signatures to packages on PyPI, and so I've gotten to give TUF's developers some advice to help that work move along. (I won't be the manager on that project but I'll be watching with great interest.) PSF projects I'm grateful to get to help connect the Python Software Foundation with more resources and volunteers. Changeset's current and recent projects have mostly been for the PSF. Last month we finished accessibility, security, and internationalization work on PyPI that was funded by the Open Technology Fund, and Changeset's work on communicating about the sunsetting of Python 2.x continues and will go through April 2020. Availability for one-day engagements in San Francisco in February But I am interested in taking on new clients for short engagements starting in February 2020. In particular, I will be in the San Francisco Bay Area in mid- to late February. If you're in SF or nearby, I could offer you a one-day engagement doing one of the following: developing a contributor outreach/intake strategy researching potential funders and writing a rough draft of a grant proposal auditing and improving your developer onboarding documents I'd spend a little time talking with you, then sit in your office and finish the document before leaving that afternoon. (Photo at right provides a sample of how I look while sitting.) Drop me a line for a free initial 30-minute chat and we can talk pricing.
Stack Abuse: Advanced OpenGL in Python with PyGame and PyOpenGL
2019-11-12 20:07:50
Following the previous article, Understanding OpenGL through Python where we've set the foundation for further learning, we can jump into OpenGL using PyGame and PyOpenGL.
PyCoderâs Weekly: Issue #394 (Nov. 12, 2019)
2019-11-12 19:30:00
#394 â NOVEMBER 12, 2019 View in Browser »
Quansight Labs Blog: File management improvements in Spyder4
2019-11-12 17:00:00
Version 4.0 of Spyderâa powerful Python IDE designed for scientists, engineers and data analystsâis almost ready! It has been in the making for well over two years, and it contains lots of interesting new features. We will focus on the Files pane in this post, where we've made several improvements to the interface and file management tools.
Data School: How to encode categorical features with scikit-learn (video)
2019-11-12 16:07:55
In order to include categorical features in your Machine Learning model, you have to encode them numerically using "dummy" or "one-hot" encoding. But how do you do this correctly using scikit-learn?
Real Python: Thinking Recursively in Python
2019-11-12 14:00:00
In this course, youâll learn about recursion. Recursion is a powerful tool you can use to solve a problem that can be broken down into smaller variations of itself. You can create very complex recursive algorithms with only a few lines of code.
Not Invented Here: RelStorage 3.0
2019-11-12 11:18:52
We're happy to announce the release of RelStorage 3.0, the relational storage engine for ZODB. Compared to RelStorage 2, highlights include a 30% reduction in memory usage, and up to 98% faster performance! (Ok, yes, that's from one specific benchmark and not everything is 98% faster, but improved performance was a major goal.)
Chris Moffitt: Book Review: Machine Learning Pocket Reference
2019-11-12 00:25:00
This article is a review of OâReillyâs Machine Learning Pocket Reference by Matt Harrison. Since Machine Learning can cover a lot of topics, I was very interested to see what content a âPocket Referenceâ would contain. Overall, I really enjoyed this book and think it deserves a place on many data science practitionerâs book shelves. Read on for more details about what is included in this reference and who should consider purchasing it.
Ned Batchelder: Coverage 5.0 beta 1
2019-11-11 23:27:54
I want to finish coverage.py 5.0. It has some big changes, so I need people to try it and tell me if itâs ready. Please install coverage.py 5.0 beta 1 and try it in your environment.
Podcast.__init__: Automate Your Server Security With GrapheneX
2019-11-11 22:52:52
The internet is rife with bots and bad actors trying to compromise your servers. To counteract these threats it is necessary to diligently harden your systems to improve server security. Unfortunately, the hardening process can be complex or confusing. In this weekâs episode 18 year old Orhun Parmaksiz shares the story of how he and his friends created the GrapheneX framework to simplify the process of securing and maintaining your servers using the power and flexibility of Python. If you run your own software then this is definitely worth a listen.
Erik Marsja: Tutorial: How to Read Stata Files in Python with Pandas
2019-11-11 21:17:29
The post Tutorial: How to Read Stata Files in Python with Pandas appeared first on Erik Marsja.
Real Python: PyCon Africa 2019 (Recap)
2019-11-11 14:00:00
PyCon Africa was a wonderful, inspiring, and technically enlightening conference that took place in Accra, Ghana from August 6 to 10, 2019 at the University of Ghana. This conference was the very first pan-African conference for Python developers and was attended by 323 Pythonistas from 26 different countries. Most of the attendees traveled from countries around Africa, and a number of speakers came from the US, the Netherlands, Germany, Brazil, and Italy.
Python Software Foundation: Seeking Developers for Paid Contract Improving pip
2019-11-11 13:05:38
The Python Software Foundation Packaging Working Group is receiving funding to work on the design, implementation, and rollout of pip's next-generation dependency resolver. (We'll be able to publicly name the funders later this month and in early December.)
Mike Driscoll: PyDev of the Week: Vuyisile Ndlovu
2019-11-11 06:05:28
This week we welcome Vuyisile Ndlovu (@terrameijar) as our PyDev of the Week! Vuyisile is a contributor to Real Python and a Python blogger on his own website. He is also active in the Python community in Africa. You can find out more about Vuyisile on his website or by checking out his Github profile. Letâs take some time to get to know him better!
Twisted Matrix Labs: Twisted 19.10.0 Released
2019-11-10 20:34:52
No <p> found.
Quansight Labs Blog: uarray: Attempting to move the ecosystem forward
2019-11-10 05:28:00
There comes a time in every project where most technological hurdles have been surpassed, and its adoption is a social problem. I believe uarray and unumpy had reached such a state, a month ago.
A. Jesse Jiryu Davis: PyGotham 2019's ASL and Live Captioning Playbook
2019-11-09 21:37:13
Davy Wybiral: Testing 4 Raspberry Pi Gaming Platforms
2019-11-09 19:55:33
I've been looking to update my home media center recently and decided to survey the landscape of Raspberry Pi gaming/media platforms. This video compares the four best ones I've been able to find which are: RetroPie, Recalbox, Lakka, and Steamlink.<br /><div><br /></div><div></div>
Weekly Python StackOverflow Report: (ccii) stackoverflow python report
2019-11-09 16:21:00
No <p> found.
Codementor: Mutable objects vs Python functions.
2019-11-09 14:41:54
We know every thing in python is an object and can be classed into mutable and ...
Codementor: Managing Class Attributes In Python
2019-11-09 14:40:41
Hello guys, in this blog post we are going to dig down into some python progr...
Python Anywhere: EU migrations are now live!
2019-11-08 16:01:01
In brief: if you have an account on www.pythonanywhere.com you can have it migrated to eu.pythonanywhere.com -- just let us know via email to support@pythonanywhere.com.
Codementor: Python Project(Descriptions and Code)
2019-11-08 15:38:32
This post is showed the descriptions and codes from the projects that I did.
Some of them, you can see it from my profile, I put them in the project experience. There are some projects that are for beginners and for there is 1 project that's kinda like for intermediate. All of these projects were from python and python 3 to be more detail.
Thank you
PyCharm: Webinar Recording: âVisual SQL Development with PyCharmâ with Maxim Sobolevskiy
2019-11-08 13:15:36
This week we had a webinar with Maxim Sobolevskiy, the DataGrip Product Marketing Manager, showing the wonderful, magical Database tool in PyCharm. The webinar recording is now available.
PyCharm: PyCharm 2019.3 Beta
2019-11-08 12:05:08
Weâre very excited to announce the Beta release for PyCharm 2019.3, a feature-complete preview of the upcoming release. Give the Beta build a go and try all the new functionality â download it from our website.
Kushal Das: oqubeslogging, a PoC for centralized logging in Qubes OS
2019-11-08 11:38:38
oqubeslogging is a proof of concept project for Qubes OS. This includes a qrexec service, which allows one AppVM (we will call it logging VM for the rest of the blog post) to have all the logs from different select VMs. This enables central logging among QubesOS land.
Kushal Das: Verified emoji on Mastodon
2019-11-08 10:43:42
Yesterday, just for fun, I added an emoji (as a local emoji) to our mastodon instance, kind of look like a verification icon. Only to show the power of federation and Free Software to the new users of Mastodon. Many other users started using the same. But, most newbies to Mastodon got confused with the same
Roberto Alsina: Python mĂĄs PythĂłnico (o: CĂłmo no parecer un programador Java)
2019-11-08 06:24:18
Charla en el Buenos Aires Python Meetup el 7/11/2019 Algunos tips y comentarios sarcĂĄsticos para hacer que tu cĂłdigo Python sea mĂĄs parecido a Python y menos parecido a otra cosa.
Erik Marsja: How to Handle Coroutines with asyncio in Python
2019-11-06 23:08:30
The post How to Handle Coroutines with asyncio in Python appeared first on Erik Marsja.
Reuven Lerner: Podcasts, podcasts, and even more podcasts
2019-11-06 19:02:41
Iâve recently appeared on a whole bunch of podcasts about Python, freelancing, and even (believe it or not) learning Chinese! If youâre interested in any or all of these subjects, then you might want to catch my interviews:
Real Python: When to Use a List Comprehension in Python
2019-11-06 14:00:00
Python is famous for allowing you to write code thatâs elegant, easy to write, and almost as easy to read as plain English. One of the languageâs most distinctive features is the list comprehension, which you can use to create powerful functionality within a single line of code. However, many developers struggle to fully leverage the more advanced features of a list comprehension in Python. Some programmers even use them too much, which can lead to code thatâs less efficient and harder to read.
Rene Dudfield: post modern C tooling - draft 6
2019-11-06 10:49:24
No <p> found.
Rene Dudfield: Draft 2 of, ^Let's write a unit test!^
2019-11-06 10:47:10
No <p> found.
Zato Blog: Configuring Zato for high-performance Oracle Database connections
2019-11-06 08:46:00
If you need to configure Zato for Oracle DB connections and you want to ensure the highest performance possible, this is the post which goes through the process step-by-step. Read on for details.
Talk Python to Me: #237 A gut feeling about Python
2019-11-06 08:00:00
Let's start with a philosophical question: Are you human? Are you sure? We could begin to answer the question physically. Are you made up of cells that would typically be considered as belonging to the human body?
Python Bytes: #155 Guido van Rossum retires
2019-11-06 08:00:00
No summary found!
Codementor: Top 5 Most Popular Web Programming Languages You Should Learn
2019-11-06 05:00:35
Weâre living in the digital era and technology information is developing quickly. In fact, there are various programming languages available in use globally. Weâre entering 2020, here are the top 5 most popular web programming languages you should learn.
Codementor: Top 5 Popular Web Programming Languages You Should Learn
2019-11-06 05:00:35
Weâre living in the digital era and technology information is developing quickly. In fact, there are various programming languages available in use globally. Weâre entering 2020, here are the top 5 most popular web programming languages you should learn.
Matt Layman: Lessons From A Failed SaaS - Building SaaS #37
2019-11-06 00:00:00
In this episode, we talked about the things I learned from my SaaS project and some of the reasons why it failed to succeed financially. We dug into the technical and marketing challenges that I faced and what went wrong.
I’m shutting down my side project, College Conductor. The SaaS never achieved a sustainable level of success. I started the site to help my wife with her college consulting business.
PyCoderâs Weekly: Issue #393 (Nov. 5, 2019)
2019-11-05 19:30:00
#393 â NOVEMBER 5, 2019 View in Browser »
Stack Abuse: Understanding OpenGL through Python
2019-11-05 16:53:36
Following this article by Muhammad Junaid Khalid, where basic OpenGL concepts and setup was explained, now we'll be looking at how to make more complex objects and how to animate them.
PyCon: CFP Deadline for PyCon 2020 Coming Up!
2019-11-05 13:33:21
No <p> found.
Catalin George Festila: Python 3.7.5 : About PEP 3107.
2019-11-05 12:37:08
The PEP 3107 introduces a syntax for adding arbitrary metadata annotations to Python functions.
The function annotations refer to syntax parameters with an expression.
def my_function(x: expression, y: expression = 5):
...For example:
>>> def show(myvar:np.float64):
... print(type(myvar))
... print(myvar)
...
>>> show(1.1)
1.1
>>> def files(filename: str, dot='.') -> list:
... print
Tryton News: Tryton Release 5.4
2019-11-04 17:00:03
@ced wrote:
Continuum Analytics Blog: The Austin American-Statesman Names Anaconda a Winner of the Austin Top Workplaces 2019 Award
2019-11-04 15:16:11
Anaconda is thrilled to have been awarded a Top Workplaces 2019 honor by The Austin American-Statesman. The list of winners is based solely on employee feedback gathered through a third-party survey administered by research partner Energage,âŠ
Reuven Lerner: Last chance to join Weekly Python Exercise in 2019!
2019-11-04 14:30:57
Over the last year, Iâve taught in-person Python classes to companies in the US, Europe, Israel, India, and China. Iâve taught people from a variety of backgrounds, from absolute beginners to seasoned Pythonistas who want to improve their skills in new areas. And Iâve taught everything from intro Python to data science.
IslandT: Summation of alphabet position with python
2019-11-04 14:02:26
In this article, we will create a python function that will turn a string into a list, then return the sum of all the positions of the alphabets within that list based on a-z. a = 1, b =2 and so on, all the alphabets within that given string will be in lower case.
Real Python: Build a Mobile Application With the Kivy Python Framework
2019-11-04 14:00:00
These days, developers are highly likely to be working on a mobile or web application. Python doesnât have built-in mobile development capabilities, but there are packages you can use to create mobile applications, like Kivy, PyQt, or even Beewareâs Toga library.
Catalin George Festila: Python 3.7.5 : About PEP 506.
2019-11-04 13:12:02
Today I did a python evaluation and saw that there are many new aspects that should be kept in mind for a programmer.
So I decided to recall some necessary elements of PEP.
First, PEP stands for Python Enhancement Proposal.
A PEP is a design document providing information to the Python community, or describing a new feature for Python or its processes or environment.
My list will not follow a
Julien Danjou: Finding definitions from a source file and a line number in Python
2019-11-04 10:21:00
My job at Datadog keeps me busy with new and questioning challenges. I recently stumbled upon a problem that sounded easy but was more difficult than I imagined.
Django Weblog: Django bugfix releases issued: 2.2.7, 2.1.14, and 1.11.26
2019-11-04 08:37:14
Today we've issued 2.2.7, 2.1.14, and 1.11.26 bugfix releases.
Mike Driscoll: PyDev of the Week: Joannah Nanjekye
2019-11-04 06:05:50
This week we welcome Joannah Nanjekye (@Captain_Joannah) as our PyDev of the Week! Joannah is a core developer of the Python programming language. She is also the author of Python 2 and 3 Compatibility. You can find out more about Joannah on here website. Letâs take a few moments to get to know her better!
Armin Ronacher: Open Source, SaaS and Monetization
2019-11-04 00:00:00
When you're reading this blog post Sentry which I have been working on for the last few years has undergone a license change. Making money with Open Source has always been a complex topic and over the years my own ideas of how this should be done have become less and less clear. The following text is an attempt to summarize my thoughts on it an to put some more clarification on how we ended up picking the BSL license for Sentry.
Zero-with-Dot (Oleg ƻero): Using dunder methods to refine data model
2019-11-03 23:00:00
Practically everyone who has ever used Python came across at least one of the so-called Python magic methods. Dunder methods, as they also called that way, are Pythonâs special functions that allow users to hook into some specific actions being performed. Probably the most frequently encountered one is the __init__ method. It is called when instantiating a new object from a class and by overriding it, we can gain control over that process.
Frank Wierzbicki: Jython 2.7.2b2 released!
2019-11-03 20:24:08
No <p> found.
Reuven Lerner: Quick Python tip: âintâ strips strings of whitespace
2019-11-03 13:36:20
Letâs say youâre writing a Python program that asks the user to enter a number, so that you can double it:
Podcast.__init__: Accelerating The Adoption Of Python At Wayfair
2019-11-03 13:20:19
Large companies often have a variety of programming languages and technologies being used across departments to keep the business running. Python has been gaining ground in these environments because of its flexibility, ease of use, and developer productivity. In order to accelerate the rate of adoption at Wayfair this weekâs guest Jonathan Biddle started a team to work with other engineering groups on their projects and show them how best to take advantage of the benefits of Python. In this episode he explains their operating model, shares their success stories, and provides advice on the pitfalls to avoid if you want to follow in his footsteps. This is definitely worth a listen if you are using Python in your work or would like to aid in its adoption.
Erik Marsja: Three Easy Methods to Upgrade Pip to the Latest Version
2019-11-03 10:59:40
The post Three Easy Methods to Upgrade Pip to the Latest Version appeared first on Erik Marsja.
Weekly Python StackOverflow Report: (cci) stackoverflow python report
2019-11-03 09:41:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-11-03 09:41:24 GMT
Roberto Alsina: Episode 15: Faster Python in 5 seconds!
2019-11-03 09:40:56
This is a video I did in spanish, but I have added english subtitles!
Nikola: Nikola v8.0.3 is out!
2019-11-02 19:17:53
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.3. This release fixes a few bugs, including a notable one with galleries not working on mobile.
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: äșæŽČćca88ç”èçæćšç„èŻ
2019-11-02 16:00:00
       4.ćèż«çććèż«èè±ćć°żéïŒćŒèŽèè±äžè§ćœąćșæèœŹćŸïŒèŸć°żçźĄç§»äœăèè±èœźćæŠè·Żèçă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: äșæŽČćca88ç”èçæČ»ç,çç¶,ç
ć ,æŁæ„,çšèŻ,ç
äŸ
2019-11-02 16:00:00
       2015-08-0622:23:17çžćčČéźç_éź_äșæŽČćca88ç”èçćșćœææ ·æČ»çïŒ_ç_äœ ć„œććź«ćčłæ»èç€ćŸä»„ć©çšææçä»·ćŒè§ćœèŻćźæ§æČ»çćœć»ćœèŻéżæäžŽćșè·”èŻș环积äșć€ćŒćžžææçæČ»çæłćæèźźäœ çšä»·ćŒè§ćœèŻè«èăçȘèăæć
ćăæĄćŻçăééłćăéŠèăçžæćè»ăæĄçœçźăæä»ČăæšéŠăèŻèăçœæŻăä»Čç§æăç„æŻăçć§é»ăć¶ćæăć±±èžèăçȘæšçăä»è
ăć¶ćć€ăèĄ„éȘšèăçŹæŽ»ăçłèèČăçœéč€èă性ćșćżèăć±±ć„ăæžæććăèèĄä»ăć°æŠăçœćăäžčçźăć°ćčČăć·èăćéłè«ăéé»ăçæĄăèŠćăéçČŸçČăè«èŠć·ŽăçœçŁçźă蔀èăć±±è±æ čăèżćżăæłœæł»ăéé¶çźè±ăäčæŻçČăć¶éłçČăèżçżă玫èăæĄä»ăäžäžćčé
æČ»ççæćż«çæçČŸçĄźć
¶ćæèœćšçæć
ć猩èżćć蜻èŠçăćźçç
ć”ăçææèćč¶äžćąćŒșææșäœć
ç«ćäčèłèŸŸæäžŽćșć°ćșæČ»æçéčçææäœ ćŻčæČ»çæ©ć€§ć„œ2015-06-0723:18:30çžćčČéźç_éź_ććź«çŸç€ïŒçè
çă
Catalin George Festila: Python 3.7.5 : Intro about scikit-learn python module.
2019-11-02 12:11:51
This python module named scikit-learn used like sklearn is designed to interoperate with the Python numerical and scientific libraries NumPy and SciPy and comes with various classification, regression and clustering algorithms including support vector machines, random forests, gradient boosting, k-means and DBSCAN.The official webpage can be found hereLet't install this on my Fedora 30 distro:[
Zato Blog: Publish/subscribe, Zato services and asynchronous API integrations
2019-11-02 10:48:08
This article introduces features built into Zato that let one take advantage of publish/subscribe topics and message queues in communication between Zato services, API clients and backend systems.
Catalin George Festila: Python 3.7.5 : The ani script with ascii.
2019-11-02 08:26:50
ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. see Wikipedia.
This is a simple script named ani.py created by me to show an animation with ASCII ...
import os, time
os.system('cls')
filenames = ["0.txt","1.txt","2.txt
Codementor: Understanding Boxplots
2019-11-02 01:49:37
No <p> found.
Brett Cannon: Why you should use `python -m pip`
2019-11-02 00:55:30
Fellow core developer and Canadian, Mariatta, asked on Twitter about python -m pip and who told her about that idiom along with asking for a reference explaining it:
Python Insider: Python 3.5.9 is released
2019-11-01 20:51:30
No <p> found.
Michael Droettboom: This Week in Glean: November 1, 2019
2019-11-01 19:40:00
(âThis Week in Gleanâ is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean. The last two posts are here and here.)
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: ć„œć©ć橎ćżćŁèąæšèœŠïŒćŻæć è¶
ć°ç»æș橎ćżèœŠïŒè¶
蜻ćŻććŻèșșäŸżæșćŒæšèœŠ â ç§ç»çœ
2019-11-01 16:00:00
       ćŠć
¶èœèź©äžäžȘäžȘćźèŽćźć„œćż«äčçéżèżïŒèżæ ·æćčŽçæ§ćłćŒćŸçă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: ć„œć©ć l èżæŻäžćź¶ææ ·ç„ć„çć
ŹćžïŒ
2019-11-01 16:00:00
Â Â Â Â Â Â Â èżæŹŸèœŠèœŠć Șç§°ćźçŸïŒææłèŠæäœçšæ čæŹéœæäșïŒççćŸćæŹąă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: äșæŽČćca88ç”èçcä»ç»
2019-11-01 16:00:00
Â Â Â Â Â Â Â äžæ€ćč¶äžïŒćŻčäșæŽČćca88ç”èçćșçšèżçšäžéć°çæ
ć”äčć°±èłć€çïŒæ°èżćè§ćŸć€ćäșČ仏ćłäžäŒæČäșæŽČćca88ç”èçă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: ă竄蜊ăäșæŽČćca88ç”èçæć ćŸè§Ł äžćæŹŸćŒèŻŠç»çæć æčæł
2019-11-01 16:00:00
       èäž10ćčŽçèć·„ćŸćžžè§ïŒćŸć€äșșæèź¶æćŸä»„æćĄäžćź¶ć
Źćž12ćčŽäčäč
ă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: äșæŽČćca88ç”èçä»·æ Œć€ć°ïŒäșæŽČćca88ç”èçä»·æ ŒèŽ”ćïŒ-5ć·çœ
2019-11-01 16:00:00
       ćźć„œćș§æ€
ăæŽæ€é©Żć
»ćż
éćăćź¶ć±
ćż
éćăæé„°ăç©æăçșžćçïŒä»ćź¶ćžžäœçšć°èĄæ
ćż
ć€ïŒć„œć©ćäžćłćšäžæąćȘćïŒäșćŸç»çžçžæçćć©ćä»ŹäŸæŽć„œçæćĄă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: æłœćčłçČćșç«æ¶ć+ç„çæŽéąçœïŒć
¶ä»ćçïŒæłœćčłçČćșç«æ¶ć+ç„çæŽéąçœ 10ml+30g/çïŒèœ»äžćșŠïŒ[ä»·æ Œ,ć€ć°é±,ćæäžäœçš,èŻŽæäčŠ]
2019-11-01 16:00:00
       éćČæłœćčłèŻćŠćžéąćéæćżæčèœèŽèżïŒæąä»ŁæćŻæ°žçă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: ăæłœćčłçČćșç«æ¶ćć„èŁ
(éćșŠć)éćșŠć20ml+äżæčżæ¶Šè€äčł30ml/çăä»·æ Œ
2019-11-01 16:00:00
       äžăäžäžèŽšéïŒćžéąæ©æ€1ăè°šçćžéąæ©æ€äœçł»ïŒćčžć
çȘ莧ć价鱿ă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: 4äœćŠćŠ7怩ç©è46æ€ïŒéć€çćŻčć„č仏ćäșä»äčïŒ
2019-11-01 16:00:00
       æ„çéć€çè·łæïŒçè§éąäžćŻç§»ćšïŒæŻäžȘćšćŒčèŻŠć°œèŻŽæćż”äčŠïŒæŻæ„10ćéïŒçźç„3äžȘćšćŒčïŒäžć€©ćż”äčŠäž€ć€©äč éąïŒćŻčćçčïŒçæŁćŠćŸäŒæææïŒæćĄćäș«ćœæ„çćż”äčŠæ
èïŒçæŹäșșææăæè§éąïŒïŒèꩿŽć€äșșè·äœ äžèĄè·łć
Žè”·ïŒçŠèș«èżçšäžć€èŠçć€ïŒçç6ćšïŒćè„ææçćŸè§ïŒæ°èŽšææçćŸè§ïŒäœæćčŽèœ»äžçčçćŸè§ïŒäžșäșæ¶ć©æŽć€äșșç»èżćș·ć„çæčćŒçŠäžæ„ïŒéć€çæćžéćžžæżèŻșèźŸçœźćș·ć„çŠèș«ćșéïŒćㄿݿ„æ§è·łæçäșșïŒäčćłèŻŽïŒæŻæ„è·łæ10ćéïŒć
šć€æćĄïŒć°èżèżć
šéąćŠæèŽčïŒäžćźäșć
èŽčæ„çćœ±ææćźćż”äčŠïŒäžèŠäžćé±ïŒćœæäșșèżćšèżç»éżèçæ¶èäœ ć·Čç»èć§è·łæçŠèș«äșïŒćœæäșșèżćšæŻæ„ćż§æćæ°ŽéœéżèïŒäœ ć·Čç»çŠæäșæ°èŽšçŸäșșïŒ,ćș·ć„ææćè„æłćïŒéć€ççŠèș«ć„èș«æéć€çć·Čç»ä»æŁæŹ48ć
Źæ€çèæĄäœæäžè·Żćąć€ć°è¶
ćș70ć
Źæ€çèèäœæèżć±çŠèș«ç§»ćšïŒä»„ćäžçł»ćèŻèĄä»„ćïŒćèżćć°49ć
Źæ€çć„çŸäœæă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: äžșä»äčéć€ççŠèș«æäžæ”èĄäșïŒćèș«æææČĄææłè±ĄäžéŁäčć„œïŒ
2019-11-01 16:00:00
       çć
ïŒèŠéæ©ćéćéçćéïŒOL仏çšèŁ
æ»Ąæ°Žççżæłç¶äčćŸä»„ä»ŁèĄšă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: äžșäœæäșäșșææ ·ćéœäžèïŒç»ç©¶æè°ćźççœćșäș
2019-11-01 16:00:00
       äžéšćź¶ćè§Łç§°ïŒ30%è¶é„æŻèçœèšéŁćçäșșć称怩怩éèŠ400ćĄè·ŻéïŒæŻć€§æèçœèšæćçäșșć°èŻć€ă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: æž
çč10äžȘäžć鄿ç鄟ć
çžéä»éŁćè„æł
2019-11-01 16:00:00
       ć„č仏æć°èȘć·±çèéŁäžè”·ćæäșă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: æłœćčłçČćșç«æ¶ćæä»äčäœçšïŒ
2019-11-01 16:00:00
       ćŻčćç§æçæè§ć枎æ±ïŒćš48ć°æ¶ć
ćŻććŸć°œćŻèœæ§æŹæçăćæ
æçççć€ïŒćæŹäŸćż
éççźĄçææă
ۚۧÙŰ«ÙÙ Ű§ÙŰč۱ۚÙ: æłœćčłçČćșç«æ¶ćä»·æ Œ
2019-11-01 16:00:00
       äžïŒææçćșćïŒæłœćčłçČćșćéèżćć„œäșșć æŹç䞎ćșäœżçšïŒä»94ćčŽç»èżć
„ćžéąä»„æ„ïŒæČ»çççČćșäșș怎ćŸèżçŸäžäșșæŹĄïŒä»æŽäžȘçćéŠæ
ćœąæ„çïŒ3怩氱èœć„æè
蟟98%éèĄäșșćă
PyCharm: PyCharm 2019.2.4
2019-11-01 15:30:57
PyCharm 2019.2.4 is now available!
EuroPython Society: EuroPython 2020: Venue and location selected
2019-11-01 11:20:30
After a work intense RFP over two months with more than 40 venues competing, 18 first round entries, and two rounds of refinements, we are now happy to announce the winner:
Codementor: How I learned python/django
2019-11-01 05:57:12
Python
Mike Driscoll: The Demos for PySimpleGUI
2019-10-31 22:05:30
The PySimpleGUI project has a lot of interesting demos included with their project that you can use to learn how to use PySimpleGUI. The demos cover all the basic widgets as far as I can tell and they also cover the recommended design patterns for the package. In addition, there are a couple of games and other tiny applications too, such as a version of Pong and the Snake game.
Reuven Lerner: Want to improve your Python fluency? Join Weekly Python Exercise!
2019-10-31 17:49:16
A new cohort of Weekly Python Exercise, my family of courses to improve your Python fluency, starts on November 5th.
CubicWeb: Implementing the langserver protocol for RQL
2019-10-31 15:51:00
One of our next project for cubicweb and its ecosystem is to implement the langserver protocol for the RQL language that we are using in CW. The langserver protocol is an idea to solve one problem: to integrate operation for various languages, most IDE/tools needs to reimplement the wheel all the time, doing custom plugin etc... To solve this issue, this protocol has been invented with one idea: make one server for a language, then all IDE/tools that talks this protocol will be able to integrate it easily.
Python Software Foundation: The 2019 Python Developer Survey is here, take a few minutes to complete the survey!
2019-10-31 15:24:48
No <p> found.
John Cook: Generating Python code from SymPy
2019-10-31 15:18:08
Yesterday I wrote about Householderâs higher-order generalizations of Newtonâs root finding method. For n at least 2, define
PyCharm: 2019.3 EAP 7
2019-10-31 14:38:36
A new Early Access Program (EAP) version for PyCharm 2019.3 is now available! If you wish to try it out do so by downloading it from our website.
Dataquest: Python Datetime Tutorial: Manipulate Times, Dates, and Time Spans
2019-10-31 13:50:59
Learn to manipulate times, dates, and time series data in Python and become a master of the datetime module in this Dataquest tutorial.
Zato Blog: Bash completion in Zato commands
2019-10-31 09:33:01
This is a quick tip on how to quickly and easily enable Bash completion for Zato commands - each time you press Tab when typing a Zato command, its arguments and parameters will be auto-completed.
Test and Code: 93: Software Testing, Book Writing, Teaching, Public Speaking, and PyCarolinas - Andy Knight
2019-10-31 05:45:00
Andy Knight is the Automation Panda.
Wingware Blog: Efficient Flask Web Development with Wing 7
2019-10-31 01:00:00
Wing can develop and debug Python code running under Flask, a web framework that is quick to get started with and easy to extend as your web application grows.
Roberto Alsina: Episodio 15: Python mĂĄs rĂĄpido en 5 segundos!
2019-10-30 23:40:56
ÂżPython es lento? ÂĄMentira! Estrategias para hacer que tu cĂłdigo Python, SIN MODIFICAR sea 2 veces, 10 veces ... ÂĄ100 veces mĂĄs rĂĄpido!
TechBeamers Python: Python Write File/ Read File
2019-10-30 17:34:10
This tutorial covers the following topic â Python Write File/Read File. It describes the syntax of the writing to a file in Python. Also, it explains how to write to a text file and provides several examples for help. For writing to a file in Python, you would need a couple of functions such as Open(), Write(), and Read(). All these are built-in Python functions and donât require a module to import. There are majorly two types of files you may have to interact with while programming. One is the text file that contains streams of ASCII or UNICODE (UTF-8)
Real Python: Python REST APIs With Flask, Connexion, and SQLAlchemy â Part 4
2019-10-30 14:00:00
In Part 3 of this series, you added relationships to the REST API and to the database that supports it. This gave you a powerful tool you can use to build interesting programs that send persistent data, as well as the relationships between that data, to a database system. Having a REST API gives you the ability to create a Single-Page Application (SPA) with HTML, CSS, and JavaScript. This is a good starting point before you make the jump to more powerful front-end frameworks, like Angular or React.
qutebrowser development blog: 2019 qutebrowser crowdfunding with shirts, stickers and more!
2019-10-30 13:51:15
I'm very happy to announce that the next qutebrowser crowdfunding went live today! o/
Python Software Foundation: CPython Core Developer Sprint 2019
2019-10-30 12:28:49
No <p> found.
The No TitleŸ Tech Blog: New project: Nice Telescope Planner
2019-10-30 00:30:00
And now, for something different, I have just dived into Java. I am sharing with you the first (pre-)release of Nice Telescope Planner, a simple cross-platform desktop utility for amateur astronomy hobbyists, written in Java. The aim is to provide an easy to use tool to help planning sky observation sessions, suggesting some of the interesting objects you may be able to watch at naked eye, or using amateur equipment (binoculars or small to medium size telescopes) in a given date/time and place.
Matt Layman: Configurama - Building SaaS #36
2019-10-30 00:00:00
No <p> found.
Zero-with-Dot (Oleg ƻero): Colaboratory + Drive + Github -> the workflow made simpler
2019-10-29 23:00:00
This post is a continuation of our earlier attempt to make the best of the two worlds, namely Google Colab and Github. In short, we tried to map the usage of these tools in a typical data science workflow. Although we got it to work, the process had its drawbacks:
PyCoderâs Weekly: Issue #392 (Oct. 29, 2019)
2019-10-29 19:30:00
#392 â OCTOBER 29, 2019 View in Browser »
Real Python: Python Type Checking
2019-10-29 14:00:00
In this course, youâll learn about Python type checking. Traditionally, types have been handled by the Python interpreter in a flexible but implicit way. Recent versions of Python allow you to specify explicit type hints that can be used by different tools to help you develop your code more efficiently.
Stack Abuse: Coroutines in Python
2019-10-29 13:16:58
Every programmer is acquainted with functions - sequences of instructions grouped together as a single unit in order to perform predetermined tasks. They admit a single entry point, are capable of accepting arguments, may or may not have a return value, and can be called at any moment during a program's execution - including by other functions and themselves.
Robin Wilson: Five new-ish Python things â Part 1
2019-10-29 09:53:00
I keep gathering links of interesting Python things Iâve seen around the internet: new packages, good tutorials, and so on â and so I thought Iâd start a series where I share them every so often.
Samuel Sutch: Elements of Programming Interviews in Python: The Insidersâ Guide
2019-10-29 09:33:52
Price: $35.96(as of Oct 29,2019 09:33:53 UTC â Details)
Talk Python to Me: #236 Scaling data science across Python and R
2019-10-29 08:00:00
Do you do data science? Imagine you work with over 200 data scientists. Many of whom have diverse backgrounds or have come from non-CS backgrounds. Some of them want to use Python. Others are keen to work with R.
Python Bytes: #154 Code, frozen in carbon, on display for all
2019-10-29 08:00:00
No summary found!
Python Insider: Python 3.5.8 is now available
2019-10-29 02:51:25
No <p> found.
Podcast.__init__: Building Quantum Computing Algorithms In Python
2019-10-29 02:05:00
Quantum computers are the biggest jump forward in processing power that the industry has seen in decades. As part of this revolution it is necessary to change our approach to algorithm design. D-Wave is one of the companies who are pushing the boundaries in quantum processing and they have created a Python SDK for experimenting with quantum algorithms. In this episode Alexander Condello explains what is involved in designing and implementing these algorithms, how the Ocean SDK helps you in that endeavor, and what types of problems are well suited to this approach.
Samuel Sutch: Python Programming: A Smart Approach For Absolute Beginners (A Step-by-Step Guide With 8 Days Crash Course)
2019-10-29 01:28:01
Price: $14.89(as of Oct 29,2019 01:28:01 UTC â Details)
Stack Abuse: Asynchronous Tasks Using Flask, Redis and Celery
2019-10-28 20:14:45
As web applications evolve and their usage increases, the use cases also diversify. We are now building and using websites for more complex tasks than ever before. Some of these tasks can be processed and feedback relayed to the users instantly, while others require further processing and relaying of results later. The increased adoption of internet access and internet-capable devices has led to increased end-user traffic.
Samuel Sutch: Hands-On GPU Programming with Python and CUDA: Explore high-performance parallel computing with CUDA
2019-10-28 19:22:02
Price: $44.99(as of Oct 28,2019 19:22:03 UTC â Details)
Reuven Lerner: Early-bird pricing for Weekly Python Exercise ends tomorrow
2019-10-28 17:24:56
My native language is English: I grew up speaking it at home and school, and itâs my preference when reading, writing, and speaking. I studied in US schools through 12 grade, and then got both a bachelorâs degree and a PhD at American universities. Iâve been writing for years, including 20 years as a columnist at Linux Journal. Am I fluent in English? Yes, Iâd say so. And yet, Iâm always reading tidbits about the history of English, how to speak more clearly, and how sharpen the language I use when writing.Why? Because fluency isnât a video game, in which you get a flashing sign saying, âAchievement unlocked: Youâre fluent!â No matter how fluent you currently are, there are ideas, techniques, and practices that you can still learn. You can always become better. How do you improve your fluency? The best way, of course, is practice. No matter how fluent you already are, more practice is always good. As the old saying goes, the best way to become a good writer is to write. And the best way to become a better speaker is to speak. And so forth. Whatâs true for English, and other languages, is true for programming languages, as well. If you want to be a better Python programmer, then you should be writing Python code, making mistakes, and learning from those mistakes. Better yet, you should be discussing your mistakes (and techniques) with others, so that you can compare ideas and techniques, and learn from your peers.This is the thinking that has driven my work with Weekly Python Exercise. Each of the six WPE courses is designed to help you become a more fluent programmer.A new advanced-level cohort is starting on November 5th. But tomorrow (Tuesday, October 29th) is the last day you can sign up for the early-bird price of $80. Hereâs what some people have said about previous cohorts of WPE, when asked what they thought:
Samuel Sutch: Python for Kids: A Playful Introduction to Programming
2019-10-28 15:15:27
Price: $19.79(as of Oct 28,2019 15:15:29 UTC â Details)
Real Python: Python Community Interview With Al Sweigart
2019-10-28 14:00:00
This week, Iâm joined by Al Sweigart, a familiar name in the Python community. Al is an accomplished developer, conference speaker, teacher, and origamist. (Yes, you read that correctly!) But some may know him best as the author of many Python programming books, including the bestselling book Automate the Boring Stuff with Python and our top pick, Invent Your Own Computer Games with Python. So, without any further ado, letâs get into it!
Samuel Sutch: Python Parallel Programming Cookbook: Over 70 recipes to solve challenges in multithreading and distributed system with Python 3, 2nd Edition
2019-10-28 13:14:46
Price: $39.99(as of Oct 28,2019 13:14:47 UTC â Details)
Python Sweetness: Operon: Extreme Performance For Ansible
2019-10-28 12:30:00
Chris Moffitt: Cleaning Up Currency Data with Pandas
2019-10-28 12:25:00
The other day, I was using pandas to clean some messy Excel data that included several thousand rows of inconsistently formatted currency values. When I tried to clean it up, I realized that it was a little more complicated than I first thought. Coincidentally, a couple of days later, I followed a twitter thread which shed some light on the issue I was experiencing. This article summarizes my experience and describes how to clean up messy currency fields and convert them into a numeric value for further analysis. The concepts illustrated here can also apply to other types of pandas data cleanup tasks.
TechBeamers Python: Python Zip
2019-10-28 09:47:51
This tutorial covers the following topic â Python Zip. It describes the syntax of the zip() function in Python. Also, it explains how the zip works and how to use it with the help of examples. The zip() function allows a variable number of arguments (0 or more), but all iterables. The data types like Python list, string, tuple, dictionary, set, etc. are all of the iterable types. It groups the corresponding elements of all input iterables to form tuples, consolidates, and returns as a single iterable. Letâs check out about the Python zip function in more detail. Zip() Function
TechBeamers Python: Python Add Two List Elements
2019-10-28 09:20:09
This tutorial covers the following topic â Python Add Two list Elements. It describes four unique ways to add the list items in Python. For example â using a for loop to iterate the lists, add corresponding elements, and store their sum at the same index in a new list. Some of the other methods you can use are using map() and zip() methods. All of these procedures use built-in functions in Python. However, while using the map(), youâll require the add() method, and zip() will need to be used with the sum() function. Both these routines are defined in
ListenData: Loan Amortisation Schedule using R and Python
2019-10-28 09:15:11
When you take a loan from bank at x% annual interest rate for N number of years. Bank calculates monthly (or quarterly) instalments based on the following factors :
Samuel Sutch: Python Programming: The Crash Course for Python â Learn the Secrets of Machine Learning, Data Science Analysis and Artificial Intelligence. Introduction to Deep Learning for Beginners
2019-10-28 07:10:27
Price: $17.38(as of Oct 28,2019 07:10:27 UTC â Details)
Mike Driscoll: PyDev of the Week: David Fischer
2019-10-28 05:05:14
This week we welcome David Fischer (@djfische) as our PyDev of the Week! David is an organizer of the San Diego Python userâs group. He also works for Read the Docs. You can see what David has been up to on his website or check out what heâs been up to on Github. Letâs take a few moments to get to know David better!
PyBites: Under the Hood: Python Comparison Breakdown
2019-10-27 22:20:00
PyBites community member fusionmuck asked an interesting question in the Slack channel recently:
Ned Batchelder: Debugging TensorFlow coverage
2019-10-27 21:14:00
It started with a coverage.py issue: Coverage not working for TensorFlow Model call function. A line in the code is executing, but coverage.py marks it as unexecuted. How could that be?
Python Diary: Deploying with Docker and uWSGI
2019-10-27 18:07:35
While I am not going to say that I am expert with Docker by any means. This is just an analysis and example on how I plan on deploying uWSGI containers within Docker containers. I highly recommend reading my previous article from today for some additional context on my thoughts behind docker. With that said, let's get started.
Python Diary: Python and Docker development
2019-10-27 17:20:53
As I will be starting a new full-time job soon which will be using Docker as their primary deployment technology, I thought this would be the best time to jump back into Docker to see what has changed over the years since I tried it last. It has definitely evolved into a much more useful product, and if used correctly in practice, it can be extremely powerful. Here are some bullet point use-cases for Docker I can think of:
Samuel Sutch: Python Geospatial Analysis Cookbook
2019-10-27 14:35:08
Price: $49.99(as of Oct 27,2019 14:35:09 UTC â Details)
Weekly Python StackOverflow Report: (cc) stackoverflow python report
2019-10-27 06:20:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-10-27 06:20:02 GMT
Brett Cannon: What it's like to be on the Python steering council
2019-10-27 01:36:46
Someone emailed the steering council recently to ask what it was like to be on it, presumably because nominations will be opening next month. Instead of sending a private response I figured I would write a blog post instead so others could know what it's like after 10 months on the inaugural council.
Samuel Sutch: Murachâs Python Programming
2019-10-26 22:15:33
Price: $44.38(as of Oct 26,2019 22:15:33 UTC â Details)
Samuel Sutch: Learn Robotics Programming: Build and control autonomous robots using Raspberry Pi 3 and Python
2019-10-26 06:03:33
Price: $39.99(as of Oct 26,2019 06:03:34 UTC â Details)
Catalin George Festila: Python 3.7.4 : About with the PyOpenCL python module.
2019-10-26 04:31:51
PyOpenCL lets you access GPUs and other massively parallel compute devices from Python.
It is important to note that OpenCL is not restricted to GPUs.
In fact, no special hardware is required to use OpenCL for computationâyour existing CPU is enough.
The documentation of this project can be found at this website.
Let's install the python module for python 3 version:
[mythcat@desk ~]$ pip3 install
tryexceptpass: Practical Log Viewers with Sanic and Elasticsearch - Designing CI/CD Systems
2019-10-26 04:00:00
One of the critical pieces in a build system is the ability to view build and test output. Not only does it track progress as the build transitions through the various phases, itâs also an instrument for debugging.
Samuel Sutch: Programming the Raspberry Pi, Second Edition: Getting Started with Python
2019-10-25 23:58:14
Price: $11.99(as of Oct 25,2019 23:58:15 UTC â Details)
Samuel Sutch: Coding for Kids: Python: Learn to Code with 50 Awesome Games and Activities
2019-10-25 21:52:24
Price: $13.53(as of Oct 25,2019 21:52:25 UTC â Details)
Stack Abuse: Time Series Prediction using LSTM with PyTorch in Python
2019-10-25 14:34:46
Time series data, as the name suggests is a type of data that changes with time. For instance, the temperature in a 24-hour time period, the price of various products in a month, the stock prices of a particular company in a year. Advanced deep learning models such as Long Short Term Memory Networks (LSTM), are capable of capturing patterns in the time series data, and therefore can be used to make predictions regarding the future trend of the data. In this article, you will see how to use LSTM algorithm to make future predictions using time series data.
Paolo Amoroso: How to Use Kivy on Repl.it
2019-10-25 13:44:45
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
Codementor: Why You Should Learn Several Programming Languages & Where to Learn Them
2019-10-25 09:52:14
We are living in an age of rapidly changing technology. With over 500 programming languages in use globally, it is a dynamic job market for developers. There are pros and cons of all the languages and their adoption is becoming more and more application-specific.
Mike Driscoll: Netflix Releases Polynote â A Polyglot Jupyter Notebook Variant
2019-10-24 21:16:41
Netflix announced that they are releasing a new piece of open source software that they are calling Polynote. Polynote is an IDE-inspired polyglot notebook that includes first-class Scala support, Python and SQL. Looking at the website, it appears to be built on top of Jupyter Notebook.
Red Hat Developers: Python 2 support is going away soon: Make the move to Python 3
2019-10-24 18:48:35
Seeing this tweet from Guido van Rossum the other day prompted me to write this âOMG, Python 2 is going away SOONâ article. You have definitely heard it before, but seriously, folks, the Python upstream community is ending support for Python 2 at the end of the year!
PyCharm: 2019.3 EAP 6
2019-10-24 16:30:13
The latest Early Access Program (EAP) version for PyCharm 2019.3 is now available! Try it now by downloading it from our website.
Django Weblog: 2020 DSF Board Nominations
2019-10-24 15:28:27
It is that time of year again to think about next yearâs Django Software Foundationâs Board of Directors!
DaPythonista: Sending Emails in Python â Tutorial with Code Examples
2019-10-24 14:26:03
What do you need to send an email with Python? Some basic programming and web knowledge along with the elementary Python skills. We assume youâve already had a web app built with this language and now you need to extend its functionality with notifications or other emails sending. This tutorial will guide you through the most essential steps of sending emails via an SMTP server.
Dataquest: Python Range Tutorial: Learn to Use This Helpful Built-In Function
2019-10-24 13:08:08
Python's range function is a great way to quickly generate a count of numbers within a range. Master this simple but powerful function in this tutorial.
Samuel Sutch: Automate the Boring Stuff with Python: Practical Programming for Total Beginners
2019-10-24 13:00:42
Price: $21.00(as of Oct 24,2019 13:00:43 UTC â Details)
Python Software Foundation: Chris Angelico: 2019 Q2 Community Service Award Winner
2019-10-24 07:30:05
No <p> found.
Samuel Sutch: Programming: 3 Manuscripts: Python Crash Course, Python Machine Learning and Python Data Science for Beginners
2019-10-24 06:53:32
Price: $24.99(as of Oct 24,2019 06:53:33 UTC â Details)
Kushal Das: Python function to generate Tor v3 onion service authentication keys
2019-10-24 04:39:34
Here is a small Python function using the amazing Python Cryptography module to generate the Tor v3 Onion service authentication services.
Roberto Alsina: Episodio 14: Tests & Bananas
2019-10-23 23:49:02
Una intro rapidita a unit tests. ÂżPor quĂ©? ÂżEs muy difĂcil? ÂżVale la pena? ÂżAĂșn si uno estĂĄ haciendo un programita asĂ nomĂĄs?
Continuum Analytics Blog: Introducing Remote Content Caching with FSSpec
2019-10-23 18:50:22
Fsspec is a library which acts as a common pythonic interface to many file system-like storage backends, such as remote (e.g., SSH, HDFS) and cloud (e.g., GCS, S3) services. In this article, we will presentâŠ
Samuel Sutch: Python Crash Course, 2nd Edition: A Hands-On, Project-Based Introduction to Programming
2019-10-23 18:31:44
Price: $27.68(as of Oct 23,2019 18:31:45 UTC â Details)
Dataquest: Python if else Tutorial: Control the Flow of Your Code
2019-10-23 17:31:26
When programming, controlling the flow of what code is run under what circumstance is extremely important. The Python if else commands act like a digital traffic cop, letting you define blocks of code that run when certain conditions are met. The if else syntax is one of the most important pieces of Python syntax that [âŠ]
Mike Driscoll: A Brief Intro to PySimpleGUI
2019-10-23 17:15:58
Creating graphical user interfaces (GUI) can be difficult. There are many different Python GUI toolkits to choose from. The top three that you are likely to see mentioned the most often are Tkinter, wxPython and PyQt (or PySide2). However there is a newer toolkit called PySimpleGUI that aims to make creating GUIs easier.
Real Python: Python and PyQt: Building a GUI Desktop Calculator
2019-10-23 14:00:00
Even as web and mobile applications appear to overtake the software development market, thereâs still a demand for traditional Graphical User Interface (GUI) desktop applications. For developers who are interested in building these kinds of applications in Python, there are a wide variety of libraries to choose from, including Tkinter, wxPython, PyQt, PySide2, and others. In this tutorial, youâll develop GUI desktop applications with Python and PyQt.
Reuven Lerner: Level up your coding skills with Weekly Python Exercise
2019-10-23 12:00:46
Most days, Iâm on-site at companies around the world, teaching various Python courses. And by far, the most common question that I get from students is: Once the course is over, how can I keep improving my Python skills?
Python Bytes: #153 Auto format my Python please!
2019-10-23 08:00:00
No summary found!
Talk Python to Me: #235 Python in your Browser with Skulpt
2019-10-23 08:00:00
Do you dream of a day when you can write Python in the browser rather than JavaScript? This is no pipe dream! There are several ways to write Python that runs in the browser already.
Matt Layman: Deploying WhiteNoise - Building SaaS #35
2019-10-23 00:00:00
No <p> found.
PyCoderâs Weekly: Issue #391 (Oct. 22, 2019)
2019-10-22 19:30:00
#391 â OCTOBER 22, 2019 View in Browser »
PyCharm: Webinar: âVisual SQL Development with PyCharmâ with Maxim Sobolevskiy
2019-10-22 15:24:03
We talk about visual debugging, visual testing, etc. But⊠visual databasing? Indeed, PyCharm embeds DataGrip, our IDE for SQL development.
PyCon: Startup Row PyCon US 2020 Applications are Open!
2019-10-22 14:36:52
No <p> found.
Real Python: Python Plotting With Matplotlib
2019-10-22 14:00:00
A picture is worth a thousand words, and with Pythonâs matplotlib library, it fortunately takes far less than a thousand words of code to create a production-quality graphic.
Django Weblog: Nominations for 2019 Malcolm Tredinnick Memorial Prize
2019-10-22 13:20:06
It is that time of year again when we recognize someone from our community in memory of our friend Malcolm.
NumFOCUS: NumFOCUS and Tidelift partner to support essential community-led open source data science and scientific computing projects
2019-10-22 13:00:20
The post NumFOCUS and Tidelift partner to support essential community-led open source data science and scientific computing projects appeared first on NumFOCUS.
S. Lott: State Change and NoSQL Databases
2019-10-22 08:00:01
No <p> found.
Tryton News: Tryton Spanish Days 2019: In Alicante on the 27th & 28th of November
2019-10-22 06:00:04
@pokoli wrote:
IslandT: Python array listâs count method
2019-10-22 03:53:05
In this example, we will use the count method from the Python array list to decide which phrase to return from a function that will accept an array list consists of good and bad ideas.
Podcast.__init__: Illustrating The Landscape And Applications Of Deep Learning
2019-10-22 02:04:37
Deep learning is a phrase that is used more often as it continues to transform the standard approach to artificial intelligence and machine learning projects. Despite its ubiquity, it is often difficult to get a firm understanding of how it works and how it can be applied to a particular problem. In this episode Jon Krohn, author of Deep Learning Illustrated, shares the general concepts and useful applications of this technique, as well as sharing some of his practical experience in using it for his work. This is definitely a helpful episode for getting a better comprehension of the field of deep learning and when to reach for it in your own projects.
Stack Abuse: Introduction to PyTorch for Classification
2019-10-21 14:33:52
PyTorch and TensorFlow libraries are two of the most commonly used Python libraries for deep learning. PyTorch is developed by Facebook, while TensorFlow is a Google project. In this article, you will see how the PyTorch library can be used to solve classification problems.
Real Python: Arduino With Python: How to Get Started
2019-10-21 14:00:00
Microcontrollers have been around for a long time, and theyâre used in everything from complex machinery to common household appliances. However, working with them has traditionally been reserved for those with formal technical training, such as technicians and electrical engineers. The emergence of Arduino has made electronic application design much more accessible to all developers. In this tutorial, youâll discover how to use Arduino with Python to develop your own electronic projects.
qutebrowser development blog: Current qutebrowser roadmap and next crowdfunding
2019-10-21 13:50:02
More than half a year ago, I posted a qutebrowser roadmap - I thought it's about time for an update on how things are looking at the moment!
Erik Marsja: Converting HTML to a Jupyter Notebook
2019-10-21 11:00:33
The post Converting HTML to a Jupyter Notebook appeared first on Erik Marsja.
Anwesha Das: CopyleftConf 2020
2019-10-21 07:12:38
A week before Software Freedom Conservancy had announced the CopyleftConf 2020. The conference is going to take place on 3 February 2020, Monday, in Brussels, Belgium.
Mike Driscoll: PyDev of the Week: Sophy Wong
2019-10-21 05:05:05
This week we welcome Sophy Wong (@sophywong) as our PyDev of the Week! Sophy is a maker who uses Circuit Python for creating wearables. She is also a writer and speaker at Maker events. You can see some of her creations on her Youtube Channel or her website. Letâs take a few moments to get to know her better!
Go Deh: Indent datastructure for trees
2019-10-20 17:46:26
No <p> found.
Kushal Das: tarted a newsletter
2019-10-20 11:31:38
I started a newsletter, focusing on different stories I read about privacy, security, programming in general. Following the advice from Martijn Grooten, I am storing all the interesting links I read (for many months). I used to share these only over Twitter, but, as I retweet many things, it was not easy to share a selected few.
Kushal Das: Started a newsletter
2019-10-20 11:31:38
I started a newsletter, focusing on different stories I read about privacy, security, programming in general. Following the advice from Martijn Grooten, I am storing all the interesting links I read (for many months). I used to share these only over Twitter, but, as I retweet many things, it was not easy to share a selected few.
Test and Code: 92: 9 Steps to Crater Quality & Destroy Customer Satisfaction - Cristian Medina
2019-10-20 07:00:00
Cristian Medina wrote an article recently called "Test Engineering Anti-Patterns: Destroy Your Customer Satisfaction and Crater Your Quality By Using These 9 Easy Organizational Practices"
Catalin George Festila: Python 3.7.4 : Usinge pytesseract for text recognition.
2019-10-20 01:47:12
About this python module named tesseract, you can read here.
I tested with the tesseract tool install on my Fedora 30 distro and python module pytesseract version 0.3.0.
[root@desk mythcat]# dnf install tesseract
Last metadata expiration check: 0:24:18 ago on Sun 20 Oct 2019 10:56:23 AM EEST.
Package tesseract-4.1.0-1.fc30.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Weekly Python StackOverflow Report: (cxcix) stackoverflow python report
2019-10-19 19:07:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-10-19 19:07:13 GMT
Python Insider: Python 2.7.17 released
2019-10-19 18:38:25
No <p> found.
TechBeamers Python: Python Add Lists
2019-10-19 16:10:55
This tutorial covers the following topic â Python Add lists. It describes various ways to join/concatenate/add lists in Python. For example â simply appending elements of one list to the tail of the other in a for loop, or using +/* operators, list comprehension, extend(), and itertools.chain() methods. Most of these techniques use built-in constructs in Python. However, the one, itertools.chain() is a method defined in the itertools module. You must also see which of these ways is more suitable in your scenario. After going through this post, you can evaluate their performance in case of large lists. By the
Roberto Alsina: Episodio 13: Python 3.8
2019-10-18 18:00:11
¿Qué trae de nuevo Python 3.8? Un montón de cosas, pero hay 2 en particular que afectan / mejoran / resuelven temas que me molestan desde hace ¥Mås de 10 años!
Dataquest: Python Projects for Beginners: The Best Way to Learn
2019-10-18 17:13:12
Learning Python can be difficult. You can spend time reading a textbook or watching videos, but then struggle to actually put what you've learned into practice. Or you might spend a ton of time learning syntax and get bored or lose motivation. How can you increase your chances of success? By building Python projects. That way [âŠ]
Paolo Amoroso: Hello, Planet Python!
2019-10-18 15:22:03
This post by Paolo Amoroso was published on Moonshots Beyond the Cloud.
Stories in My Pocket: PyCon 2019: The People of PyCon
2019-10-18 13:48:24
There have been a few thoughts about PyCon US 2019 that have been bouncing around my head, wanting to come out. Today, I want to talk about the opportunity to meet your Python heros, and why you should start planning on attending next year.
Moshe Zadka: An introduction to zope.interface
2019-10-18 03:00:00
This has previously been published on opensource.com.
PyCharm: Webinar Recording: âReact+TypeScript+TDD in PyCharmâ
2019-10-17 14:49:50
Yesterday we had our webinar on React, TypeScript, and Test-Driven Development (TDD.) AndâŠwe had a special guest! Ekaterina Prigara, PMM for WebStorm, co-hosted and fielded most of the questions. Which was lucky for us: she really-really-really knows not just our IDEâs web development story, but all of these crazy technologies in the world of JavaScript.
IslandT: Find the first non-consecutive number with Python
2019-10-17 14:21:26
Your task is to find the first element of an array that is not consecutive.
Abhijeet Pal: Using PostgreSQL with Django
2019-10-17 11:51:06
Django is a high level full-stack open-source web framework written in Python, that encourages rapid development and clean, pragmatic design.
py.CheckIO: TOP 5 Software Failures of 2018â2019 (#5 is pretty alarming)
2019-10-17 11:14:32
No summary found!
Abhijeet Pal: Creating A Super User In Django
2019-10-17 07:10:46
Djangoâs prominent feature is the admin interface, which makes it stand out from the competition. It is a built-in app that automatically generates a user interface to add and modify a siteâs content.
Janusworx: Multiple Slugs for Multiple Webpages in Nikola
2019-10-17 04:09:44
Hereâs a delightful little thing I discovered, using Nikola today.
Wingware Blog: Using Matplotlib with Wing 7
2019-10-17 01:00:00
Wing supports interactive development and debugging of Python code designed for the Matplotlib numerical and scientific plotting library, so plots can be shown and updated from the command line. For example, two plots could be shown in succession by typing the following into Wing's Python Shell, one line at a time:
Roberto Alsina: Episodio 12: Buen Gusto
2019-10-16 23:00:11
Enfrentado a un problema, uno de los criterios para buscar la solución es el misterioso "que sea pitónico". ¿Qué es eso? ¿Vale la pena usar algo mås lindo pero 12 veces mås lento? ¿Y cómo sé eso? ¿Puedo mejorarlo? ¿Y si es 2 veces mås lento nomås?
Full Stack Python: Basic Data Types in Python 3: Strings
2019-10-16 21:40:32
There is a lot to learn on your Python journey when you are new to the programming language. Once you are comfortable writing and executing code, your first stop becomes understanding how to represent data in your code. No matter the language, there are a few basic data types you'll use all the time - strings, numbers, booleans, lists, and dictionaries.
Anarcat: Theory: average bus factor = 1
2019-10-16 19:21:54
Two articles recently made me realize that all my free software projects basically have a bus factor of one. I am the sole maintainer of every piece of software I have ever written that I still maintain. There are projects that I have been the maintainer of which have other maintainers now (most notably AlternC, Aegir and Linkchecker), but I am not the original author of any of those projects.
Stories in My Pocket: PyCon 2019: Open Spaces
2019-10-16 16:48:03
There have been a few thoughts about PyCon US 2019 that have been bouncing around my head, wanting to come out. Today, I want to talk about PyCon's Open Spaces, and why you should start planning on attending next year.
Real Python: Python sleep(): How to Add Time Delays to Your Code
2019-10-16 14:00:00
Have you ever needed to make your Python program wait for something? Most of the time, youâd want your code to execute as quickly as possible. But there are times when letting your code sleep for a while is actually in your best interest.
Continuum Analytics Blog: What Can AI Teach Us about Bias and Fairness?
2019-10-16 13:30:16
By: Peter Wang & Natalie Parra-Novosad As researchers, journalists, and many others have discovered, machine learning algorithms can deliver biased results. One notorious example is ProPublicaâs discovery of bias in a software called COMPAS usedâŠ
Catalin George Festila: Python 3.7.4 : Test the DHCP handshakes.
2019-10-16 12:03:07
First, the DHCP is based on the earlier BOOTP protocol which uses well-known port numbers for both server and client instead of an ephemeral port. The server and the client communicate via broadcast and the server broadcasts the offered IP address to the client on UDP port 68.
This python example has a learning purpose and does not harm anyone.
import subprocess as sub
import re
def find_word(w
Test and Code: 91: Python 3.8 - there's a lot more new than most people are talking about
2019-10-16 07:15:00
Python 3.8.0 final is live and ready to download.
Hynek Schlawack: Sharing Your Labor of Love: PyPI Quick and Dirty
2019-10-16 00:00:00
A completely incomplete guide to packaging a Python module and sharing it with the world on PyPI.
PyCoderâs Weekly: Issue #390 (Oct. 15, 2019)
2019-10-15 19:30:00
#390 â OCTOBER 15, 2019 View in Browser »
Python Insider: Python 3.7.5 is now available
2019-10-15 16:05:46
No <p> found.
Roberto Alsina: Episodio 11: Type Hints
2019-10-15 15:00:11
¿Qué son los Type Hints en Python? ¿Para qué sirven? ¿Cómo se usan?
Red Hat Developers: What’s new in Red Hat Dependency Analytics
2019-10-15 14:52:15
We are excited to announce a new release of Red Hat Dependency Analytics, a solution that enables developers to create better applications by evaluating and adding high-quality open source components, directly from their IDE.
Abhijeet Pal: Creating Comments System With Django
2019-10-15 14:35:56
In this tutorial, we will build a basic commenting system for a Django 2.X app, which lets readers add comments on posts.
Catalin George Festila: Python 3.8.0 : New release of python development.
2019-10-15 14:04:49
Good news from the python development area with the new release of python development:
Python 3.7.5 Oct. 15, 2019 and Python 3.8.0 Oct. 14, 2019
Now you can use the new python version 3.8.0 from the official webpage.
Major new features of the 3.8 series, compared to 3.7 - release Date: Oct. 14, 2019:
PEP 572, Assignment expressions
PEP 570, Positional-only arguments
PEP 587, Python
Real Python: The Python range() Function
2019-10-15 14:00:00
Pythonâs built-in range function is handy when you need to perform an action a specific number of times. As an experienced Pythonista, youâve most likely used it before. But what does it do?
Stack Abuse: Uploading Files to AWS S3 with Python and Django
2019-10-15 12:24:00
In the quest to build more interactive websites, we don't only relay information to users but also allow them to upload data of their own. This opens up more opportunities and more ways that our websites can serve the end-users.
Catalin George Festila: Python 3.7.4 : Testing python source code with streamlit tool.
2019-10-15 11:25:26
The official webpage for this python package can be found at streamlit.io.
Let's install it with pip3 tool:
[mythcat@desk proiecte_github]$ mkdir streamlit_examples
[mythcat@desk proiecte_github]$ cd streamlit_examples/
[mythcat@desk streamlit_examples]$ pip3 install streamlit --user
Let's try some examples.
Create a file named 001.py
This simple example will show a map with randoms spots:
import
Julien Danjou: Sending Emails in Python â Tutorial with Code Examples
2019-10-15 10:33:00
What do you need to send an email with Python? Some basic programming and web knowledge along with the elementary Python skills. I assume youâve already had a web app built with this language and now you need to extend its functionality with notifications or other emails sending. This tutorial will guide you through the most essential steps of sending emails via an SMTP server:
S. Lott: Apple's Numbers and the All-in-One CSV export
2019-10-15 08:00:00
No <p> found.
Talk Python to Me: #234 Awesome Python Applications
2019-10-15 08:00:00
Have you heard of awesome lists? They are well, pretty awesome! Gathering up the most loved libraries and packages for a given topic.
Python Bytes: #152 You have 35 million lines of Python 2, now what?
2019-10-15 08:00:00
No summary found!
Matt Layman: Publish to DEV automatically with GitHub Actions
2019-10-15 00:00:00
No <p> found.
Vladimir Iakolev: Analysing music habits with Spotify API and Python
2019-10-14 23:55:00
Podcast.__init__: Andrew's Adventures In Coderland
2019-10-14 23:40:20
Software development is a unique profession in many ways, and it has given rise to its own subculture due to the unique sets of challenges that face developers. Andrew Smith is an author who is working on a book to share his experiences learning to program, and understand the impact that software is having on our world. In this episode he shares his thoughts on programmer culture, his experiences with Python and other language communities, and how learning to code has changed his views on the world. It was interesting getting an anthropological perspective from a relative newcomer to the world of software.
Continuum Analytics Blog: Announcing Anaconda Distribution 2019.10
2019-10-14 20:56:20
We are pleased to announce the release of Anaconda Distribution 2019.10! As there were some significant changes in the previous Anaconda Distribution 2019.07 installers, this release focuses on polishing up rough edges in that releaseâŠ
PyPy Development: PyPy v7.2 released
2019-10-14 19:46:10
No <p> found.
Python Insider: Python 3.8.0 is now available
2019-10-14 16:45:59
No <p> found.
Real Python: Cool New Features in Python 3.8
2019-10-14 14:00:00
The newest version of Python is released! Python 3.8 has been available in beta versions since the summer, but on October 14th, 2019 the first official version is ready. Now, we can all start playing with the new features and benefit from the latest improvements.
Kushal Das: Unoon, a tool to monitor network connections from my system
2019-10-14 13:46:58
I always wanted to have a tool to monitor the network connections from my laptop/desktop. I wanted to have alerts for random processes making network connections, and a way to block those (if I want to).
Chris Moffitt: Binning Data with Pandas qcut and cut
2019-10-14 12:25:00
When dealing with continuous numeric data, it is often helpful to bin the data into multiple buckets for further analysis. There are several different terms for binning including bucketing, discrete binning, discretization or quantization. Pandas supports these approaches using the cut and qcut functions. This article will briefly describe why you may want to bin your data and how to use the pandas functions to convert continuous data to a set of discrete buckets. Like many pandas functions, cut and qcut may seem simple but there is a lot of capability packed into those functions. Even for more experience users, I think you will learn a couple of tricks that will be useful for your own analysis.
Django Weblog: Django 3.0 beta 1 released
2019-10-14 10:24:29
Django 3.0 beta 1 is now available. It represents the second stage in the 3.0 release cycle and is an opportunity for you to try out the changes coming in Django 3.0.
Codementor: What's New in Odoo 13?
2019-10-14 07:05:51
new features in odoo13, odoo13 features, odoo developer
Mike Driscoll: PyDev of the Week: Elana Hashman
2019-10-14 05:05:11
This week we welcome Elana Hashman (@ehashdn) as our PyDev of the Week! Elana is a director of the Open Source Initiative and a fellow of the Python Software Foundation. She is also the Clojure Packaging Team lead and a Java Packaging Team member. You can see some of her work over on Github. You can also learn more about Elana on her website. Letâs take a few moments to get to know her better!
tryexceptpass: Painless Status Reporting in GitHub Pull Requests - Designing CI/CD Systems
2019-10-14 04:00:00
Continuing the build service discussion from the Designing CI/CD Systems series, weâre now at a good point to look at reporting status as code passes through the system.
Terry Jones: Daudin – a Python shell
2019-10-13 22:12:24
A few nights ago I wrote daudin, a command-line shell based on Python. It allows you to easily mix UNIX and Python on the command line.
Zero-with-Dot (Oleg ƻero): Top three mistakes with K-Means Clustering during data analysis
2019-10-13 22:00:00
In this post, we will take a look at a few cases, where KMC algorithm does not perform well or may produce unintuitive results. In particular, we will look at the following scenarios:
Glyph Lefkowitz: Mac Python Distribution Post Updated for Catalina and Notarization
2019-10-13 21:10:00
I previously wrote a post about shipping a PyGame app to users on macOS. Itâs now substantially updated for the new Notarization requirements in Catalina. I hope itâs useful to somebody!
PyCharm: Webinar Preview: âClass Components With Propsâ tutorial step for React+TS+TDD
2019-10-13 20:50:25
As a reminder⊠this Wednesday (Oct 16) Iâm giving a webinar on React+TypeScript+TDD in PyCharm. Iâm doing some blog posts about material that will be covered.
Erik Marsja: How to Read SAS Files in Python with Pandas
2019-10-13 19:24:10
The post How to Read SAS Files in Python with Pandas appeared first on Erik Marsja.
Mike Driscoll: Thousands of Scientific Papers May be Invalid Due to Misunderstanding Python
2019-10-13 12:16:10
It was recently discovered that several thousand scientific articles could be invalid in their conclusions because scientists did not understand that Pythonâs glob.glob() does not return sorted results.
TechBeamers Python: How to Convert Python String to Int and Back to String
2019-10-13 12:10:09
This tutorial describes various ways to convert Python string to int and from an integer to string. You may often need to perform such operations in day to day programming. Hence, you should know them to write better programs. Also, an integer can be represented in different bases, so weâll explain that too in this post. And there happen to be scenarios where conversion fails. Hence, you should consider such cases as well and can find a full reference given here with examples. By the way, it will be useful if you have some elementary knowledge about the Python data
Weekly Python StackOverflow Report: (cxcviii) stackoverflow python report
2019-10-12 20:55:00
No <p> found.
Learn PyQt: Plotting in PyQt5 â Using PyQtGraph to create interactive plots in your apps
2019-10-12 13:38:18
One of the major strengths of Python is in exploratory data science and visualization, using tools such as Pandas, numpy, sklearn for data analysis and matplotlib plotting. Buiding GUI applications with PyQt gives you access to all these Python tools directly from within your app, allowing you to build complex data-driven apps and interactive dashboards.
PyCharm: Webinar Preview: âSharing Props Using Type Informationâ tutorial step for React+TS+TDD
2019-10-12 12:51:38
As a reminder⊠next Wednesday (Oct 16) Iâm giving a webinar on React+TypeScript+TDD in PyCharm. Iâm doing some blog posts about material that will be covered.
Python Insider: Python 3.5.8rc2 is now available
2019-10-12 08:07:29
No <p> found.
PyCharm: Webinar Preview: âFunctional React Components in TypeScriptâ tutorial step for React+TS+TDD
2019-10-11 20:03:54
As a reminder⊠next Wednesday (Oct 16) Iâm giving a webinar on React+TypeScript+TDD in PyCharm. Iâm doing some blog posts about material that will be covered.
Roberto Alsina: Episodio 10: Una LĂnea
2019-10-11 18:00:11
Una lĂnea. EstĂĄs viendo cĂłdigo y te cruzĂĄs con una lĂnea que ... Âżque miĂ©rcoles es esa lĂnea? ÂżCon quĂ© se come? ÂżQuĂ© se hace?
PyCharm: Webinar Preview: âDebugging During Testingâ tutorial steps for React+TS+TDD
2019-10-11 13:24:33
As a reminder⊠next Wednesday (Oct 16) Iâm giving a webinar on React+TypeScript+TDD in PyCharm. Iâm doing some blog posts about material that will be covered.
Stack Abuse: Autoencoders for Image Reconstruction in Python and Keras
2019-10-11 12:10:00
Nowadays, we have huge amounts of data in almost every application we use - listening to music on Spotify, browsing friend's images on Instagram, or maybe watching an new trailer on YouTube. There is always data being transmitted from the servers to you.
Test and Code: 90: Dynamic Scope Fixtures in pytest 5.2 - Anthony Sottile
2019-10-11 07:00:00
pytest 5.2 was just released, and with it, a cool fun feature called dynamic scope fixtures. Anthony Sottile so tilly is one of the pytest core developers, so I thought it be fun to have Anthony describe this new feature for us.
Dataquest: How to Analyze Survey Data with Python for Beginners
2019-10-10 20:31:50
Learn to analyze and filter survey data, including multi-answer multiple choice questions, using Python in this beginner tutorial for non-coders!
Continuum Analytics Blog: How to Restore Anaconda after Update to MacOS Catalina
2019-10-10 20:30:15
MacOS Catalina was released on October 7, 2019, and has been causing quite a stir for Anaconda users. Apple has decided that Anacondaâs default install location in the root folder is not allowed. It movesâŠ
PyCharm: 2019.3 EAP 5
2019-10-10 18:33:21
A new version of the Early Access Program (EAP) for PyCharm 2019.3 is available now! Download it from our website.
PyCharm: Webinar Preview: âStarting Testingâ tutorial step for React+TS+TDD
2019-10-10 15:26:59
As a reminder⊠next Wednesday (Oct 16) Iâm giving a webinar on React+TypeScript+TDD in PyCharm. Iâm doing some blog posts about material that will be covered.
Catalin George Festila: Python 3.7.4 : Testing the PyUSB python module.
2019-10-10 13:10:26
This python module named PyUSB can be found at pypi website.
[mythcat@desk scripts]$ pip3 install pyusb --user
Collecting pyusb
...
Successfully installed pyusb-1.0.2Let' see some usb device with lsusb command:
[mythcat@desk scripts]$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004:
PyCon: PyCon US 2020 Hatchery Program Launches Call for Proposals
2019-10-10 09:56:55
No <p> found.
Talk Python to Me: #233 The Masonite Python Web Framework
2019-10-10 08:00:00
Folks, it's not like the old days where there were just a couple of web frameworks for building apps with Python. These days there are many. One of those frameworks is the Masonite web framework created by Joseph Mancuso. Joseph is here today to tell us all about Masonite, what makes it special, it's core value proposition for web developers and much more.
Python Bytes: #151 Certified! It works on my machine
2019-10-10 08:00:00
No summary found!
Wingware Blog: Python Code Warnings in Wing Pro 7
2019-10-10 01:00:00
Wing Pro 7 introduced an improved code warnings system that flags likely errors as you work on Python code, using both Wing's built-in static analysis system and (optionally) external code checkers like Pylint, pep8, and mypy. Likely problems are indicated on the editor and listed in the Code Warnings tool:
Real Python: Emacs: The Best Python Editor?
2019-10-09 17:41:47
Finding the right code editor for Python development can be tricky. Many developers explore numerous editors as they grow and learn. To choose the right code editor, you have to start by knowing which features are important to you. Then, you can try to find editors that have those features. One of the most feature-rich editors available is Emacs.
Continuum Analytics Blog: Anaconda Enters a New Chapter
2019-10-09 15:54:53
Today I am excited to announce that I am stepping into the role of CEO at Anaconda. Although I am a founder of the company and have previously served as president, this marks the firstâŠ
PyCon: Financial Aid Launches for PyCon US 2020!
2019-10-09 15:28:23
No <p> found.
Stack Abuse: Python for NLP: Neural Machine Translation with Seq2Seq in Keras
2019-10-09 12:02:00
This is the 22nd article in my series of articles on Python for NLP. In one of my previous articles on solving sequence problems with Keras, I explained how to solve many to many sequence problems where both inputs and outputs are divided over multiple time-steps. The seq2seq architecture is a type of many-to-many sequence modeling, and is commonly used for a variety of tasks such as Text-Summarization, chatbot development, conversational modeling, and neural machine translation, etc.
IslandT: Find the position of the only odd number within a list with Python
2019-10-09 01:50:47
In this example, we will write a python function that will return the position of the only odd number within the number list. If there is no odd number within that list then the function will return -1 instead.
Ned Batchelder: Pytest-cov support for who-tests-what
2019-10-08 23:14:09
Iâve added a new option to the pytest-cov coverage plugin for pytest: --cov-context=test will set the dynamic context based on pytest test phases. Each test has a setup, run, and teardown phase. This gives you the best test information in the coverage database:
PyBites: PyCon ES 2019 Alicante Highlights
2019-10-08 22:55:00
Last weekend it was Pycon time again, my 6th one so far. This time closer to home: Alicante.
Python Engineering at Microsoft: Python in Visual Studio Code â October 2019 Release
2019-10-08 21:58:05
We are pleased to announce that the October 2019 release of the Python Extension for Visual Studio Code is now available. You canâŻdownload the Python extensionâŻfrom the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code in the documentation. Â
Python Engineering at Microsoft: Announcing Support for Native Editing of Jupyter Notebooks in VS Code
2019-10-08 21:51:48
With todayâs October release of the Python extension, weâre excited to announce the support of native editing of Jupyter notebooks inside Visual Studio Code! You can now directly edit .ipynb files and get the interactivity of Jupyter notebooks with all of the power of VS Code. You can manage source control, open multiple files, and leverage productivity features like IntelliSense, Git integration, and multi-file management, offering a brand-new way for data scientists and developers to experiment and work with data efficiently. You can try out this experience today by downloading the latest version of the Python extension and creating/opening a Jupyter Notebook inside VS Code.
Python Insider: Python 2.7.17 release candidate 1 available
2019-10-08 21:24:34
No <p> found.
PyPy Development: PyPy's new JSON parser
2019-10-08 19:45:39
No <p> found.
PyCoderâs Weekly: Issue #389 (Oct. 8, 2019)
2019-10-08 19:30:00
#389 â OCTOBER 8, 2019 View in Browser »
Python Circle: 5 lesser used Django template tags
2019-10-08 16:45:54
rarely used Django template tags, lesser-known Django template tags, 5 awesome Django template tags, Fun with Django template tags,
Python Circle: Solving Python Error- KeyError: 'key_name'
2019-10-08 16:45:54
Solving KeyError in python, How to handle KeyError in python dictionary, Safely accessing and deleting keys from python dictionary, try except Key error in Python
Anarcat: Tip of the day: batch PDF conversion with LibreOffice
2019-10-08 16:28:09
Someone asked me today why they couldn't write on the DOCX document they received from a student using the pen in their Onyx Note Pro reader. The answer, of course, is that while the Onyx can read those files, it can't annotate them: that only works with PDFs.
Codementor: Python-compatible IDEs: What is It and Why Do You Need It?
2019-10-08 15:14:22
There is no better way to build in Python than by using an IDE (Integrated Development Environment). They not only make your work much easier as well as logical; they also enhance the coding...
PyCharm: Webinar Preview: Project Setup for React+TS+TDD
2019-10-08 14:33:29
Next Wednesday (Oct 16) Iâm giving a webinar on React+TypeScript+TDD in PyCharm. Letâs give a little background on the webinar and spotlight one of the first parts covered.
Real Python: Get Started With Django: Build a Portfolio App
2019-10-08 14:00:00
Django is a fully featured Python web framework that can be used to build complex web applications. In this course, youâll jump in and learn Django by example. Youâll follow the steps to create a fully functioning web application and, along the way, learn some of the most important features of the framework and how they work together.
PyBites: Linting with Flake8
2019-10-08 13:45:35
For so long the word "Linting" meant nothing to me. It sounded like some supercoder leet speak that was way out of my league. Then I discovered flake8 and realised I was a fool.
Stack Abuse: Getting Started with Python PyAutoGUI
2019-10-08 12:34:00
In this tutorial, we're going to learn how to use pyautogui library in Python 3. The PyAutoGUI library provides cross-platform support for managing mouse and keyboard operations through code to enable automation of tasks. The pyautogui library is also available for Python 2; however, we will be using Python 3 throughout the course of this tutorial.
Rene Dudfield: post modern C tooling - draft 5
2019-10-08 12:23:52
No <p> found.
Robin Wilson: Easily hiding items from the legend in matplotlib
2019-10-08 10:32:29
When producing some graphs for a client recently, I wanted to hide some labels from a legend in matplotlib. I started investigating complex arguments to the plt.legend function, but it turned out that there was a really simple way to do itâŠ
Codementor: How I access Microsoft SharePoint in my Python scripts
2019-10-08 08:29:15
Python & SharePoint might seem like a odd combination, but you can get useful information out of SharePoint by using a simple Python script.
S. Lott: Spreadsheet Regrets
2019-10-08 08:00:06
No <p> found.
Wingware News: Wing Python IDE 7.1.2 - October 8, 2019
2019-10-08 01:00:00
Wing 7.1.2 adds a How-To for using Wing with Docker, allows disabling code warnings from the tooltip displayed over the editor, adds support for macOS 10.15 (Catalina), supports code folding in JSON files, adds optional word wrapping for output in the Testing tool, and fixes about 25 minor usability issues.
Podcast.__init__: Network Automation At Enterprise Scale With Python
2019-10-08 00:45:04
Designing and maintaining enterprise networks and the associated hardware is a complex and time consuming task. Network automation tools allow network engineers to codify their workflows and make them repeatable. In this episode Antoine Fourmy describes his work on eNMS and how it can be used to automate enterprise grade networks. He explains how his background in telecom networking led him to build an open source platform for network engineers, how it is architected, and how you can use it for creating your own workflows. This is definitely worth listening to as a way to gain some appreciation for all of the work that goes on behind the scenes to make the internet possible.
Dataquest: Tutorial: Getting Music Data with the Last.fm API using Python
2019-10-07 20:12:56
APIs allow us to make requests from servers to retrieve data. APIs are useful for many things, but one is to be able to create a unique dataset for a data science project. In this tutorial, weâre going to learn some advanced techniques for working with the Last.fm API. In our beginner Python API tutorial, [âŠ]
Codementor: Choosing Python for Web Development: Top 16 Pros and Cons
2019-10-07 15:44:57
Did you know that Python was named after Monty Python?
One of the worldâs most popular coding languages (https://stackoverflow.blog/2017/09/06/incredible-growth-python/), Python was first...
Real Python: Building a Python C Extension Module
2019-10-07 14:00:00
There are several ways in which you can extend the functionality of Python. One of these is to write your Python module in C or C++. This process can lead to improved performance and better access to C library functions and system calls. In this tutorial, youâll discover how to use the Python API to write Python C extension modules.
Catalin George Festila: Python 3.7.4 : Example with subprocess - part 001.
2019-10-07 13:16:00
This is a simple example with the python 3 subprocess package.
The source code is simple to understand.
The execute_proceess_with_communicate let run the ls command with the sudo user permissions:
import os
import sys
import string
import subprocess
import codecs
inp = ''
cmd = 'ls'
password = ''
def execute_proceess_with_communicate(inp):
"""Return a list of hops from traceroute command.""
Ned Batchelder: Sponsor me on GitHub?
2019-10-07 12:52:13
tl;dr: You can sponsor me on GitHub, but Iâm not sure why you would.
Julien Danjou: Python and fast HTTP clients
2019-10-07 09:30:00
Nowadays, it is more than likely that you will have to write an HTTP client for your application that will have to talk to another HTTP server. The ubiquity of REST API makes HTTP a first class citizen. That's why knowing optimization patterns are a prerequisite.
Glyph Lefkowitz: The Numbers, They Lie
2019-10-07 06:25:00
Itâs October, and weâre all getting ready for Halloween, so allow me to me tell you a horror story, in Python:
Mike Driscoll: PyDev of the Week: Paul Ivanov
2019-10-07 05:05:35
This week we welcome Paul Ivanov (@ivanov) as our PyDev of the Week! Paul is a core developer of IPython and Jupyter. He is also an instructor at Software Carpentry. You can learn more about Paul on his website. You can also see what heâs been up to in open source by visiting his Github profile. Letâs take some time to get to know Paul!
Quansight Labs Blog: Quansight Labs Work Update for September, 2019
2019-10-07 05:00:00
As of November, 2018, I have been working at Quansight. Quansight is a new startup founded by the same people who started Anaconda, which aims to connect companies and open source communities, and offers consulting, training, support and mentoring services. I work under the heading of Quansight Labs. Quansight Labs is a public-benefit division of Quansight. It provides a home for a "PyData Core Team" which consists of developers, community managers, designers, and documentation writers who build open-source technology and grow open-source communities around all aspects of the AI and Data Science workflow.
Brad Lucas: Book Squire Is Ten Years Old
2019-10-07 04:00:00
While releasing a new version of Book Squire the other day I realized that Book Squire is ten years old. What first started as a quickly developed application to solve a personal need has grown into one of my longest running applications.
Amjith Ramanujam: Examples are Awesome
2019-10-07 02:15:10
There are two things I look for whenever I check out an Opensource project or library that I want to use.
Calvin Spealman: Announcing Feet, a Python Runner
2019-10-06 23:52:10
No <p> found.
Anarcat: Calibre replacement considerations
2019-10-06 19:27:03
TL;DR: I'm considering replacing those various Calibre compnents with...
Rene Dudfield: post modern C tooling - draft 4
2019-10-06 19:23:37
No <p> found.
Catalin George Festila: Python Qt5 - the drag and drop feature.
2019-10-06 05:04:14
Today I tested drag and drop feature with PyQt5.
Python 3.7.4 (default, Jul 9 2019, 16:32:37)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linuxThis is a simple example using setAcceptDrops and setDragEnabled:
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QListWidget, QHBoxLayout,QListWidgetItem
from PyQt5.QtGui import QIcon
class Window(QWidget):
def __init__(self):
Full Stack Python: How to Add Maps to Django Web App Projects with Mapbox
2019-10-06 04:00:00
Building interactive maps into a Django web application can seem daunting if you do not know where to begin, but it is easier than you think if you use a developer tool such as Mapbox.
Weekly Python StackOverflow Report: (cxcvii) stackoverflow python report
2019-10-05 20:57:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-10-05 20:56:58 GMT
Glyph Lefkowitz: A Few Bad Apples
2019-10-05 18:32:00
Iâm a little annoyed at my Apple devices right now.
Python Bytes: #150 Winning the Python software interview
2019-10-05 08:00:00
No summary found!
PyBites: Code Challenge 64 - PyCon ES 2019 Marvel Challenge
2019-10-04 20:00:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
Codementor: A concise resource repository for machine learning!
2019-10-04 19:17:59
A concise repository of machine learning bookmarks.
Rene Dudfield: post modern C tooling - draft 3
2019-10-04 15:39:00
No <p> found.
Codementor: Getting to Know Go, Python, and Benchmarks
2019-10-04 14:48:32
This article was written by Vadym Zakovinko (Solution Architect) for Django Stars (https://djangostars.com).
Hello, my name is Vadym, and this is my story about how I started learning Go, what it...
Stack Abuse: Solving Systems of Linear Equations with Python's Numpy
2019-10-04 12:57:00
The Numpy library can be used to perform a variety of mathematical/scientific operations such as matrix cross and dot products, finding sine and cosine values, Fourier transform and shape manipulation, etc. The word Numpy is short-hand notation for "Numerical Python".
Codementor: Django vs Ruby on Rails: Web Frameworks Comparison
2019-10-04 11:26:16
There are more than 90 web development frameworks out there. No wonder itâs hard to choose the one thatâll suit your project best. Still, there are at least two major frameworks that are widely...
Talk Python to Me: #232 Become a robot developer with Python
2019-10-04 08:00:00
When you think about the types of jobs you get as a Python developer, you probably weight the differences between data science and web development.
Vinta Software: PyGotham 2019: Talking Python in NY!
2019-10-03 19:47:44
We are arriving at New York! Part of our team is on their way to PyGotham 2019, the biggest event of the Python community in New York. The experience last year was amazing, so we decided to come back. We are also sponsoring it this year, so if you are going to the event make sure to stop by our booth, we are bringing lots of cool swags and some br
PyCharm: 2019.3 EAP 4
2019-10-03 14:11:09
This weekâs Early Access Program (EAP) for PyCharm 2019.3 is available now! Download it from our website.
Stack Abuse: File Management with AWS S3, Python, and Flask
2019-10-03 12:46:00
One of the key driving factors to technology growth is data. Data has become more important and crucial in the tools being built as technology advances. It has become the driving factor to technology growth, how to collect, store, secure, and distribute data.
Andrew Dalke: mmpdb crowdfunding consortium
2019-10-03 12:00:00
How can we raise money to fund open source software development in cheminformatics? It's a hard question. Asking for donations doesn't work â companies might not even have a mechanism to make donations. Consultant-based funding doesn't work that well either, because the cost of developing a general-purpose tool is several times more expensive than developing a tool which only meets the specialized needs of one client, and few clients are willing to subsidize the rest of the field. Proprietary software development solves the problem by getting many people to pay for the same product. Can we learn from the success of proprietary software to get the funds which would certainly be useful in improving open source software?
Rene Dudfield: Using PostgreSQL as a cache?
2019-10-02 18:38:43
No <p> found.
Real Python: Using the Python zip() Function for Parallel Iteration
2019-10-02 14:00:00
Pythonâs zip() function creates an iterator that will aggregate elements from two or more iterables. You can use the resulting iterator to quickly and consistently solve common programming problems, like creating dictionaries. In this tutorial, youâll discover the logic behind the Python zip() function and how you can use it to solve real-world problems.
Catalin George Festila: Python 3.7.4 : Using the paramiko pakage.
2019-10-02 12:10:28
Today I tested the paramiko package.
First, I install and check the version of this package.
[mythcat@desk my_network_tools]$ pip3 install paramiko --user
Collecting paramiko
...
Running setup.py install for pycparser ... done
Successfully installed asn1crypto-0.24.0 bcrypt-3.1.7 cffi-1.12.3 cryptography-2.7 paramiko-2.6.0Â pycparser-2.19 pynacl-1.3.0
[mythcat@desk my_network_tools]$ python3
Robin Wilson: Calculating Rayleigh Reflectance using Py6S
2019-10-02 11:13:10
A user of Py6S recently contacted me to ask if it was possible to get an output of Rayleigh reflectance from Py6S. Unfortunately this email wasnât sent to the Py6s Google Group, so I thought Iâd write a blog post explaining how to do this, and showing a few outputs (reminder: please post Py6S questions there rather than emailing me directly, then people with questions in the future can find the answers there rather than asking again).
Python Insider: Python 3.7.5rc1 is now available for testing
2019-10-02 00:32:02
No <p> found.
Matt Layman: Bring in the WhiteNoise, Bring in Da Funk - Building SaaS #34
2019-10-02 00:00:00
No <p> found.
PyCoderâs Weekly: Issue #388 (Oct. 1, 2019)
2019-10-01 19:30:00
#388 â OCTOBER 1, 2019 View in Browser »
PythonClub - A Brazilian collaborative blog about Python: Criando dicts a partir de outros dicts
2019-10-01 16:46:16
Neste tutorial, serå abordado o processo de criação de um dict ou dicionårio, a partir de um ou mais dicts em Python.
Python Insider: Python 3.8.0rc1 is now available
2019-10-01 15:14:18
No <p> found.
Rene Dudfield: post modern C tooling - draft 2
2019-10-01 14:58:32
No <p> found.
Dataquest: Tutorial: Transforming Data with Python Scripts and the Command Line
2019-10-01 14:41:40
Learn to create Python scripts for data analysis using the Command Line in this intermediate Python tutorial digging into Hacker News headlines.
Real Python: Strings and Character Data in Python
2019-10-01 14:00:00
In this course, youâll learn about working with strings, which are objects that contain sequences of character data. Processing character data is integral to programming. It is a rare application that doesnât need to manipulate strings to at least some extent.
Catalin George Festila: Python 3.7.4 : Install the protobuf from sources on Fedora distro.
2019-10-01 13:36:05
Today I will show you how to build protobuf from sources using the Fedora distro.
The google team comes with this intro:
Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data â think XML, but smaller, faster, and simpler...
This google project comes with these tutorials.
The GitHub project can be found here.
To install the compiler,
Codementor: Test Driven Development with PyTest - Part 1
2019-10-01 13:22:59
A 3 part series on how to get started with pytest and test-driven development practices.
Stack Abuse: Python for NLP: Deep Learning Text Generation with Keras
2019-10-01 12:53:00
This is the 21st article in my series of articles on Python for NLP. In the previous article, I explained how to use Facebook's FastText library for finding semantic similarity and to perform text classification. In this article, you will see how to generate text via deep learning technique in Python using the Keras library.
EuroPython: EuroPython 2019 - Videos for Friday available
2019-10-01 09:14:05
We are pleased to announce the third and final batch of cut videos from EuroPython 2019 in Basel, Switzerland, with another 49 videos.
Django Weblog: Django bugfix releases: 2.2.6, 2.1.13 and 1.11.25
2019-10-01 07:14:09
Today we've issued the 2.2.6, 2.1.13, and 1.11.25 bugfix releases.
Tryton News: Newsletter October 2019
2019-10-01 06:00:10
@ced wrote:
Codementor: Writing a simple Pytest hook
2019-10-01 02:02:57
Write some basic pytest hooks to capture test failures in a text file.
Podcast.__init__: Building A Modern Discussion Forum In Python To Support Healthy Communities
2019-10-01 00:34:58
Building and sustaining a healthy community requires a substantial amount of effort, especially online. The design and user experience of the digital space can impact the overall interactions of the participants and guide them toward respectful conversation. In this episode RafaĆ PitoĆ shares his experience building the Misago platform for creating community forums. He explains his motivation for creating the project, the lessons he has learned in the process, and how it is being used by himself and others. This was a great conversation about how technology is just a means, and not the end in itself.
Evennia: Blackifying and fixing bugs
2019-09-30 16:40:38
No <p> found.
Kumar Vipin Yadav: Python Pune Meetup September 2k19
2019-09-30 16:39:11
âIf there’s a book that you want to read, but it hasn’t been written yet, then you must write it.â … <a class="more-link" href="https://vipin711.wordpress.com/2019/09/30/python-pune-meetup-september-2k19/">More</a>
PyCharm: Webinar: âReact+TypeScript+TDD in PyCharmâ with Paul Everitt
2019-09-30 15:29:20
ReactJS is wildly popular and thus wildly supported. TypeScript is increasingly popular, and thus increasingly supported.
Real Python: Preventing SQL Injection Attacks With Python
2019-09-30 14:00:00
Every few years, the Open Web Application Security Project (OWASP) ranks the most critical web application security risks. Since the first report, injection risks have always been on top. Among all injection types, SQL injection is one of the most common attack vectors, and arguably the most dangerous. As Python is one of the most popular programming languages in the world, knowing how to protect against Python SQL injection is critical.
Python Software Foundation: Grants Awarded for Python in Education
2019-09-30 13:51:19
No <p> found.
Stack Abuse: Analyzing API Data with MongoDB, Seaborn, and Matplotlib
2019-09-30 12:06:00
A commonly requested skill for software development positions is experience with NoSQL databases, including MongoDB. This tutorial will explore collecting data using an API, storing it in a MongoDB database, and doing some analysis of the data.
Codementor: ML with Python: Part-3
2019-09-30 05:21:41
In preious post, we saw various steps involved in creating a machine learning (ML) model. You might have noticed in Building ML Model we consider multiple Algorithums in a pipeline and then tune...
Mike Driscoll: PyDev of the Week: Marlene Mhangami
2019-09-30 05:05:28
This week we welcome Marlene Mhangami (@marlene_zw) as our PyDev of the Week! Marlene is the PyCon Africa (@pyconafrica) chair, the co-founder of @zimbopy and a director for the Python Software Foundation. Letâs spend some time getting to know her!
Peter Bengtsson: Update to speed comparison for Redis vs PostgreSQL storing blobs of JSON
2019-09-30 03:06:41
Last week, I blogged about "How much faster is Redis at storing a blob of JSON compared to PostgreSQL?". Judging from a lot of comments, people misinterpreted this. (By the way, Redis is persistent). It's no surprise that Redis is faster.
Erik Marsja: How to use iloc and loc for Indexing and Slicing Pandas Dataframes
2019-09-29 21:00:22
The post How to use iloc and loc for Indexing and Slicing Pandas Dataframes appeared first on Erik Marsja.
Catalin George Festila: The tensorflow python module - part 004.
2019-09-28 22:55:15
If you using the tensorflow then you can get some warnings.
You can use warnings python package to manage all of this:
[mythcat@desk ~]$ $ python3
Python 3.5.2 (default, Jul 10 2019, 11:58:48)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> import tensorflow as tf
/home/mythcat/.local/lib/python3.5/site-packages/
Weekly Python StackOverflow Report: (cxcvi) stackoverflow python report
2019-09-28 20:30:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-09-28 20:30:43 GMT
Peter Bengtsson: How much faster is Redis at storing a blob of JSON compared to PostgreSQL?
2019-09-28 15:50:47
tl;dr; Redis is 16 times faster and reading these JSON blobs.*
Codementor: Data Cleaning In Python Basics Using Pandas
2019-09-28 14:57:55
This post will give you a basic introduction on cleaning data in Python using the pandas library.
Test and Code: 89: Improving Programming Education - Nicholas Tollervey
2019-09-28 07:00:00
Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it.
Rickard Lindberg: Segfault with custom events in wxPython
2019-09-28 00:00:00
Published on 2019-09-28.
Nathan Piccini Data Science Dojo Blog: 101 Data Science Interview Questions, Answers, and Key Concepts
2019-09-27 17:14:00
In October 2012, the Harvard Business Review described âData Scientistâ as the âsexiestâ Â job of the 21st century. Well, as we approach 2020 the description still holds true! The world needs more data scientists than there are available for hire. All companies - from the smallest to the biggest - want to hire for a job role that has something âDataâ in its name: âData Scientistsâ, âData Analystsâ, âData Engineersâ etc.
Dataquest: Write Better Code With Our New Advanced Functions Python Course
2019-09-26 19:32:35
Learning to write better code â code that's readable, maintainable, and debuggable â is a crucial skill for being an effective part of a data science team.
Red Hat Developers: Python wheels, AI/ML, and ABI compatibility
2019-09-26 14:39:27
Python has become a popular programming language in the AI/ML world. Projects like TensorFlow and PyTorch have Python bindings as the primary interface used by data scientists to write machine learning code. However, distributing AI/ML-related Python packages and ensuring application binary interface (ABI) compatibility between various Python packages and system libraries presents a unique set of challenges.
PyCharm: Webinar Recording: â10 Tools and Techniques Python Web Developers Should Exploreâ with Michael Kennedy
2019-09-26 13:57:50
Our friend Michael Kennedy joined us yesterday for a webinar on tips every Python web developer could benefit from. As is usual with his webinars, it was a lot of fun, very well-prepared, and packed a ton of useful information. The recording is now available as well as his repository of examples.
PyCharm: 2019.3 EAP 3
2019-09-26 12:31:01
A new version of the Early Access Program (EAP) for PyCharm 2019.3 is available now! Download it from our website.
Codementor: ML with Python: Part-2
2019-09-26 11:47:17
In this Post, we will cover in detail what we do in various steps involved in creating a machine learning (ML) model. I was looking around some ML project which is not very complex but covers all...
Python Software Foundation: Felipe de Morais: 2019 Q2 Community Service Award Winner
2019-09-26 11:29:09
No <p> found.
Codementor: How I built a Python script to read e-mails from an Exchange Server
2019-09-26 09:50:58
Python script to read e-mail in Exchange
Robin Wilson: Automatically annotating a boxplot in matplotlib
2019-09-26 09:37:21
You can probably tell from the sudden influx of matplotlib posts that I've been doing a lot of work plotting graphs recently...
Python Software Foundation: PyPI Security Q4 2019 Request for Proposals period opens.
2019-09-25 17:47:50
No <p> found.
Real Python: How to Use Generators and yield in Python
2019-09-25 15:52:37
Have you ever had to work with a dataset so large that it overwhelmed your machineâs memory? Or maybe you have a complex function that needs to maintain an internal state every time itâs called, but the function is too small to justify creating its own class. In these cases and more, generators and the Python yield statement are here to help.
PyCharm: PyCharm 2019.2.3
2019-09-25 14:18:52
PyCharm 2019.2.3 is now available!
Catalin George Festila: Python 3.7.4 : Print with random colors.
2019-09-25 11:12:09
This is a simple example for custom print output.
The script detect the platform for color settings and then use print.
The first print will print with blue color the name of the script.
I used random to select a random color from colors array and used to print the -=RANDOM COLOR=- text.
The print (W+'') is used to set default white color for terminal
import sys
import random
if sys.platform == "
Talk Python to Me: #231 Advice for freelancing with Python
2019-09-25 08:00:00
Have you ever wanted to get into consulting? Maybe you're seeking the freedom to work on whatever project you'd like or gain more control of your time.
Python Bytes: #149 Python's small object allocator and other memory features
2019-09-25 08:00:00
No summary found!
eGenix.com: Python Meeting DĂŒsseldorf - 2019-09-25
2019-09-25 07:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
PyCoderâs Weekly: Issue #387 (Sept. 24, 2019)
2019-09-24 19:30:00
#387 â SEPTEMBER 24, 2019 View in Browser »
Ned Batchelder: Coverage.py 5.0a7, and the future of pytest-cov
2019-09-24 13:58:46
Progress continues in the Python coverage world. Two recent things: first, the latest alpha of Coverage.py 5.0 is available: 5.0a7. Second, pytest-cov is supporing coverage.py 5.0, and weâre talking about the future of pytest-cov.
Python Software Foundation: The Python Software Foundation has updated its Code of Conduct
2019-09-24 13:28:59
No <p> found.
Jean-Paul Calderone: Tahoe-LAFS on Python 3 - Call for Porters
2019-09-24 12:59:52
No <p> found.
EuroPython: EuroPython 2019 - Videos for Thursday available
2019-09-24 10:23:29
With a slight delay, we are pleased to announce the second batch of cut videos from EuroPython 2019 in Basel, Switzerland, with another 45 videos.
Dataquest: xlwings Tutorial: Make Excel Faster Using Python
2019-09-24 09:00:10
Pythons xlwings is a tool that allows you to use Python code to control and analyze data in Excel spreadsheets. This tutorial will help you get started.
Wingware Blog: Debugging Python Code Running in Docker Containers with Wing 7
2019-09-24 01:00:00
Docker is a containerization system that uses a relatively light-weight form of virtualization to package and isolate application components from the host system, making it easier to spin up uniformly configured virtual machines for use in application development, testing, and deployment.
Vinta Software: DjangoCon US 2019: Python & Django in San Diego!
2019-09-23 21:47:35
We are back to San Diego!! Our team will be joining DjangoCon US's conference, one of the biggest Django events in the world. For this year, we'll be giving two talks: Pull Requests: Merging good practices into your project and Building effective Django queries with expressions
Here is the slide from the talk we gave during the conference:
Pull Re
Real Python: Getting Started With Async Features in Python
2019-09-23 14:00:00
Have you heard of asynchronous programming in Python? Are you curious to know more about Python async features and how you can use them in your work? Perhaps youâve even tried to write threaded programs and run into some issues. If youâre looking to understand how to use Python async features, then youâve come to the right place.
Continuum Analytics Blog: Anaconda Enterprise Receives Honors in Fourth Annual Datanami Readersâ and Editorsâ Choice Awards
2019-09-23 13:30:28
SAN DIEGO, Sept. 23, 2019 â Anacondaâs enterprise data science platform has been recognized in the fourth annual Datanami Readersâ and Editorsâ Choice Awards, presented during the Strata Data Conference. The list of winners wasâŠ
Podcast.__init__: Exploratory Data Analysis Made Easy At The Command Line
2019-09-23 12:49:21
There are countless tools and libraries in Python for data scientists to perform powerful analyses, but they often have a setup cost that acts as a barrier to ad-hoc exploration of data. Visidata is a command line application that eliminates the friction involved with starting the discovery process. In this episode Saul Pwanson explains his motivation for creating it, why a terminal environment is a useful place for this work, and how you can use Visidata for your own work. If you have ever avoided looking at a data set because you couldnât be bothered with the boilerplate for a Jupyter notebook, then Visidata is the perfect addition to your toolbox.
Reuven Lerner: Looking for Python podcast co-hosts
2019-09-23 06:36:46
As you might know, Iâm a panelist on the weekly âFreelancers Showâ podcast, which talks about the business of freelancing.
Mike Driscoll: PyDev of the Week: Peter Farrell
2019-09-23 05:05:45
This week we welcome Peter Farrell (@hackingmath) as our PyDev of the Week! Peter is the author Math Adventures with Python and two other math related Python books. You can learn more about Peter by visiting his website.
tryexceptpass: Command Execution Tricks with Subprocess - Designing CI/CD Systems
2019-09-23 04:00:00
The most crucial step in any continuous integration process is the one that executes build instructions and tests their output. Thereâs an infinite number of ways to implement this step ranging from a simple shell script to a complex task system.
Codementor: HEURISTIC ALGORITHMS FOR THE PROBLEM OF OPTIMIZATION OF THE DRAIN AREA IN UNCONVENTIONAL FIELDS OF HYDROCARBONS
2019-09-23 01:15:34
HEURISTIC ALGORITHMS FOR THE PROBLEM OF OPTIMIZATION OF THE DRAIN AREA IN UNCONVENTIONAL FIELDS OF HYDROCARBONS python
Sumana Harihareswara - Cogito, Ergo Sumana: Futureproofing Your Python Tools
2019-09-22 18:03:55
If you write software in Python, or depend on something that's in Python, this is for you. Some of you are writing Python 2, or you still have software you depend on that is written in Python 2. January 1st, 2020, is the day that official support for Python 2 stops. So this is a fresh heads-up that you should really have a migration plan and start working on it, to move to Python 3. A lot of stuff you depend on already works on Python 3, and is even pledging to end Python 2 support in or before 2020. And it's easier than it's ever been to port your own code from 2 to 3. You should probably upgrade to Python 3.7. If you want to test out 3.8, it has some changes in how it does warnings, and the first release candidate is out. But, speaking of futureproofing: Code authors move in and out of projects and companies. Six months or 18 months later, maybe you want to update and re-use, re-release or re-deploy code someone else wrote. Or you want your team to be able to reuse what you did after you leave, which means you need the code to run, and you need them to have the password so they can update stuff. Have you written Python code that they have published as a package on the Python Package Index, pypi.org, so other people can use pip install to install it? (And if you want to do that but don't know how? Check out this recently improved tutorial to help you do that.) Publishing that package is a great way of making it so other people can run and deploy it, even within other parts of your organization. But -- who actually has the keys to the castle? Who can upload a new version, or delete a version that has a problem? You should probably make sure multiple people have either "owner" or "maintainer" privileges on the project on PyPI. And you should review your project security history display, which lists sensitive events (such as "file removed from release version 1.0.1") in your PyPI user account and your PyPI project. We just added this display, so you can look at things that have happened in your user account or project, and check for signs someone's stolen your credentials. And then how do you make it a little harder for vandals, spammers, and thieves to take over your account and upload malware or delete all the packages? Add two-factor auth for your login, like you would with your bank. Use an app on your phone to give you a six-digit code, or use a physical security device like a Yubikey. And how do you make it easier to automate publishing new versions of your package, and make it safer to save your credential in the cloud? We've made it possible for you to create an "API token" where all it can do is upload, so you can use that instead of your PyPI password. With well-tested Python 3 migration tools and new PyPI security features, now is a great moment to invest in robustness for Python software that you make or depend on. [This blog post is kind of unwieldy, because it's about too many different things. I won't be publicizing it that much and instead will probably reuse text from it in more focused announcements elsewhere. But I'm publishing it here as a summary of my recent work, because management and communications for the projects above are what I've been working on recently for the Python Software Foundation. (A different kind of summary is on the Clients page for Changeset Consulting.)]
Codementor: Finding Python Developers for Your Startup - Read Time: 3 Mins
2019-09-22 14:42:13
Helps startup founder, co-founder or CTOs to search Python developers for their startup.
Robin Wilson: Matplotlib titles have configurable locations â and you can have more than one at once!
2019-09-22 11:16:12
Just a quick post here to let you know about a matplotlib feature I've only just found out about.
Weekly Python StackOverflow Report: (cxcv) stackoverflow python report
2019-09-21 13:43:00
No <p> found.
Codementor: ML with Python: Part-1
2019-09-21 11:02:59
ï»żï»żï»żï»żNow, We are comfortable with Python and ready to get started with Machine Learning (ML) projects. But, Where to go next? Can we directly dive into coding ML projects? Please follow along to...
Test and Code: 88: Error Monitoring, Crash Reporting, Performance Monitoring - JD Trask
2019-09-21 04:45:00
Tools like error monitoring, crash reporting, and performance monitoring are tools to help you create a better user experience and are fast becoming crucial tools for web development and site reliability. But really what are they? And when do you need them?
Brett Cannon: A Primer on the Stellar Network
2019-09-21 02:11:27
On September 10, 2019 while I was in London, UK at the Python core dev sprints, I got a message from a user named "spacedrop" on Keybase. The message said I was being given 356.2904939 XLM as a surprise gift of "free Lumens worth $20.98 USD" from the Stellar Development Foundation. All of that screamed "cryptocurrency" which isn't my thing, so my initial reaction was this was some scam by someone who randomly messaged me on Keybase trying to get me to buy into some new cryptocurrency. But then I realized that Keybase wouldn't let a random person message me like that. Curious, I read the rest of the message and found a link to Keybase's "airdrop" announcement which explained that Keybase was actually facilitating the message. Trusting Keybase wasn't getting into anything nefarious, Â that enticed me enough to dig a little deeper into Stellar and find their overview page which has the following summary:
Python Engineering at Microsoft: Come meet Microsoft at DjangoCon 2019
2019-09-21 00:00:19
DjangoCon 2019 is happening next week Sept 22-27 in San Diego, and Microsoft is pleased to be supporting the conference as Gold sponsors this year. We will have some members from our Python team, our Azure Cloud Advocates, and the PostgreSQL team at the conference giving talks and at our booth.
Roberto Alsina: Episodio 9: Generadores
2019-09-20 17:00:11
Generadores en Python ... ¿qué son? ¿Con qué se comen?
PyCharm: 2019.3 EAP 2
2019-09-20 11:49:37
We have a new Early Access Program (EAP) version of PyCharm that can be now downloaded from our website.
Python Circle: Intellectual property Law and Coding
2019-09-20 10:45:38
IP laws and coding, patenting code, code copyrights, intellectual property law and code
Codementor: Simple rules of good programming
2019-09-20 10:13:57
Hi guys, I work as a programmer for more than 15 years and was using many different languages, paradigms, frameworks and other shit. And I want to share with you my rules of writing good...
Codementor: Create a simple image search engine in OpenCV and Flask
2019-09-20 04:13:12
Learn how to use OpenCV to extract image colors and then use Flask based web apps to search them.
Peter Bengtsson: uwsgi weirdness with --http
2019-09-19 13:20:30
Instead of upgrading everything on my server, I'm just starting from scratch. From Ubuntu 16.04 to Ubuntu 19.04 and I also upgraded everything else in sight. One of them was uwsgi. I copied various user config files but for uwsgi things didn't very well. On the old server I had uwsgi version 2.0.12-debian and on the new one 2.0.18-debian. The uWSGI changelog is pretty hard to read but I sure don't see any mention of this.
Will Kahn-Greene: Markus v2.0.0 released! Better metrics API for Python projects.
2019-09-19 13:00:00
Markus is a Python library for generating metrics.
Stack Abuse: Solving Sequence Problems with LSTM in Keras: Part 2
2019-09-19 12:56:00
This is the second and final part of the two-part series of articles on solving sequence problems with LSTMs. In the part 1 of the series, I explained how to solve one-to-one and many-to-one sequence problems using LSTM. In this part, you will see how to solve one-to-many and many-to-many sequence problems via LSTM in Keras.
Wingware Blog: Viewing Arrays and Data Frames in Wing Pro 7
2019-09-19 01:00:00
Wing Pro 7 introduced an array and data frame viewer that can be used to inspect data objects in the debugger. Values are transferred to the IDE according to what portion of the data is visible on the screen, so working with large data sets won't slow down the IDE.
Audrey Roy Greenfeld: Voronoi Mandalas
2019-09-18 17:46:32
No <p> found.
Mike Driscoll: Python Code Kata: Fizzbuzz
2019-09-18 17:22:14
A code kata is a fun way for computer programmers to practice coding. They are also used a lot for learning how to implement Test Driven Development (TDD) when writing code. One of the popular programming katas is called FizzBuzz. This is also a popular interview question for computer programmers.
Real Python: How to Convert a Python String to int
2019-09-18 14:00:00
Integers are whole numbers. In other words, they have no fractional component. Two data types you can use to store an integer in Python are int and str. These types offer flexibility for working with integers in different circumstances. In this tutorial, youâll learn how you can convert a Python string to an int. Youâll also learn how to convert an int to a string.
Podcast.__init__: Cultivating The Python Community In Argentina
2019-09-18 12:53:00
The Python community in Argentina is large and active, thanks largely to the motivated individuals who manage and organize it. In this episode Facundo Batista explains how he helped to found the Python user group for Argentina and the work that he does to make it accessible and welcoming. He discusses the challenges of encompassing such a large and distributed group, the types of events, resources, and projects that they build, and his own efforts to make information free and available. He is an impressive individual with a substantial list of accomplishments, as well as exhibiting the best of what the global Python community has to offer.
Talk Python to Me: #230 Python in digital humanities research
2019-09-18 08:00:00
You've often heard me talk about Python as a superpower. It can amplify whatever you're interested in or what you have specialized in for your career. This episode is an amazing example of this. You'll meet Cornelis van Lit. He is a scholar of medieval Islamic philosophy and woks at Utrecht University in the Netherlands. What he is doing with Python is pretty amazing.
Python Bytes: #148 The ASGI revolution is upon us!
2019-09-18 08:00:00
No summary found!
Codementor: why python is the best-suited programming language machine learning
2019-09-18 05:27:09
Machine Learning is the hottest trend in modern times. According to Forbes, Machine learning patents grew at a 34% rate between 2013 and 2017 and this is only set to increase in the future. And...
Matt Layman: Python alternative to Docker
2019-09-18 00:00:00
No <p> found.
Matt Layman: Get Out, Git! - Building SaaS #33
2019-09-18 00:00:00
No <p> found.
A. Jesse Jiryu Davis: Free Coaching For PyGotham Speakers
2019-09-17 22:02:11
No <p> found.
Yasoob Khalid: Looking for an internship for Summer 2020
2019-09-17 21:03:25
Hi lovely people! Hope everything is going well on your end. I asked you guys last year for helping me find a kick-ass internship and you all came through. I ended up working at ASAPP over the summer and had an awesome time. I wrote an article about what I learned during my internship.
Yasoob Khalid: Filtering & Closing Pull Requests on GitHub using the API
2019-09-17 19:34:57
Hi everyone! In this post, I am going to show you how you can use the GitHub API to query Pull Requests, check the content of a PR and close it.
PyCoderâs Weekly: Issue #386 (Sept. 17, 2019)
2019-09-17 19:30:00
#386 â SEPTEMBER 17, 2019 View in Browser »
Anarcat: FSF resignations
2019-09-17 14:58:00
I have been hesitant in renewing my membership to the Free Software Foundation for a while, but now I never want to deal with the FSF until Richard Stallman, president and founder of the free software movement, resigns. So, like many people and organizations, I have written this letter to cancel my membership. (Update: RMS resigned before I even had time to send this letter, but I publish here to share my part of this story.)
Real Python: Python Debugging With pdb
2019-09-17 14:00:00
Nowadays, we often take for granted the excellent debuggers built into our favorite IDEs. But how do you debug your Python code when you donât have the luxury of using an IDE?
Chris Moffitt: Happy Birthday Practical Business Python!
2019-09-17 12:20:00
On September 17th, 2014, I published my first article which means that today is the 5th birthday of Practical Business Python. Thank you to all my readers and all those that have supported me through this process! It has been a great journey and I look forward to seeing what the future holds.
Kushal Das: Permanent Record: the life of Edward Snowden
2019-09-17 04:44:41
Codementor: Top programming languages of 2019
2019-09-17 04:32:19
The most popular languages according to the worldâs largest organization for engineering and applied science.
It can be hard to gauge which programming language to learn â should you go for the...
Moshe Zadka: Adding Methods Retroactively
2019-09-17 01:00:00
The following post was originally published on OpenSource.com as part of a series on seven libraries that help solve common problems.
Roberto Alsina: Episodio 8: Complejo y Complicado
2019-09-16 21:45:11
Un intento (probablemente fallido) de explicar complejidad algorĂtmica, o por lo menos lo mĂĄs bĂĄsico del tema sin complicarla demasiado.
Rene Dudfield: post modern C tooling - draft
2019-09-16 19:22:14
No <p> found.
Stack Abuse: Reading and Writing YAML to a File in Python
2019-09-16 18:46:33
In this tutorial, we're going to learn how to use the YAML library in Python 3. YAML stands for Yet Another Markup Language.
NumFOCUS: Introducing Our Newest Corporate Sponsorship Prospectus
2019-09-16 17:14:43
The post Introducing Our Newest Corporate Sponsorship Prospectus appeared first on NumFOCUS.
TechBeamers Python: Python Multiple Inheritance (with Examples)
2019-09-16 17:07:03
In this tutorial, weâll describe Python Multiple Inheritance concept and explain how to use it in your programs. Weâll also cover multilevel inheritance, the super() function, and focus on the method resolution order. In the previous tutorial, we have gone through Python Class and Python (Single) Inheritance. There, you have seen that a child class inherits from a base class. However, Multiple Inheritance is a feature where a class can derive attributes and methods from more than one base classes. Hence, it creates a high level of complexity and ambiguity and known as the diamond problem in the technical world.
Real Python: PyGame: A Primer on Game Programming in Python
2019-09-16 15:27:36
When I started learning computer programming late in the last millennium, it was driven by my desire to write computer games. I tried to figure out how to write games in every language and on every platform I learned, including Python. Thatâs how I discovered pygame and learned how to use it to write games and other graphical programs. At the time, I really wanted a primer on pygame.
Reuven Lerner: Last change to join Weekly Python Exercise: Beginner objects
2019-09-16 14:18:06
If you have been using Python, but donât quite understand how and when to write and use the languageâs object-oriented facilities, then I have good news and bad news:
Mike Driscoll: PyDev of the Week: Veronica Hanus
2019-09-16 05:05:12
This week we welcome Veronica Hanus (@veronica_hanus) as our PyDev of the Week! Veronica is a regular tech speaker at Python and other tech conferences and meetups. You can see some of her talks and her schedule on her website. She has been active in the Python community for the past few years. Letâs take a few moments to get to know her better!
Samuel Sutch: Why Python Has Become an Industry Favorite Among Programmers
2019-09-16 03:15:13
With the world stepping towards a new age of technology development, it isnât hard to imagine a future that will be full of screens. And if so be the case then, demand for people with strong programming skills will definitely rise with more number of people required to develop and support the applications. Python Training is always a good idea for those wishes to be a part of this constantly developing industry. Python language is not only easy to grasp, but emphasizes less on syntax which is why a few mistakes here and there doesnât give as much trouble as some other languages does.
Samuel Sutch: Python Programming Language Is Considered Better Than Other Languages
2019-09-15 19:46:34
Python is a high-level scripting language. It is easy to learn and powerful than other languages because of its dynamic nature and simple syntax which allow small lines of code. Included indentation and object-oriented functional programming make it simple. Such advantages of Python makes it different from other languages and thatâs why Python is preferred for development in companies mostly. In industries, machine learning using python has become popular. This is because it has standard libraries which are used for scientific and numerical calculations. Also, it can be operated on Linux, Windows, Mac OS and UNIX. Students who want to make future in Python are joining online video training courses and python programming tutorial.
Weekly Python StackOverflow Report: (cxciv) stackoverflow python report
2019-09-14 20:44:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-09-14 20:44:02 GMT
TechBeamers Python: Python Heapq (With Examples)
2019-09-14 19:21:44
This tutorial intends to train you on using Python heapq. It is a module in Python which uses the binary heap data structure and implements Heap Queue a.k.a. Priority Queue algorithm. Interestingly, the heapq module uses a regular Python list to create Heap. It supports addition and removal of the smallest element in O(log n) time. Hence, it is an obvious choice for implementing priority queues. The heapq module includes seven functions, the first four of which are used for heap operations. However, you need to provide a list as the heap object itself. Heap data structure has a property
NumFOCUS: Highlights From The 2019 Pandas Hack
2019-09-13 16:25:24
The post Highlights From The 2019 Pandas Hack appeared first on NumFOCUS.
Data School: Should you use "dot notation" or "bracket notation" with pandas?
2019-09-13 13:16:32
If you've ever used the pandas library in Python, you probably know that there are two ways to select a Series (meaning a column) from a DataFrame:
Stack Abuse: Solving Sequence Problems with LSTM in Python's Keras Library
2019-09-13 12:50:00
In this article, you will learn how to perform time series forecasting that is used to solve sequence problems.
Stack Abuse: Solving Sequence Problems with LSTM in Python's Keras Library - Part 1
2019-09-13 12:50:00
In this article, you will learn how to perform time series forecasting that is used to solve sequence problems.
Roberto Alsina: Episodio 7: Python 1000x mĂĄs rĂĄpido!
2019-09-12 20:55:11
ÂżEs posible agarrar cĂłdigo al azar y hacer que funcione 1000 veces mĂĄs rĂĄpido?
Peter Bengtsson: Fastest Python function to slugify a string
2019-09-12 20:20:32
In MDN I noticed a function that turns a piece of text (Python 2 unicode) into a slug. It looks like this:
Robin Wilson: I am now a freelancer in Remote Sensing, GIS, Data Science & Python
2019-09-12 19:09:28
I've been doing a bit of freelancing 'on the side' for a while - but now I've made it official: I am available for freelance work. Please look at my new website or contact me if you're interested in what I can do for you, or carry on reading for more details.
PyCharm: 2019.3 EAP 1
2019-09-12 15:53:21
The first Early Access Program (EAP) for PyCharm 2019.3 is now available to be downloaded from our website!
PyCon: Call for Proposals for PyCon 2020 is open!
2019-09-12 14:14:42
No <p> found.
Python Does What?!: Welcome to the float zone...
2019-09-12 10:45:17
No <p> found.
Talk Python to Me: #229 Building advanced Pythonic interviews with docassemble
2019-09-12 08:00:00
On this episode, we dive into Python for lawyers and a special tool for conducting legal interviews. Imagine you have to collect details for 20,000 participants in a class-action lawsuit. docassemble, a sweet Python web app, can do it for you with easy.
Codementor: Node.js VS Python: Which is Better?
2019-09-12 06:24:38
Node.js vs Python...Node.JS & Python are two of the most widely-used programming languages. It is a tough to choose which is better among them.Lets try.
Matt Layman: Python Testing 201 with pytest
2019-09-12 00:00:00
For Python Frederickâs September presentation, I presented on Python testing. In the presentation, I explained more of the features of pytest that went beyond the basics that we explored in March.
Red Hat Developers: Develop with Flask and Python 3 in a container on Red Hat Enterprise Linux
2019-09-11 18:31:51
In my previous article, Run Red Hat Enterprise Linux 8 in a container on RHEL 7, I showed how to start developing with the latest versions of languages, databases, and web servers available with Red Hat Enterprise Linux 8 even if you are still running RHEL 7. In this article, Iâll build on that base to show how to get started with the Flask microframework using the current RHEL 8 application stream version of Python 3.
NumFOCUS: Now Hiring: Events and Marketing Intern
2019-09-11 18:24:58
The post Now Hiring: Events and Marketing Intern appeared first on NumFOCUS.
PyCharm: PyCharm 2019.2.2
2019-09-11 14:07:56
PyCharm 2019.2.2 is now available. This version solves regression issues and improves Jupyter Notebook configuration experience.
Real Python: Python vs C++: Selecting the Right Tool for the Job
2019-09-11 14:00:00
Are you a C++ developer comparing Python vs C++? Are you looking at Python and wondering what all the fuss is about? Do you wonder how Python compares to the concepts you already know? Or perhaps you have a bet on who would win if you locked C++ and Python in a cage and let them battle it out? Then this article is for you!
Stack Abuse: Deploying a Flask Application to Heroku
2019-09-11 12:39:00
In this tutorial you will learn how to deploy a Flask application to Heroku. The app can be as simple as a "Hello World" app to a social media monitoring platform!
Catalin George Festila: Python 3.7.4 : Using the theano pakage.
2019-09-11 12:13:49
If you want to test theano then you need to see this webpage.
[root@desk mythcat]# dnf search theano
======================== Name & Summary Matched: theano ========================
python-theano-doc.noarch : Theano documentation
============================= Name Matched: theano =============================
python3-theano.noarch : Mathematical expressions involving multidimensional
Python Anywhere: Our new CPU API
2019-09-11 09:36:03
We received many requests from PythonAnywhere users to make it possible to programmatically monitor usage of CPU credit, so we decided to add a new endpoint to our experimental API.
Python Bytes: #147 Mocking out AWS APIs
2019-09-11 08:00:00
No summary found!
Test and Code: 87: Paths to Parametrization - from one test to many
2019-09-11 07:00:00
There's a cool feature of pytest called parametrization. It's totally one of the superpowers of pytest.
IslandT: The weekly Python news report
2019-09-11 04:24:47
What do we have here this week?
Catalin George Festila: Python 3.7.4 : Using the sunpy - part 001.
2019-09-11 01:00:08
I wrote about sunpy in the past on this website.
Now this package comes with new features, see the official webpage.
Let's install it.
[mythcat@desk ~]$ pip3 install sunpy --user
Collecting sunpy
...
Successfully installed aioftp-0.13.0 aiohttp-3.6.0 astropy-3.2.1 async-timeout-3.0.1
multidict-4.5.2 parfive-1.0.0 scipy-1.3.1 sunpy-1.0.3 tqdm-4.35.0 yarl-1.3.0
If you search on web you can find
Wingware Blog: Presentation Mode in Wing 7
2019-09-11 01:00:00
Presentation Mode, added in Wing 7, temporarily applies a selected magnification to the entire user interface, so the screen can be read more easily during meetings or talks.
Artem Rys: Monitoring traffic of your Github repositories using Python and Google Cloud PlatformâââPart 1
2019-09-11 00:33:54
It is an article about monitoring your Github open-source repositories traffic. Unfortunately, you can see these statistics only by accessing each repository step by step. You may not want to access them at all⊠But if you do, you can use this small tool.
Mike Driscoll: wxPython â Creating a PDF Merger / Splitter Utility
2019-09-10 20:48:44
The Portable Document Format (PDF) is a well-known format popularized by Adobe. It purports to create a document that should render the same across platforms.
PyCoderâs Weekly: Issue #385 (Sept. 10, 2019)
2019-09-10 19:30:00
#385 â SEPTEMBER 10, 2019 View in Browser »
Dataquest: How Much Have You Spent on Amazon? Analyzing Amazon Data
2019-09-10 15:46:52
How much have I spent on Amazon? That's a scary question, but if you want to know the answer, here's how you can find it...and a lot more!
TechBeamers Python: Master Python List Comprehension in 2 Minutes
2019-09-10 15:26:36
This tutorial explains Python list comprehension in no more than 2 minutes. It is the fastest method to search a list, apply some condition, and return a new list with selected elements. You may find it similar to Python filter() method that filters values based on some condition. However, list comprehension has a powerful syntax which gives more options. Letâs first understand why you would use it? It requires less code and doesnât need a for loop to traverse the list. Yes. Thatâs correct, but there are other reasons also, such as faster execution due to inline thing. By the
Real Python: Absolute vs Relative Imports in Python
2019-09-10 14:00:00
If youâve worked on a Python project that has more than one file, chances are youâve had to use an import statement before. Even for Pythonistas with a couple of projects under their belt, imports can be confusing!
IslandT: Find the maximum gap between the successive numbers in its sorted form from a Python list
2019-09-10 12:37:57
Given a Python list consists of plus or minus numbers, we need to sort that list then find the maximum gap between the successive numbers in that list regarding of its sign.
Reuven Lerner: LEGB? Meet ICPO, Pythonâs search strategy for attributes
2019-09-10 12:30:54
When it comes to variables, Python has a well-known search strategy, known by the acronym âLEGB.â Whenever you mention a variable â and by âvariable,â I mean a name that could be referencing data, a function, or a class â Python tries to find it in four different places: The local (function) scope, the enclosing functionâs scope, the global scope, and finally in the âbuiltinsâ namespace.
Django Weblog: Django 3.0 alpha 1 released
2019-09-10 09:02:29
Django 3.0 alpha 1 is now available. It represents the first stage in the 3.0 release cycle and is an opportunity for you to try out the changes coming in Django 3.0.
Kushal Das: Exciting few weeks in the SecureDrop land
2019-09-10 04:52:32
Humberto Rocha: Exploring pygame 5 - Movement and Collision
2019-09-10 03:00:00
No <p> found.
Podcast.__init__: Python Powered Journalistic Freedom With SecureDrop
2019-09-10 01:17:01
The internet has made it easier than ever to share information, but at the same time it has increased our ability to track that information. In order to ensure that news agencies are able to accept truly anonymous material submissions from whistelblowers, the Freedom of the Press foundation has supported the ongoing development and maintenance of the SecureDrop platform. In this episode core developers of the project explain what it is, how it protects the privacy and identity of journalistic sources, and some of the challenges associated with ensuring its security. This was an interesting look at the amount of effort that is required to avoid tracking in the modern era.
Dataquest: Python API Tutorial: Getting Started with APIs
2019-09-09 19:00:00
In this data science tutorial, learn about APIs by analyzing data from the international space station in this step-by-step Python API tutorial.
Codementor: 6 Python Projects For Beginners
2019-09-09 17:21:50
6 Python project ideas to help you go from a beginner to an intermediate python programmer.
RoseHosting Blog: How to Install pip on Ubuntu 18.04
2019-09-09 14:34:35
In this tutorial, we will show you how to install pip on an Ubuntu 18.04 VPS. Pip is a package management system which can be used to install and manage packages written in Python. Python is a programming language that allows you to perform web development, software development, system administration, scientific and numeric data analysis, […]
IslandT: Turn string into the score
2019-09-09 14:07:22
You are working at a lower league football stadium and youâve been asked to automate the scoreboard.
Real Python: MATLAB vs Python: Why and How to Make the Switch
2019-09-09 14:00:00
MATLABÂź is widely known as a high-quality environment for any work that involves arrays, matrices, or linear algebra. Python is newer to this arena but is becoming increasingly popular for similar tasks. As youâll see in this article, Python has all of the computational power of MATLAB for science tasks and makes it fast and easy to develop robust applications. However, there are some important differences when comparing MATLAB vs Python that youâll need to learn about to effectively switch over.
Catalin George Festila: Python 3.7.3 : Using the sunpy - part 001.
2019-09-09 13:45:18
I wrote about sunpy in the past on this website.
Now this package comes with new features, see the official webpage.
Let's install it.
[mythcat@desk ~]$ pip3 install sunpy --user
Collecting sunpy
...
Successfully installed aioftp-0.13.0 aiohttp-3.6.0 astropy-3.2.1 async-timeout-3.0.1
multidict-4.5.2 parfive-1.0.0 scipy-1.3.1 sunpy-1.0.3 tqdm-4.35.0 yarl-1.3.0If you search on web you can find
Reuven Lerner: Learn and understand Python objects â with Weekly Python Exercise, starting September 17
2019-09-09 13:15:10
Iâve found that many Python developers are confused by object-oriented programming in the language:
Python Insider: Python 3.5.8rc1 is now available
2019-09-09 10:39:26
No <p> found.
EuroPython: EuroPython 2020: RFP for Venues
2019-09-09 08:08:23
europythonsociety:
EuroPython Society: EuroPython 2020: RFP for Venues
2019-09-09 08:06:55
We are happy to announce that we have started the RFP for venues to host the EuroPython 2020 conference.
Codementor: Conditional Execution in Python
2019-09-09 06:25:23
A developer can set a conditional execution structure to develop into python code to manage a few kinds of Boolean and arithmetic operations.
Catalin George Festila: Python 3.7.3 : Using the flask - part 018.
2019-09-09 05:27:52
In this tutorial, I will show you how to fix auto increment in Flask SQLAlchemy.
The old source code for the user model from the server.py was this:
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(80), unique=True)
password = db.Column(db.String(120), unique=True)
email = db.Column(db.String(120), unique=True)
gender =
Mike Driscoll: PyDev of the Week: Aymeric Augustin
2019-09-09 05:05:15
This week we welcome Aymeric Augustin (@aymericaugustin) as our PyDev of the Week. Aymeric is a core developer of Django, a Python web framework. He is also an entrepreneur and speaker at several Django related conferences. You can catch up with Aymeric over on his website or check out his FOSS contributions on Github. Letâs take a few moments to get to know him better!
Zero-with-Dot (Oleg ƻero): Performance of numpy and pandas - comparison
2019-09-08 22:00:00
There seems to be no data science in Python without numpy and pandas. (This is also one of the reason why Python has become so popular in Data Science). However, dumping the libraries on the data is rarely going to guarantee the peformance. So whatâs wrong?
Erik Marsja: How to Read & Write SPSS Files in Python using Pandas
2019-09-08 15:38:47
The post How to Read & Write SPSS Files in Python using Pandas appeared first on Erik Marsja.
Python Bytes: #146 Slay the dragon, learn the Python
2019-09-08 08:00:00
No summary found!
Codementor: In Python How Recursion Works on Run Time
2019-09-08 04:44:11
Photo by Martin Adams (https://unsplash.com/@martinadams?utmsource=unsplash&utmmedium=referral&utm_content=creditCopyText) on Unsplash...
tryexceptpass: Conveying Build and Test Information with Repository Badges
2019-09-08 04:00:00
No <p> found.
Weekly Python StackOverflow Report: (cxciii) stackoverflow python report
2019-09-07 19:23:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-09-07 19:23:05 GMT
Doug Hellmann: imapautofiler 1.8.1
2019-09-07 14:45:23
No <p> found.
ListenData: A Complete Guide to Linear Regression in Python
2019-09-07 14:40:16
No <p> found.
ListenData: Best Pandas Tutorial | Learn Pandas with 50 Examples
2019-09-07 12:50:34
No <p> found.
TechBeamers Python: Multiline String in Python with Examples
2019-09-06 19:07:26
This tutorial explains how to create a Python multiline string. It can be handy when you have a very long string. You shouldnât keep such text in a single line. It kills the readability of your code. In Python, you have different ways to specify a multiline string. You can have a string split across multiple lines by enclosing it in triple quotes. Alternatively, brackets can also be used to spread a string into different lines. Moreover, backslash works as a line continuation character in Python. You can use it to join text on separate lines and create a multiline
Test and Code: 86: Teaching testing best practices with 4 testing maxims - Josh Peak
2019-09-06 15:00:00
You've incorporated software testing into your coding practices and know from experience that it helps you get your stuff done faster with less headache.
Wingware News: Wing Python IDE 7.1.1 - September 6, 2019
2019-09-06 01:00:00
Wing 7.1.1 avoids slowing and dropping of remote development connections, fixes showing Pandas DataFrame and Series values, makes OS Commands work on remote hosts with Python 3, inspects remote extension modules with non-ascii characters in the interface, adds __init__ arguments to the auto-completer, allows ignoring exceptions in frozen importlib files, fixes line numbers shown in pytest exception tracebacks, and fixes other minor usability issues.
Data School: Learn a new pandas trick every day!
2019-09-05 19:05:29
Every weekday, I share a new "pandas trick" on social media. Each trick takes only a minute to read, yet you'll learn something new that will save you time and energy in the future!
Mike Driscoll: Rotating Images in ReportLab
2019-09-05 17:05:00
There are times when you want to rotate images or other objects in ReportLab while creating a PDF. For example, you might want to rotate an image by 45 degrees for watermarking purposes. Or you might need an image that runs vertically along one of the edges of the PDF.
Continuum Analytics Blog: Machine Learning in Healthcare: 5 Use Cases that Improve Patient Outcomes
2019-09-05 16:30:56
Machine learning is accelerating the pace of scientific discovery across fields, and medicine is no exception. From language processing tools that accelerate research to predictive algorithms that alert medical staff of an impending heart attack,âŠ
ListenData: A Complete Guide to Python DateTime Functions
2019-09-04 22:08:10
People who have no experience of working with real-world datasets might have not encountered date columns. They might be under impression that working with dates is rarely used and not so important. To enlighten them, I have listed down real-world examples wherein using datetime module can be beneficial.
Stack Abuse: Object Detection with ImageAI in Python
2019-09-04 16:53:31
Object detection is a technology that falls under the broader domain of Computer Vision. It deals with identifying and tracking objects present in images and videos. Object detection has multiple applications such as face detection, vehicle detection, pedestrian counting, self-driving cars, security systems, etc.
Python Engineering at Microsoft: Python in Visual Studio Code â September 2019 Release
2019-09-04 15:50:46
We are pleased to announce that the September 2019 release of the Python Extension for Visual Studio Code is now available. You canâŻdownload the Python extensionâŻfrom the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio CodeâŻin the documentation. Â
Mike Driscoll: Lucid Programming Podcast â Writing Books About Python
2019-09-04 14:04:48
I was recently interviewed on the Lucid Programming Podcast by Vincent Russo about writing books about Python.
Real Python: Python args and kwargs: Demystified
2019-09-04 14:00:00
Sometimes, when you look at a function definition in Python, you might see that it takes two strange arguments: *args and **kwargs. If youâve ever wondered what these peculiar variables are, or why your IDE defines them in main(), then this article is for you. Youâll learn how to use args and kwargs in Python to add more flexibility to your functions.
NumFOCUS: QuantumBlack joins NumFOCUS as Corporate Sponsor
2019-09-04 13:00:49
The post QuantumBlack joins NumFOCUS as Corporate Sponsor appeared first on NumFOCUS.
EuroPython: EuroPython 2019 - Videos for Wednesday available
2019-09-04 13:00:37
We are pleased to announce the first batch of cut videos from EuroPython 2019 in Basel, Switzerland.
Reuven Lerner: âPython Workoutâ is todayâs Manning âDeal of the dayâ
2019-09-04 10:33:36
Want to improve your Python fluency? Thereâs no better way than doing exercises, practicing your Python skills and ensuring you understand how to solve problems in the best possible way.
Talk Python to Me: #228 Hunting bugs and tech startups with Python
2019-09-04 08:00:00
What's it's like building a startup with Python and going through a tech accelerator? You're about to find out. On this episode, you'll meet Elissa Shevinsky from Faster Than Light. They are building a static code analysis as a service business for Python and other code bases. We touch on a bunch of fun topics including static code analysis, entrepreneurship, and tech accelerators.
PyBites: How I Followed my Heart, Conquered Fear and Became a Public Speaker
2019-09-04 07:15:00
In this guest post Mridu shares with us how she got into public speaking, conquering fear and imposter syndrome. What did she learn? And what does she recommend for people starting out? Let's hear from Mridu!
Codementor: Using Python to Build a Web Scrawler Step by Step
2019-09-04 02:35:46
Start writing here...The need for extracting data from websites is increasing. When we are conducting data related projects such as price monitoring, business analytics or news aggregator, we would...
Catalin George Festila: Python 3.7.4 : Create an Stand Alone Executable on Fedora distro.
2019-09-04 01:26:59
In this tutorial I will show you how to create an Stand Alone Executable with Python version 3.7.4 and Fedora 30 distro.
First you need to install using the dnf tool the python3 package.
You can test it easy with this command:
[mythcat@desk dist]$ python3
Python 3.7.4 (default, Jul 9 2019, 16:32:37)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
Type "help", "copyright", "credits" or "license"
Matt Layman: wal-e Postgres Backups - Building SaaS #32
2019-09-04 00:00:00
In this episode, we worked on Postgres database backups and modified the backup tool, wal-e, to use the Shiv app format.
wal-e is Postgres database backup tool that works by managing the Write-Ahead Log (WAL) that a Postgres database produces. The WAL is the log of recent changes that happened in the database. If you have access to a full WAL, then you can conceivably reproduce a Postgres database’s data.
Roberto Alsina: Complicame la vida!
2019-09-03 21:46:45
Como estoy medio corto de ideas de charlas para la PyconAr de este año, les pido una mano!
PyCoderâs Weekly: Issue #384 (Sept. 3, 2019)
2019-09-03 19:30:00
#384 â SEPTEMBER 3, 2019 View in Browser »
Red Hat Developers: Using the STOMP Protocol with Apache ActiveMQ Artemis Broker
2019-09-03 14:23:33
In this article, we will use a Python-based messaging client to connect and subscribe to a topic with a durable subscription in the Apache ActiveMQ Artemis broker. We will use the text-based STOMP protocol to connect and subscribe to the broker. STOMP clients can communicate with any STOMP message broker to provide messaging interoperability among many languages, platforms, and brokers.
Real Python: Lists and Tuples in Python
2019-09-03 14:00:00
In this course, youâll learn about working with lists and tuples. Lists and tuples are arguably Pythonâs most versatile, useful data types. Youâll find them in virtually every non-trivial Python program.
Codementor: Django Optimization: Or how we avoided memory mishaps
2019-09-03 13:59:25
(Cross-posted from my blog on Medium)
Working in a tech startup is akin to fighting a series of fires that crop up every now and then (faster, if you're iterating at breakneck speeds). Each time...
Obey the Testing Goat: New Book Excerpt: On Coupling and Abstractions
2019-09-03 13:40:00
At MADE.com iâve been working on a new book with the chief architect, Bob Gregory, in which we talk about application architecture and design. What follows is an excerpt, a standalone chapter in which we talk about abstractions, testability, and coupling.
PyCharm: Webinar: â10 Tools and Techniques Python Web Developers Should Exploreâ with Michael Kennedy
2019-09-03 12:58:34
Building web applications is one of Pythonâs true superpowers. Yet, the wide-open ecosystem means there are SO MANY CHOICES for any given project. How do you know whether youâre using the right tool for the right problem?
Stack Abuse: Python for NLP: Working with Facebook FastText Library
2019-09-03 12:43:00
This is the 20th article in my series of articles on Python for NLP. In the last few articles, we have been exploring deep learning techniques to perform a variety of machine learning tasks, and you should also be familiar with the concept of word embeddings. Word embeddings is a way to convert textual information into numeric form, which in turn can be used as input to statistical algorithms. In my article on word embeddings, I explained how we can create our own word embeddings and how we can use built-in word embeddings such as GloVe.
ListenData: Object Oriented Programming in Python : Learn by Examples
2019-09-03 09:43:05
In the above example, car is an object. Functions are called methods in OOP world. Characteristics are attributes (properties). Technically attributes are variables or values related to the state of the object whereas methods are functions which have an effect on the attributes of the object.
ListenData: Pandas Tutorial : Step by Step Guide (50 Examples)
2019-09-03 08:37:50
No <p> found.
Kushal Das: stylesheet for nmap output
2019-09-03 06:07:47
nmap is the most loved network discovery, and security auditing tool out there. It is already 22 years old and has a ton of features. It can generate output in various formats, including one which is useful for grep, and also one XML output.
Kushal Das: When governments attack: malware campaigns against activists and journalists
2019-09-03 04:15:51
Codementor: 9 Django Concepts Part 3 - Read Time: 3 Mins
2019-09-03 01:54:39
The final part of a 3 part series on 9 concepts of Django to help any aspiring Django developer to accelerate their learnings
PyBites: How to Cleanup S3 Objects and Unittest it
2019-09-02 19:00:00
In this guest post Giuseppe shares what he learned having to cleanup a large number of objects in an S3 bucket. He introduces us to some boto3 as well as moto and freezegun he used to test his code. Enter Giuseppe ...
Podcast.__init__: Combining Python And SQL To Build A PyData Warehouse
2019-09-02 16:21:36
The ecosystem of tools and libraries in Python for data manipulation and analytics is truly impressive, and continues to grow. There are, however, gaps in their utility that can be filled by the capabilities of a data warehouse. In this episode Robert Hodges discusses how the PyData suite of tools can be paired with a data warehouse for an analytics pipeline that is more robust than either can provide on their own. This is a great introduction to what differentiates a data warehouse from a relational database and ways that you can think differently about running your analytical workloads for larger volumes of data.
Real Python: Natural Language Processing With spaCy in Python
2019-09-02 14:00:00
spaCy is a free and open-source library for Natural Language Processing (NLP) in Python with a lot of in-built capabilities. Itâs becoming increasingly popular for processing and analyzing data in NLP. Unstructured textual data is produced at a large scale, and itâs important to process and derive insights from unstructured data. To do that, you need to represent the data in a format that can be understood by computers. NLP can help you do that.
Reuven Lerner: Reminder: Only one day left for early-bird pricing on Weekly Python Exercise A3 (objects for beginners)
2019-09-02 13:30:33
The biggest problem with software today isnât writing code. Itâs maintaining â debugging, improving, and expanding â existing code. Itâs hard to maintain someone elseâs code. Heck, itâs even hard to maintain your own code. (Who among us hasnât looked at code and said, âWho was the idiot who wrote this⊠oh, it was meâŠâ?)
EuroPython: EuroPython 2019: Please send in your feedback
2019-09-02 10:02:21
EuroPython 2019 is over now and so itâs time to ask around for what we can improve next year. If you attended EuroPython 2019, please take a few moments and fill in our feedback form, if you havenât already done so:
Julien Danjou: Dependencies Handling in Python
2019-09-02 09:22:00
Dependencies are a nightmare for many people. Some even argue they are technical debt. Managing the list of the libraries of your software is a horrible experience. Updating them â automatically? â sounds like a delirium.
PyBites: Code Challenge 63 - Automatically Generate Blog Featured Images
2019-09-02 07:00:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
Django Weblog: Django bugfix releases issued: 2.2.5, 2.1.12, and 1.11.24
2019-09-02 06:06:29
Today we've issued 2.2.5, 2.1.12, and 1.11.24 bugfix releases.
IslandT: Capitalize the letters that occupy even indexes and odd indexes separately
2019-09-02 05:58:57
Given a string, capitalize the letters within the string that occupy even indexes and odd indexes separately, and return as a list! Index 0 will be considered even.
Mike Driscoll: PyDev of the Week: Katherine Kampf
2019-09-02 05:05:00
This week we welcome Katherine Kampf (@kvkampf) as our PyDev of the Week! Katherine is a Program Manager at Microsoft, specifically for Azure Notebooks, which is Microsoftâs version of Jupyter Notebook. She also recently gave a talk at EuroPython 2019. Letâs take a few moments getting to know Katherine better!
Wingware Blog: Dark Mode and Color Configuration in Wing Python IDE
2019-09-02 01:00:00
Wing 7 added four new dark color palettes and the ability to quickly toggle between light and dark mode using the menu icon in the top right of the IDE window. When Dark Mode is selected, Wing switches to the most recently used dark color configuration, or the default dark configuration if none has been used.
Codementor: Useful Development Tools For Beginners
2019-09-01 15:32:26
Quick guide for beginners to learn faster and have some useful tools/reading materials.
Codementor: Motor control PLC in Python
2019-09-01 15:26:01
Multi processing is very slow using Multi thread
Ed Crewe: Teaching an old Pythonista new Gopher tricks
2019-09-01 12:27:59
No <p> found.
Tryton News: Newsletter September 2019
2019-09-01 06:00:06
@ced wrote:
IslandT: Multiply according to the number of times
2019-09-01 05:05:28
In this example, a root number and the number which indicates how many numbers of times that root number should get multiplied have been passed into a function which will then return a list of multiplied numbers of that original number. For example, if we pass in 3 and 5 to this method multiples(3, 5), we will receive a list of multiplied numbers: [5, 10, 15].
Weekly Python StackOverflow Report: (cxcii) stackoverflow python report
2019-08-31 22:41:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-08-31 22:41:03 GMT
Kushal Das: Announcing lymworkbook project
2019-08-31 14:17:31
In 2017, I started working on a new book to teach Linux command line in our online summer training. The goal was to have the basics covered in the book, and the same time not to try to explain things which can be learned better via man pages (yes, we encourage people to read man pages).
Python Bytes: #145 The Python 3 âY2Kâ problem
2019-08-31 08:00:00
No summary found!
IslandT: Combine two strings with Python method
2019-08-31 04:55:21
In this example, we are going to create a method which will do the followings:-
PyCharm: PyCharm 2019.2.2 Preview
2019-08-30 14:08:54
PyCharm 2019.2.2 Preview is now available!
Python Insider: Python 3.8.0b4 is now available for testing
2019-08-30 04:42:45
No <p> found.
Continuum Analytics Blog: Canaries Can Tweet: Preview New Features with Conda Canary
2019-08-29 20:33:56
Conda-canary is the pre-defaults-release channel for conda â it has the most recent version of conda. On occasion it will also have the latest pre-defaults-release of conda-build and other conda dependencies such as ruamel.yaml. Normally,âŠ
Thibauld Nion: 7 years of Django in 7-ish days
2019-08-29 20:24:11
Spring was quite an "interesting time" for my personal project: WaterOnMars.
Ned Batchelder: Donât omit tests from coverage
2019-08-29 10:43:59
Thereâs a common idea out there that I want to refute. Itâs this: when measuring coverage, you should omit your tests from measurement. Searching GitHub shows that lots of people do this.
IslandT: Find the maximum value within a string with Python
2019-08-29 03:33:27
In this chapter we are going to solve the above problem with a Python method. Given a string which consists of words and numbers, we are going to extract out the numbers that are within those words from that string, then compare and return the largest number within the given string.
py.CheckIO: New Python on CheckiO
2019-08-29 00:44:37
No summary found!
Python Software Foundation: PyPI Security Q4 2019 Request for Information period opens.
2019-08-28 17:23:31
No <p> found.
Stack Abuse: Introduction to the Python Pyramid Framework
2019-08-28 15:10:00
In this tutorial, we're going to learn how to use the Pyramid framework in Python. It is an open source web development framework which uses the Model-View-Controller (MVC) architecture pattern and is based on Web Server Gateway Interface (WSGI). The Pyramid framework has a lot of useful add-on packages that make web development a lot more convenient. Some other popular alternatives for web development in Python include Django and Flask.
Ruslan Spivak: Letâs Build A Simple Interpreter. Part 17: Call Stack and Activation Records
2019-08-28 15:00:00
âYou may have to fight a battle more than once to win it.â â Margaret Thatcher
Real Python: PyCharm for Productive Python Development (Guide)
2019-08-28 14:00:00
As a programmer, you should be focused on the business logic and creating useful applications for your users. In doing that, PyCharm by JetBrains saves you a lot of time by taking care of the routine and by making a number of other tasks such as debugging and visualization easy.
Caktus Consulting Group: A Review of ReportLab: PDF Processing with Python
2019-08-28 12:00:00
These days itâs easy to get swept up into the buzz around Pythonâs strengths as a data science package, but Python is also great for the more mundane, business process side of computing. One of the most important business processes is generating reports, and the most used and venerable form of report is the PDF. Python has a great library for generating and manipulating PDFs: ReportLab. I recently read more about this extremely useful library in ReportLab: PDF Processing with Python, by Michael Driscoll. With a few caveats, itâs an excellent resource.
Talk Python to Me: #227 Maintainable data science: Tips for non-developers
2019-08-28 08:00:00
Did you come to software development outside of traditional computer science? This is common, and even how I got into programming myself. I think it's especially true for data science and scientific computing. That's why I'm thrilled to bring you an episode with Daniel Chen about maintainable data science tips and techniques.
Humberto Rocha: Publishing my first Game
2019-08-28 03:00:00
No <p> found.
Kushal Das: Running Ubiquity controller on a Raspberry Pi
2019-08-27 20:32:31
I got a few new Raspberry Pi(s) with 4GB RAM. I used them as a full scale desktop for some time, and was happy with the performance.
PyCoderâs Weekly: Issue #383 (Aug. 27, 2019)
2019-08-27 19:30:00
#383 â AUGUST 27, 2019 View in Browser »
Stack Abuse: Python for NLP: Multi-label Text Classification with Keras
2019-08-27 15:06:00
Real Python: How to Use Python Lambda Functions
2019-08-27 14:00:00
Python and other languages like Java, C#, and even C++ have had lambda functions added to their syntax, whereas languages like LISP or the ML family of languages, Haskell, OCaml, and F#, use lambdas as a core concept. Python lambdas are little, anonymous functions, subject to a more restrictive but more concise syntax than regular Python functions.
Python Software Foundation: Python Software Foundation Fellow Members for Q1 & Q2 2019
2019-08-27 13:25:28
No <p> found.
EuroPython Society: EPS Board 2019/2020
2019-08-27 07:38:58
For those of you who were not at EuroPython 2019, weâre happy to announce our new board for the next term:
Codementor: Introduction to AWS beanstalk platform
2019-08-27 06:34:45
Using Elastic beanstalk, you can instant support your web apps in the no need AWS cloud having and no need information about infrastructure to run those apps.
Quansight Labs Blog: Quansight Labs Dask Update
2019-08-27 05:00:00
This post provides an update on some recent Dask-related activities the Quansight Labs team has been working on.
Catalin George Festila: Python 3.7.3 : Using the flask - part 017.
2019-08-27 03:05:07
Today I make some changes with my server.py and database and solve some issues, see old version at my old tutorial.
Firt issue was start script.
I create a linux script named start_server.sh to run the flask run command:
[mythcat@desk my_flask]$ ./start_server.sh I update the User with new fiels:
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(
Stories in My Pocket: Recommended episode: Web Software Architecture Extravaganza
2019-08-26 19:47:26
I recently started listening to the Friday Afternoon Deploy podcast and have been enjoying it.
PSF GSoC students blogs: Final weekly check-in #7
2019-08-26 19:30:09
Hey! Wassup? Time has passed and it's my final blog for Google Summer of code 2019. Every day was just amazing, I learned a lot, enjoyed a lot, worked a lot. This was really a life-changing experience, I am starting to feel different, look at this world from a different angle and I am myself a-lot different from the time when I started this. Now, about the work: What did you do this week? Well, I finished with the implementation of the documentation page of EOS-Icons. I just created a PR for that. PR link - https://gitlab.com/SUSE-UIUX/eos-icons-landing/merge_requests/22. This documentation page will be published at - https://eos-icons.eosdesignsystem.com/docs.html. I also finished my final evaluations and created my final work report. What's coming next? I also created a new PR for a few adjustments on the EOS-Icons landing page. I am planning to refactor the code and improve responsiveness. So, I am working on that now. Later I will work on a few other things that are still pending, mainly deploying strapi on Heroku. Did you stuck anywhere? Not really, this week was just about documentation and most of which was already on the readme, so it wasn't that of a big deal. So, ya this was all for my Google Summer of code 2019. Well, I won't be updating this blog for my future work because this was just for GSoC period. Maybe you can check me out on other platforms. Here is my linked-in - https://www.linkedin.com/in/abhinandan-sharma-672299150/ My twitter - https://twitter.com/abhinandan0659 Peace!
PSF GSoC students blogs: Final Blog - A Journey full of learnings
2019-08-26 18:07:49
Name : Anveshan Lal
Test and Code: 85: Speed Up Test Suites - Nicklas Meinzer
2019-08-26 17:45:00
Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.
Test and Code: 85: Speed Up Test Suites - Niklas Meinzer
2019-08-26 17:45:00
Good software testing strategy is one of the best ways to save developer time and shorten software development delivery cycle time.
PSF GSoC students blogs: Final work submission and future work
2019-08-26 15:58:47
As the final week ended, we had to submit a compilation of our work during GSoC. Below are some insights:
Podcast.__init__: AI Driven Automated Code Review With DeepCode
2019-08-26 15:01:59
Software engineers are frequently faced with problems that have been fixed by other developers in different projects. The challenge is how and when to surface that information in a way that increases their efficiency and avoids wasted effort. DeepCode is an automated code review platform that was built to solve this problem by training a model on a massive array of open sourced code and the history of their bug and security fixes. In this episode their CEO Boris Paskalev explains how the company got started, how they build and maintain the models that provide suggestions for improving your code changes, and how it integrates into your workflow.
PSF GSoC students blogs: Final Weekly Check-in
2019-08-26 14:48:10
In the final week of coding, I was refining the hadoop source PR.
PSF GSoC students blogs: Check-in: 13th and final week of GSoC (Aug 19 - Aug 25)
2019-08-26 14:15:16
I really enjoyed working on this project during the summer and would be glad to continue working on extending the linear regression functionality of MNE-Python after GSoC.
Real Python: A Guide to Excel Spreadsheets in Python With openpyxl
2019-08-26 14:00:00
Excel spreadsheets are one of those things you might have to deal with at some point. Either itâs because your boss loves them or because marketing needs them, you might have to learn how to work with spreadsheets, and thatâs when knowing openpyxl comes in handy!
Mike Driscoll: Profitable Python Episode: Put Your Family First
2019-08-26 13:56:14
I was a guest on the Profitable Python podcast this week. You can check it out here:
Stack Abuse: Minimax with Alpha-Beta Pruning in Python
2019-08-26 12:25:00
Way back in the late 1920s John Von Neumann established the main problem in game theory that has remained relevant still today:
Chris Moffitt: Combine Multiple Excel Worksheets Into a Single Pandas Dataframe
2019-08-26 12:25:00
One of the most commonly used pandas functions is read_excel . This short article shows how you can read in all the tabs in an Excel workbook and combine them into a single pandas dataframe using one command.
Erik Marsja: Python MANOVA Made Easy using Statsmodels
2019-08-26 10:01:13
The post Python MANOVA Made Easy using Statsmodels appeared first on Erik Marsja.
PSF GSoC students blogs: Google Summer of Code with Nuitka 7th Weekly Check-in
2019-08-26 08:24:13
1. What did you do this week?
PSF GSoC students blogs: Week 13: Weekly Check-In (#7) - Last Check-In
2019-08-26 08:17:46
1. What did you do this week?
Kushal Das: How to crack Open Source?
2019-08-26 07:27:23
PSF GSoC students blogs: Final Report
2019-08-26 05:55:35
Letâs rewind to the beginning of this year. We had started working on this application way before GSoC had even started. The goal was to have a working application which PSF will be able to use for this yearâs GSoC for the management of their students. In this way, we will be able to make sure that students actually use it and we get a clear idea if the application is serving its purpose. Iâm glad the plan worked out, because tons of bugs were reported and we could fix them. We also received valuable feedback from all users.
PSF GSoC students blogs: Weekly Check-In #10
2019-08-26 05:53:48
There were a lot of bugs posted, kind of like the last set of major fixes that we need to make.
PSF GSoC students blogs: Paginate Django Feeds
2019-08-26 05:48:21
Django has a great framework for generating feeds, but sadly it doesn't support pagination out of the box. Currently we have tons of blogs and the feeds page was loading especially slow with all the pages in it. I was hoping django will have some class variable to enable pagination but I was out of luck. But it had a method which took in the request, so I knew I had to parse the page number from there.
Mike Driscoll: PyDev of the Week: Frank Wiles
2019-08-26 05:05:38
This week we welcome Frank Wiles (@fwiles) as our PyDev of the Week! Frank is the President and Founder of Revolution Systems and President of the Django Software Foundation. If youâd like to know about Frank, you should take a moment to check out his website or his Github account. For now, letâs take some time to get to know him better!
PSF GSoC students blogs: Weekly Check-In #9
2019-08-26 05:02:52
We have come to the last phase of the summer. The application is almost ready but we needed to fix more bugs this time to fine tune the application. Some of those which we worked on this week were as follows.
PSF GSoC students blogs: Week 11-12 Check-In
2019-08-26 03:33:15
I am happy to announce that `CollisionHeightfield` is near completion! This week, I added some finalizations to `CollisionHeightfield`, which included improving the collision tests and adding the getter/setters of the class. My next steps would be to push my unit tests to the PR, and provide sample code which demonstrates the new CollisionSolid in action. One goal that I did not get to accomplish was to implement BAM serialization for `CollisionHeightfield`. BAM is one of Panda3D's native file formats, allowing users to export Panda3D objects. Additionally, I did not add collision tests for lines and line segments. `CollisionHeightfield` currently has a collision test for rays, which is probably used more commonly than line/segments in regards to terrain. However, it would be nice to add these tests, especially since they are only slight variants of the ray collision test. Regardless, I am happy to announce that `CollisionHeightfield` is pretty functional as is. That is all for this week, check back next week for my final blog post!
Wingware Blog: Introducing Variables with Refactoring in Wing Pro
2019-08-26 01:00:00
In past issues of Wing Tips we covered a number of the refactoring operations available in Wing Pro, such as renaming symbols, moving symbols, and introducing functions and methods. To finish our series on refactoring, let's take a look at how to introduce a variable based on existing Python code, using Wing Pro's Introduce Variable refactoring operation.
PSF GSoC students blogs: Panda3D iOS Support - A Postmortem
2019-08-26 00:00:47
Hi everyone!
PSF GSoC students blogs: [Blog #6] Part of the journey is the end.
2019-08-25 20:07:38
<meta charset="utf-8">
PSF GSoC students blogs: [Blog #5] Time just seems to fly.
2019-08-25 19:52:41
Â
TechBeamers Python: A Beginners Guide to Become a Machine Learning Engineer
2019-08-25 19:12:30
Do you wish to become a machine learning engineer? Yes, why not, you should because this job has the highest no. of openings in 2019 with $75K as the baseline salary. Also, it is an engineering stream, which is highly technical and provides countless opportunities to learn. By working in this field, you can not only improve your finances but also grow intellectually. This post intends to highlight all the steps that are essential for becoming a machine learning engineer. Youâll get to learn â What is Machine Learning, the job of a Machine Learning Engineer, his/her roles and responsibilities.
PSF GSoC students blogs: Final Checkin
2019-08-25 14:10:41
Â
Do the work (Janusworx): Learning Python
2019-08-25 13:16:26
Did I need to read a fifteen hundred page book to learn Python? At the end of fourteen hundred pages, I can safely assure you, I did not.
PSF GSoC students blogs: Final week
2019-08-25 11:39:06
This is going to be blog post about cleaning up the work I was doing and revisiting some old things I have done during the GSoC period.
Catalin George Festila: Python 3.7.3 : Using the flask - part 016.
2019-08-25 05:29:03
Today I tested a new feature of Flask version 1.1.1.
[mythcat@desk my_flask]$ pip list | grep Flask
Flask 1.1.1
Flask-Login 0.4.1
Flask-Mail 0.9.1
Flask-Migrate 2.5.2
Flask-Script 2.0.6
Flask-SQLAlchemy 2.4.0
Flask-WTF 0.14.2
This
PSF GSoC students blogs: Week #12
2019-08-24 21:36:21
I unsuccessfully tried to resolve the issue with dimensions in NMF. The main problem that I was facing was with specifying the correct dimensions for matrix operations within NMF algorithm and I have yet to identify the correct dimensions. Furthermore, there is no incremental algorithms for NMF as in PCA. Thus, if a large data is given, it becomes infeasible to perform NMF. There are several heuristics to go around this issue with scalability, namely parallel NMF, which divides columns (i.e. features) of the data matrix into several subsets, perform NMF independently on each of the column subsets, and then join the results at the end. Unfortunately, this algorithm was not feasible for LiberTEM because with LiberTEM, one only has access to the rows of the data matrix (i.e., images) and not to the full columns (i.e., feature vectors) at each step. I also tried to clean up jupyter notebook and reorganize.Â
Weekly Python StackOverflow Report: (cxci) stackoverflow python report
2019-08-24 20:59:00
No <p> found.
PSF GSoC students blogs: Multi-touch update
2019-08-24 20:26:32
Alas, time has caught up to me. I will not be able to get the touch trackball controls working in time for the submission deadline. Instead, I need to use this remaining time to package up my work and create a more thorough write-up that details what I have done and what is left to be done.
PSF GSoC students blogs: Final Blog Post GSOC19
2019-08-24 12:24:42
Hi everyone!
PSF GSoC students blogs: Thirteenth week of GSoC: Final Checkin
2019-08-24 08:10:36
1. What did you do this week?
Catalin George Festila: Python 3.7.3 : Using the flask - part 015.
2019-08-24 06:32:25
In this tutorial, I will show you how to migrate using the Database Migrations in flask project.
Because my laptop is gone I use my old Linux.
First you need to install these python modules with --user argument for Linux:
[mythcat@desk my_flask]$ pip3 install flask-migrate --user
...
[mythcat@desk my_flask]$ pip3 install flask-script --userLet's test this new issue with server.py file by adding
Codementor: How To Learn Any Programming Language Online in 2019
2019-08-23 15:03:57
The different programming languages, and where to learn
Peter Bengtsson: Train your own spell corrector with TextBlob
2019-08-23 14:52:47
TextBlob is a wonderful Python library it. It wraps nltk with a really pleasant API. Out of the box, you get a spell-corrector. From the tutorial:
PSF GSoC students blogs: Check in: Final
2019-08-23 14:49:04
1. What did you do this week?
Continuum Analytics Blog: How to Build a Custom Anaconda Installer for R
2019-08-23 14:00:19
A frequent question on the Anaconda Community mailing list is how to package R with conda for distribution. Depending on the use case, one option may be to use conda to move environments. This requiresâŠ
Python Circle: Python Script 17: Setting bing image of the day as desktop wallpaper
2019-08-23 13:44:59
Python Script to Set bing image of the day as desktop wallpaper, Automating the desktop wallpaper change to bing image of day using python code, changing desktop wallpaper using python, downloading an image using python code, updating the desktop wallpaper daily using python
Do the work (Janusworx): Generating Markdown from HTML
2019-08-23 12:45:40
Started with the problem, Need to take in an md file and then generate an html file.
Do the work (Janusworx): Au Revoir DTW
2019-08-23 12:25:00
Decided to pull the plug on the Do the Work blog. While I wanted to use it for my tiny, crazy, work in progress thoughts, I find that it was increasingly being subsumed by my new shiny Mastodon.
Reuven Lerner: Proud to be sponsoring PyCon 2020
2019-08-23 08:24:22
Iâm delighted to announce that Weekly Python Exercise is a gold sponsor of PyCon 2020, to be held in Pittsburgh, Pennsylvania. PyCon is the largest Python conference in the world, and is both fun and interesting for Python developers of all experience levels and backgrounds.
Talk Python to Me: #226 Building Flask APIs for data scientists
2019-08-23 08:00:00
If you're a data scientist, how do you deliver your analysis and your models to the people who need them? A really good option is to serve them over Flask as an API. But there are some special considerations you might keep in mind. How should you structure this API? What type of project structures work best for data science and Flask web apps? That and much more on this episode of Talk Python To Me with guest AJ Pryor.
Python Bytes: #144 Are you mocking me? It won't work!
2019-08-23 08:00:00
No summary found!
PyCharm: PyCharm 2019.2.1
2019-08-23 07:56:08
PyCharm 2019.2.1 is available now!
Kushal Das: A new tool to render my blog
2019-08-23 04:37:43
Brandon Rhodes: Animating Ptolemyâs Equant with Python, SVG, and CSS
2019-08-23 04:00:00
You will recall my previous blog post that tried to build the necessary scaffolding for me to finally write up my 2017 PyCon Ireland keynote on the structure of the Medieval universe. It ran into several problems with matplotlib animations â but, having written that post, I realized that the problem ran deeper.
PSF GSoC students blogs: Return GSoC; // Week that has been @ 2048
2019-08-23 03:21:54
We are done,
Janusworx: List Comprehensions, A Story in 3 Pictures
2019-08-23 03:09:11
PSF GSoC students blogs: Coding week #12
2019-08-23 00:28:01
This week I compiled all the code and experimentation notebooks into a Github web page to be submitted as a part of the final work product for GSoC. The cover page includes all the links to the different parts of the project and all the experiments that went into devising the algorithm for each part.
PSF GSoC students blogs: Coding week #11
2019-08-23 00:18:17
This week I attempted to understand and code the out of sample predictions for the MGWR model which is the third part of my proposal. After a discussion with the mentors I realized the scope of the work to be larger than I had first anticipated. I experimented with the options to implement the algorithm and with the help of the mentors we were able to center down on an approach. This part of the project will be defined as an ongoing part which I will continue to work on beyond the Google Summer of Code period.
Python Circle: Django Template Fiddle Launched !!!!
2019-08-22 19:46:18
Django template fiddle, Experimenting with Django templates, Playing with Django template, Django fiddle, template fiddle, djangotemplatefiddle.com,
Python Circle: Python Script 16: Generating word cloud image of a text using python
2019-08-22 19:46:18
word cloud python, generating a word cloud of a text using python code, python code to generate a word cloud image of a text. Using word frequencies to generate a word cloud image using a python script
PSF GSoC students blogs: Final week check-in
2019-08-22 16:45:09
Targets for this week:
PSF GSoC students blogs: GSoC Wrap-up - Blog Post #6
2019-08-22 14:42:31
Hello everyone!
PSF GSoC students blogs: Final Week | Helm chart tweeks
2019-08-22 14:27:35
No summary found!
Doing Math with Python: Doing Math with Python in Python Humble Bundle
2019-08-22 14:00:00
"Doing Math with Python" is part of No Starch Press's Python Humble Bundle. Of course, you get No Starch Press's other excellent Python books as part of the bundle. It's still on for the next 10 days!
Stack Abuse: Python for NLP: Creating Multi-Data-Type Classification Models with Keras
2019-08-22 12:51:00
This is the 18th article in my series of articles on Python for NLP. In my previous article, I explained how to create a deep learning-based movie sentiment analysis model using Python's Keras library. In that article, we saw how we can perform sentiment analysis of user reviews regarding different movies on IMDB. We used the text of the review the review to predict the sentiment.
PSF GSoC students blogs: Last Blog Post
2019-08-22 12:24:36
Hey, everyone!!!
Matt Layman: Celery In A Shiv App - Building SaaS #31
2019-08-22 07:42:18
In this episode, we baked the Celery worker and beat scheduler tool into the Shiv app. This is one more step on the path to simplifying the set of tools on the production server.
I started the stream by reviewing the refactoring that I did to conductor/main.py. The main file is used to dispatch to different tools with the Shiv bundle.
The refactored version can pass control to Gunicorn, the Django management tools, or Celery.
PSF GSoC students blogs: Week 11 Chek-in
2019-08-22 07:34:58
What did you do this week?
Dataquest: Jupyter Notebook for Beginners: A Tutorial
2019-08-22 07:01:00
Use this tutorial to learn how to create your first Jupyter Notebook, important terminology, and how easily notebooks can be shared and published online.
Catalin George Festila: Python 3.7.3 : Using the inotify.
2019-08-22 06:50:03
About this tool you can read here:
inotify functionality is available from the Linux kernel and allows you to register one or more directories for watching, and to simply block and wait for notification events.
[mythcat@desk ~]$ pip3 install inotify --user
...
Successfully installed inotify-0.2.10 nose-1.3.7Let's test it and see how this can be load it:
[mythcat@desk ~]$ python3
Python 3.7.4 (
PSF GSoC students blogs: It's the final countdown - 6th blog post
2019-08-22 02:38:53
Hello everyone!
PSF GSoC students blogs: Blog #6
2019-08-22 02:17:20
In the past week, my mentor and I tried to fix the dockerfile that sets up hadoop in a ubuntu container from scratch. Since that was becoming tidious, we tried setting up a mini hadoop cluster.
PSF GSoC students blogs: Weekly Check-in #10
2019-08-22 01:25:51
In the pat week, I was trying to set up hadoop using Dockerfile.
PSF GSoC students blogs: Blog #5
2019-08-22 01:06:05
In this week I was trying my hands on in setting up hadoop in docker.
Kushal Das: Remember to mark drive as removable for tails vm install
2019-08-21 20:18:39
If you are installing Tails into a VM for testing or anything else, always remember to mark the drive as a removable USB drive. Otherwise, the installation step will finish properly, but, you will get errors like the following screenshot while booting from the drive.
TechBeamers Python: Python Arrays in a Nutshell
2019-08-21 18:49:08
Python arrays are homogenous data structure. They are used to store multiple items but allow only the same type of data. They are available in Python by importing the array module. Lists, a built-in type in Python, are also capable of storing multiple values. But they are different from arrays because they are not bound to any specific type. So, to summarize, arrays are not fundamental type, but lists are internal to Python. An array accepts values of one kind while lists are independent of the data type. Python List In this tutorial, youâll get to know how to create
PyCharm: Python 3.8 support in PyCharm
2019-08-21 16:17:57
The release of Python 3.8 brought new features to the Python coding realm. The language is evolving according to its communityâs needs by addressing cases where new syntax or logic become necessary. From new ways of assigning expressions to restriction of usage of function declarations, calls, and variable assignations, this latest release presents new options to code. Of course, PyCharm couldnât get behind, so we now support some of the major features coming with this new version.
Real Python: Your Guide to the CPython Source Code
2019-08-21 16:10:00
Are there certain parts of Python that just seem magic? Like how are dictionaries so much faster than looping over a list to find an item. How does a generator remember the state of the variables each time it yields a value and why do you never have to allocate memory like other languages? It turns out, CPython, the most popular Python runtime is written in human-readable C and Python code. This tutorial will walk you through the CPython source code.
Stack Abuse: Python String Interpolation with the Percent (%) Operator
2019-08-21 14:35:00
There are a number of different ways to format strings in Python, one of which is done using the % operator, which is known as the string formatting (or interpolation) operator. In this article we'll show you how to use this operator to construct strings with a template string and variables containing your data.
Codementor: iOS and Android Localization Tool
2019-08-21 12:40:29
Command Line Interface that converts CSV file to iOS, Android or JSON localizable strings
Martijn Faassen: Refactoring to Multiple Exit Points
2019-08-21 11:12:05
Functions should have only a single entry point. We all agree on that. But some people also argue that functions should have a single exit that returns the value. More people don't seem to care enough about how their functions are organized. I think that makes functions a lot more complicated than they have to be. So let's talk about function organization and how multiple exit points can help.
Catalin George Festila: Python Qt5 - contextMenu example.
2019-08-21 11:06:26
A context menu is a menu in a graphical user interface (GUI) that appears upon user interaction, such as a right-click mouse operation.
I create the default application and I use QMenu to create this context menu with New, Open and Quit.
from PyQt5 import QtGui
from PyQt5.QtWidgets import QApplication, QMainWindow, QMenu
import sys
class Window(QMainWindow):
def __init__(self):
Janusworx: First Python Program
2019-08-21 10:20:32
Ok, really thrilled today. Patting myself on the back.
ListenData: How to drop one or multiple columns in Pandas Dataframe
2019-08-21 06:28:29
No <p> found.
Learn PyQt: Embedding PyQtGraph (or any other custom PyQt5 widgets) from Qt Designer
2019-08-20 19:48:19
Qt Designer is a great tool for designing PyQt5 GUIs, allowing you to use the entire range of Qt5 widgets and layouts to construct your apps. As your applications get more complex however you may find yourself creating custom widgets, or using PyQt5 libraries such as PyQtGraph, who's widgets are not available within Designer.
PyCoderâs Weekly: Issue #382 (Aug. 20, 2019)
2019-08-20 19:30:00
#382 â AUGUST 20, 2019 View in Browser »
Real Python: Python Histogram Plotting: NumPy, Matplotlib, Pandas & Seaborn
2019-08-20 14:00:00
In this course, youâll be equipped to make production-quality, presentation-ready Python histogram plots with a range of choices and features.
PSF GSoC students blogs: Weekly Check-in #13 : ( 16 Aug - 22 Aug )
2019-08-20 13:10:39
No <p> found.
PyCon: PyCon 2020 Conference Site is here!
2019-08-20 12:00:05
No <p> found.
Catalin George Festila: Python Qt5 - the QTimer class.
2019-08-20 11:49:17
I haven't written about PyQt5 in a while and today I decided to add a short tutorial on this python module.
The QTimer class is a high-level programming interface for timers and provides repetitive and single-shot timers.
I this example I call a method every second with these lines:
self.timer = QTimer()
self.timer.timeout.connect(self.handleTimer)
self.timer.start(1000)
Continuum Analytics Blog: Enterprises Need to Think Differently about Data Science. Hereâs How.
2019-08-20 11:00:37
Companies that are data science literate make and communicate decisions on the basis of real data models, and not merely instinct or tradition. They welcome new data science technologies as opportunities for potential innovation, ratherâŠ
Test and Code: 84: CircuitPython - Scott Shawcroft
2019-08-20 07:00:00
Adafruit enables beginners to make amazing hardware/software projects. With CircuitPython, these projects can now use Python.
PSF GSoC students blogs: weeklyCheckIn[12]
2019-08-20 05:43:55
Last week, me and my mentor started testing mscolab. At first, I exposed my port through ngrok. But the network I/O were extremely slow. I couldn't demonstrate all of mscolab's features. Then we setup an AWS instance with mscolab server deployed. We could test and improve on many of its features. Some things I worked on this week:
Codementor: Top 9 Django Concepts - Part 2 : 5 Mins
2019-08-20 02:58:11
The 2nd part of a 3 part series on 9 concepts of Django to help any aspiring Django developer to accelerate their learnings
PSF GSoC students blogs: Week 10 & 11
2019-08-20 02:56:27
These two weeks, I've been working on fixing bug #1. I think my algorithm will work in general, but right now the get_cves function doesn't work as I expected, which would cause some problem with data format in futher. Previously, the function will run the query that selects all the version of a product_vendor pair, and then save the result in memory, and using Python code to check whether the version we want is in it. This is actually inefficient and memory-consuming. Therefore, I refactored the code for conducting the query. Right now, the query will only select the version we want and return it to memory. The time for running the whole test cases reduced from 83 seconds to 61 second. So right now, I will try to implement the dynamic programming method and see if the time complexity is not too high.
PSF GSoC students blogs: Working towards pre-planned transforms
2019-08-20 01:44:27
The main feature I've been working on this week has been adding pre-planned transforms to pypocketfft in (pypocketfft!28). This will allow users to speed-up cases where many transforms of the same shape are done, without needing to rely on any internal caches. This gives the users a small performance improvement in pypocketfft but adding this to the scipy.fft interface will also allow other backends to benefit. e.g. pyFFTW can have a significantly more expensive planning phase.
PSF GSoC students blogs: See you later PSF-GSoC
2019-08-20 00:16:18
Hi everyone!
PSF GSoC students blogs: Google Summer of Code with Nuitka 6th Blog Post
2019-08-19 21:53:49
This week, I focused mostly on bug fixes and improving my PyPI-pytest automation script while also working on adding more standalone tests.
PSF GSoC students blogs: Blogpost: 12th week of GSoC (Aug 12 - Aug 18)
2019-08-19 21:37:58
The final week of Google Summer of Code is almost here. Time to make some final adjustmens and wrap up the project.
PSF GSoC students blogs: Seventh Blog - GSOC 2019
2019-08-19 20:34:53
Hey! welcome back.
PSF GSoC students blogs: Week-12: Developing Analytical Web Apps
2019-08-19 20:16:25
Hello folks,
Podcast.__init__: Security, UX, and Sustainability For The Python Package Index
2019-08-19 20:06:07
PyPI is a core component of the Python ecosystem that most developerâs have interacted with as either a producer or a consumer. But have you ever thought deeply about how it is implemented, who designs those interactions, and how it is secured? In this episode Nicole Harris and William Woodruff discuss their recent work to add new security capabilities and improve the overall accessibility and user experience. It is a worthwhile exercise to consider how much effort goes into making sure that we donât have to think much about this piece of infrastructure that we all rely on.
PSF GSoC students blogs: Week 12: Blog Post (#6)
2019-08-19 19:41:51
Last week, I worked on several steps to finalize my project. Some work was put into correcting and improving my pull requests, so they can be merged soon. I created an example file to demonstrate the useability of this project, and opened up a new pull request for it (next to another PR, that introduces the plotting support I implemented the previous week). As mentioned in my last blog post, I also thought about an alternative solution, i.e. to create a genuine plotting function for SourceTFR. But as I already suspected, this will not work without a lot of additional work. I originally intended to introduce a new type of plot derived from MNE's "TimeViewer", where you can not only skim along the time axis through the plotting GUI, but also along the frequency (and maybe the epochs) axis. After trying out some stuff, my best intuition to reaching this goal would be to simplify the "TimeViewer" class, and make it some kind of a "AxisViewer" class. This class would allow a developer to decide which axis (or even multiple axes) should be manipulable through the GUI. Yet, this would be only a part of the work, as this does not include the actual plotting function used by SourceTFR, and also would only work for the plots made on surface type source level data (since volume type source level data employs an entirely different plotting GUI). In my opinion, this functionality should rather be added later, so I can now concentrate on the finishing touches of the rest of the project. One such finishing touch is for example time and memory saving computation of tfr_stockwell, which is for now only available for tfr_morlet and tfr_multitaper. I already made attempts to tackle this problem, and currently try to make it pass the equivalence tests. But this will definitely be one of the things to do this week, as it will have big implications on the practical useability of the function.
Continuum Analytics Blog: Moving Conda Environments
2019-08-19 19:40:58
Conda is known as a package manager for Python and R packages produced by Anaconda, Inc. and conda-forge, the open-source community for conda Python packages. In addition to managing packages, Conda is also an environmentâŠ
Python Software Foundation: Humble Bundle by No Starch supports the Python Software Foundation!
2019-08-19 14:07:35
No <p> found.
Real Python: How to Make a Discord Bot in Python
2019-08-19 14:00:00
In a world where video games are so important to so many people, communication and community around games are vital. Discord offers both of those and more in one well-designed package. In this tutorial, youâll learn how to make a Discord bot in Python so that you can make the most of this fantastic platform.
Stack Abuse: Debugging Python Applications with the PDB Module
2019-08-19 12:41:00
In this tutorial, we are going to learn how to use Python's PDB module for debugging Python applications. Debugging refers to the process of removing software and hardware errors from a software application. PDB stands for "Python Debugger", and is a built-in interactive source code debugger with a wide range of features, like pausing a program, viewing variable values at specific instances, changing those values, etc.
Codementor: How to Find and Hire a Python/Django Development Company
2019-08-19 10:52:01
Learn how to find and hire a Python development company.
Codementor: Top 7 Compelling Reasons to Hire Ukrainian Developers
2019-08-19 10:51:36
Find out why itâs worth hiring Ukrainian developers.
PSF GSoC students blogs: Weekly blog #6 (week 12): 12/08 to 18/08
2019-08-19 10:34:22
Hello there! We are at the end of GSoC! Week 12 was the last week where weâd do any major coding. We still have the next week where we do a submission (and a final check-in?), so let me keep it short and tell you what I worked on this week and what I got stuck on.
PSF GSoC students blogs: Twelveth week of GSoC: Getting ready for the final week of GSoC
2019-08-19 10:03:40
My GSoC is soon coming to an end so I took some time to write down what still needs to be done:
Erik Marsja: The Easiest Data Cleaning Method using Python & Pandas
2019-08-19 08:27:48
The post The Easiest Data Cleaning Method using Python & Pandas appeared first on Erik Marsja.
Reuven Lerner: Weekly Python Exercise A3 (beginner objects) is open
2019-08-19 08:10:46
If youâve been programming in Python for any length of time, then youâve undoubtedly heard that âeverything is an object.â
Mike Driscoll: PyDev of the Week: Paul Ganssle
2019-08-19 05:05:44
This week we welcome Paul Ganssle (@pganssle) as our PyDev of the Week. Paul is the maintainer of the dateutil package and also a maintainer of the setuptools project. You can catch up with Paul on his website or check out some of his talks. Letâs take a few moments to get to know Paul better!
PSF GSoC students blogs: Week 10: Cartopy's EPSG
2019-08-19 03:15:22
What did you do this week?
Wingware Blog: Moving Code with Refactoring in Wing Pro
2019-08-19 01:00:00
In this issue of Wing Tips we explain how to quickly move functions, methods, classes, and other symbols around in Python code, using Wing Pro's Move Symbol refactoring operation.
William Minchin: Image Process Plugin 1.2.0 for Pelican Released
2019-08-18 23:13:00
Image Process is a plugin for Pelican, a static site generator written in Python.
Python Sweetness: Mitogen v0.2.8 released
2019-08-18 20:45:59
PSF GSoC students blogs: Blog post: Week 12
2019-08-18 16:37:25
Hi everyone!
PSF GSoC students blogs: Coding Period: Week 12
2019-08-18 14:09:13
Hello everyone! This is one of the last blogposts. This week I worked on the last features I needed to add in my GSoC period i.e. hg update --abort
PSF GSoC students blogs: Coding period: week #12
2019-08-18 13:22:42
This is going to be a blog post about fixing an urgent bug and splitting an old RFC patch of mine into stack to be landed. Also, finishing up something I was working for a long time.
PSF GSoC students blogs: 6th Last or Inception of new road Blog Post
2019-08-17 09:43:46
My best three months now come close to end but I am very happy from myself because I have completed my project before time. Upto this time my all project goals are completed i.e MVP, test and refactoring of code all of them is done. Just one pr regarding the reconnecting is on verge of merging which is a extended goals for the gsoc period. What I can say about past 3 months I don't have words to describe these days, I learned a lot of things like WebSocket, Gatsby and Jest. I spent entire time learning these technology and implementing them in my GatsbyJs preview project. Websocket for handling the websocket event fired from the backend of Plone CMS. Gatsby API, docs and gatsby-source-filesystem to learn how to implement the functionality for updating content on real time. Jest for writing test of implemented feature. I big thankyou to my mentor datakurre who helped me in completing the project. He was active throughout the project and solve my doubts regarding the project. He helped me out whenever I stuck at certain point. I learned a lot of things at the end of this program which is not avialable to most developer i.e refactoring the codebase. I have flatten the codebase by splitting the large function into the smaller ones. Out project contains a util.Js file which contains all the methods and function for the entire project. I refactored this utils file into small separate function file and now our codebase look neat, clean and enhanced code readability. Splitting into different files also helps us in refactoring the codebase from js to typescript which is our future plan. During the implementation I faced a interesting problem i.e how I grouped different functions into single file and separate those which is not related. I make a proper hierarchical order and resolve this issue.
TechBeamers Python: Python Filter()
2019-08-17 06:54:54
Python filter() function applies another function on a given iterable (List/String/Dictionary, etc.) to test which of its item to keep or discard. In simple words, it filters the ones that donât pass the test and returns the rest as a filter object. The filter object is of the iterable type. It retains those elements which the function passed by returning True. We can also convert it to List or Tuple or other types using their factory functions. In this tutorial, youâll learn how to use the filter() function with different types of sequences. Also, you can refer to the examples
Codementor: Creating a Docker Swarm Stack with Terraform (Terrascript Python), Persistent Volumes and Dynamic HAProxy.
2019-08-17 03:20:58
This article demonstrate how to create a Docker Swarm cluster with Volume, Firewall, DNS and Load Balance using terraform wrapped by a python script.
Brett Cannon: How do you verify that PyPI can be trusted?
2019-08-16 23:26:38
A co-worker of mine attended a technical talk about how Go's module mirror works and he asked me whether there was something there that Python should do.
Vinta Software: PyBay 2019: Talking about Python in SF
2019-08-16 19:47:34
We are back to San Francisco! Our team will be joining PyBay's conference, one of the biggest Python events in the Bay Area. For this year, we'll be giving the talk: Building effective Django queries with expressions.
PyBay has been a fantastic place to meet new people, connect with new ideas, and integrate this thriving community.
Here is the sl
Quansight Labs Blog: Spyder 4.0 beta4: Kite integration is here
2019-08-16 19:19:13
Kite is sponsoring the work discussed in this blog post, and in addition supports Spyder 4.0 development through a Quansight Labs Community Work Order.
Stack Abuse: Basics of Memory Management in Python
2019-08-16 12:57:00
Memory management is the process of efficiently allocating, de-allocating, and coordinating memory so that all the different processes run smoothly and can optimally access different system resources. Memory management also involves cleaning memory of objects that are no longer being accessed.
PyCharm: PyCharm 2019.2.1 RC
2019-08-16 12:48:34
PyCharm 2019.2.1 release candidate is available now!
Test and Code: 83: PyBites Code Challenges behind the scenes - Bob Belderbos
2019-08-16 07:00:00
Bob Belderbos and Julian Sequeira started PyBites a few years ago. They started doing code challanges along with people around the world and writing about it.
Twisted Matrix Labs: Twisted 19.7.0 Released
2019-08-15 23:38:00
No <p> found.
Python Insider: Inspect PyPI event logs to audit your account's and project's security
2019-08-15 17:45:03
No <p> found.
Continuum Analytics Blog: 4 Machine Learning Use Cases in the Automotive Sector
2019-08-15 13:54:12
From parts suppliers to vehicle manufacturers, service providers to rental car companies, the automotive and related mobility industries stand to gain significantly from implementing machine learning at scale. We see the big automakers investing inâŠ
Kushal Das: git checkout to previous branch
2019-08-15 11:26:53
We regularly move between git branches while working on projects. I always used to type in the full branch name, say to go back to develop branch and then come back to the feature branch. This generally takes a lot of typing (for the branch names etc.). I found out that we can use - like in the way we use cd - to go back to the previous directory we were in.
Malthe Borch: Using built-in transparent compression on MacOS
2019-08-14 21:41:54
Ever since DriveSpace on MS-DOS (or really, Stacker), we've had transparent file compression, with varying degrees of automation; in fact, while the DriveSpace-compression on MS-DOS was a fully automated affair, the built-in transparent compression in newer filesystems such as ZFS, Btrfs, APFS (and even HFS+), is engaged manually on a per-file or folder basis.
Continuum Analytics Blog: Accessing Remote Data with a Generalized File System
2019-08-14 19:31:49
Originally created for the needs of Dask, we have spun out a general file system implementation and specification, to provide all users with simple access to many local, cluster, and remote storage media. Dask and IntakeâŠ
TechBeamers Python: Append Vs. Extend in Python List
2019-08-14 18:51:56
In this tutorial, youâll explore the difference between append and extend methods of Python List. Both these methods are used to manipulate the lists in their specific way. The append method adds a single or a group of items (sequence) as one element at the tail of a list. On the other hand, the extend method appends the input elements to the end as part of the original list. After reading the above description about append() and extend(), it may seem a bit confusing to you. So, weâll explain each of these methods with examples and show the difference between
Real Python: An Effective Python Environment: Making Yourself at Home
2019-08-14 14:00:00
When youâre first learning a new programming language, a lot of your time and effort go into understanding the syntax, code style, and built-in tooling. This is just as true for Python as it is for any other language. Once you gain enough familiarity to be comfortable with the ins and outs of Python, you can start to invest time into building a Python environment that will foster your productivity.
Catalin George Festila: Python 3.7.3 : Using the flask - part 014.
2019-08-14 10:20:03
Today I worked on YouTube search with flask and Google A.P.I. project.
The source code is simple to understand and you can test any A.P.I. from google using this way.
I created a new Google project with YouTube A.P.I. version 3 and with the A.P.I. key.
I use this key to connect with flask python module.
I used the isodate python module.
You can see the source code on my GitHub repo named flask_yt
Python Bytes: #143 Spike the robot, powered by Python!
2019-08-14 08:00:00
No summary found!
Python Engineering at Microsoft: Whatâs New for Python in Visual Studio (16.3 Preview 2)
2019-08-13 23:41:38
Today, we are releasing Visual Studio 2019 (16.3 Preview 2), which contains an updated testing experience for Python developers. We are happy to announce that the popular Python testing framework pytest is now supported. Additionally, we have re-worked the unittest experience for Python users in this release.Â
Roberto Alsina: Episodio 5: Muchos Pythons
2019-08-13 20:55:11
Una pseudo secuela de "Puede Fallar" mostrando varias cosas:
PyCoderâs Weekly: Issue #381 (Aug. 13, 2019)
2019-08-13 19:30:00
#381 â AUGUST 13, 2019 View in Browser »
Mike Driscoll: An Intro to Flake8
2019-08-13 17:15:38
Python has several linters that you can use to help you find errors in your code or warnings about style. For example, one of the most thorough linters is Pylint.
Bhavin Gandhi: Organizing PythonPune Meetups
2019-08-13 15:23:56
One thing I like most about meetups is, you get to meet new people. Talking with people, sharing what they are doing helps a lot to gain more knowledge. It is also a good platform to make connections with people having similar area of interests. I have been attending PythonPune meetup since last 2 years. In this blog post, I will be sharing some history about this group and how I got involved in organizing meetups.
Continuum Analytics Blog: Getting Started with Machine Learning in the Enterprise
2019-08-13 14:47:01
Machine learning (ML) is a subset of artificial intelligence (AI) in which data scientists use algorithms and statistical models to predict outcomes and/or perform specific tasks. ML models can automatically âlearn fromâ data sets toâŠ
Continuum Analytics Blog: Whatâs in a Name? Clarifying the Anaconda Metapackage
2019-08-13 14:40:52
The name âAnacondaâ is overloaded in many ways. Thereâs our company, Anaconda, Inc., the Anaconda Distribution, the anaconda metapackage, Anaconda Enterprise, and several other, sometimes completely unrelated projects (like Red Hatâs Anaconda). Here we hopeâŠ
Stack Abuse: Using Django Signals to Simplify and Decouple Code
2019-08-13 12:25:00
Systems are getting more complex as time goes by and this warrants the need to decouple systems more. A decoupled system is easier to build, extend, and maintain in the long run since not only does decoupling reduce the complexity of the system, each part of the system can be managed individually. Fault tolerance has also enhanced since, in a decoupled system, a failing component does not drag down the entire system with it.
Codementor: Top 9 Django Concepts - Part 1: 4 Mins
2019-08-13 08:51:26
The 1st part of a 3 part series on 9 concepts of Django to help any aspiring Django developer to accelerate their learnings
CodeGrades: CodeGrades on Podcast.__init__
2019-08-13 03:00:00
CodeGrades was recently on the Podcast.__init__ show where we had lots of fun exploring the links between music and coding education as a way to explain the concepts behind CodeGrades.
Curtis Miller: Learn Python Statistics and Machine Learning with My New Book: Training Systems using Python Statistical Modeling
2019-08-12 15:00:59
Packt Publishing has turned another one of my video courses, Training Your Systems with Python Statistical Modeling, into a book! This book is now available for purchase. It is a tutorial book for Python statistics and machine learning.
Real Python: Your Guide to the Python Print Function
2019-08-12 14:00:00
If youâre like most Python users, including me, then you probably started your Python journey by learning about print(). It helped you write your very own hello world one-liner. You can use it to display formatted messages onto the screen and perhaps find some bugs. But if you think thatâs all there is to know about Pythonâs print() function, then youâre missing out on a lot!
Podcast.__init__: Learning To Program In Python With CodeGrades
2019-08-12 13:28:32
With the increasing role of software in our world there has been an accompanying focus on teaching people to program. There are numerous approaches that have been attempted to achieve this goal with varying levels of success. Nicholas Tollervey has begun a new effort that blends the approach adopted by musicians and martial artists that uses a series of grades to provide recognition for the achievements of students. In this episode he explains how he has structured the study groups, syllabus, and evaluations to help learners build projects based on their interests and guide their own education while incorporating useful skills that are necessary for a career in software. If you are interested in learning to program, teach others, or act as a mentor then give this a listen and then get in touch with Nicholas to help make this endeavor a success.
Codementor: How I built a Python text app
2019-08-12 09:47:41
This app helps in sending messages to phone numbers using a facility called Twilio.
Erik Marsja: Repeated Measures ANOVA in R and Python using afex & pingouin
2019-08-12 09:24:19
The post Repeated Measures ANOVA in R and Python using afex & pingouin appeared first on Erik Marsja.
Talk Python to Me: #225 Can subinterpreters free us from Python's GIL?
2019-08-12 08:00:00
Have you heard that Python is not good for writing concurrent asynchronous code? This is generally a misconception. But there is one class of parallel computing that Python is not good at: CPU bound work running the Python layer.
codingdirectional: Change python string to lower or upper case
2019-08-12 06:30:11
In this article, we will create a function which will take in a string and then change the word within that string to either all uppercases if most of the words within that string are uppercase or all lowercases if most of those words are either lowercase or the word counts for the uppercase word and lowercase word are equal.
Mike Driscoll: PyDev of the Week: Raphael Pierzina
2019-08-12 05:05:43
This week we welcome Raphael Pierzina (@hackebrot) as our PyDev of the Week! Raphael is a core developer of pytest, a popular testing framework for Python. You can learn more about Raphael by visiting his blog or checking out his Github profile. Letâs take a few moments to get to know Raphael!
Stéphane Wirtel: Speaker at PyCon.DE 2019
2019-08-11 19:26:48
Speaker at PyCon.DE 2019 VoilĂ , during the last week, I received very good news, I will be a speaker at PyCon.DE 2019 in Berlin in October 2019.
I will present my new talk What’s new in Python 3.8?
So, good luck to the other speakers and I hope to see you there.
Stéphane
TechBeamers Python: Python Map()
2019-08-11 17:30:23
Python map() function applies another function on a given iterable (List/String/Dictionary, etc.) and returns map object. In simple words, it traverses the list, calls the function for each element, and returns the results. Python map object is also iterable holding the list of each iteration. We can also convert it to List or Dictionary or other types using their constructor functions. In this tutorial, youâll learn how to use the map() function with different types of sequences. Also, you can refer to the examples that weâve added to bring clarity. Python Map() Function Explained Python Map() Function The map() function
ListenData: Python : Learn Object Oriented Programming in 3 Hours
2019-08-11 03:29:52
In the above example, car is an object. Functions are called methods in OOP world. Characteristics are attributes (properties). Technically attributes are variables or values related to the state of the object whereas methods are functions which have an effect on the attributes of the object.
Weekly Python StackOverflow Report: (cxc) stackoverflow python report
2019-08-10 21:34:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-08-10 21:33:55 GMT
Codementor: Path Towards Deploying Django - Reading Time: 3 Mins
2019-08-10 02:25:47
Learning on the various paths to deploy a Django web application.
Codementor: JSON Data to a pandas df without read_json() method
2019-08-09 17:56:13
How to deal with JSON data in python
Catalin George Festila: Python 3.7.3 : Using the flask - part 013.
2019-08-09 13:26:20
Flask uses Jinga2 template engine.
The Jinga2 template engine uses the following delimiters for escaping from HTML.
We can use this:
{% ... %} for Statements
{{ ... }} for Expressions to print to the template output
{# ... #} for Comments not included in the template output
# ... ## for Line Statements
The documentation webpage comes with all information about how can be used.
I create a new
Stack Abuse: Python Docstrings
2019-08-09 12:24:00
As already pointed out in a previous article titled Commenting Python Code you have learned that documentation is an essential, and a continuous step in the process of software development. The article mentioned above briefly introduced the concept of docstrings which is a way to create documentation for your Python code from within the code. This in-code documentation works for modules, classes, methods, and functions, and it is the preferred way to document all Python code.
ListenData: How to drop columns in Pandas Dataframe
2019-08-09 12:01:04
No <p> found.
Stack Abuse: Rounding Numbers in Python
2019-08-08 14:10:57
Using a computer in order to do rather complex Math is one of the reasons this machine was originally developed. As long as integer numbers and additions, subtractions, and multiplications are exclusively involved in the calculations, everything is fine. As soon as floating point numbers or fractions, as well as divisions, come into play it enormously complicates the whole matter.
"Menno's Musings": Python virtualenvs talk
2019-08-08 11:33:23
I had the pleasure of giving a talk about Python virtual environments at this week's Christchurch Python meetup. It described the problem that virtualenvs solve, some gotchas and the tools people use to create and manage them. We also spent some time on some of the newer entrants in this space including pew, pipenv and poetry. The slides are available.
Catalin George Festila: Python 3.7.3 : Using the flask - part 012.
2019-08-08 11:21:08
The goal of this tutorial step is to understand how the project can use the new features and implementation of the project.
Because in the last tutorial I used the flask_mail python module, now I will add into my project structure.
One good issue is registration issue for users.
First, you need to see the full project and changes at my GitHub project.
I used the itsdangerous python module to use
Moshe Zadka: Designing Interfaces
2019-08-08 05:20:00
One of the items of feedback I got from the article about interface immutability is that it did not give any concrete feedback for how to design interfaces. Given that they are forever, it would be good to have some sort of guidance.
Learn PyQt: PyQt5 Widgets Overview
2019-08-07 20:14:33
In Qt (and most User Interfaces) âwidgetâ is the name given to a component of the UI that the user can interact with. User interfaces are made up of multiple widgets, arranged within the window.
PyPy Development: A second life for the Sandbox
2019-08-07 19:31:55
No <p> found.
Real Python: Welcome to Real Python!
2019-08-07 17:55:22
Welcome! In this series of videos youâll get an overview of the features of the Real Python platform, so you can make the most of your membership. Follow along and get tips on:
PyCharm: PyCharm 2019.2.1 Preview
2019-08-07 15:33:18
PyCharm 2019.2.1 Preview is now available!
Stéphane Wirtel: PyCon Ireland 2019: Call for proposals
2019-08-07 15:00:00
PyCon Ireland 2019 Python Ireland is the Irish organisation representing the various chapters of Python users. We organise meet ups and events for software developers, students, academics and anyone who wants to learn the language. One of our aims is to help grow and diversify the Python community in Ireland.
PyCon Ireland is the largest annual gathering of the Irish Python community. It takes place over a period of two days.
Real Python: Inheritance and Composition: A Python Guide
2019-08-07 14:00:00
In this article, youâll explore inheritance and composition in Python. Inheritance and composition are two important concepts in object oriented programming that model the relationship between two classes. They are the building blocks of object oriented design, and they help programmers to write reusable code.
Catalin George Festila: Python 3.7.3 : Using the flask - part 011.
2019-08-07 10:59:08
The tutorial for today is focused on the email issue.
I will start with the new python module for flask named flask_mail.
Let's install it:
C:\Python373>cd Scripts
C:\Python373\Scripts>pip3 install flask_mail
Collecting flask_mail
...
Installing collected packages: blinker, flask-mail
Successfully installed blinker-1.4 flask-mail-0.9.1The next source code let show you how can use this python
Reuven Lerner: Enjoyed the movie? Now you can also enjoy the (Jupyter note)book!
2019-08-07 09:19:23
About a month ago, I started my âPython standard library video explainer seriesâ on YouTube. My goal is to walk through the Python standard library, one little bit at a time â explaining it to Python developers, and also discovering (for myself) the many gems that exist in there, but which Iâve never had a chance to discover or work with.
Dataquest: 5 Steps to Learning Python the Right Way
2019-08-07 08:16:43
Learn Python online in 5 steps, with hands-on missions that can take you from zero experience to data scientist quicker than you think!
Python Insider: Python 3.8.0b3 is now available for testing
2019-08-07 04:40:53
No <p> found.
Matt Layman: Ripping Out Node.js - Building SaaS #30
2019-08-07 00:00:00
No <p> found.
Python Engineering at Microsoft: Python in Visual Studio Code â August 2019 Release
2019-08-06 22:14:00
We are pleased to announce that the August 2019 release of the Python Extension for Visual Studio Code is now available. You canâŻdownload the Python extensionâŻfrom the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about âŻPython support in Visual Studio Code âŻin the documentation. Â
PyCoderâs Weekly: Issue #380 (Aug. 6, 2019)
2019-08-06 19:30:00
#380 â AUGUST 6, 2019 View in Browser »
TechBeamers Python: Python to Find Difference Between Two Lists
2019-08-06 17:15:30
In this tutorial, weâll discover two Pythonic ways to find the Difference Between Two Lists. One of the methods is using the Python Set. It first converts the lists into sets and then gets the unique part out of that. Other non-set methods compare two lists element by element and collect the unique ones. We can implement these by using nested for loops and with the list comprehension. By the way, if you are not aware of the sets in Python, then follow the below tutorial. It would quickly introduce you to how Python implements the mathematical form of Set.
Real Python: 11 Beginner Tips for Learning Python
2019-08-06 14:00:00
We are so excited that you have decided to embark on the journey of learning Python! One of the most common questions we receive from our readers is âWhatâs the best way to learn Python?â
Stack Abuse: Image Classification with Transfer Learning and PyTorch
2019-08-06 12:41:00
Transfer learning is a powerful technique for training deep neural networks that allows one to take knowledge learned about one deep learning problem and apply it to a different, yet similar learning problem.
nl-project: Announcing syntreenet 1.0
2019-08-06 11:31:51
Syntreenet provides a scalable and performant logic engine for any formal language described by a parsing expression grammar (PEG). You can check it out <a href="https://pypi.org/project/syntreenet/">at Pypi</a>.
Catalin George Festila: Python 3.7.3 : Using the flask - part 010.
2019-08-06 08:02:20
If you read my last tutorial about flask then you understand how to use the structure flask project with views.py and models.py.
If you run it and open the browser with http://127.0.0.1:5000/texts/ the result will be this:
{"texts":[{"title":"first title","txt_content":"this is first content"},{"title":null,"txt_content":null}]}
Let's create a file .env into the base folder named my_flask and add
Python Bytes: #142 There's a bandit in the Python space
2019-08-06 08:00:00
No summary found!
Reuven Lerner: Weekly Python Exercise is a PyCon Africa 2019 bronze sponsor
2019-08-06 06:00:47
Iâve attended two Python conferences so far this year: PyCon (in May, in Cleveland, Ohio) and EuroPython (in July, in Basel, Switzerland). Both were fantastic; I was happy to be a sponsor at PyCon in the US, and to give my âpractical decoratorsâ talk at both conferences.
Mike Driscoll: Using Twitter with Python and Tweepy
2019-08-06 05:05:31
Twitter is a popular social network that people use to communicate with each other. Python has several packages that you can use to interact with Twitter. These packages can be useful for creating Twitter bots or for downloading lots of data for offline analysis. One of the more popular Python Twitter packages is called Tweepy. You will learn how to use Tweepy with Twitter in this article.
Roberto Alsina: Old Guy @ The Terminal Ep 3: Puede Fallar!
2019-08-05 21:46:37
Episodio 3!
Podcast.__init__: Build Your Own Knowledge Graph With Zincbase
2019-08-05 21:35:01
Computers are excellent at following detailed instructions, but they have no capacity for understanding the information that they work with. Knowledge graphs are a way to approximate that capability by building connections between elements of data that allow us to discover new connections among disparate information sources that were previously uknown. In our day-to-day work we encounter many instances of knowledge graphs, but building them has long been a difficult endeavor. In order to make this technology more accessible Tom Grek built Zincbase. In this episode he explains his motivations for starting the project, how he uses it in his daily work, and how you can use it to create your own knowledge engine and begin discovering new insights of your own.
PSF GSoC students blogs: Blogpost: 10th week of GSoC (Jul 29 - Aug 04)
2019-08-05 20:13:57
During this last week I focused on an implantation of the classical bootstrap, as well as the bootstrap-t technique (see previous post for a detailed description of the latter), to provide a robust estimate of significance for the results of the group-level linear regression analysis framework for neural time-series we've been working on during the last few weeks.
PSF GSoC students blogs: Ladon, web services-last weeks
2019-08-05 18:01:15
Hello everyone!
Erik Marsja: How to Make a Scatter Plot in Python using Seaborn
2019-08-05 17:34:34
Data visualization is a big part of the process of data analysis. In this post, we will learn how make a scatter plot using Python and the package Seaborn. In detail, we will learn how to use the Seaborn methods scatterplot, regplot, lmplot, and pairplot to create scatter plots in Python.
Codementor: How to automate artistic taste (Basic clustering example with python and sklearn)
2019-08-05 16:36:37
Cellular automata patterns are clustered based on features related to beauty such as fractal dimensionality and compression efficiency in order to find out the most interesting ones.
Codementor: How to sort generative art patterns by beauty (Simple clustering example with python and sklearn)
2019-08-05 16:36:37
Cellular automata patterns are clustered based on features related to beauty such as fractal dimensionality and compression efficiency in order to find out the most interesting ones.
PSF GSoC students blogs: Time is running out - 5th blog post
2019-08-05 15:42:41
Hello everyone.
Sumana Harihareswara - Cogito, Ergo Sumana: Kickoff for Communications Work on the Python 2 Sunsetting
2019-08-05 14:02:57
So the Python Software Foundation has contracted with my firm, Changeset Consulting, to help communicate about the sunsetting of Python 2. The high-level goal for Changeset's involvement is to help users through the end of the transition, help with communication so volunteers are not overwhelmed, and help update public-facing assets so core developers are not overwhelmed. During this project (starting now and going till the end of April 2020), Changeset's goals are: Create a concise page on python.org giving community guidance on the why and what of EOL Create and publicize a formal press release through the PSF Audit and update every mention of Python 2 on python.org, including in documentation and the wiki Develop a plan to handle redirecting https://docs.python.org/2/* (especially deep links) Publicize the new "what's up with EOL" page to a variety of audiences, respond to questions, and keep the page updated until PyCon US 2020 based on questions that come up So, towards those goals, you'll see me with my colleagues: Researching, writing, and editing technical documents and the press release Corresponding with stakeholders, writing and publishing announcements and other communications in multiple media Initiating and facilitating meetings (I will try to make them very minimal and short; if I invite you, please let me know your response) Filing, triaging, labelling, prioritizing, and linking issues, such as in the website repo For accountability, Changeset will provide reporting via: A publicly visible project roadmap, including milestones, probably within the pythondotorg repo A public rundown of all work completed at the end of each milestone, probably on the Discourse forum at discuss.python.org or on the pydotorg-www mailing list A brief written or oral monthly report to the Steering Council As necessary, updates to the PSF board If requested by PSF, blog posts monthly or more rarely, on the PSF blog or Python Insider (potentially) a PyCon North America birds-of-a-feather session in April 2020 I'm going to be asking for a lot of help along the way from the Python community: meeting with us, answering our questions, double-checking our drafts for accuracy, publicizing that EOL page to your circles, setting up some parties for January 1st. Thanks in advance and let's get the Python user base further along towards enjoying the shininess of Python 3.
Real Python: What You Need to Know to Manage Users in Django Admin
2019-08-05 14:00:00
User management in Django admin is a tricky subject. If you enforce too many permissions, then you might interfere with day-to-day operations. If you allow for permissions to be granted freely without supervision, then you put your system at risk.
Philippe Normand: Review of the Igalia Multimedia team Activities (2019/H1)
2019-08-05 13:30:00
This blog post takes a look back at the various Multimedia-related tasks the Igalia Multimedia team was involved in during the first half of 2019.
PSF GSoC students blogs: Weekly blog #5 (week 10): 29/07 to 04/08
2019-08-05 12:10:59
Hey. It looks like weâre in August now. Summer is coming to an end fast!
PSF GSoC students blogs: Week-10: Executing notebooks from the Pipeline
2019-08-05 12:00:45
Hello folks,
Kushal Das: Adding directory to path in csh on FreeBSD
2019-08-05 09:52:00
While I was trying to install rust on a FreeBSD box, I figured that I will have to update the path on the system with directory path of the ~/.cargo/bin. I added the following line in the ~/.cshrc file for the same.
Talk Python to Me: #224 12 lessons from 100 days of web
2019-08-05 08:00:00
Back in May of 2018, Bob Belderbos, Julian Sequeira, and I started on what would be a 9-month project. We wanted to create a dedicated, 100 days of code course specifically for Python web developers. Much of what we created for that course, we had prior experience with. But much of it was also new to us.
PSF GSoC students blogs: weeklyCheckIn[10]
2019-08-05 07:57:24
As discussed in the earlier blog, I worked on tests for GUI to 'checkout' to a previous version of flightpath. After creating a pull request, I parallelly started working on GUI to add users and projects. I also got the pull request reviewed by my mentor.
PyBites: PyCon Australia 2019
2019-08-05 07:44:29
PyCon Australia 2019 was, surprisingly, my first Australian Python Convention. It was also the first Python Convention I've attended purely as a spectator. I didn't contribute officially and was just there to learn and meet people.
Catalin George Festila: Python 3.7.3 : Using the flask - part 009.
2019-08-05 07:10:44
In this tutorial, I will show you how to use blueprints with a new type of flask project using multiple python files.
I show you just how to create the A.P.I. not the REACT front end.
Flask uses a concept of blueprints for making application components and supporting common patterns within an application or across applications. Blueprints can greatly simplify how large applications work and
Mike Driscoll: PyDev of the Week: Eric Matthes
2019-08-05 05:05:16
This week we welcome Eric Matthes (@ehmatthes) as our PyDev of the Week! Eric is the author of the popular book, Python Crash Course. He also created a neat set of Python Flash Cards that I reviewed earlier this year. You can catch up with Eric on his website or check out some of his work on Github.
PSF GSoC students blogs: Week #10
2019-08-04 23:47:59
I continued working on developing test cases. I tried to write up an overview for testing frameworks since such a framework could potentially be useful for other methods beyond PCA. I still haven't found a test where the implemented PCA falls short of the standard PCA, which is good in the sense that the performance is on par with the standard PCA but potentially harmful since we don't know its vulnerabilities. Meanwhile, I'm in the process of implementing NMF. I'm currently am trying to use the hyperbox method that I used in PCA. Unlike PCA, however, it is generally not possible to apply NMF in an incremental manner as we did in PCA so I'm reading up papers to resolve this issue.
PSF GSoC students blogs: Week #9
2019-08-04 23:43:07
I explored different ways in which PCA can be tested. More specifically, I tried to find some testing schemes under which the PCA I developed fails while the standard PCA method works. This practice is to help me understand the potential limitations of the PCA method. Unfortunately, I have yet to find a case where the PCA method fails. So far, it appears that the standard PCA and the implemented PCA performs more or less on the same level. Currently, I'm trying to exploit the fact that "hyperbox" method was used by drawing the loading matrix from different heavy tail distributions.
PSF GSoC students blogs: SIxth Blog - GSOC 2019
2019-08-04 20:04:50
Hello there,Â
PSF GSoC students blogs: Weekly CheckIn 9th
2019-08-04 18:10:12
So, As I previously mention in this phase I have to write documentation and refactor the code. So, I started with writing documentation for the config options provided by the plugin. I have written all the config option properties which you can pass to plugin and extended your website feature. After adding documentation I started refactoring the code. I have flatten the code by creating separate function for each event I have added. I added the create, modified event and delete event. I refactor the code related to createEvent. You can see both the pr below.
PSF GSoC students blogs: Blog post: Week 10
2019-08-04 17:28:40
Hi everyone!
PSF GSoC students blogs: Coding Period: Week 10
2019-08-04 16:22:45
Hey everyone! This is what I did this week. In this phase, I worked mostly on the understanding of mergestate for developing a patch for hg update --abort. This is the last part that I need to complete before GSoC deadline.
PSF GSoC students blogs: Tenth week of GSoC: git-annex and datalad
2019-08-04 08:17:42
In the last weeks Alex, Mainak and I were working on making the mne-study-template compatible with the Brain Imaging Data Structure (BIDS). This process involved testing the study template on many different BIDS datasets, to see where the template is not yet general enough, or where bugs are hidden.
Catalin George Festila: Python 3.7.3 : Using the flask - part 008.
2019-08-04 05:00:14
The tutorial for today will show you how to understand the flash method and fix exceptions.
First, the Flask module contains a flash method which passes a message to the next request, which generally is a template.
This lets you create feedback to users of a web application is critical, from notifications and error messages to warnings and progress alerts.
This system allows us to record a
Doug Hellmann: sphinxcontrib.datatemplates 0.5.0
2019-08-03 22:02:14
Continue reading "sphinxcontrib.datatemplates 0.5.0"
Weekly Python StackOverflow Report: (clxxxix) stackoverflow python report
2019-08-03 18:42:00
No <p> found.
TechBeamers Python: Python Float()
2019-08-03 16:39:04
This tutorial explains Python float() method that takes a number or string and returns a floating-point value. If it is not able to convert string to float, then it raises the ValueError. Letâs try to understand how to use it with the help of simple examples. 1. float() syntax 2. float() with +ve numbers 3. float() with -ve numbers 4. float() with strings of numbers 5. float() with invalid inputs Letâs now go through each of the section one by one. Generate Float Range in Python Python float() with Examples Float() is a built-in Python function that converts a number
IslandT: Search the currency pair on the tkinter display panel
2019-08-03 13:48:49
In this article, we will create a new function which will search for the currency pair in the tkinter display panel then highlight that currency pair with green background.
PSF GSoC students blogs: Coding period: week #10
2019-08-03 13:44:54
This is going to be a blog post about coding up a much requested feature by the community.
Catalin George Festila: Python 3.7.3 : Using the flask - part 007.
2019-08-03 04:36:21
This will be a long tutorial because will try to link some information's from the last tutorials.
First, the structure of the project can see into my GitHub project.
I create new templates and another python script named tserv.py for testing.
You can see easier how the POST method works and how to deal with a python database issue.
This script comes with an upload file feature and upload database
Ned Batchelder: Why your mock doesnât work
2019-08-02 18:15:00
Mocking is a powerful technique for isolating tests from undesired interactions among components. But often people find their mock isnât taking effect, and itâs not clear why. Hopefully this explanation will clear things up.
NumFOCUS: Dask joins NumFOCUS Sponsored Projects
2019-08-02 16:28:34
The post Dask joins NumFOCUS Sponsored Projects appeared first on NumFOCUS.
Codementor: Lesson In Adopting Test Driven Development (TDD) - Read Time: 3 Mins
2019-08-02 13:07:45
Lessons learnt to do TDD for junior developer Singapore and adopting TDD as part of my developer workflow.
Catalin George Festila: Python 3.7.3 : Using the flask - part 006.
2019-08-02 06:02:12
Today I will show you how to use the RESTful API application with flask python module that uses HTTP requests to GET, PUT, POST and DELETE data.
When HTTP is used, as is most common, the operations (HTTP methods) available are GET, HEAD, POST, PUT, PATCH, DELETE, CONNECT, OPTIONS and TRACE.[2] see the Wikipedia article.
All of these HTTP methods will be tested with postman software.
You need to
PSF GSoC students blogs: Week 9
2019-08-02 03:51:36
Last time I spent time working on testing on Windows and refining documents. While I was trying to get it running on windows, I found the environment setting is really a problem. One solution is to write a script to automatically configure all the stuffs. In the following week I will try to fix #1 issue that is about NVD database.
PSF GSoC students blogs: Final Sprint to finish scikit and make it even easier to add models
2019-08-01 20:14:28
So far I have successfully added 2 models to dffml out which dffml-model-scratch (Linear regression) is already released and available on pypi. Other scikit model has been merged and is awaiting release.
TechBeamers Python: Python Check Integer Number in Range
2019-08-01 17:04:00
This tutorial provides you multiple methods to check if an integer number lies in the given range or not. It includes several examples to bring clarity. Letâs first define the problem. We want to verify whether an integer value lies between two other numbers, for example, 1000 and 7000: So, we need a simple method that can tell us about any numeric value if it belongs to a given range. Hence, in this post, weâll describe three ways of solving this problem. You can choose which of these suits you the best. Two of these methods works in Python 3,
Continuum Analytics Blog: 4 Ways Financial Firms Put Machine Learning to Work
2019-08-01 15:02:32
Several industry giants in the finance sector are well on their way to implementing machine learning technology that improves operations and guides strategy in multiple departments. So far, machine learning algorithms are being used inâŠ
IslandT: Use the Blockchain data to populate the combo box
2019-08-01 11:59:13
Previously the cryptocurrency application has loaded the world currency text file and then populate the currency combo box based on the currency symbol in that text file. In this article, the cryptocurrency program will use the returning currency symbol from Blockchain to populate that same combo box.
Catalin George Festila: Python 3.7.3 : Using the flask - part 005.
2019-08-01 10:13:03
In the last tutorial, I used the flask-sqlalchemy python module.
Today I will show you how to use the flask_marshmallow python module.
First, let's take a look at this python module, see the official webpage:
Flask-Marshmallow is a thin integration layer for Flask (a Python web framework) and marshmallow (an object serialization/deserialization library) that adds additional features to
PSF GSoC students blogs: Weekly Checkin #5
2019-08-01 10:09:22
I'm still going on with zip reformulation and at the same time also working on the keyfun parameter of the min and max builtin. To be completely honest this week has not be that productive because I am studying for an upcoming exam. But I'm hoping to get back on track in a next couple of days.
Django Weblog: Django security releases issued: 2.2.4, 2.1.11 and 1.11.23
2019-08-01 09:10:20
In accordance with our security release policy, the Django team is issuing Django 1.11.23, Django 2.1.11, and Django 2.2.4. These releases addresses the security issues detailed below. We encourage all users of Django to upgrade as soon as possible.
Tryton News: Newsletter August 2019
2019-08-01 06:00:06
@ced wrote:
PSF GSoC students blogs: Weekly Check-in #8
2019-08-01 04:20:27
In the past week, I was working on setting up Hadoop and trying to import data from it. I got my PRs reviewed by my mentor and working on the changes he suggested.
PSF GSoC students blogs: Coding week #9
2019-08-01 01:06:13
After a productive discussion with my mentors last week, we agreed to proceed coding the local scoring algorithm for Binomial MGWR and testing the results from that. After familiarizing myself with the literature on the local scoring procedure, I coded it in the context of local models for MGWR. After multiple iterations, the model is converging and the bandwidth results are looking as expected. Though the parameter coefficients have values close to expected but not as accurate as needed. There could be possible issues with the weights associated in the model, and some adjustments need to be made for the coefficients which need to be figured out.
Will Kahn-Greene: crashstats-tools v1.0.1 released! cli for Crash Stats.
2019-07-31 19:00:00
crashstats-tools is a set of command-line tools for working with Crash Stats (https://crash-stats.mozilla.org/).
Erik Marsja: How to Read and Write JSON Files using Python and Pandas
2019-07-31 15:22:39
In this post we will learn how to read and write JSON files using Python. In the first, part we are going to use the Python package json to create a JSON file and write a JSON file. In the next part we are going to use Pandas json method to load JSON files into Pandas dataframe. Here, we will learn how to read from a JSON file locally and from an URL as well as how to read a nested JSON file using Pandas.
PyCharm: Jupyter, PyCharm and Pizza
2019-07-31 14:00:41
Hi there! Have you tried Jupyter Notebooks integration in PyCharm 2019.2? Not yet? Then let me show you what it looks like!
Real Python: First Steps With PySpark and Big Data Processing
2019-07-31 14:00:00
Itâs becoming more common to face situations where the amount of data is simply too big to handle on a single machine. Luckily, technologies such as Apache Spark, Hadoop, and others have been developed to solve this exact problem. The power of those systems can be tapped into directly from Python using PySpark!
Python Insider: PyPI now supports uploading via API token
2019-07-31 12:08:58
No <p> found.
Python Software Foundation: PyPI now supports uploading via API token
2019-07-31 12:02:42
No <p> found.
ListenData: Matplotlib Tutorial : Learn with Examples in 3 hours
2019-07-31 07:58:11
No <p> found.
Test and Code: 82: pytest - favorite features since 3.0 - Anthony Sottile
2019-07-31 07:15:00
Anthony Sottile is a pytest core contributor, as well as a maintainer and contributor to many other projects. In this episode, Anthony shares some of the super cool features of pytest that have been added since he started using it.
IslandT: Use Pandas Data Frame to display market data
2019-07-31 06:13:01
In the previous article, we have used the Blockchain API to display the Bitcoin vs world major currencies exchange rate in our application. In this article, we will use the Pandas Data Frame object to create a beautiful table for our displaying data. I have already introduced the Pandas Data Frame object before in the previous chapter, therefore, I wonât go through it again in this post. Let us go straight to the business.
PSF GSoC students blogs: Packaging your Panda3D game for iOS
2019-07-31 03:10:26
HI everyone,
Matt Layman: Add Static Assets to Deployment - Building SaaS #29
2019-07-31 00:00:00
In this episode, we pushed CI built static files to S3, then pulled those files into the Ansible deployment. This is part of the ongoing effort to simplify deployment by moving work to CI.
Last time, we processed static files like JavaScript, CSS, and images using webpack on Circle CI. Once the files were processed, I used the tar command to create a tarball (i.e., a .tar.gz file) that contains all the static assets.
Yasoob Khalid: Python mind-teaser: Make the function return True
2019-07-30 22:43:54
Hi everyone!  I was browsing /r/python and came across this post:
PSF GSoC students blogs: Google Summer of Code with Nuitka 5th Weekly Check-in
2019-07-30 20:47:43
1. What did you do this week? This week, I continued to work on my script which automates the testing of nuitka-wheel pytest. Details can be found on my pull request: https://github.com/Nuitka/Nuitka/pull/440
Thibauld Nion: Why leave Wordpress behind for Nikola ?
2019-07-30 19:59:41
In my previous post I announced my website's migration from Wordpress to Nikola.
PSF GSoC students blogs: GSoC Weekly Checkin
2019-07-30 19:36:03
Hello everyone!
PyCoderâs Weekly: Issue #379 (July 30, 2019)
2019-07-30 19:30:00
#379 â JULY 30, 2019 View in Browser »
Mike Driscoll: Summer Python Book Sale
2019-07-30 18:28:10
Itâs summer time and now is a great time to learn Python! To help with that, I am running a sale of my Python books for the next week. The sale ends August 6th. All books are $9.99-$14.99 on Leanpub!
TechBeamers Python: How to Merge Dictionaries in Python?
2019-07-30 18:27:31
In this post, we are describing different ways to merge dictionaries in Python. There is no built-in method to combine them, but we can make some arrangements to do that. The few options that weâll use are the dictionaryâs update method and Python 3.5âs dictionary unpacking operator or also known as **kwargs. Some of the methods need a few lines of code to merge while one can combine the dictionaries in a single expression. Also, you need to be decisive in selecting which of the solution suits your condition the best. So, letâs now step up to see the different
PSF GSoC students blogs: We are in the endgame NOW @ 2048
2019-07-30 16:55:04
Â
Real Python: Dictionaries in Python
2019-07-30 14:00:00
Python provides a composite data type called a dictionary, which is similar to a list in that it is a collection of objects.
PSF GSoC students blogs: Weekly Check-in #10 : ( 26 July - 1 Aug )
2019-07-30 13:10:59
Protego :Â 25th percentile : 0.000134 50th percentile : 0.000340 75th percentile : 0.000911 100th percentile : 0.345727 Total Time : 0.999360
Stack Abuse: Python for NLP: Movie Sentiment Analysis using Deep Learning in Keras
2019-07-30 12:22:00
This is the 17th article in my series of articles on Python for NLP. In the last article, we started our discussion about deep learning for natural language processing.
IslandT: Use Blockchain API to retrieve the Bitcoin exchange rate within the 15 minutes period of the time
2019-07-30 11:03:50
Hello and welcome back, in this article we will continue to develop the cryptocurrency application. In the previous few chapters, we had only used the cryptocompare API to make the REST call but in this chapter, we will add in the blockchain package which has the exchangerates module that we can use to retrieve the 15 minutes period of the time of the Bitcoin / major world currencies pair exchange rate. Since we will load the data from blockchain once the user has pressed the load button, we can now safely ignore the data from the previous cryptocompare rest call.
PSF GSoC students blogs: Week 9 Chek-in
2019-07-30 08:50:18
What did you do this week?
Talk Python to Me: #223 Fun and Easy 2D Games with Python
2019-07-30 08:00:00
No <p> found.
PSF GSoC students blogs: Week 9: Weekly Check-In (#5)
2019-07-30 07:29:59
1. What did you do this week?
Catalin George Festila: Python 3.7.3 : Using the flask - part 004.
2019-07-30 05:28:02
The goal of this tutorial is to interact with the database in order to use it with flask_sqlalchemy python module.
The db.Model is used to interact with the database.
A database doesn't need a primary key but if you using the flask-sqlalchemy you need to have it for each one table in order to connect it.
Let's see the database:
C:\Python373\my_flask>python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25
ListenData: How to Import Data in Python
2019-07-29 23:30:06
No <p> found.
PSF GSoC students blogs: Weekly Summary #10
2019-07-29 22:55:15
Hi everyone!
PSF GSoC students blogs: Check-in: 9th week of GSoC (Jul 22 - Jul 28)
2019-07-29 21:45:13
This week I was able to make some good progress on the group-level inference part for my GSoC project.
PSF GSoC students blogs: Week-9
2019-07-29 19:26:40
Hello folks,
Ofosos: A digital tally list for hackerspaces
2019-07-29 19:05:08
I'm a member of an open workshop in my hometown. Last week we started joking around about getting a drink vending machine. Still half joking, I started searching on eBay for used vending machines. While on my way to a pub, I pictured having a vending machine for the workshop: cashless, probably driven by Stripe.
PSF GSoC students blogs: weeklyCheckIn[9]
2019-07-29 16:40:21
After completing tests and features for mscolab's project window and getting the PR merged, I started working on a more tricky part of the project. Introducing version control to mscolab server's storage. As explained on the previous blog, this is done to introduce some features to project. Mainly the following
PSF GSoC students blogs: So long, FFTPACK
2019-07-29 15:29:16
Perhaps the most significant task this week was completely removing the fortran FFTPACK code from SciPy and rewriting scipy.fftpack using scipy.fft's pocketfft backend. This drastically simplifies the code with a diff of -8,856 lines of code.
Codementor: HTML Parser â Developer Tools
2019-07-29 14:45:10
Short list with code samples to parse HTML using Python / BeautifulSoup library.
Luke Plant: Pylint false positives
2019-07-29 14:44:34
In some recent discussion on Reddit, I claimed that, for cases where Iâm already using flake8, it seemed as though 95% of Pylintâs reported problems were false positives. Others had very different experiences, so I was intrigued enough to actually do some measurements.
Tryton News: Release of Relatorio 0.9.0
2019-07-29 14:26:15
@ced wrote:
ListenData: Precision Recall Curve Simplified
2019-07-29 14:24:46
Let's understand it by confusion matrix
Real Python: Understanding the Python Traceback
2019-07-29 14:00:00
Python prints a traceback when an exception is raised in your code. The traceback output can be a bit overwhelming if youâre seeing it for the first time or you donât know what itâs telling you. But the Python traceback has a wealth of information that can help you diagnose and fix the reason for the exception being raised in your code. Understanding what information a Python traceback provides is vital to becoming a better Python programmer.
Chris Moffitt: Automated Report Generation with Papermill: Part 2
2019-07-29 13:37:56
This guest post is the second article about using python tools to automate a report generation pipeline. If you have not read the first post you should probably review before continuing with this article.
PSF GSoC students blogs: 5th weekly checkin
2019-07-29 13:09:13
Hello everyone!
Stack Abuse: Serverless Python Application Development with AWS Chalice
2019-07-29 12:44:00
In software development, we are constantly building solutions for end-users that solve a particular problem or ease/automate a certain process. Therefore, designing and building the software is not the only part of the process as we have to make the software available to the intended users.
PSF GSoC students blogs: Ninth week of GSoC
2019-07-29 08:16:00
1. What did you do this week?
Python Bytes: #141 Debugging with f-strings coming in Python 3.8
2019-07-29 08:00:00
No summary found!
PSF GSoC students blogs: Week #9 | Fixes in Swagger and schema validation
2019-07-29 07:29:13
No summary found!
Mike Driscoll: PyDev of the Week: Ines Montani
2019-07-29 05:05:11
This week we welcome Ines Montani (@_inesmontani) as our PyDev of the Week! Ines is the Founder of Explosion AI and a core developer of the spaCy package, which is a Python package for Natural Language Processing. If you would like to know more about Ines, you can check out her website or her Github profile. Letâs take a few moments to get to know her better!
Kushal Das: Using sops with Ansible for vars encryption
2019-07-29 04:43:00
IslandT: Get top exchanges by volume for a currency pair
2019-07-29 04:33:41
In this chapter, we will create a button which will call a function to retrieve the top 50 exchanges and the trading volume for a cryptocurrency/currency pair. The API needs the selected cryptocurrency and the selected currency symbol to make the call.
Catalin George Festila: Python 3.7.3 : Using the twitter python module - part 003.
2019-07-29 03:58:51
Today I will speak about twitter python module with the new changes of the A.P.I.
This two tutorial will not work now because the twitter A.P.I is changed.
The reason I don't delete it is the similar flow programming and access the A.P.I.:
Use the twitter python module - part 001.
Use the twitter python module - part 002.
Let's start with the install of this python module with Python version
Podcast.__init__: Docker Best Practices For Python In Production
2019-07-29 02:27:14
Docker is a useful technology for packaging and deploying software to production environments, but it also introduces a different set of complexities that need to be understood. In this episode Itamar Turner-Trauring shares best practices for running Python workloads in production using Docker. He also explains some of the security implications to be aware of and digs into ways that you can optimize your build process to cut down on wasted developer time. If you are using Docker, thinking about using it, or just heard of it recently then it is worth your time to listen and learn about some of the cases you might not have considered.
PSF GSoC students blogs: Weekly check-in #5
2019-07-28 22:31:01
Hi and welcome again!
PSF GSoC students blogs: 4th Blog Post (During the second Period)
2019-07-28 20:30:07
So, what I have done in second period. For me the answer is very simple, MVP is completed in first phase which give me ample time to write test for the added feature and other function which is not tested earlier. In second Period I read lot of documentation of Jest. I have gone through each Matchers which is Provided by jest. Spent almost a week on reading it. After reading the documentation I feel very comfortable in writing test in jest. From my experience I would say don't dive in coding without knowing anything about the subject. First read the documentation of the following framework and become comfortable with the language. After that you will able to solve the problem in very less time. I have written around 10 test in this period which covers every aspect of the source code. I got stuck at the point where I have to write test for the generator function. I have to mock lot of data because It is the main function of source code which generates all the gatsby nodes initially. I also make some mistake. I am fetching data from the Plone CMS and then doing logging. I just forget that console log not print the nested array. So, I have made a huge mistake using console log. After lot of try I am not able to write test properly. I stuck in loop fixing one thing break another, after lot of afford I am able to solve this problem at 3am when I am going to bed after hectic day. I really enjoyed this phase a lot, I learned lot of new things and implemented it. I am very happy with myself what I am doing right now. In third phase I mainly write documentation and refactoring the code into small pieces of function so that It can enhance the readability of code.
PSF GSoC students blogs: Weekly CheckIN 8th
2019-07-28 20:13:34
Hoorya!! I passed the second evaluation. In the evaluation week I mainly completed the only test which is left before the second evaluation i.e Adding test for the ploneGenerator method which generate all the Gatsby Node initially. It is the most important generator function. I never tested the generator function in my life. I searched what is the best way to test the generator function and I found some response and successfully Send a pr for that. After that there is simple bug i.e Foreach array method randomly calling the api but we need syncrounus behaviour. After devoting one day and lot of thinking I found that only replacing the foreach method with for loop does the trick. Then I successfully created the pr for that also. You can see the pr link below.
PSF GSoC students blogs: Coding Period: Week 9
2019-07-28 19:52:18
Greetings everyone! Update for this week is as follows. In this phase, I sent the remaining patches required to complete hg continue support for core Mercurial repository.
PSF GSoC students blogs: Weekly check-in #7 (week 9): 22/07 to 28/07
2019-07-28 19:37:32
Hi all. Hope we all passed evaluation 2 and our work continues!
Catalin George Festila: Python 3.7.3 : Using the flask - part 003.
2019-07-28 11:34:36
Another tutorial with python 3.7.3 and flask python module.
In the last tutorial, I speak about some tricks and tips.
Today, I will show some steps for fixing and run with flask-sqlalchemy.
The source code from my GitHub account can be updated with this source code.
app = Flask (__name__)
app.config['SECRET_KEY'] = 'abcdefg'
# set SQLAlchemy
basedir = os.path.abspath(os.path.dirname(__file__))
Weekly Python StackOverflow Report: (clxxxviii) stackoverflow python report
2019-07-28 11:32:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-07-28 11:32:11 GMT
Speed Matters: Python and Lua
2019-07-28 10:20:37
Python is great, but pure Python code sometimes has one problem: Itâs slow.
Learn PyQt: Create a Bitcoin market tracker with Python and Qt5
2019-07-28 06:28:28
Goodforbitcoin is a simple cryptocurrency market-tracker. It displays daily market rates, including high, low and close valuations, alongside market trade volume for a range of popular cryptocurrencies. It comes with built-in support for BTC, ETH, LTC, EOS, XRP and BCH currencies, with EUR, USD and GBP as base currencies for valuations.
IslandT: Get a number of top coins by their market cap
2019-07-28 04:03:11
In this chapter, we will get a number of top 100 coins by their market cap with python. If you have read the previous chapter of this cryptocurrency project then you will find out that in this chapter we have only changed the GETâs url content a little bit to achieve the above-mentioned outcome. Below is the url we need to use to retrieve the above-mentioned outcome.
PSF GSoC students blogs: Check in: Week 9
2019-07-27 21:55:46
1. What did you do this week?
Doug Hellmann: New PyMOTW site logo
2019-07-27 21:15:29
Continue reading "New PyMOTW site logo"
Catalin George Festila: Python 3.7.3 : About pytweening python module.
2019-07-27 06:45:50
This is a simple module of tweening and easing functions implemented in Python, see the GitHub webpage.
C:\Python373\Scripts>pip install pytweening
Collecting pytweening
Downloading https://files.pythonhosted.org/packages/b9/f8/c32a58d6e4dff8aa5c27
e907194d69f3b57e525c2e4af96f39c6e9c854d2/PyTweening-1.0.3.zip
Building wheels for collected packages: pytweening
Building wheel for pytweening (
PSF GSoC students blogs: Coding period: week #9
2019-07-27 05:54:02
This is a blog post about trying to clean up the code that I have written for a feature that had merged and marked as experimental.
IslandT: Get a number of top coins by their total volume across all markets in the last 24 hours
2019-07-27 05:12:06
In this chapter, we will continue to develop the cryptocurrency application by retrieving a number of top coins by their total volume across all markets in the last 24 hours.
Codementor: Why is there an f before this string? An introduction to f-strings and string formatting
2019-07-27 00:04:54
Learn string formatting in python.
NumFOCUS: Meet our 2019 Google Summer of Code Students (Part 3)
2019-07-26 21:11:49
The post Meet our 2019 Google Summer of Code Students (Part 3) appeared first on NumFOCUS.
PSF GSoC students blogs: Week 8
2019-07-26 19:37:07
Last week, I implemented multithread scanning with John's help. At first, I thought the logic was to create a function that instantiates a database everytime and close it finally, but that would also be too inefficient since it might take a long time to connect and disconnect the database if we let each thread call the function for each file. Instead, we could just use a queue to save all the files that will be scanned, and each thread just opens the database first and closes it only if there is no jobs to be done. We also don't need to take care of thread safety since the queue in Python is alread thread safe. Besides, I also added a flag to enable/disable the updating database so that users could save time to test or run the tool.
Roberto Alsina: ProgramaciĂłn, matemĂĄtica, y el problema de los tomates venenosos.
2019-07-26 18:47:02
Mucha gente, cuando no sabe programar, tiene prejuicios. Algunos de los mĂĄs comunes son:
Stack Abuse: Creating Python GUI Applications with wxPython
2019-07-26 17:01:00
In this tutorial, we're going to learn how to use wxPython library for developing Graphical User Interfaces (GUI) for desktop applications in Python. GUI is the part of your application which allows the user to interact with your application without having to type in commands, they can do pretty much everything with a click of the mouse.
Stefan Behnel: Faster XML stream processing in Python
2019-07-26 15:36:08
It's been a while since I last wrote something about processing XML, specifically about finding something in XML. Recently, I read a blog post by Eli Bendersky about faster XML processing in Go, and he was comparing it to iterparse() in Python's ElementTree and lxml. Basically, all he said about lxml is that it performs more or less like ElementTree, so he concentrated on the latter (and on C and Go). That's not wrong to say, but it also doesn't help much. lxml has much more fine-grained tools for processing XML, so here's a reply.
Catalin George Festila: Python 3.7.3 : Tonny I.D.E. for python programmers.
2019-07-26 13:09:51
Today I tested the Thonny I.D.E. from thonny.org official webpage.
Yesterday I tried several editors for python programming language and did not work.
One of these is the spyder editor that does not work with python 3.7.3 - we have not discovered why.
The Mu is a simple Python editor for beginner programmers and has a strange working I.D.E. for good and fast development.
The PyCharm, it is
Talk Python to Me: #222 Interactive graphs with Bokeh and Python
2019-07-26 08:00:00
Do you have data you want to visualize and share? It's easy enough to make a static graph of it. But what if you want to zoom in and highlight different sections? What if you need to rerun your ML model on selected data? Then you might want to consider working with Bokeh. It does this and much more. Join me on this episode where you'll meet Bryan Van de Ven who heads up the Bokeh project.
Codementor: map, filter and reduce functions in Python
2019-07-26 05:18:33
Learn what are map(), filter() and reduce() functions in Python. Also know how to use them with lambda and user-defined functions and along with each other.
PSF GSoC students blogs: Weekly Check-in #7 & #8
2019-07-25 20:36:59
Hello!
PSF GSoC students blogs: Embed Google Calendar like a Pro
2019-07-25 18:39:13
Have you ever tried to embed a Google Calendar in your site only to find it's not responsive for mobiles and you need to scroll left and right? Well, I'm gonna share a simple solution which will work.
PSF GSoC students blogs: SEO 101: Creating custom sitemap using django
2019-07-25 18:01:30
I must agree I was pretty impatient to use the codesnippet plugin on this editor.
PSF GSoC students blogs: Weekly Check-In #8
2019-07-25 17:45:37
A lot of fixes and new features came up this week. It was kind of a busy week.
PSF GSoC students blogs: We are almost there now!
2019-07-25 16:46:14
Yes, we have almost finished implementing all the functionalities! It feels kinda sad that GSoC is going to end in a matter of weeks now. But nevertheless, this experience has been an enriching one for me. I am grateful to my mentor for his wonderful support throughout this. He has guided me through the whole development phase and helped me to be focused on the timeline and to keep a track of the bugs that come up.
Python Circle: try .. except .. else .. in python with example
2019-07-25 16:45:25
how to use else clause with try except in python, when to use else clause with try except in python, try except else finally clauses in python, try except else example in python,
Python Circle: Python Script 1: Convert ebooks from epub to mobi format
2019-07-25 16:45:25
Python script to convert the ebooks from one format to another in bulk, Automated book conversion to kindle format, Free kindle ebook format conversion, automating the book format conversion, python code to book format convert,
PSF GSoC students blogs: Weekly Check-In #7
2019-07-25 16:03:58
We have come to almost the end of the second phase. We are now spending time on the last few features that needs to be implemented and also the bugs that have come up in the recent past.
PyPy Development: PyPy JIT for Aarch64
2019-07-25 15:41:57
Hello everyone.
PSF GSoC students blogs: Sphinx Internationalization....
2019-07-25 13:13:47
So, after the first phase was over, I was really happy that I had got some work done on my project, and finally could move on to the biggest issue that I was going to face for completing the project - Internationalization. Before that, I had to first readjust the videos in the lecture files according to the subtopics, and I had that done quickly, and made the web build with that update as well. Now, it was time for translating the lecture files and the assignments , which were in Portuguese, to Spanish. Initially, I had a major concern as I didn't know any of those languages, but finally I decided that I would take help of Google Translate and my intuition as much as I can to translate the files.
Catalin George Festila: Python 3.7.3 : Using the flask - part 002.
2019-07-25 11:37:33
Let's see some tips for starting any project with flask python module.
Use these python modules to work with databases: flask-sqlalchemy and flask_marshmallow.
The Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application.
The marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python
IslandT: Get the market data of cryptocurrency-currency pair
2019-07-25 08:16:16
Hello and welcome back, in this chapter we will continue to develop our cryptocurrency project with the above new features.
PSF GSoC students blogs: Coding week #8
2019-07-25 06:14:33
This week I read and experimented with the literature on Logistic Regression GAMs. After trying many approaches to model a binomial dependent variable, none of those seem to work to give the expected bandwidths or parameters. Looking forward to the discussion with the mentors to maybe understand the best next steps to resolve the model convergence. Also read and understood the predictions for un-sampled locations in the GWR code and will attempt to resolve the recurring errors and build the prediction model for MGWR.
ListenData: How to drop one or more columns in Pandas Dataframe
2019-07-25 03:34:36
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Wingware News: Wing Python IDE 7.1 - July 25, 2019
2019-07-25 01:00:00
Wing 7.1 adds support for Python 3.8, warns about unused symbols, improves code warnings configuration, adds new auto-completer, project, and source browser icons, supports Dark Mode on OS X, and makes other improvements.
NumFOCUS: Meet our 2019 Google Summer of Code Students (Part 2)
2019-07-24 23:57:02
The post Meet our 2019 Google Summer of Code Students (Part 2) appeared first on NumFOCUS.
PSF GSoC students blogs: Weekly check in [week 8 - 15/07 - 21/07]
2019-07-24 20:41:17
1. What did you do this week?
PSF GSoC students blogs: [Blog #4] Need For Speed
2019-07-24 18:59:44
<meta charset="utf-8">Hey! This is my fifth blog post for GSoC 2019, covering week 7 and 8.
Real Python: Digging Deeper Into Migrations
2019-07-24 16:59:14
This is the second article in our Django migrations series:
Python Circle: Preventing cross-site scripting attack on your Django website
2019-07-24 16:44:51
XSS attack in Django, preventing cross-site scripting attack in Django website, avoid XSS in Django application, Enabling SECURE_BROWSER_XSS_FILTER in Django website, blocking cross-site scripting attach on Django website
Python Circle: How to host Django app on Pythonanywhere for Free
2019-07-24 16:44:51
How to host any python-Django app on pythonanywhere server for free, Best hosting service provider for python-Django apps, Free Django app hosting, Easiest Hosting for Django, Django hosting for free, Cheapest Django Hosting
Red Hat Developers: Controlling Red Hat OpenShift from an OpenShift pod
2019-07-24 14:22:12
This article explains how to configure a Python application running within an OpenShift pod to communicate with the Red Hat OpenShift cluster via openshift-restclient-python, the OpenShift Python client.
PyCharm: PyCharm 2019.2 Out Now
2019-07-24 13:45:41
PyCharm 2019.2 is out now: improved Jupyter Notebook experience, syntax highlighting for many more languages out of the box, initial Python 3.8 support, and much more. Download now
Codementor: Why and How I use generators in python
2019-07-24 13:41:02
Photo by David Carboni (https://unsplash.com/photos/xvkSnspiETA) on Unsplash (https://unsplash.com)
Generators are very powerful feature in python and help you write better and organized code.
WHY...
IslandT: Load the data from a file with python
2019-07-24 12:04:23
In the previous article, we have hardcoded both the cryptocurrency symbol and the currency symbol string into the rest url but in this chapter, we will read those symbols from a file instead. The entire steps of this revised program are as follows:
Kushal Das: Setting up authorized v3 Onion services
2019-07-24 11:55:00
Just like v2 Onion services, we can also set up client authorization for Onion services v3. In simple terms, when you have a client authorization setup on an Onion service, only the Tor clients with the private token can access the service. Using this, you can run services (without opening up any port in your system) and only selected people can access that service, that is also being inside of totally encrypted Tor network. Last month, I did a workshop in Rootconf about the same topic, but, I demoed v2 Onion services. In this blog post, I am going to show you how you can do the same with the latest v3 services.
Catalin George Festila: Python 3.7.3 : Testing the timeit and Bokeh python module.
2019-07-24 01:20:29
The tutorial today has several goals:
testing the timeit function to measure the execution time of a line of print code;
using python lists to record data;
generate lists using the range function;
multiplying a number with an entire list of numbers;
how to use the bokeh module with CustomJSHover and HoverTool
Let's test with the timeit python module, see the official webpage.
This module provides
PyCoderâs Weekly: Issue #378 (July 23, 2019)
2019-07-23 19:30:00
#378 â JULY 23, 2019 View in Browser »
Codementor: Python zip function tutorial (Simple Examples)
2019-07-23 15:06:14
Learn how to join multiple iterables into one single object using Python zip function. Learn how to zip lists and matricies, send output to a file, and more
Codementor: Playing Tic Tac Toe using Reinforcement Learning
2019-07-23 14:01:20
How I made two bots competent enough to play Tic Tac Toe, and made them battle it out for glory.
Real Python: Logging in Python
2019-07-23 14:00:00
Logging is a very useful tool in a programmerâs toolbox. It can help you develop a better understanding of the flow of a program and discover scenarios that you might not even have thought of while developing.
PSF GSoC students blogs: Weekly Check-in #9 : ( 19 July - 26 July )
2019-07-23 13:10:46
No <p> found.
Ruslan Spivak: Letâs Build A Simple Interpreter. Part 16: Recognizing Procedure Calls
2019-07-23 12:20:00
âLearning is like rowing upstream: not to advance is to drop back.â â Chinese proverb
Catalin George Festila: Python 3.7.3 : Using the flask - part 001.
2019-07-23 12:10:19
A short intro into this python module can be found at the PyPI website:
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks.
Flask offers suggestions but
Stack Abuse: Python for NLP: Word Embeddings for Deep Learning in Keras
2019-07-23 12:09:00
This is the 16th article in my series of articles on Python for NLP. In my previous article I explained how N-Grams technique can be used to develop a simple automatic text filler in Python. N-Gram model is basically a way to convert text data into numeric form so that it can be used by statisitcal algorithms.
Zato Blog: Windows commands and PowerShell scripts as API microservices
2019-07-23 11:15:17
This post goes through the steps of exposing Windows commans and PowerShell scripts as remote Zato API services that can be invoked by REST clients.
Python Bytes: #140 Becoming a 10x Developer (sorta)
2019-07-23 08:00:00
No summary found!
PSF GSoC students blogs: Week #8 | Fixes in decorator for validation
2019-07-23 06:15:53
Issue:Â #508Â Validating all the request hiting Guillotina against proper jsonschema.
IslandT: Cryptocurrency user interface set up
2019-07-23 05:30:02
As mentioned above, in this article we will start to create the user interface of our latest cryptocurrency project. Along the path we will also use the CryptoCompare API to retrieve data. In this article we will do these:
Kushal Das: Using signify tool for sign and verification
2019-07-23 03:53:00
We generally use GNUPG for sign and verify files on our systems. There are other tools available to do so; some tools are particularly written only for this purpose. signify is one such tool from the OpenBSD land.
PSF GSoC students blogs: Getting started with new models
2019-07-23 03:33:55
What did I do this week?
Podcast.__init__: Protecting The Future Of Python By Hunting Black Swans
2019-07-22 21:57:57
The Python language has seen exponential growth in popularity and usage over the past decade. This has been driven by industry trends such as the rise of data science and the continued growth of complex web applications. It is easy to think that there is no threat to the continued health of Python, its ecosystem, and its community, but there are always outside factors that may pose a threat in the long term. In this episode Russell Keith-Magee reprises his keynote from PyCon US in 2019 and shares his thoughts on potential black swan events and what we can do as engineers and as a community to guard against them.
PSF GSoC students blogs: Google Summer of Code with Nuitka 4th Blog Post
2019-07-22 21:27:28
<meta charset="utf-8">
Artem Rys: Ranking capitals by the number of Starbucks
2019-07-22 21:09:16
Recently being in Budapest (great city by the way) I saw lots of Starbucks coffee shops and decided to write a small script that will rank capitals by the number of Starbucks there.
Artem Rys: Ranking capitals by the number of Starbucks using Python and Google Maps API
2019-07-22 21:09:16
Recently being in Budapest (great city by the way) I saw lots of Starbucks coffee shops and decided to write a small script that will rank capitals by the number of Starbucks there.
PSF GSoC students blogs: Week 8: Appearances and WMS server
2019-07-22 20:51:31
What did you do this week?
Codementor: Python Snippet 2: Quick Sequence Reversal
2019-07-22 20:23:40
Python lists have a handy method called reverse, but it's not always what we want. For a start, we can't use it on other sequence types, like tuples and strings, and it also performs an in-place modification of the original sequence. Read more!
PSF GSoC students blogs: Week 8: Blog Post (#4)
2019-07-22 20:20:47
Last week, I was working on the parametrizing tests for SourceEstimates with tfr_morlet, and making sure the tests are also passed for all possible different functional arguments. Overall this worked quite smoothly for most parameters. In fact, I was already able to start implementing the same procedure for tfr_multitaper. Anyhow, for tfr_multitaper there is no reference function as for tfr_morlet, so tests for tfr_multitaper are for now basically just running the function and checking that everything is in the right place.
PSF GSoC students blogs: Travis, New North
2019-07-22 17:42:05
Hello everyone!
PSF GSoC students blogs: Week 8 Check-In
2019-07-22 17:37:01
Welcome back!
PSF GSoC students blogs: Week 7 Check-In
2019-07-22 17:29:28
Hello again!
PSF GSoC students blogs: Week #8
2019-07-22 17:11:41
For the most part, I spent time in reading about parallel Non-negative Matrix Factorization as this would most likely be the next course of action to take. Unlike PCA which had many scalable, parallel implementations available, NMF seems to be less well-studied and I could not find an implementation that would be suitable for reference. At the same time, I fixed some things and the performance time increased back to ~15 minutes. I also pushed a prototype jupyter notebook that replicates what the current PCA implementation in LiberTEM does, just with standard python libraries (e.g., sklearn, fbpca), and obtained satisfactory performance in reconstruction error. As per my mentor's suggestion, I will be looking into testing edge cases and if the current PCA works under these edge cases.
PSF GSoC students blogs: Blogpost: 8th week of GSoC (Jul 15 - Jul 21)
2019-07-22 16:22:57
With this week, the second month of GSoC also comes to an end. It feels like a good moment for providing a summary of the progress made sofar but also an outlook, considering the tasks and challenges that remain ahead.
Sumana Harihareswara - Cogito, Ergo Sumana: Beautiful Soup is on Tidelift
2019-07-22 15:35:58
I've been doing a tiny bit of consulting for Tidelift for a little over a year now, mainly talking about them to open source maintainers in the Python world and vice versa. (See my October 2018 piece "Tidelift Is Paying Maintainers And, Potentially, Fixing the Economics of an Industry".) And lo, in my household, my spouse Leonard Richardson has signed up as a lifter for Beautiful Soup, his library that helps you with screen-scraping projects. Leonard writes: There was a period of about a year in 2017-2018 when I wasn't interested in doing Beautiful Soup work, but Tidelift changed that. Tidelift gathers subscription money from companies that rely on free software, and distributes the money to the developers in exchange for a level of support that I find sustainable. Nobody builds an entire product around Beautiful Soup (or at least nobody will admit do doing this), but thousands of people have used Beautiful Soup to save time at their day jobs. Bundling Beautiful Soup together with bigger projects like Flask and numpy is a solution that works really well for me. The other day I looked at the list of featured supported packages and was happy to see that a bunch of Python projects have signed up as lifters, including SciPy and numpy, Flask, setuptools, Werkzeug, websockets, urllib3, celery, coverage, a bunch of Django packages, Jinja2, keyring, Pylint, coverage, and pytest. And I think over the next 6-12 months we're going to see some effects of Tidelift support -- not just in the security and release cadences of the supported projects, but on other issues stemming from unfairness and a lack of reciprocity in open source, like maintainer burnout and expectation-setting. The list of licensing, security, maintenance, and marketing tasks lifters agree to do may end up being a benchmark, like the open source Independent Verification & Validation checklist by Open Tech Strategies, that even non-lifter maintainers use to set realistic expectations for what "supported"/"maintained" means.
PSF GSoC students blogs: Blog Post #4
2019-07-22 14:50:27
Hi, welcome to my 4th blog post !
Real Python: NumPy arange(): How to Use np.arange()
2019-07-22 14:00:00
NumPy is the fundamental Python library for numerical computing. Its most important type is an array type called ndarray. NumPy offers a lot of array creation routines for different circumstances. arange() is one such function based on numerical ranges. Itâs often referred to as np.arange() because np is a widely used abbreviation for NumPy.
Chris Moffitt: Automated Report Generation with Papermill: Part 1
2019-07-22 13:38:02
This guest post that walks through a great example of using python to automate a report generating process. I think PB Python readers will enjoy learning from this real world example using python, jupyter notebooks, papermill and several other tools.
PSF GSoC students blogs: Backend support merged
2019-07-22 12:51:49
This has been a very exciting week for me, with lots of progress made on my GSoC project. For the past couple of months I've been working on adding the new scipy.fft module which supercedes the existing scipy.fftpack submodule and adds a range of new features and interface improvements. Chief among these planned features was a backend system, allowing users to install their own fft libraries as implementations for the scipy.fft interface.
Eli Bendersky: Faster XML stream processing in Go
2019-07-22 12:37:00
XML processing was all the rage 15 years ago; while it's less prominent these days, it's still an important task in some application domains. In this post I'm going to compare the speed of stream-processing huge XML files in Go, Python and C and finish up with a new, minimal module that uses C to accelerate this task for Go. All the code shown throughout this post is available in this Github repository the new Go module is here.
PSF GSoC students blogs: [Blog #3] Google open-sourced its robots.txt parser
2019-07-22 11:46:30
<meta charset="utf-8">
Erik Marsja: How to Use Binder and Python for Reproducible Research
2019-07-22 10:40:57
In this post we will learn how to create a binder so that our data analysis, for instance, can be fully reproduced by other researchers. That is, in this post we will learn how to use binder for reproducible research.
IslandT: Use the Requests module to directly retrieve the market data
2019-07-22 09:42:53
Hello and welcome back to our cryptocurrency project. In the previous article I had mentioned before that I want to use the cryptocompy module to create our new cryptocurrency project, however, after a closer look at the CriptoCompare API I think we have better used the original API to make the rest call instead of using the wrapper module because the original API seems to provide more returned data type than the one offered by the cryptocompy module.
PSF GSoC students blogs: Blog #4
2019-07-22 07:19:14
In the past week, I was working on the second phase of the project. My mentor had reviewed the PR and suggested changes.
Mike Driscoll: PyDev of the Week: Cris Medina
2019-07-22 05:05:43
This week we welcome Cris Medina (@tryexceptpass) as our PyDev of the Week! Cris is the author behind the popular tryexceptpass blog. He is also the maintainer of sofi and korv. You can catch up with Chrisâs other projects on Github. Letâs spend some time getting to know him better!
tryexceptpass: PyDev of the Week: Cris Medina
2019-07-22 04:00:00
Featured by Mike Driscoll from “Mouse vs Python”.
ListenData: Calculate KS Statistic with Python
2019-07-22 02:20:40
In data science, it compares the cumulative distribution of events and non-events and KS is where there is a maximum difference between the two distributions. In simple words, it helps us to understand how well our predictive model is able to discriminate between events and non-events.
Catalin George Festila: Python 3.7.3 : The sip python module.
2019-07-22 01:07:48
The official webpage pypi.org comes with this intro:
One of the features of Python that makes it so powerful is the ability to take existing libraries, written in C or C++, and make them available as Python extension modules. Such extension modules are often called bindings for the library.
SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally
PSF GSoC students blogs: Week-8: Remodeling the data access Mechanism
2019-07-21 20:41:45
This week I worked as a package mechanic, developing two mechanisms for our package wsynphot. đ Firstly I migrated the mechanism used by our package to access filter data from a HDF storage to the cache on disk. Then I started setting up an update mechanism for the cached filter data to keep it up-to-date. Let me share how!
PSF GSoC students blogs: Weekly blog #4 (week 8): 15/07 to 21/07
2019-07-21 19:54:44
Hey. During week 8 I was working mostly on my own, since one of my mentors was on holidays. I did a few things, but on some days productivity or âthroughputâ just wasnât good. Let me tell you about it.
PSF GSoC students blogs: weekly CheckIn 7th
2019-07-21 19:13:33
I have completed MVP in starting week of 2nd Phase, I moved on writing test for the added feature. I have to read lot's of documentation of jest and Plone CMS API for writing test and setting mock up data. I have written test for may function which is used for creating Gatsby Node from fetching data from Plone CMS. I also remove some redundant code which is not used more in gatsby-node.js file. You can see my pull request by visiting below link.
PSF GSoC students blogs: [Blog #2] Protego parse!
2019-07-21 17:57:00
Hey! This is my third blog post for GSoC 2019, covering week 3 and 4.
Ned Batchelder: Set_env.py
2019-07-21 17:36:21
A good practice when writing complicated software is to put in lots of debugging code. This might be extra logging, or special modes that tweak the behavior to be more understandable, or switches to turn off some aspect of your test suite so you can focus on the part you care about at the moment.
PSF GSoC students blogs: Fifth Blog - GSOC 2019
2019-07-21 16:48:00
Hey! Welcome.Â
Janusworx: Notes to self when using genRSS.py
2019-07-21 15:21:45
genRSS is a Python 2 app. Make sure you switch your environment.
PSF GSoC students blogs: Coding Period: Week 8
2019-07-21 14:27:37
Hey everyone! This is this update for this week. This blog describes basically how I started working on hg continue and got my first four patches approved.
PSF GSoC students blogs: Eighth week of GSoC: Mixed tasks and progress
2019-07-21 09:55:33
Two thirds of the GSoC program are already over - time is passing very quickly. This past week, we made some progress with the mne-study-template and making it usable with BIDS formatted data.
PSF GSoC students blogs: [Blog #1 - Week 3] We are going faster than I predicted
2019-07-21 09:38:36
Hey, welcome back! It has been about 3 weeks since the beginning of the coding period, and I am making progress at a pace faster than I thought we could. Here are the details of the work I did in the first three weeks.
Catalin George Festila: Python 3.7.3 : The IMDbPY python module version 6.8.
2019-07-21 08:16:27
The GitHub official webpage comes with this intro:
IMDbPY is a Python package for retrieving and managing the data of the IMDb movie database about movies, people and companies.
The last release version 6.8 was at 2019 Jul 20.
The official webpage tells us:
In the release 6.8 (codename "Apollo 11") of IMDbPY, multiple parsers were added and fixes; the new search_movie_advanced method allows
PSF GSoC students blogs: Coding period: week #8
2019-07-21 06:03:25
This is a blog post about unfortunately getting a bug in the feature I thought I had written properly and fixing that.
PSF GSoC students blogs: weeklyCheckIn[8]
2019-07-21 05:38:34
As it was planned the previous week, I worked on tests for GUI of mscolab's main window. Here is the link to pull-request with the tests and autosave synchronization feature.
Weekly Python StackOverflow Report: (clxxxvii) stackoverflow python report
2019-07-20 20:30:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-07-20 20:30:24 GMT
PSF GSoC students blogs: GSoC week #7
2019-07-20 17:41:11
Hey everyone,
Django Weblog: The first PyCon Africa
2019-07-20 15:20:02
In just a few weeks, from the 6th to 10th of August, the first ever pan-African PyCon will take place in Accra, Ghana.
Catalin George Festila: Python 3.7.3 : Use BeautifulSoup to parse Instagram account.
2019-07-20 14:51:54
This example is a bit more complex because it parses the source code in a more particular way depending on it.
The basic idea of this script is to take the content of an Instagram account in the same way as a web browser.
For my account I found a parsing error, I guess the reason is using the points, see festila.george.catalin.
scripts_content = json.loads(scripts[0].text.strip())
IndexError:
ListenData: Python : Complete Guide to Date and Time Functions
2019-07-20 09:38:10
People who have no experience of working with real-world datasets might have not encountered date columns. They might be under impression that working with dates is rarely used and not so important. To enlighten them, I have listed down real-world examples wherein using datetime module can be beneficial.
Jason Meyers: Tesla Model 3 Trip: Kitty Pickup
2019-07-20 00:00:00
So today, the wife and I headed back to GA to pick up our new British Shorthair kittens. Well, it was supposed to be just one, but I got my wife her own and kept it a secret until yesterday. This time, we were heading to Suwanee, GA, which is near Alpharetta/Roswell. That meant we had a long stretch without a supercharger in our path. Teddy is the name of our Long Range All Wheel Drive Tesla Model 3.
NumFOCUS: Meet our 2019 Google Summer of Code Students (Part 1)
2019-07-19 22:13:48
The post Meet our 2019 Google Summer of Code Students (Part 1) appeared first on NumFOCUS.
PSF GSoC students blogs: Weekly check in [week 7 - 08/07 - 14/07]
2019-07-19 21:41:25
1. What did you do this week?
PSF GSoC students blogs: Week 7: Waypoints and their Interaction
2019-07-19 19:58:10
What did I do this week?
PSF GSoC students blogs: Blog post: Week 8
2019-07-19 19:11:04
This week I focused in two things:
Roberto Alsina: Old Guy @ The Terminal Ep 2: Python Sucks!
2019-07-19 18:52:37
Episodio 2! Oh yeah!
Stack Abuse: Python List Sorting with sorted() and sort()
2019-07-19 12:35:00
In this article, we'll examine multiple ways to sort lists in Python.
Made With Mu: Mu at EuroPython
2019-07-19 08:45:00
Mu made a number of appearances at last weekâs wonderful EuroPython 2019 conference in Basel, Switzerland. This is a report of what happenedâŠ
PyCharm: PyCharm 2019.2 Release Candidate
2019-07-19 06:52:56
PyCharm 2019.2 is almost ready to be released, and weâre happy to announce that a release candidate is available for download now.
Kushal Das: Setting up WKD
2019-07-19 05:35:00
We fetch any GPG public key from the keyservers using the GPG fingerprint (or parts of it). This step is still a problematic one for most of us. As the servers may not be responding, or the key is missing (not pushed) to the server. Also, if we only have the email address, there is no easy way to download the corresponding GPG key.
PSF GSoC students blogs: Week 7 P2
2019-07-19 02:16:11
After doing some traceback of the program, I found that when running multithread scanning, each thread instantiates a nvd object NVDSQLite, while in nvd.get_cvelist_if_stale() the object tries to call init_database() regardless of the database situation, and in line 131 of NVDAutoUpdate.py, it will execute the CREATE TABLE IF NOT EXISTS. Since this is not thread-safe, the database might be locked.
PSF GSoC students blogs: Week 7
2019-07-19 02:08:48
This week I'm working on implementing mutithread extracting and scaning. So far the extracting works. From this week I acquired how does multithread pool work in Python. The pool has a method called `map`, which is basically same as `map` in Python: taking a function and an iterable as input, apply the function to the iterable in a multithread way. For extracting, this is easy to implement because we don't need to worry about thread-safe issue. However, for scanning, this could be a problem. We know that multiprocessing in operating system is really hard because we need to keep all processes/threads synchronized by using locks/mutex/semaphore. At first I thought this is okay because in scanning function we are supposed to just run mutiple queries at the same time, so we don't need lock.
ListenData: Drop one or more columns in Pandas Dataframe
2019-07-19 01:08:17
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Mike Driscoll: New Malicious Python Libraries Found Targeting Linux
2019-07-18 21:00:55
ZDNet published an article recently about a newly discovered set of malware-related Python packages on the Python Package Index (PyPI). These packages contained a backdoor that would only activate when installed on Linux.
PSF GSoC students blogs: Weekly Check-in #8 : (12 July - 18 July)
2019-07-18 17:09:00
Nothing major.
Talk Python to Me: #221 Empowering developers by embedding Python
2019-07-18 08:00:00
How do we get kids excited about programming? Make programming tangible with embedded devices. Did you know that after kids learned to code with the BBC micro:bit, 90% of kids "thought coding was for everyone" and 86% said it made CS topics more interesting?
Python Bytes: #139 f"Yes!" for the f-strings
2019-07-18 08:00:00
No summary found!
IslandT: Start a new Cryptocurrency project with Python
2019-07-18 06:45:52
Hello and welcome to another episode of the âPython Programming Journeyâ article series. Starting from today I have restructured the Python category of this website into these few sections.
PSF GSoC students blogs: 4th weekly check-in
2019-07-18 00:16:33
Hello everyone!
PSF GSoC students blogs: My path this far - 3rd blog post
2019-07-18 00:12:25
Hello guys!
Catalin George Festila: Python 3.7.3 : The pandas python module.
2019-07-18 00:11:35
Since I started learning python programming language I have not found a more complex and complete module for viewing complex data.
The official documentation of this python module tells us:
pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with ârelationalâ or âlabeledâ data both easy and intuitive. It aims to be the fundamental
Roberto Alsina: Old Guy @ The Terminal: Episodio 1!
2019-07-17 20:33:48
Este es el primer (y por ahora Ășnico, obviamente) episodio de un nuevo canal de video llamado "Old Guy @ The Terminal" en el que muestro algunas cositas de Linux, programaciĂłn, como se relacionan cosas actuales con cosas viejas y veremos quĂ© mĂĄs a medida que se me ocurran temas.
TechBeamers Python: Generate a List of Random Integers in Python
2019-07-17 18:51:16
This tutorial explains several ways to generate random numbers list in Python. Here, weâll mainly use three Python random number generation functions. These are random.randint(), random.randrange(), and random.sample(). You can find full details of these methods here: Generate random numbers in Python. All these functions are part of the Random module. It employs a fast pseudorandom number generator which uses the Mersenne Twister algorithm. However today, weâll focus on producing a list of non-repeating integers only. Go through the below bullets to continue. 1. randint() to Generate List of Integers 2. randrange() to Generate List of Integers 3. sample() to
PSF GSoC students blogs: Finishing up Scikit Linear Regression
2019-07-17 16:26:45
I had an assigned task to make the requested changes and refactor the scratch linear regression model. The tests and documentation are complete and are ready to merge along with the model. I will now be working mostly on scikit models from now. Targets:
Real Python: Create a Flask Application With Google Login
2019-07-17 14:00:00
Youâve probably seen the option for Google Login on various websites. Some sites also have more options like Facebook Login or GitHub Login. All these options allow users to utilize existing accounts to use a new service.
Catalin George Festila: Python 3.7.3 : Using the pipenv tool.
2019-07-17 12:24:10
The goal of this tutorial is how to use pipenv and manage dependencies and development environments on a collaborative Python project.
The documentation area can be found here.
C:\Python373>cd Scripts
C:\Python373\Scripts>pip install --user pipenv
Collecting pipenv
...
Successfully installed pipenv-2018.11.26 virtualenv-clone-0.5.3If you see errors like this:
WARNING: The scripts
Stack Abuse: Gradient Boosting Classifiers in Python with Scikit-Learn
2019-07-17 12:08:00
Gradient boosting classifiers are a group of machine learning algorithms that combine many weak learning models together to create a strong predictive model. Decision trees are usually used when doing gradient boosting. Gradient boosting models are becoming popular because of their effectiveness at classifying complex datasets, and have recently been used to win many Kaggle data science competitions.
Ned Batchelder: Coverage.py 5.0a6: context reporting
2019-07-17 11:25:00
Iâve released another alpha of coverage.py 5.0: coverage.py 5.0a6. There are some design decisions ahead that I could use feedback on.
ListenData: What are *args and **kwargs and How to use them
2019-07-17 10:32:13
When you define function without *args, it has a fixed number of inputs which means it cannot accept more (or less) arguments than you defined in the function.
Codementor: Getting Started with Map
2019-07-17 09:15:38
Get to grips with one of the fundamental building blocks of functional programming in Python: map.
Python Circle: Programming on Raspberry Pi with Python: Controlling LED
2019-07-17 07:45:02
Starting with Raspberry Pi programming with Python, Controlling LED with Python Program, Blinking LED with Raspberry Pi, Using GPIO pins to control the LED on Raspberry Pi with Python Program, Raspberry Pi and python
Test and Code: 81: TDD with flit
2019-07-17 07:00:00
In the last episode, we talked about going from script to supported package. I worked on a project called subark and did the packaging with flit.
PSF GSoC students blogs: GSoC Weekly Check-in
2019-07-16 20:20:02
Hello everyone!
Python Circle: Programming on Raspberry Pi with Python: Sending IP address on Telegram channel on Raspberry Pi reboot
2019-07-16 19:45:04
How to setup Raspberry Pi, Starting with Raspberry Pi programming with Python, Sending IP address to Telegram channel on Raspberry Pi Boot up, SSH using Raspberry Pi, Raspberry Pi and python
Python Circle: Programming on Raspberry Pi with Python: WIFI and SSH configuration
2019-07-16 19:45:04
How to setup Raspberry Pi, Installing Raspbian on Raspberry Pi 3 B+ model and configure settings, Starting with Raspberry Pi programming with Python, Configuring WIFI on Raspberry PI, Enabling SSH on Raspberry PI, RaspberryPi and Python
PyCoderâs Weekly: Issue #377 (July 16, 2019)
2019-07-16 19:30:00
#377 â JULY 16, 2019 View in Browser »
Nathan Piccini Data Science Dojo Blog: 101 Machine Learning Algorithms for Data Science with Cheat Sheets
2019-07-16 18:58:41
Think of this as the one-stop-shop/dictionary/directory for your machine learning algorithms. The algorithms have been sorted into 9 groups: Anomaly Detection, Association Rule Learning, Classification, Clustering, Dimensional Reduction, Ensemble, Neural Networks, Regression, Regularization. In this post, you'll find 101 machine learning algorithms, including useful infographics to help you know when to use each one (if available).
Python Circle: Programming on Raspberry Pi with Python: Raspberry Pi Setup
2019-07-16 16:45:23
How to setup Raspberry Pi, Installing Raspbian on Raspberry Pi 3 B+ model and configure settings, Starting with Raspberry Pi programming with Python, Raspberry Pi and Python
Python Circle: Python Script 4: Opening top 10 Google search result in one hit
2019-07-16 16:45:23
Opening top 10 google search results in different tabs in one click. How to start multiple tabs with different URLs in one go.
Python Circle: How to generate ATOM/RSS feed for Django website
2019-07-16 16:45:23
Creating atom or RSS feed of your Django site, Adding syndication feed in your django application, How to add RSS feed in Django website
Python Circle: Creating sitemap of Dynamic URLs in your Django Application
2019-07-16 16:45:23
Creating sitemap for your Django application, Improve SEO of your Django website by generating Sitemap.xml file, Generate sitemap from Dynamic URLs in Django Application, Create Sitemap for static pages in your Django application, Sitemap xml file in Django Applications,
Python Circle: How to create sitemap of Django website
2019-07-16 16:45:23
Creating a sitemap for your Django application, Improve SEO of your Django website by generating Sitemap.xml file, Generate sitemap from Dynamic URLs in Django Application, Create Sitemap for static pages in your Django application, Sitemap XML file in Django Applications,
Real Python: How to Write Pythonic Loops
2019-07-16 14:00:00
One of the easiest ways to spot a developer who has a background in C-style languages and only recently picked up Python is to look at how they loop through a list. In this course, youâll learn how to take a C-style (Java, PHP, C, C++) loop and turn it into the sort of loop a Python developer would write.
Stack Abuse: Python for NLP: Developing an Automatic Text Filler using N-Grams
2019-07-16 12:07:00
This is the 15th article in my series of articles on Python for NLP. In my previous article, I explained how to implement TF-IDF approach from scratch in Python. Before that we studied, how to implement bag of words approach from scratch in Python.
IslandT: Return the number which is larger than the sum of the remaining numbers in a list with Python
2019-07-16 11:38:13
Given a list of numbers, return a new list consists of the number which is larger than the sum of the remaining numbers in a list or larger than absolute zero. For example, this list [2, 5, 2, 1] will convert to [5, 2, 1] because 5 is greater than 2+1, 2 is greater than 1 and 1 is greater than absolute zero. Another example. [2, 3, -3] will convert to [2, 3] because 2 is greater than 3+(-3) and 3 is greater than -3 but -3 is lesser than 0 which means -3 will not get included into the new list.
PSF GSoC students blogs: Week 7 Chek-in
2019-07-16 08:42:18
What did you do this week?
Catalin George Festila: Python 3.7.3 : Using the werkzeug.
2019-07-16 08:16:58
From the official webpage, you can see all the features of this python module:
Werkzeug is a comprehensive WSGI web application library. It began as a simple collection of various utilities for WSGI applications and has become one of the most advanced WSGI utility libraries.
It includes:
An interactive debugger that allows inspecting stack traces and source code in the browser with an interactive
Dataquest: Tutorial: Advanced For Loops in Python
2019-07-16 07:01:07
If you've already mastered the basics of iterating through Python lists, take it to the next level and learn to use for loops in pandas, numpy, and more!
Mike Driscoll: Intro to Black â The Uncompromising Python Code Formatter
2019-07-16 05:05:16
There are several Python code checkers available. For example, a lot of developers enjoy using Pylint or Flake8 to check their code for errors. These tools use static code analysis to check your code for bugs or naming issues. Flake8 will also check your code to see if you are adhering to PEP8, Pythonâs style guide.
PSF GSoC students blogs: Google Summer of Code with Nuitka 4th Weekly Check-in
2019-07-16 05:01:29
1. What did you do this week? This week, I worked on my script which automates the testing of nuitka-wheel pytest. Details can be found on my pull request: https://github.com/Nuitka/Nuitka/pull/440 Automated testing compares the pytest results of a nuitka wheel built using python setup.py bdist_nuitka to the uncompiled bdist_wheel pytest of each PyPI package. Testing is done to ensure that nuitka is building the wheel correctly. If the pytests pass/fail in the same way, that means Nuitka built the wheel properly. Else if the tests differ, then something is wrong. Virtualenv is used to create a clean environment with no outside pollution. I used subprocess to capture the output from terminal for comparison. I also implemented mechanics to ignore the time differences found in pytests. Furthermore, the testing has been extended to three more packages.
PSF GSoC students blogs: Coding week #7
2019-07-16 04:40:53
This week I debugged the issues being faced around the miscalculation of the three performance parameters (AIC, AICc and BIC) for the Poisson model. The parameters are as expected now and follow the expected trend. I also added other parameter checks to the Monte Carlo experiment (such as betas, performance parameters etc.). A complete notebook enlisting links to all the notebooks  within the Poisson MGWR model was made to make it easier to follow the completeness of the project. I am maintaining the Pull request for the simulated data example for Poisson MGWR and added the updated code to the PR (https://github.com/pysal/mgwr/pull/60 ).
PSF GSoC students blogs: Weekly Check-in #7
2019-07-16 02:10:49
In this week, I made some progress on the second phase of the project. With the database established, I made a PR.
PSF GSoC students blogs: Eighth Week [July 8th - July 14th] [4th PSF Weekly Check-in]
2019-07-16 01:50:41
1. I set up a pipeline that downloads a remote file that contains atomic data information. I set the pipeline to check if the hash code of the file has changed, and to update the stored hash code in a text file, in addition to extracting the new data. Atomic Data Pipeline. I also read more of the tardis paper, and a supporting one to understand the general code better.Â
PSF GSoC students blogs: Che
2019-07-15 21:34:30
No summary found!
PSF GSoC students blogs: Check-in: 7th week of GSoC (Jul 08 - Jul 14)
2019-07-15 21:34:30
This week I continued to work on the documentation website for my GSoC project.
PSF GSoC students blogs: Weekly Summary #8
2019-07-15 21:14:36
Hello everyone!Â
PSF GSoC students blogs: Week-7
2019-07-15 20:10:34
<div class="lead">
<div class="lead cms-plugin cms-plugin-aldryn_newsblog-article-lead_in-262 cms-render-model">
<div class="lead cms-plugin cms-plugin-aldryn_newsblog-article-lead_in-206 cms-render-model"><span>Hello folks,</span></div>
</div>
</div>
PSF GSoC students blogs: Weekly check-in #4
2019-07-15 19:10:10
Hello there! Good to see u here.
PSF GSoC students blogs: Week 7: Weekly Check-In (#4)
2019-07-15 18:52:22
1. What did you do this week?
TechBeamers Python: Python String Find()
2019-07-15 17:32:32
This tutorial explains Python string find() method that searches a substring and returns the index of its first occurrence. If not successful, then it returns the status as (-1). Letâs try to understand its usage with the help of simple examples. 1. Find() syntax 2. Find() with default values 3. Find() with multiple occurrences of substrings 4. Find() when no substrings exist 5. Find() with start and end indices Letâs now go through each of the section one by one. Python String Find() with Examples Stringâs find() is a built-in Python function that finds a substring into another string which
PyCharm: PyCharm 2019.2 Beta #2
2019-07-15 15:26:09
It hasnât been long since we published PyCharm 2019.2 Beta, and now weâre ready to share with you the second Beta build! The final release date is getting closer and closer, and while you wait, give PyCharm 2019.2 Beta #2 a go! Get the PyCharm 2019.2 Beta build from our website and try all the latest functionality.
Codementor: Python Celery Guide
2019-07-15 15:23:30
Everyone in the Python community has heard about Celery at least once, and maybe even already worked with it. Basically, itâs a handy tool that helps run postponed or dedicated code in a separate...
Codementor: Serving Gifs With Discord Bot - Reading Time: 12 Mins
2019-07-15 14:31:03
Building a Discord Chatbot with Giphy API
PSF GSoC students blogs: Week #7
2019-07-15 14:28:42
I managed to reduce the performance time to ~100 sec from 26 minutes by fetching a bigger chunk of data at a time than was fetched before. Furthermore, I successfully implemented hyperbox for loading matrix, which essentially is a method of subsampling from loading matrix so that the data is well-represented with less sample. Although more loss was induced by this, I'm inclined to conclude that the cost is manageable and the benefit in terms of speeding up the performance outweighs the cost. In fact, since I'm applying approximation PCA method, some degree of loss for this PCA is expected.
PSF GSoC students blogs: Optimizing "map" and "zip" - Weekly check in #4
2019-07-15 14:08:00
This week I started up with optimizing "map" built-in but later realised that I first need to optimize "zip" as there is no support on Nuitka for it as "map" is dependent on it. Initially I implemented the C backend for Python2 "zip" function but after discussing with my mentor we decided to keep only C backend for Python3 "zip" and depend on re-formulation for Python2 "zip" built-in.
Real Python: Real Python at PyCon US 2019
2019-07-15 14:00:00
There are many PyCons all over the world each year, but the biggest of them all is PyCon US (United States). This year, over 3000 Pythonistas descended on Cleveland, Ohio, to learn, collaborate, contribute, and meet old and new friends alike. Iâm sure many of you are already aware of what PyCon US is, but if not, then I would suggest reading our guide to PyCon to learn more.
Codementor: Python Snippet 1: More Uses For Else
2019-07-15 13:31:15
Get familiar with the different uses for else in Python. It's not just for if statements: we can use it with loops, and for error handling too!
PSF GSoC students blogs: For fork's sake - Fixing multiprocessing issues
2019-07-15 12:42:59
It was also reported that scipy.fft does not interact well with python's multiprocessing library. I was able to track down the issue and resolve it within a few hours, adding a unit test to ensure this wouldn't be broken again. However, when I went to update my uarray PR to use the new fast C++ version, the test started to fail. It turns out, the uarray multimethod objects needed to be pickleable in a very specific way that mimicks the behaviour of python Function types. Thankfully, after applying this fix the issue was resolved.
Catalin George Festila: Python 3.7.3 : Programming Krita.
2019-07-15 11:21:05
Today I wrote a python tutorial about Krita software and programming python.
The Krita software use python version 3.6.2.
==== Warning: Script not saved! ====
3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)]
The full tutorial can be found at my Blogspot (a Blogspot about the graphics area).
Erik Marsja: 9 Data Visualization Techniques You Should Learn in Python
2019-07-15 10:31:51
With ever increasing volume of data, it is impossible to tell stories without visualizations. Data visualization is an art of how to turn numbers into useful knowledge. Using Python we can learn how to create data visualizations and present data in Python using the Seaborn package.
Codementor: Generators in Python | How to use Python Generators
2019-07-15 07:18:53
Learn what are generators in Python along with the advantages. Also learn how to create and use them along with various use cases.
PSF GSoC students blogs: Week #7 | Guillotina PubSub
2019-07-15 05:50:25
No summary found!
PSF GSoC students blogs: Week #6 | Guillotina PubSub
2019-07-15 05:49:56
Issue #553
Mike Driscoll: PyDev of the Week: Meg Ray
2019-07-15 05:05:47
This week we welcome Meg Ray (@teach_python) as our PyDev of the Week! Meg teaches programming to other teachers and has developed Python-related curriculum. Meg is also the author of Code This Game, a book which will be coming out in August 2019. Letâs take some time to get to know her better!
IslandT: Find the RPM of the gear from the gear chain group with Python
2019-07-15 04:45:41
Given a list of gear in term of the gear teeth number, find the rpm of the last cog, the driven gear will rotate at 1 rpm in the clockwise direction.
PSF GSoC students blogs: Weekly Check-In #6
2019-07-15 03:32:37
The application is almost built now. Only minor changes, bugfixes and writing tests are left.
Podcast.__init__: A Modern Open Source Project Management Platform
2019-07-15 01:38:40
Project management is a discipline that has been through many incarnations, spawning an entire industry of businesses and tools. The challenge is to build a platform that is sufficiently powerful and adaptable to fit the workflow of your teams, while remaining opinionated enough to be useful. It also helps to have an open and extensible platform that can be customized as needed. In this episode Pablo Ruiz MĂșzquiz explains the motivation for creating the open source tool Taiga, how it compares to the other options in the market, and how you can use it for your own projects. He also discusses the challenges inherent to project management tools, his philosophies on what makes a project successful, and how to manage your team workflows to be most effective. It was helpful learning from Pabloâs long experience in the software industry and managing teams of various sizes.
PSF GSoC students blogs: Weekly Check In
2019-07-14 22:29:00
What did you do this week?
PSF GSoC students blogs: Coding Period: Week 7
2019-07-14 19:35:39
Greetings everyone! This is this update for this week. This is all about how I got hg abort finally added to Mercurial. I also sent PRs to evolve repository adding its support.
Reuven Lerner: Itâs my annual birthday sale!
2019-07-14 17:57:10
Today (Sunday, July 14th) is my birthday. And as happens every year, Iâm celebrating with huge discounts on all of my online courses and books. Iâm now 49, so you can get 49% off of anything in my online store. But as with birthdays, this massive sale wonât last long â it ends Monday evening.
PSF GSoC students blogs: Weekly check-in #6 (week 7): 08/07 to 14/07
2019-07-14 15:17:28
Hi! At the start of week 7 I have learned that one of my mentors will be going on holiday during the next two weeks. This means that during that time I will mostly work by myself. Excited to see whatâs going to happen!
PSF GSoC students blogs: weeklyCheckIn[7]
2019-07-14 12:41:13
As per last week's plan. I completed implementation of 'projects-list' part of the UI. The additional features were,Â
Catalin George Festila: Python 3.7.3 : Simple tests with zipfile python module.
2019-07-14 12:22:39
You can read about this python module here.
The ZIP file format is a common archive and compression standard. This module provides tools to create, read, write, append, and list a ZIP file. Any advanced use of this module will require an understanding of the format, as defined in PKZIP Application Note.
This module does not currently handle multi-disk ZIP files. It can handle ZIP files that use
ListenData: Drop columns in Pandas Dataframe
2019-07-14 09:10:59
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
ListenData: Matplotlib Tutorial â Learn Plotting in Python in 3 hours
2019-07-14 09:07:55
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
PSF GSoC students blogs: Weekly CheckIn 6th
2019-07-14 08:55:55
In this week I started writing the test for the gatsby-node API. I read lot's of documentation regarding jest because our previous test is written using this framework. I also do some research regarding the unit test and converting our whole source code into typescript. But we came to the conclusion that first, we write a unit test for all the function and if time permits we devote our entire time working rewriting whole source plugin. I have written a test for makecontentNode function which converts the fetched content into Gatsby Node. You can see the pr belowÂ
PSF GSoC students blogs: Seventh week of GSoC: Just a status report
2019-07-14 08:13:55
1. What did you do this week?
Karim Elghamrawy: Best Books for Programmers (The Ultimate List)
2019-07-14 04:58:14
So you decided to learn Programming? I know the first thing you probably did was to go to Google and search for the best programming books. I would do the same. But there is a problem There is a ton of programming books out there, covering different topics and different programming languages. With all the [...]
Weekly Python StackOverflow Report: (clxxxvi) stackoverflow python report
2019-07-13 20:02:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-07-13 20:02:22 GMT
TomaĆŸ Muraus: Consuming AWS EventBridge Events inside StackStorm
2019-07-12 22:00:00
Amazon Web Services (AWS) recently launched a new product called Amazon EventBridge.
PSF GSoC students blogs: Check in: Week 7
2019-07-12 17:40:50
1. What did you do this week?
PSF GSoC students blogs: Coding period: week #7
2019-07-12 17:15:16
This is a blog post about how I finished adding a new feature I have been working for the last two weeks.
ListenData: Python : 10 Ways to Filter Pandas DataFrame
2019-07-12 14:45:35
We are going to use dataset containing details of flights departing from NYC in 2013. This dataset has 32735 rows and 16 columns. See column names below. To import dataset, we are using read_csv( ) function from pandas package.
Moshe Zadka: Interfaces are forever
2019-07-12 13:43:11
(The following talks about zope.interface interfaces, but applies equally well to Java interfaces, Go interfaces, and probably other similar constructs.)
PyBites: Code Challenge 62 - Women @ Pycon ES
2019-07-12 12:00:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
Talk Python to Me: #220 Machine Learning in the cloud with Azure ML
2019-07-12 08:00:00
On this episode, you'll meet Francesca Lazzeri and hear story how she went from Research Fellow in Economics at Harvard Business School to working on the AI and data science stack on the Azure team.
Python Circle: For loop in Django template
2019-07-12 07:45:17
using for loop in Django templates, Using break in Django template for loop, Using range in django template for loop, How to access index in for loop in django template, for - empty in django template
Python Circle: Creating custom template tags in Django
2019-07-12 04:45:03
Step by step guide to create and use custom template tags in Django, how to create custom template tags in Django, how to use custom template tag in Django,
PSF GSoC students blogs: Week #6
2019-07-12 00:30:06
Now that PCA implementation was working, I needed to improve the performance as the previous performance was too slow to be put into use. As per mentor's suggestions, I tried to replace the loading with an identity matrix to avoid overhead and reduce the number of samples. Furthermore, I tried to reconstruct the original data matrix at the merging stage and ran PCA on top of that to confirm the accuracy of the current implementation.
ListenData: 15 ways to read CSV file with pandas
2019-07-11 22:40:55
See the column types of data we imported. first_name and company are character variables. Remaining variables are numeric ones.
Data School: My top 25 pandas tricks (video)
2019-07-11 20:13:32
In my new pandas video, you're going to learn 25 tricks that will help you to work faster, write better code, and impress your friends. These are the most useful tricks I've learned from 5 years of teaching Python's pandas library.
Codementor: Introduction to unit testing with Python
2019-07-11 18:34:54
Testing is an essential part of software development. Start writing simple and effective tests with this blog post. It's easier than you think!
Peter Bengtsson: SongSearch autocomplete rate now 2+ per second
2019-07-11 17:21:05
By analyzing my Nginx logs, I've concluded that SongSearch's autocomplete JSON API now gets about 2.2 requests per second. I.e. these are XHR requests to /api/search/autocomplete?q=....
PSF GSoC students blogs: Coding and Communication
2019-07-11 17:15:56
You have to constantly be learning and implementing various things if you want to be better at programming. Watch some tutorials, checkout some blogs, read the documentation and start experimenting, I have learnt this from my past year experience that if you want to move ahead and be better at any stack of programming, don't get lost in the plethora of tutorials available, pick a project, experiment, un-learn - re-learn stuff and implement. This is by far the most valuable lesson I have learnt.
Python Anywhere: Using our file API
2019-07-11 15:51:46
Our API supports lots of common PythonAnywhere operations, like creating and managing consoles, scheduled and always-on tasks, and websites. We recently added support for reading/writing files; this blog post gives a brief overview of how you can use it to do that.
IslandT: Convert hexadecimal number to decimal number with Python program
2019-07-11 13:24:24
Use python program to convert hexadecimal number to the decimal number.
Catalin George Festila: Python 3.7.3 : Three examples with BeautifulSoup.
2019-07-11 12:53:38
Beautiful Soup is a library that makes it easy to scrape information from web pages. It sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree., see the pypi webpage.
This python module was created by Leonard Richardson.
A large definition can be this:
Web Scraping (also termed Screen Scraping, Web Data Extraction, Web Harvesting, etc.)
Python Software Foundation: 2019 PSF Fundraiser - Thank you & debrief
2019-07-11 11:04:24
No <p> found.
PSF GSoC students blogs: Fourth Blog - GSOC 2019
2019-07-11 10:27:58
Hello and welcome to my fourth blog for gsoc 2019.
PSF GSoC students blogs: Week 5
2019-07-11 02:58:15
What did you do this week?
PSF GSoC students blogs: Coding week #6
2019-07-11 02:17:39
This week I constructed a Monte Carlo experiment design to test the parameters from the Poisson MGWR model. The model was designed to create a random sample for the independent variables, construct dependent variables for Poisson distribution and run the model for 1000 iterations. The results from the experiment were plotted in a notebook and analysed and follow the expected trend. I am maintaining the Pull request for the simulated data example for Poisson MGWR and added the experiment design code to the PR for reference (https://github.com/pysal/mgwr/pull/60 ).
Wingware News: Wing Python IDE 7.0.4 - July 11, 2019
2019-07-11 01:00:00
Wing 7.0.4 has been released. Some of the highlights of this release include:
Catalin George Festila: Python 3.7.3 : Testing the Bokeh python module.
2019-07-11 00:47:44
This python module has a beautiful website:
Bokeh is an interactive visualization library that targets modern web browsers for presentation. Its goal is to provide elegant, concise construction of versatile graphics, and to extend this capability with high-performance interactivity over very large or streaming datasets. Bokeh can help anyone who would like to quickly and easily create interactive
Matt Layman: Using Git and GitHub to safely store your code
2019-07-11 00:00:00
For Python Frederickâs July presentation, I presented on Git and GitHub for beginners who have never used either of those tools before.
Randy Zwitch: ODSC webinar&#58; End-to-End Data Science Without Leaving the GPU
2019-07-11 00:00:00
In this webinar sponsored by the Open Data Science Conference (ODSC), I outline a brief history of GPU analytics and the problems that using GPU analytics solves relative to using other parallel computation methods such as Hadoop. I also demonstrate how OmniSci fits into the broader GPU-accelerated data science workflow, with examples provided using Python.
Python Circle: How to create management commands in Django
2019-07-10 16:45:19
creating custom management commands in Django application, Background tasks in Django App, Scheduled tasks in Django, How to schedule a task in Django application, How to create and schedule a cron in Django
Python Circle: How to send email from Python and Django using Office 365
2019-07-10 16:45:19
How to send an email via office 365 in python and Django, Automating the email sending process using Django, Office 365 credentials to send email using Django, Python script to send emails via office 365, Automating office 365 using python, Python script to send emails via office365
Python Circle: Creating custom user model and custom authentication in Django
2019-07-10 16:45:19
How to extend the default user model in Django, Defining your own custom user model in Django. Writing your own authentication backend in Django, Using Email and Password to login in Django
PSF GSoC students blogs: Week 6 Check-In
2019-07-10 16:14:34
Welcome back!
PSF GSoC students blogs: Week 5 Check-In
2019-07-10 14:34:52
Hello everyone!
Real Python: Build a Recommendation Engine With Collaborative Filtering
2019-07-10 14:00:00
Collaborative Filtering is the most common technique used when it comes to building intelligent recommender systems that can learn to give better recommendations as more information about users is collected.
Stack Abuse: Python's Bokeh Library for Interactive Data Visualization
2019-07-10 12:24:00
In this tutorial, we're going to learn how to use Bokeh library in Python. Most of you would have heard of matplotlib, numpy, seaborn, etc. as they are very popular python libraries for graphics and visualizations. What distinguishes Bokeh from these libraries is that it allows dynamic visualization, which is supported by modern browsers (because it renders graphics using JS and HTML), and hence can be used for web applications with a very high level of interactivity.
Caktus Consulting Group: Book Review: Creating GUI Applications with wxPython
2019-07-10 12:22:06
I enjoyed working through the book Creating GUI Applications with wxPython by Michael Driscoll, learning various techniques for programming GUI applications in Python using wxPython.
Catalin George Festila: Python 3.7.3 : About python version 3.7.3.
2019-07-10 11:55:01
All versions of python come with many features and changes with every released version.
A full list of these changes can be found at PEP official webpage and this documentation webpage.
The goal of these tutorials is to fix the learning area by each python version and have a good picture of these features.
Let's start with the first step - python modules.
Several of the standard library Python
Codementor: Python/matplotlib : Plotting an arc in 3D plot
2019-07-10 11:39:01
I'm trying to draw an arc that is tangent to Z axis, as shown in the figure below, using matplotlib.
20190703_121733(1).jpg https://ucarecdn.com/571eb273-ae11-4fc8-891a-96d017c50966/
In this arc...
Codementor: Awesome Web Scraping
2019-07-10 09:11:04
Awesome extraction from websites!
Dataquest: Python Machine Learning Tutorial: Predicting Airbnb Prices
2019-07-10 08:00:00
Learn about machine learning in Python and build your very first ML model from scratch to predict Airbnb prices using k-nearest neighbors.
IslandT: Find the average negative values from the DataFrame
2019-07-10 07:58:26
Hello and welcome back, since a few days ago I am not posting anything on this website because during these few days I am busy working on a new Blender project (below) for mine new game character. Besides that, I also surf Google and watch lots of Youtube videos. But starting from tomorrow I will start to work hard again for the next game project plus write more articles for this site, so stay tuned!
Codementor: Python Comprehensions are Awesome!
2019-07-10 06:58:32
Python's comprehensions are short, highly readable ways of creating various collections from other iterables.
Master comprehensions and take your loops to the next level.
Codementor: Stop using indices!
2019-07-10 06:57:49
Learn how to avoid indices in your loops and replace them with descriptive variable names.
Use tools like zip and enumerate to write awesome Pythonic loops.
Codementor: Python Seaborn Tutorial | Data Visualization Using Seaborn
2019-07-10 04:52:08
Python Seaborn tutorial along difference between seaborn and matplotlib. Also learn about the various functions ans customizations available in seaborn.
Codementor: How I learned Python Programming RAPIDLY!
2019-07-10 04:50:32
How I learned Python Programming Rapidly!
Codementor: A Brief Introduction To Markov Chains | Markov Chains In Python
2019-07-10 04:50:29
This article on Introduction To Markov Chains will help you understand the basic idea behind Markov chains and how they can be modeled using Python.
PSF GSoC students blogs: Week 6
2019-07-10 04:01:46
This week, I implemented several new checkers for the tool. Since I have implemented some checkers before, this is not difficult. The best way to implement checkers is to look up the NVD database first, from their you could find the vendor name, library name, versions... Therefore, the rest of the process is to look into the archive (released packages) and come up with regex to match and guess the version.
Wingware Blog: Extending Wing with Python (Part 4 of 4)
2019-07-10 01:00:00
In this issue of Wing Tips we continue to look at how to extend Wing's functionality, by taking a closer look at at the scripting API and writing up a more complex script.
Dataquest: New Course: Learn the Fundamentals of Probability for Data Science
2019-07-09 19:50:42
This new online course will help aspiring data analysts and data scientists learn the fundamentals of probability and expand their statistics knowledge.
PyCoderâs Weekly: Issue #376 (July 9, 2019)
2019-07-09 19:30:00
#376 â JULY 9, 2019 View in Browser »
PSF GSoC students blogs: GSoC weekly blog
2019-07-09 18:22:33
Hey everyone,
PSF GSoC students blogs: GSoC Weekly Check in
2019-07-09 18:01:04
Hello everyone!
PSF GSoC students blogs: The week that has been @ 2048
2019-07-09 16:39:06
Â
PSF GSoC students blogs: Weekly Check-in #6
2019-07-09 14:30:26
In this week, I started working on the second phase of the project.
PSF GSoC students blogs: Blog #3
2019-07-09 14:22:30
In the past week, I have started working on phase 2 of my project and wrapping up phase 1.
PSF GSoC students blogs: Weekly Check-in #5
2019-07-09 14:07:03
In the fifth week of coding, I spent time learning the requirements for the next phase of my project. Also worked on modifying the last part of phase 1 by tweaking it a bit.
Real Python: Reading and Writing Files in Python
2019-07-09 14:00:00
In this course, youâll learn about reading and writing files in Python. Youâll cover everything from what a file is made up of to which libraries can help you along that way. Youâll also take a look at some basic scenarios of file usage as well as some advanced techniques.
PSF GSoC students blogs: Week 6: Client side and OOP
2019-07-09 13:03:01
What I did?
Stack Abuse: Python for NLP: Creating TF-IDF Model from Scratch
2019-07-09 12:48:00
This is the 14th article in my series of articles on Python for NLP. In my previous article, I explained how to convert sentences into numeric vectors using the bag of words approach. To get a better understanding of the bag of words approach, we implemented the technique in Python.
PSF GSoC students blogs: Weekly Check-in #7: (5 July - 11 July)
2019-07-09 11:57:10
Hey! here is an update on what I have achieved so far.
Catalin George Festila: Python 3.7.3 : Testing Wagtail.
2019-07-09 11:44:06
The Wagtail is a beautiful project and can be integrated with Django.
In this tutorial, I will show you the steps for the first install of a basic website.
C:\Python373>python -m virtualenv venv_wagtail
Using base prefix 'C:\\Python373'
New python executable in C:\Python373\venv_wagtail\Scripts\python.exe
Installing setuptools, pip, wheel...
done.
C:\Python373>venv_wagtail\Scripts\activate.bat
Catalin George Festila: Python 3.7.3 : The python-slugify python module.
2019-07-09 10:56:10
This python module named python-slugify can handle Unicode.
You can see this python module source code and examples at GITHUB webpage.
The install step with pip python tool is easy:
C:\Python373>cd Scripts
C:\Python373\Scripts>pip install python-slugify
Collecting python-slugify
...
Successfully built python-slugify
Installing collected packages: text-unidecode, python-slugify
Successfully
PSF GSoC students blogs: Weekly check in [week 6 - 01/07 - 07/07]
2019-07-09 10:45:44
1. What did you do this week?
Python Software Foundation: The Python Software Foundation is looking for bloggers!
2019-07-09 09:21:04
No <p> found.
Kushal Das: Highest used Python code in the Pentesting/Security world
2019-07-09 05:34:00
I think this is the highest used Python program in the land of Pentesting/Security, Almost every blog post or tutorial I read, they talk about the above-mentioned line to get a proper terminal after getting access to a minimal shell on a remote Linux server.
Codementor: Reasons Why Python is Good for AI and ML
2019-07-09 04:09:27
Artificial Intelligence (AI) and Machine Learning (ML) are the new black of the IT industry. While discussions over the safety of its development keep escalating, developers expand abilities and...
Quansight Labs Blog: Ibis: Python data analysis productivity framework
2019-07-09 03:30:00
Ibis is a library pretty useful on data analysis tasks that provides a pandas-like API that allows operations like create filter, add columns, apply math operations etc in a lazy mode so all the operations are just registered in memory but not executed and when you want to get the result of the expression you created, Ibis compiles that and makes a request to the remote server (remote storage and execution systems like Hadoop components or SQL databases). Its goal is to simplify analytical workflows and make you more productive.
PSF GSoC students blogs: Seventh Week [July 1st - July 7th] [3rd PSF Blog Post]
2019-07-09 01:50:59
This session, we set up azure testing pipelines for "Carsus ... a TARDIS support package for creating and working with atomic datasets" (Carsus Documentation). This repository is intended to complement github.com/tardis-sn/tardis. The pipeline is much more advanced, as it runs 5 parallel tests, a simple basic pytest, one that uses remote data, one that runs slowly, one that fetches database info, and one that adds coverage results: Coverage results. (Hopefully we will get the covered files up to above 80 percent). We use pytest for these tests, and run the commands usings the Carsus setup module's arguments. I learned three new things about azure making this new pipeline. The first is how to efficiently use key value pairs to activate different environments for each test:
PSF GSoC students blogs: Working with SciKit and meeting deadlines
2019-07-09 00:44:01
The first linear regression model took unexpectedly long that put me in a difficult place because now I have to cover up at least a couple more models before the second evaluation. My mentor and I decided to take up Scikit implementations now and I think they will be faster to implement and will give better results too.
Codementor: Top Seven Apps Built With Python
2019-07-08 23:57:44
Over its almost 30 years of existence, Python has become one of the most popular (https://blog.github.com/2018-11-15-state-of-the-octoverse-top-programming-languages/) programming languages. But if...
Learn PyQt: Build a simple minesweeper clone in Python, using PyQt5
2019-07-08 21:31:15
Moonsweeper is a single-player puzzle video game. The objective of the game is to explore the area around your landed space rocket, without coming too close to the deadly B'ug aliens. Your trusty tricounter will tell you the number of B'ugs in the vicinity.
PSF GSoC students blogs: Blog post: 6th week of GSoC (Jul 01 - Jul 07)
2019-07-08 21:29:21
This week I was able to make good progress and finalize on a couple of PRs on my GSoC project repository on GitHub.
PSF GSoC students blogs: Pyca / cryptography and some other things
2019-07-08 21:26:52
Hi every one!
Codementor: Kaggle-Titanic: Machine Learning from Disaster: Beginner
2019-07-08 21:18:05
Predict survival on the Titanic
Codementor: A Quick NumPy Reference Note
2019-07-08 20:53:12
NumPy Reference Note
Codementor: Top 14 Pros of Using Django for Web Development
2019-07-08 16:37:08
Django is one of the top frameworks for web developmeht (https://hackernoon.com/7-best-web-development-backend-frameworks-in-2018-22a5e276cdd), but why is it so popular among developers and...
PSF GSoC students blogs: Week 6: Blog Post (#3)
2019-07-08 16:25:41
This week i was doing several smaller things:
Codementor: Tutorial: What is Docker and How to Use It with Python
2019-07-08 15:30:09
This is an introductory tutorial on Docker containers. By the end of this article, you will know how to use Docker on your local machine. Along with Python, we are going to run Nginx and Redis...
Stack Abuse: Python: Print without Newline
2019-07-08 15:14:00
In this article, we'll examine how to print a string without a newline character using Python.
Real Python: The Python Square Root Function
2019-07-08 14:00:00
Are you trying to solve a quadratic equation? Maybe you need to calculate the length of one side of a right triangle. For these types of equations and more, the Python square root function, sqrt(), can help you quickly and accurately calculate your solutions.
PSF GSoC students blogs: Improving uarray performance
2019-07-08 13:51:16
I have been focused on my uarray PR (uarray#1780). uarray defines a protocol for dispatching function calls to multiple different backend implentations. In my PR, I've been reimplementing the core function dispatch mechanism in C++ using the Python C-API. This week I've moved the backend registration system in to C++ which means the protocol is now 100% C++. This has brought the overhead down from ~5 us per function call to just ~700 ns or about 10 times more than a normal python function call. This overhead was one of the main blockers for the adoption of uarray so is very nice to see it come down. Â Â Â I've also updated the vendored version pypocketfft in scipy#10393. This new version includes a small cache for the FFT "twiddle factors" which I helped implement. This improves benchmarks by ~20% in most cases or as much as 60% for some input sizes.
EuroPython: EuroPython 2019: Sponsored trainings
2019-07-08 13:07:00
Weâd like to highlight a special offering by our sponsors MongoDB and SOS Software / Intel: trainings which you are free to attend with just a conference ticket.
Stack Abuse: The Python Assert Statement
2019-07-08 12:56:00
In this article, we'll examine how to use the assert statement in Python.
Chris Moffitt: Build a Celebrity Look-Alike Detector with Azureâs Face Detect and Python
2019-07-08 12:15:00
This article describes how to to use Microsoft Azureâs Cognitive Services Face API and python to identify, count and classify people in a picture. In addition, it will show how to use the service to compare two face images and tell if they are the same person. We will try it out with several celebrity look-alikes to see if the algorithm can tell the difference between two similar Hollywood actors. By the end of the article, you should be able to use these examples to further explore Azureâs Cognitive Services with python and incorporate them in your own projects.
Codementor: Set-up Raspberry Pi headlessly in Laptop, no HDMI no Monitor.
2019-07-08 06:54:58
Set-up Raspberry Pi headlessly in Laptop, no HDMI no Monitor
Codementor: Install PySpark with Deep Learning Pipelines on Linux
2019-07-08 06:44:33
Tutorials for setting up PySpark and Deep Learning Pipelines.
Codementor: Basic Image Processing In Python - Part 2
2019-07-08 06:34:42
A comprehensive introduction of digital image analysis
Codementor: Django Templating system - How to make use of it efficiently
2019-07-08 05:38:49
Django create it possible to individual python and HTML, the python goes in MVC views and HTML goes in Django template mechanism.
Mike Driscoll: PyDev of the Week: David Kopec
2019-07-08 05:05:52
This week we welcome David Kopec (@davekopec) as our PyDev of the Week! David is the author of Classic Computer Science Problems in Python from Manning, as well as several other books. He was even interviewed about his book by Talk Python! If you would like to see what open source projects he is working on, then you should head on over to Github. Now letâs take some time to get to know David!
Catalin George Festila: Python 3.7.3 : Using attrgetter from operator python module.
2019-07-08 04:47:42
Return a callable object that fetches attr from its operand. If more than one attribute is requested, returns a tuple of attributes. The attribute names can also contain dots. see documentation.
The attrgetter operator works more or less similar to itemgetter, except that it looks up an attribute instead of an index.
For example to test this operator we need to create a class to access the
Kushal Das: Two new federated services for dgplug
2019-07-08 04:22:00
Last week we started providing two new services for the dgplug members.
Podcast.__init__: Domain Driven Design For Python
2019-07-08 03:40:15
When your software projects start to scale it becomes a greater challenge to understand and maintain all of the pieces. In this episode Henry Percival shares his experiences working with domain driven design in large Python projects. He explains how it is helpful, and how you can start using it for your own applications. This was an informative conversation about software architecture patterns for large organizations and how they can be used by Python developers.
Codementor: Why Use Python for Startups? - Reading Time: 7 Mins
2019-07-07 16:40:58
Why Use Python for Startups? A guide on why you should choose Python to break into startups
IslandT: Create integer list from a number with python
2019-07-07 14:35:16
Given a number, return a list of integer with python function.
nl-project: Announcing syntreenet: A library to build scalable production rule systems
2019-07-06 19:47:10
No <p> found.
Learn PyQt: Your first GUI app with Python and PyQt
2019-07-06 19:22:46
This is an updated Qt5 version of the tutorial first seen here.
Weekly Python StackOverflow Report: (clxxxv) stackoverflow python report
2019-07-06 15:21:00
No <p> found.
Karim Elghamrawy: Python: Sleep Function Explained
2019-07-05 20:34:23
In Python, or any other programming language, sometimes you want to add a time delay in your code before you proceed to the next section of the code. If this is what you want to do, then you should use the sleep function from the time module. First, I will start by discussing how to [...]
EuroPython: EuroPython 2019: Attendee briefing
2019-07-05 19:30:01
EuroPython 2019 will start on Monday. Again we will have more than a thousand attendees signed up and weâre looking forward to an exciting conference packed with more than 130 sessions from Monday - Sunday, July 8 - 14.
Stack Abuse: The Python Help System
2019-07-05 18:30:00
When writing and running your Python programs, you may get stuck and need to get help. You may need to know the meaning of certain modules, classes, functions, keywords, etc. The good news is that Python comes with an built-in help system. This means that you don't have to seek help outside of Python itself.
EuroPython Society: List of EPS Board Candidates for 2019/2020
2019-07-05 17:25:03
At this yearâs EuroPython Society General Assembly we will vote in a new board of the EuroPython Society for the term 2019/2020.
Catalin George Festila: Python 3.7.3 : Use python with MySQL and MariaDB.
2019-07-05 15:40:16
If you want to use MariaDB databases with python then you need to install the MySQL.
Use the pip tool to install the mysql-connector-python python module:
C:\Python373\Scripts>pip install mysql-connector-python
Collecting mysql-connector-python
...
Installing collected packages: mysql-connector-python
Successfully installed mysql-connector-python-8.0.16
The information about python module named
Kushal Das: A few bits on tmux
2019-07-05 09:59:00
I donât remember when I started using tmux, but, the move from screen to tmux was quick. I have it installed on all of my systems and VMs. Though I never bothered to have a proper configuration file, it also means that I never used any plugin or other particular configuration. I donât prefer to use plugins for command line applications much (for example in Vim), as not all systems will have those plugins installed.
Made With Mu: Alpha 2 Released with Web Mode
2019-07-05 09:00:00
We are delighted to announce the release of Mu 1.1 alpha 2. Visit Muâs download page to get installable versions for Windows and OSX. If youâre on Linux, please run Mu from source by following these instructions.
Talk Python to Me: #219 Take a Python tour of duty at the United States Digital Service
2019-07-05 08:00:00
In the US, we have a very interesting civil option that is quite new: The United States Digital Service. This service was created by President Obama to fix broken government software systems such as the rocky start of the healthcare system.
Evennia: Evennia 0.9 released
2019-07-04 19:39:46
No <p> found.
Python Insider: Python 3.8.0b2 is now available for testing
2019-07-04 18:10:28
No <p> found.
Python Anywhere: System update on 26 June
2019-07-04 15:25:39
Our system update on 26 June went pretty smoothly :-) There were a number of useful changes:
PyCharm: PyCharm 2019.2 goes Beta
2019-07-04 14:03:50
Today weâre happy to share with you PyCharm 2019.2 Beta, a feature-complete preview of the upcoming release. Be the first one to try all the new functionality â download your PyCharm 2019.2 Beta build from our website.
Catalin George Festila: Python 3.7.3 : Using itemgetter from operator python module.
2019-07-04 13:17:15
The operator module exports a set of efficient functions corresponding to the intrinsic operators of Python. see documentation.
Today I will show you how to use itemgetter from this python module with python 3.7.3.
Let's see how to sort my two dictionary named my_dict and my_dict2, using the clasical lambda function;
C:\Python373>python.exe
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53)
ListenData: Python Dictionary Comprehension with Examples
2019-07-04 12:54:30
Both list and dictionary comprehension are a part of functional programming which aims to make coding more readable and create list and dictionary in a crisp way without explicitly using for loop.
Stack Abuse: Python for NLP: Creating Bag of Words Model from Scratch
2019-07-04 12:10:00
This is the 13th article in my series of articles on Python for NLP. In the previous article, we saw how to create a simple rule-based chatbot that uses cosine similarity between the TF-IDF vectors of the words in the corpus and the user input, to generate a response. The TF-IDF model was basically used to convert word to numbers.
EuroPython: Switching to Late Bird Tickets â please use your coupons today!
2019-07-04 10:22:56
Since we still have quite a few people with discount coupons who havenât bought their tickets yet, weâd like to remind that we are switching to late bird tickets on Saturday:
Test and Code: 80: From Python script to Maintainable Package
2019-07-04 07:30:00
This episode is a story about packaging, and flit, tox, pytest, and coverage. And an alternate solution to "using the src".
IslandT: Further Exploring the Pandas.DataFrame Object method
2019-07-04 03:33:59
In this article, we will further look at the other methods of the DataFrame object, we will continue to explore the DataFrame object methods in a few more chapters before moving forward to the other Pandas objects.
ListenData: Python for Data Science - Learn in 3 Days
2019-07-04 03:32:46
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Python Circle: 5 common mistakes made by beginner python programmers
2019-07-03 19:45:01
Most common mistakes made by beginner python programmers, Things to avoid by python programmers, Most common pitfalls/ gotchas in python, Bitten by python scenarios, tips for beginner python programmers, python beginner programmers should avoud these mistakes
Continuum Analytics Blog: Why We Removed the âFreeâ Channel in Conda 4.7
2019-07-03 19:31:38
One of the changes we made in Conda 4.7 was the removal of a software collection called âfreeâ from the default channel configuration. The âfreeâ channel is our collection of packages prior to the switchâŠ
EuroPython: EuroPython 2019: Late Bird Rates and Day Passes
2019-07-03 18:30:46
We will be switching to the late bird rates for tickets on Saturday (July 6), so this is your last chance to get tickets at the regular rate, which is about 30% less than the late bird rate.
Real Python: How to Use the Python or Operator
2019-07-03 14:00:00
There are three Boolean operators in Python: and, or, and not. With them, you can test conditions and decide which execution path your programs will take. In this tutorial, youâll learn about the Python or operator and how to use it.
IslandT: Find the working hour for a project with Python program
2019-07-03 13:24:03
In this article, we will write a python program to figure out how much time we will need to contribute to a project as a freelancer, but before that, let us go through the below problem first!
Stack Abuse: Introduction to GANs with Python and TensorFlow
2019-07-03 12:07:00
Generative models are a family of AI architectures whose aim is to create data samples from scratch. They achieve this by capturing the data distributions of the type of things we want to generate.
Quansight Labs Blog: uarray update: API changes, overhead and comparison to __array_function__
2019-07-03 11:36:54
uarray is a generic override framework for objects and methods in Python. Since my last uarray blogpost, there have been plenty of developments, changes to the API and improvements to the overhead of the protocol. Letâs begin with a walk-through of the current feature set and API, and then move on to current developments and how it compares to __array_function__. For further details on the API and latest developments, please see the API page for uarray. The examples there are doctested, so they will always be current.
EuroPython: EuroPython 2019: Find a new job at the conference
2019-07-03 08:57:23
Weâd like to draw your attention to our job board, with plenty of job ads from our sponsors:
ListenData: Python list comprehension with Examples
2019-07-03 08:01:13
[i**3 for i in [1,2,3,4] if i>2] means take item one by one from list [1,2,3,4] iteratively and then check if it is greater than 2. If yes, it takes cube of it. Otherwise ignore the value if it is less than or equal to 2. Later it creates a list of cube of values 3 and 4. Output : [27, 64]List Comprehension vs. For Loop vs. Lambda + map()All these three have different programming styles of iterating through each element of list but they serve the same purpose or return the same output. There are some differences between them as shown below. 1. List comprehension is more readable than For Loop and Lambda function.List Comprehension[i**2 for i in range(2,10)]For Loopsqr = [] for i in range(2,10): sqr.append(i**2)sqrLambda + Maplist(map(lambda i: i**2, range(2, 10)))Output[4, 9, 16, 25, 36, 49, 64, 81]List comprehension is performing a loop operation and then combines items to a list in just a single line of code. It is more understandable and clearer than for loop and lambda. range(2,10) returns 2 through 9 (excluding 10).**2 refers to square (number raised to power of 2). sqr = [] creates empty list. append( ) function stores output of each repetition of sequence (i.e. square value) in for loop.map( ) applies the lambda function to each item of iterable (list). Wrap it in list( ) to generate list as output
Django Weblog: DjangoCon Australia 2019: Tickets on sale đïž
2019-07-03 06:00:00
For the 7th year running, DjangoCon Australia is coming up on August 2nd. Just like last year, the sibling conference to DjangoCons EU and US, is on in Sydney at the International Convention Centre.
PyCoderâs Weekly: Issue #375 (July 2, 2019)
2019-07-02 19:30:00
#375 â JULY 2, 2019 View in Browser »
Python Insider: Python 3.7.4rc2 is now available for testing
2019-07-02 19:26:22
No <p> found.
Python Insider: Python 3.6.9 security-fix release is now available
2019-07-02 19:06:27
No <p> found.
PyCharm: What We Did At PyCon 2019: A Wrap-up
2019-07-02 17:24:06
PyCon 2019, ClevelandâŠheck of an event and kudos to Ernest Durbin for a most memorable edition in his delightful city.
Django Weblog: DjangoCon US 2019 Schedule Is Live đ
2019-07-02 16:58:14
We are a little over two months away from DjangoCon US in San Diego, CA, and we are pleased to announce that our schedule is live! We received many excellent proposals, and the reviewers and program team had a difficult job choosing the final talks and tutorials. Thank you to everyone who submitted a proposal or helped to review.
Real Python: Functional Programming in Python
2019-07-02 14:00:00
In this course, youâll learn how to approach functional programming in Python. Youâll start with the absolute basics of Functional Programming (FP). After that, youâll see hands-on examples for common FP patterns available, like using immutable data structures and the filter(), map(), and reduce() functions. Youâll end the course with actionable tips for parallelizing your code to make it run faster.
Python Bytes: #137 Advanced Python testing and big-time diffs
2019-07-02 08:00:00
No summary found!
Mike Driscoll: Book Contest: Jupyter Notebook 101
2019-07-02 05:05:02
Last year, I released a book entitled Jupyter Notebook 101. In celebration of a successful launch, I have decided to do a little contest.
IslandT: The DataFrame Object in Pandas
2019-07-02 03:59:51
DataFrame Object in Pandas is used to plot the data table as well as to keep the data for the later usage. Let us look at a few examples below.
Podcast.__init__: Open Source Automated Machine Learning With MindsDB
2019-07-01 21:29:52
Machine learning is growing in popularity and capability, but for a majority of people it is still a black box that we donât fully understand. The team at MindsDB is working to change this state of affairs by creating an open source tool that is easy to use without a background in data science. By simplifying the training and use of neural networks, and making their logic explainable, they hope to bring AI capabilities to more people and organizations. In this interview George Hosu and Jorge Torres explain how MindsDB is built, how to use it for your own purposes, and how they view the current landscape of AI technologies. This is a great episode for anyone who is interested in experimenting with machine learning and artificial intelligence. Give it a listen and then try MindsDB for yourself.
Real Python: How to Use Redis With Python
2019-07-01 14:00:00
In this tutorial, youâll learn how to use Python with Redis (pronounced RED-iss, or maybe REE-diss or Red-DEES, depending on who you ask), which is a lightning fast in-memory key-value store that can be used for anything from A to Z. Hereâs what Seven Databases in Seven Weeks, a popular book on databases, has to say about Redis:
Codementor: Building Restful API with Flask, Postman & PyTest - Part 3 (Read Time: 20 Mins)
2019-07-01 13:25:31
Today in our final part of the 3 part series I will be covering the creation of actual REST APIs with PyTest.
IslandT: Starting a web analytics project with Pandas
2019-07-01 10:56:11
Hey dude, how is it going? As I had promised you all in my previous post that I will start a new project, well, here we go! This project will take a few weeks to complete and the main reason I have created this project is to demonstrate to you all what can a developer achieve with the Pandas module.
Julien Danjou: Handling multipart/form-data natively in Python
2019-07-01 09:21:00
RFC7578 (who obsoletes RFC2388) defines the multipart/form-data type that is usually transported over HTTP when users submit forms on your Web page. Nowadays, it tends to be replaced by JSON encoded payloads; nevertheless, it is still widely used.
Django Weblog: Django security releases issued: 2.2.3, 2.1.10 and 1.11.22
2019-07-01 07:22:19
In accordance with our security release policy, the Django team is issuing Django 1.11.22, Django 2.1.10, and Django 2.2.3. These releases addresses the security issues detailed below. We encourage all users of Django to upgrade as soon as possible.
Tryton News: Newsletter July 2019
2019-07-01 06:00:05
@ced wrote:
Mike Driscoll: PyDev of the Week: Scott Shawcroft
2019-07-01 05:05:23
This week we welcome Scott Shawcroft (@tannewt) as our PyDev of the Week! Scott is the lead developer of CircuitPython, a variant of the Python programming language made for microcontrollers. If youâd like to see what else Scott is up to, his website is a good place to start. Letâs take a few moments to get to know Scott better!
Catalin George Festila: Python 3.7.3 : Using the Pony python module.
2019-07-01 04:11:36
The development team of the Pony project comes with this intro:
Using Pony object-relational mapper you can concentrate on writing the business logic of your application and use Python syntax for interacting with the database. Pony translates such queries into SQL and executes them in the database in the most efficient way.
The Pony python module can be installed on Python 2.7 or Python 3.
Today
Techiediaries - Django: Python 3 GUI: wxPython 4 Tutorial - Urllib & JSON Example
2019-07-01 00:00:00
In this tutorial, we'll learn to build a Python 3 GUI app from scratch using wxPython and Urllib. We'll be consuming a third-party news REST API available from newsapi.org which provides breaking news headlines, and allows you to search for articles from over 30,000 news sources and blogs worldwide. We'll use Urllib for sending HTTP requests to the REST API and the json module to parse the response.
Zato Blog: Integrating with Microsoft SQL Server via stored procedures
2019-06-30 16:48:23
This article will show you how to invoke MS SQL stored procedures from Zato services - a feature new in the just released version 3.1 of the Python-based integration platform.
IslandT: Create a Python function to compare the end string
2019-06-30 13:40:30
Hello friend, we will start a new Python project in the next chapter but before that let us solve another Python problem first in this article. This is one of the questions in codewars which I have solved today : Given a string and an end string, compare the end string part with the end part of the given string, if they match each other, then return true, otherwise return false. For example, if the given string is âHelloâ and the end string is âelloâ then the function will return true. If the given string is âWorldâ and the end string is ârld!â the the function will return false.
Weekly Python StackOverflow Report: (clxxxiv) stackoverflow python report
2019-06-29 20:54:00
No <p> found.
Doug Hellmann: Dependencies between Python Standard Library modules
2019-06-29 20:46:32
Continue reading "Dependencies between Python Standard Library modules"
Ned Batchelder: Changelog podcast: me, double-dipping
2019-06-29 15:51:04
I had a great conversation with Jerod Santo on the Changelog podcast: The Changelog 351: Maintainer spotlight! Ned Batchelder. We talked about Open edX, and coverage.py, and maintaining open source software.
EuroPython: EuroPython 2019: SIM cards for attendees
2019-06-29 12:12:12
Switzerland is often not included in European cell providerâs roaming packages and also not covered by the EU roaming regulation, so you can potentially incur significant charges when going online with your mobile or notebook.
EuroPython: EuroPython 2019: Social event tickets available
2019-06-29 12:12:07
After the keynotes and talks on Thursday, July 11th, weâve organized a social event at the workshop venue, the FHNW Muttenz. Starting at 19:00 CEST, you can join us for an evening party with finger food, drinks and music.
IslandT: Return the highest volume of traffic during peak hour
2019-06-29 09:02:40
In this article, we are going to create a function which will return a list of tuples that consist of a particular hour and the highest traffic volume for that particular hour. The stat has been taken every 10 minutes in each hour. For example, at 4.00pm the total numbers of traffics that pass through a junction for every 10 minutes are as follows: [23, 22, 45, 66, 54, 33]. The traffic volume measurement in this example will begin at 4.00pm and end at 8.00pm. Below is the solution to this problem.
ListenData: Python : How to read CSV file with pandas
2019-06-29 01:35:02
See the column types of data we imported. first_name and company are character variables. Remaining variables are numeric ones.
Zero-with-Dot (Oleg ƻero): Data science computation hara-kiri
2019-06-28 22:00:00
Beautiful algorithm, great results, all looks fine and seems to work, but⊠problem. It takes forever. We all have been through this. You may think: âit is only a proof-of-conceptâ. Or you may think, efficiency-wise, âpython should not be used in the first placeâ. Well. Actually, it isnât that bad if you know what methods you should use or rather which ones you shouldnât.
PyCharm: Webinar Recording: âBuild-a-GitHub-Botâ with Mariatta Wijaya
2019-06-28 13:32:46
This week we had a wonderful guest for a truly-useful webinar: Mariatta Wijaya from Zapier showed us how to write bots to automate our GitHub work (as well as âzapsâ for just about any service.) The recording is now available:
IslandT: Count the pair of duplicate number with Python
2019-06-28 13:03:19
In this example, we will create a function in Python which will return the total number of duplicate pair of numbers within a list. For example, if we enter [0,0,0,0] into that function it will return 2 because there are two pairs of duplicate number within that list.
Stack Abuse: Python for NLP: Creating a Rule-Based Chatbot
2019-06-28 12:31:00
This is the 12th article in my series of articles on Python for NLP. In the previous article, I briefly explained the different functionalities of the Python's Gensim library. Until now, in this series, we have covered almost all of the most commonly used NLP libraries such as NLTK, SpaCy, Gensim, StanfordCoreNLP, Pattern, TextBlob, etc.
Reuven Lerner: Registration for Weekly Python Exercise closes today!
2019-06-28 11:39:13
If youâve been using Python for at least six months, but still find yourself searching on Stack Overflow and Google for answers to your problems â youâre not alone.
EuroPython: EuroPython 2019: Call for On-site Volunteers
2019-06-28 07:47:34
Ever wanted to help out during Europython ? Do you want to *really* take part in EuroPython, meet new people and help them at the same time ?
EuroPython: EuroPython 2019: Introducing MongoDB
2019-06-28 07:38:00
We are very pleased to have MongoDBÂ as Keystone Sponsor for EuroPython 2019. You can visit them at the most central booth in our exhibit area on the second floor in the Congress Center Basel (CCB), and take the opportunity to chat with their staff and learn more about the MongoDB eco-system.
EuroPython: EuroPython 2019: Keynotes
2019-06-28 07:31:28
We are proud to announce our keynote lineup for EuroPython 2019:
ListenData: Python Matplotlib Tutorial â Learn Plotting in 3 hours
2019-06-28 04:15:00
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Wingware Blog: Extending Wing with Python (Part Three)
2019-06-28 01:00:00
In this issue of Wing Tips we continue to look at how to extend Wing's functionality, by taking a look at extension scripts that collect arguments from the user.
PyCharm: PyCharm 2019.2 EAP 5
2019-06-27 16:42:06
Despite the very sunny weather in Europe tempting us to go outside, weâve succeeded in getting a build out for you this week. Weâd appreciate it if you were to download it from our website.
Stack Abuse: Text Generation with Python and TensorFlow/Keras
2019-06-27 12:00:00
ï»żAre you interested in using a neural network to generate text? TensorFlow and Keras can be used for some amazing applications of natural language processing techniques, including the generation of text.
Test and Code: 79: Fixing misinformation about software testing
2019-06-27 09:30:00
Some information about software testing is just wrong. I'm not talking about opinions. I have lots of opinions and they differ from other peoples opinions. I'm talking about misinformation and old information that is no longer applicable.
Kushal Das: FreeBSD on a Thinkpad 230
2019-06-27 05:37:00
From the first-ever conference I attended, I started picking up many tools and habits from other participants, speakers, and friends. It is still the same with many new conferences I go to, by meeting new people and learning about new technologies, or sometimes about technologies which are not so new.
IslandT: Have you tried out Thonny?
2019-06-27 02:38:46
Today I have just installed a new Python IDE on my computer, it really looks simple but there are a lot of goodies. First of all, if you have not yet installed Thonny, you can download it from this link.
Marius Gedminas: New laptop: ThinkPad X390
2019-06-26 22:09:48
The time has come to replace my trusty ThinkPad X220 with something more modern (that has enough horsepower to run Subnautica). I picked a ThinkPad X390 for the usual reasons (itâs a ThinkPad, itâs small and light and portable, the keyboard is reasonably sized, it has a trackpoint).
EuroPython Society: Invitation to the EuroPython Society General Assembly 2019
2019-06-26 19:42:27
We would like to invite all EuroPython attendees and EuroPython Society (EPS) members to attend this yearâs EPS General Assembly (GA), which we will run as in-person meeting at the upcoming EuroPython 2019, held in Basel, Switzerland from July 8 - 14.
NumFOCUS: Moderna joins NumFOCUS Corporate Sponsors
2019-06-26 18:02:07
The post Moderna joins NumFOCUS Corporate Sponsors appeared first on NumFOCUS.
PyCon: PyCon 2019 Code of Conduct Transparency Report
2019-06-26 17:03:11
No <p> found.
Real Python: Python Community Interview With Katrina Durance
2019-06-26 14:00:00
With PyCon US 2019 over, I decided to catch up with a PyCon first-timer, Katrina Durance. I was curious to see how she found the experience and what her highlights were. I also wanted to understand how attending a conference like PyCon influenced her programming chops.
EuroPython: EuroPython 2019: Mobile Conference App available
2019-06-26 08:22:08
We are pleased to announce the mobile conference app for EuroPython 2019, again hosted on the Attendify platform:
Codementor: Logistic Regression In Python | Python For Data Science
2019-06-26 06:33:06
Logistic regression in Python using sklearn to predict the outcome by determining the relationship between dependent and one or more independent variables.
IslandT: Python is still not there yet
2019-06-26 05:40:33
I have been blogging about Python programming language for a while since 2017, the reason which I continue to write about this programing language is due to the popularity of this language in the programming languages world! At the moment Python is ranked mostly in the top three positions beginning at 2019 at both TIOBE Index and The PYPL PopularitY of Programming Language Index. Those impressive statistic figures from the above sites certainly suggest that Python is already the world number 1, and indeed there are a few reasons that will further solidify that claim. 1) The uncertainty of Java, which now requires the Java developer to pay for using the Java programming language. My Java knowledge has been stopped at Java 7 and goes no further than that because I simply canât afford to pay such an expensive amount of fees just to use Java to create a free application or game for the computer users. Recently I have started to pick up Kotlin which is based on Java just in case I canât use Java to develop Android application anymore without paying a fee in the future, but will Java ask for the fee from the Kotlin developer in the future as well? I have a feeling that the Android OS will see more issues in the near future. 2) The future of the C series languages depends on the windows application developer as well as the game developer. Just like Java, C type of programming language can run in all OS, ranging from Linux to Mac to Windows. But I have spotted 2 problems for series C, 1) for a game developer who uses the famous game engines such as Unity or Unreal, it will usually take a very long time to compile his c# or c++ programming code even with just a small changes, for those of you who have used C# to develop your Unity game before, how long will it takes for the Unity engine to recompile the C# code even just for a very small changes in your game code before you can see your game in action? After a few times using Unity to develop the game, I have now switched to Godot where the compile time is indeed very fast as compared to Unity. 2) pointer is not a good idea in c++, even the experienced programmer will make a silly mistake by pointing a variable to one of the rubbish address, c++ is the world most difficult to debug programming language, it is really hard for me to spot the bug within the c++ program because sometime the bug will not appear during the compilation time. So there you have it, with Java and the series C out of the path, Python is now ready to become the world number 1. All the Python supporters certainly will be very happy about that after they have spent thousands of hour learning and creating an application for Python and now it is time to harvest their Soya Bean! But not too fast, because I think there are a few areas Python still needs to improve before Python can rule the world! Here are those parts that I think Python.org needs to work on if it really has the ambition to become world number 1!
Full Stack Python: Developer-led Sales for Startups
2019-06-26 04:00:00
This blog post contains the slides along with a loose transcript from my talk on the promises and perils of developer-led sales as an early-stage company strategy for acquiring customers.
Python Engineering at Microsoft: Python in Visual Studio Code â June 2019 Release
2019-06-25 21:19:28
We are pleased to announce that the June 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
PyCoderâs Weekly: Issue #374 (June 25, 2019)
2019-06-25 19:30:00
#374 â JUNE 25, 2019 View in Browser »
The No TitleÂź Tech Blog: Book review â Python for Programmers, by Paul Deitel and Harvey Deitel
2019-06-25 19:21:00
This is a book written while having in mind those who already have some object-oriented programming background but are willing to get into Python and (especially) Artificial Intelligence and Data Science.
Continuum Analytics Blog: How We Made Conda Faster in 4.7
2019-06-25 16:56:09
Weâve witnessed a lot of community grumbling about Condaâs speed, and weâve experienced it ourselves. Thanks to a contract from NASA via the SBIR program, weâve been able to dedicate a lot of time recentlyâŠ
Real Python: Generating Random Data in Python
2019-06-25 14:00:00
In this course, youâll cover several options for generating random data in Python, and then build up to a comparison of each in terms of its level of security, versatility, purpose, and speed.
Reuven Lerner: Announcing: Python standard library, video explainer
2019-06-25 09:30:19
A month or two ago, I saw an online quiz that caught my eye: How much of the Python standard library do you know?
Talk Python to Me: #218 Serverless Python functions in Azure
2019-06-25 08:00:00
Do you have stateless code that needs to run in the cloud? The clear answer years ago was to create and HTTP, or even, gasp! A SOAP service before then. While HTTP services are still very important, some of this code can move entirely away from the framework that runs it with serverless programming and hosted functions.
Python Bytes: #136 A Python kernel rather than cleaning the batteries?
2019-06-25 08:00:00
No summary found!
Codementor: Collections In Python | Introduction To Python Collections
2019-06-25 06:22:06
This blog will cover the built-in collection data types in python along with the collections module with all the specialised collection data structures.
Matthew Rocklin: Write Short Blogposts
2019-06-25 00:00:00
I encourage my colleagues to write blogposts more frequently. This is for a few reasons:
Jason Meyers: Tesla Model 3 Trip: Atlanta
2019-06-25 00:00:00
Recently, my wife and I were going to make a day trip to go to an event at the Georgia Aquarium. This trip is about 217 miles and is pretty doable no a charge to 100%. We had planned to get up super early (5 am CST) on a Saturday to get there by the 9:30 (EST) time our event started. The wife and I kept considering going down a day early to avoid all the early morning driving and arriving at our event already tired.
PythonClub - A Brazilian collaborative blog about Python: Tutorial Django 2.2
2019-06-24 21:45:05
Este tutorial Ă© baseado no Intro to Django que fica na parte de baixo da pĂĄgina start do Django project.
Codementor: 6 Best Data Science and Machine Learning Courses for Beginners
2019-06-24 15:58:09
Some of the best Data Science and Machine Learning courses with Python and R for Beginners to learn online and get certificates
Reuven Lerner: Want to level up your Python? Join Weekly Python Exercise, starting July 2nd
2019-06-24 15:22:32
Letâs face it: Stack Overflow has made developersâ lives easier. Almost every time I have a question, I find that someone on Stack Overflow has asked it, and that people have answered it, often in great detail.
Real Python: Basic Input, Output, and String Formatting in Python
2019-06-24 14:00:00
To be useful, a program usually needs to communicate with the outside world by obtaining input data from the user and displaying result data back to the user. This tutorial will introduce you to Python input and output.
IslandT: Find the smallest number within a list with python
2019-06-24 10:31:46
In this example, we will create a python function which will take in a list of numbers and then return the smallest value. The solution to this problem is first to create a place holder for the first number within the list, then compares that number with other numbers within the same list in the loop. If the program found a number which is smaller than the one in the place holder, then the smaller number will be assigned to that place holder.
PyBites: Watermarking photos? "I can do that in Python!"
2019-06-24 09:00:00
The Python Image Library (PIL), although not in the standard library, has been Pythonâs best-known 2-D image processing library. It predated installers such as pip, so a âfriendly forkâ called Pillow was created. Although the package is called Pillow, you import it as PIL to make it compatible with the older PIL.
EuroPython Society: EuroPython 2019: Schedule is online
2019-06-24 07:53:23
europython:
EuroPython: EuroPython 2019: Schedule is online
2019-06-24 07:37:07
We are pleased to announce the EuroPython 2019 schedule. We will again have more than 130 sessions in total, held by more than 130 speakers.Â
Mike Driscoll: PyDev of the Week: Geir Arne Hjelle
2019-06-24 05:05:49
This week we welcome Geir Arne Hjelle (@gahjelle) as our PyDev of the Week! Geir is a regular contributor to Real Python. You can also find some of his work over on Github. Letâs take a few moments to get to know Geir now!
Podcast.__init__: Behind The Scenes At The Python Software Foundation
2019-06-24 02:32:11
One of the secrets of the success of Python the language is the tireless efforts of the people who work with and for the Python Software Foundation. They have made it their mission to ensure the continued growth and success of the language and its community. In this episode Ewa Jodlowska, the executive director of the PSF, discusses the history of the foundation, the services and support that they provide to the community and language, and how you can help them succeed in their mission.
Israel Fruchter: Introducing pytest-elk-reporter
2019-06-24 00:00:00
tl;td: https://github.com/fruch/pytest-elk-reporter
Weekly Python StackOverflow Report: (clxxxiii) stackoverflow python report
2019-06-22 21:17:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-06-22 21:16:52 GMT
Codementor: Creating a new Flask project with pipenv
2019-06-21 21:14:27
Creating a new Flask project with pipenv
Yasoob Khalid: Setting up dev environment for SciPy
2019-06-21 21:03:25
Hi everyone!
Codementor: Building Restful API with Flask, Postman & PyTest - Part 2 (Read Time: 10 Mins)
2019-06-21 15:25:43
Today we shall cover the creation of mock endpoints in Postman. To help in the designing & prototyping of API endpoints for the expense manager project using Flask and pytest in part 3.
Ruslan Spivak: Letâs Build A Simple Interpreter. Part 15.
2019-06-21 09:45:00
âI am a slow walker, but I never walk back.â â Abraham Lincoln
Talk Python to Me: #217 Notebooks vs data science-enabled scripts
2019-06-21 08:00:00
On this episode, I meet up with Rong Lu and Katherine Kampf from Microsoft while I was at BUILD this year. We cover a bunch of topics around data science and talk about two opposing styles of data science development and related tooling: Notebooks vs Python code files and editors.
Learn PyQt: What's the difference between PyQt5 & PySide2? What should you use, and how to migrate.
2019-06-21 04:24:58
If you start building Python application with Qt5 you'll soon discover that there are in fact two packages which you can use to do this â PyQt5 and PySide2.
Montreal Python User Group: Montréal-Python 75: Funky Urgency
2019-06-21 04:00:00
The summer has started and it's time for our last edition before the seasonal break. We are inviting you for the occasion at our friends Anomaly, a co-working space in the Mile-End.
ListenData: Case Study : Sentiment analysis using Python
2019-06-21 02:07:18
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
ListenData: Linear Regression in Python
2019-06-21 02:07:18
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
ListenData: Identify Person, Place and Organisation in content using Python
2019-06-21 02:07:18
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
PyBites: The First Step in Contributing to Open Source Projects
2019-06-20 13:44:13
Have you ever wanted to contribute to open source but weren't sure how to get started? Marc found himself in just that situation. Sometimes it all comes down to taking that first step.
Caktus Consulting Group: How to Set Up a Centralized Log Server with rsyslog
2019-06-20 12:00:00
For many years, we've been running an ELK (Elasticsearch, Logstash, Kibana) stack for centralized logging. We have a specific project that requires on-premise infrastructure, so sending logs off-site to a hosted solution was not an option. Over time, however, the maintenance requirements of this self-maintained ELK stack were staggering. Filebeat, for example, filled up all the disks on all the servers in a matter of hours, not once, but twice (and for different reasons) when it could not reach its Logstash/Elasticsearch endpoint. Metricbeat suffered from a similar issue: It used far too much disk space relative to the value provided in its Elasticsearch indices. And while provisioning a self-hosted ELK stack has gotten easier over the years, it's still a lengthy process, which requires extra care anytime an upgrade is needed. Are these problems solvable? Yes. But for our needs, a simpler solution was needed.
Codementor: Token Based Authentication for Django Rest Framework
2019-06-20 11:54:54
Token-Based Authentication for Django Rest Framework
EuroPython: EuroPython 2019: Beginnersâ Day Workshop
2019-06-20 11:52:27
If youâre new to Python, you should come to our friendly, welcoming and helpful Beginnersâ Day Workshop. We cater to new Pythonistas of all levels: from absolute beginners through to experienced programmers encountering Python for the first time.
PyCharm: PyCharm 2019.2 EAP 4
2019-06-20 11:25:34
This weekâs Early Access Program (EAP) version of PyCharm can now be downloaded from our website.
Python Bytes: #135 macOS deprecates Python 2, will stop shipping it (eventually)
2019-06-20 08:00:00
No summary found!
Catalin George Festila: Python 3.7.3 : Read and save RSS data from goodreads website.
2019-06-20 05:38:36
Today I will show you how to parse data from www.goodreads.com using the feedparser and save all into CSV file.
The Goodreads website comes with hundreds of great book recommendations from fellow readers, beloved authors, and let you add your favorite books.
The main goal was to have a structured link from the RSS file and the CSV file.
This issue was solve with arrays for each type of data.
Mike Driscoll: Book Contest: Creating GUI Applications with wxPython
2019-06-19 14:30:39
Last month, I released a new book entitled Creating GUI Applications with wxPython. In celebration of a successful launch, I have decided to do a little contest.
Real Python: How to Use Python lambda Functions
2019-06-19 14:00:00
Python and other languages like Java, C#, and even C++ have had lambda functions added to their syntax, whereas languages like LISP or the ML family of languages, Haskell, OCaml, and F#, use lambdas as a core concept.
Test and Code: 78: I don't write tests because ...
2019-06-19 07:15:00
Roadblocks to writing tests, and what to do about it.
ListenData: Python Pandas : Drop columns from Dataframe
2019-06-19 06:20:52
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Nathan Piccini Data Science Dojo Blog: Whatâs the Best Language for Android App Developers: Java or Python?
2019-06-19 01:27:56
Few things can be so divisive among developers as their choice of programming languages. Developers will promote one over the other, often touting their chosen languageâs purity, speed, elegance, efficiency, power, portability, compatibility or any number of other features.
Python Insider: Python 3.7.4rc1 and 3.6.9rc1 are now available
2019-06-19 01:15:22
No <p> found.
PyCoderâs Weekly: Issue #373 (June 18, 2019)
2019-06-18 19:30:00
#373 â JUNE 18, 2019 View in Browser »
Reuven Lerner: Early-bird pricing for Weekly Python Exercise ends today!
2019-06-18 18:56:33
Just a reminder: Registration for the advanced (B2) cohort of Weekly Python Exercise, which will begin on July 2nd, will remain open for the next two weeks. BUT early-bird pricing ($80 for 15 weeks of Python exercises, solutions, and community) ends today â Tuesday, June 18th.
EuroPython Society: EuroPython 2019: Inviting European Python Conference Organizers
2019-06-18 18:10:34
europython:
EuroPython Society: EuroPython 2019: Community Discounts
2019-06-18 18:10:15
europython:
EuroPython: EuroPython 2019: Community Discounts
2019-06-18 18:07:50
The EuroPython Society (EPS) does not only run the EuroPython conference, but also aims to provide help for the Python community in Europe in general.
EuroPython: EuroPython 2019: Inviting European Python Conference Organizers
2019-06-18 18:07:12
As you may know, the EuroPython Society (EPS)Â has extended itâs mission to not only run the EuroPython conference, but also provide help for the Python community in Europe in general.
Trey Hunner: Loop Better: a deeper look at iteration in Python
2019-06-18 16:15:00
Pythonâs for loops donât work the way for loops do in other languages. In this article weâre going to dive into Pythonâs for loops to take a look at how they work under the hood and why they work the way they do.
Catalin George Festila: Python 3.7.3 : Stemming with nltk.
2019-06-18 14:16:09
Today I will start another tutorial about nltk python module and stemming.
The stemming is the process of producing morphological variants of a root/base word.
Stemming programs are commonly referred to as stemming algorithms or stemmers to reduces the words.
Errors in Stemming can be overstemming and understemming.
These two words are stemmed to the same root that are of different stems then the
Real Python: How to Publish Your Own Python Package to PyPI
2019-06-18 14:00:00
Learn how to create a Python package for your project and how to publish it to PyPI, the Python Package Repository with this step-by-step course. Quickly get up to speed on everything from naming your package to configuring it using setup.py.
Reuven Lerner: Understanding Python assignment
2019-06-18 13:36:26
Hereâs a quick question I often ask students in my Python classes:
Catalin George Festila: Python 3.7.3 : Using getters and setters in object-oriented.
2019-06-18 13:29:55
The main purpose of using getters and setters in object-oriented programs is to ensure data encapsulation.
Let's start with a simple example.
I created a class named my_class init with one variable named my_variable:
self._my_variable = my_variableA new, initialized instance can be obtained by this line of code:
test_it = my_class()The example use getter and setter methods to use this variable.
C
Python Software Foundation: PyPI Now Supports Two-Factor Login via WebAuthn
2019-06-18 11:16:22
No <p> found.
Python Insider: PyPI Now Supports Two-Factor Login via WebAuthn
2019-06-18 11:16:20
No <p> found.
Zato Blog: Zato 3.1 Released - Open-Source Python-based API Integrations and Backend Application Server
2019-06-17 22:01:00
The newest version of Zato, the open-source Python-based enterprise API integrations platform and backend application server, is out with a lot of interesting features, changes and additions
NumFOCUS: Google Renews Corporate Sponsorship of NumFOCUS
2019-06-17 15:34:44
The post Google Renews Corporate Sponsorship of NumFOCUS appeared first on NumFOCUS.
Real Python: Python Community Interview With Marlene Mhangami
2019-06-17 14:00:00
We are joined today by Marlene Mhangami. Marlene is a passionate Pythonista who is not only using tech to facilitate social change and empower Zimbabwean women but is also the chair of the very first PyCon Africa. Join me as we talk about her non-traditional start in tech, as well as her passion for using technology to create social change for good.
Stack Abuse: Introduction to OpenCV with Python
2019-06-17 12:26:00
In this tutorial, we are going to learn how to use OpenCV library in Python. OpenCV is an open source library which is supported by multiple platforms including Windows, Linux, and MacOS, and is available for use in multiple other languages as well; however, it is most commonly used in Python for Machine Learning applications, specifically in the Computer Vision domain.
Reuven Lerner: Reminder: Early-bird pricing for Weekly Python Exercise ends tomorrow
2019-06-17 12:01:49
This is just a quick reminder that if you want to join the advanced cohort of Weekly Python Exercise starting July 2nd, you should do it by tomorrow (Tuesday, June 18th).
Catalin George Festila: Python Qt5 - the most simple QTreeWidget - part 002.
2019-06-17 11:41:41
This tutorial uses PyQt5 and Python version 3.7.3.
Let's install the PyQt5 python module with the pip tool:
C:\Python373\Scripts>pip install PyQt5
Collecting PyQt5
...
Successfully installed PyQt5-5.12.2 PyQt5-sip-4.19.17Let's see one simple example with comments about how to use QTreeWidget.
import sys
from PyQt5.QtWidgets import QTreeWidget, QTreeWidgetItem, QApplication, QWidget
if __name__ =
Stanislas Morbieu: AI Paris 2019 in one picture
2019-06-17 08:00:00
Last week, I was at the AI Paris 2019 event to represent Kernix. We had great talks with so many people, and I barely had time to go around to look what other companies were working on. That is why I look at this afterwards. Can we have a big picture of the event without being there?
Mike Driscoll: PyDev of the Week: Meredydd Luff
2019-06-17 05:05:14
This week we welcome Meredydd Luff (@meredydd) as our PyDev of the Week! Meredydd is the co-founder of Anvil and a core developer for the Skulpt package. You can learn more about Meredydd on his website. Letâs take a few moments to get to know him better!
Kushal Das: DMARC, mailing list, yahoo and gmail
2019-06-17 05:02:00
Last Friday late night, I suddenly started getting a lot of bounced emails from the dgplug mailing list. Within a few minutes, I received more than a thousand emails. A quick look inside of the bounce emails showed the following error:
Podcast.__init__: Algorithmic Trading In Python Using Open Tools And Open Data
2019-06-17 02:04:40
Algorithmic trading is a field that has grown in recent years due to the availability of cheap computing and platforms that grant access to historical financial data. QuantConnect is a business that has focused on community engagement and open data access to grant opportunities for learning and growth to their users. In this episode CEO Jared Broad and senior engineer Alex Catarino explain how they have built an open source engine for testing and running algorithmic trading strategies in multiple languages, the challenges of collecting and serving currrent and historical financial data, and how they provide training and opportunity to their community members. If you are curious about the financial industry and want to try it out for yourself then be sure to listen to this episode and experiment with the QuantConnect platform for free.
Wingware Blog: Extending Wing with Python (Part Two)
2019-06-17 01:00:00
In this issue of Wing Tips we continue to look at how to extend Wing's functionality, by setting up a project that can be used to develop and debug extension scripts written for (and with) Wing, just as you would work with any other Python code.
Catalin George Festila: Python 3.7.3 : Using the pycryptodome python module.
2019-06-16 05:54:58
This python module can be used with python 3.
More information can be found here.
PyCryptodome is a self-contained Python package of low-level cryptographic primitives.
It supports Python 2.6 and 2.7, Python 3.4 and newer, and PyPy.
The install of this python module is easy with pip tool:
C:\Python373\Scripts>pip install pycryptodome
Collecting pycryptodome
...
Installing collected packages:
Codementor: HackerRank: Circular Array Rotation in Python
2019-06-15 20:19:56
How I solved my daily recommended HackerRank challenge problem and a small rant on problem specificity
Weekly Python StackOverflow Report: (clxxxii) stackoverflow python report
2019-06-15 20:04:00
No <p> found.
Doug Hellmann: sphinxcontrib.sqltable 2.0.0
2019-06-15 19:15:03
No <p> found.
Doug Hellmann: sphinxcontrib.sqltable 1.1.0
2019-06-15 18:21:03
No <p> found.
Learn PyQt: Gradient Designer, a custom PyQt5/PySide2 widget
2019-06-15 17:24:48
This custom PyQt5/PySide2-compatible widget provides a gradient designer providing a handy interface to design linear gradients in your applications. A new gradient can be created simply by creating an instance of the object.
Ian Ozsvald: “A starter data science process for software engineers” – talk at PyLondinium 2019
2019-06-15 17:22:18
Iâve just spoken on âA starter data science process for software engineersâ (slides linked) at PyLondinium 2019, this talk is aimed at software engineers who are starting to ask data related questions and who are starting a data science journey. Iâve noted that many software engineers â without a formal data science background â are joining our PyData/data science world but lack useful transitionary resources. [note â video to come]
Learn PyQt: PyQt5/PySide2 custom Graphic Equalizer visualisation widget
2019-06-15 14:57:38
This custom PyQt5/PySide2-compatible widget provides a frequency visualizer output for audio applications. It is completely configurable from the number of bars, the number of segments and colours to the animated decay. It's ready to drop into your Python-Qt5 applications.
Learn PyQt: Graphic Equalizer, a custom PyQt5/PySide2 visualization widget
2019-06-15 14:57:38
This custom PyQt5/PySide2-compatible widget provides a frequency visualizer output for audio applications. It is completely configurable from the number of bars, the number of segments and colours to the animated decay. It's ready to drop into your Python-Qt5 applications.
Codementor: How I learned that a lambda can't be stopped
2019-06-15 13:27:36
AWS tips and tricks!
Ian Ozsvald: “On the Delivery of Data Science Projects” – talk at PyDataCambridge meetup
2019-06-15 11:34:44
A few weeks I got to speak at PyDataCambridge (thanks for having me!), slides are here for âOn The Delivery of Data Science Projectsâ.
J. Pablo FernĂĄndez: Converting a Python data into a ReStructured Text table
2019-06-15 10:26:18
No <p> found.
NumFOCUS: NumFOCUS Hires First Ever Development Director
2019-06-14 21:37:17
The post NumFOCUS Hires First Ever Development Director appeared first on NumFOCUS.
Doug Hellmann: sphinxcontrib-spelling 4.3.0
2019-06-14 21:05:44
No <p> found.
Python Anywhere: Using MongoDB on PythonAnywhere with MongoDB Atlas
2019-06-14 12:59:26
This requires a paid PythonAnywhere account
Stack Abuse: Run-Length Encoding
2019-06-14 12:32:00
In this article we'll go over how the run-length encoding algorithm works, what it's used for, and how to implement its encode and decode functions in Python.
Gocept Weblog: Undo transactions by truncating ZODB Data.fs
2019-06-14 11:35:48
Sometimes I break the Data.fs of my ZODB in a way that the Zope instance cannot start any more or I want to try again a migration. In such situations it is handy that writing to a Data.fs means extending the file at the end. So the unwanted transaction can be truncated. Normally I use the following steps to do so:
EuroPython: EuroPython 2019: Warning - Spoiler alert!
2019-06-14 09:29:46
Usually, we try to have something as surprise for our attendees every year. However, for this yearâs conference, we have decided to give our attendees something to play with and this needs a little more preparation than a bottle or a beach towel.Â
Talk Python to Me: #216 Digging into Visual Studio Code
2019-06-14 08:00:00
One of the questions I often ask at the end of the show is "When you write some Python code, what editor do you use?" Increasingly the most common answer is Visual Studio Code. Despite it's Windows only namesake, Visual Studio Code is cross-platform and has been gaining a lot of traction.
Codementor: Building Restful API with Flask, Postman & PyTest - Part 1 (Read Time: 6 Mins)
2019-06-14 06:43:13
Learning to build API with Flask, Postman & Pytest
Glyph Lefkowitz: Toward a âKernel Pythonâ
2019-06-14 04:51:00
Prompted by Amber Brownâs presentation at the Python Language Summit last month, Christian Heimes has followed up on his own earlier work on slimming down the Python standard library, and created a proper Python Enhancement Proposal PEP 594 for removing obviously obsolete and unmaintained detritus from the standard library.
Learn PyQt: Create custom Widgets in PyQt5 with this hands-on tutorial
2019-06-13 21:06:58
In the previous tutorial we introduced QPainter and looked at some basic bitmap drawing operations which you can used to draw dots, lines, rectangles and circles on a QPainter surface such as a QPixmap.
Dataquest: Master Data Cleaning with Our New Python Data Cleaning Advanced Course
2019-06-13 19:57:50
Learn to clean data and replace missing values in Python using advanced skills like regular expressions (regex), list comprehensions, lambda functions, etc.
PyCharm: PyCharm 2019.2 EAP 3 is here
2019-06-13 16:31:49
Third PyCharm 2019.2 EAP is out and weâre happy to share with you a whole bunch of new features and improvements. Check out whatâs new and get your PyCharm EAP build from our website.
Reuven Lerner: Playing with Python strings, lists, and variable names â or, a complex answer to a simple question
2019-06-13 12:10:34
I recently received a question from a reader of my âBetter developersâ list. He asks:
Doug Hellmann: sphinxcontrib.datatemplates 0.4.0
2019-06-12 22:10:22
Continue reading "sphinxcontrib.datatemplates 0.4.0"
Zato Blog: Broadcasting messages to WebSocket API clients
2019-06-12 18:21:22
Invoking individual WebSocket connections has been supported since Zato 3.0 and Zato 3.1 adds new functionality on top of it - message broadcasting - which lets one notify all the clients connected to a particular channel. Here is how to use it.
Stack Abuse: Building a Todo App with Flask in Python
2019-06-12 16:57:57
In this tutorial, we are going to build an API, or a web service, for a todo app. The API service will be implemented using a REST-based architecture.
Real Python: How to Build Command Line Interfaces in Python With argparse
2019-06-12 14:00:00
One of the strengths of Python is that it comes with batteries included: it has a rich and versatile standard library that makes it one of the best programming languages for writing scripts for the command line. But, if you write scripts for the command line, then you also need to provide a good command line interface, which you can create with the Python argparse library.
Python Software Foundation: 2019 Board of Directors Election - Voting is Open
2019-06-12 12:43:18
No <p> found.
Python Bytes: #134 Python proves Mercury is the closest planet to Earth
2019-06-12 08:00:00
No summary found!
Quansight Labs Blog: Labs update and May highlights
2019-06-12 05:00:00
Time flies when you're having fun. Here is an update of some of the highlights of my second month at Quansight Labs.
PyCoderâs Weekly: Issue #372 (June 11, 2019)
2019-06-11 19:30:00
#372 â JUNE 11, 2019 View in Browser »
Caktus Consulting Group: Our Favorite PyCon 2019 Presentations
2019-06-11 18:31:31
Above: A view of the busy exhibit hall. Photo copyright © 2019 by Sean Harrison. All rights reserved.
NumFOCUS: SciPy and MathJax join NumFOCUS Sponsored Projects
2019-06-11 15:48:49
The post SciPy and MathJax join NumFOCUS Sponsored Projects appeared first on NumFOCUS.
Stack Abuse: Multiple Linear Regression with Python
2019-06-11 15:16:00
ï»żLinear regression is one of the most commonly used algorithms in machine learning. You'll want to get familiar with linear regression because you'll need to use it if you're trying to measure the relationship between two or more continuous values.
Test and Code: 77: Testing Complex Systems with Maintainable Test Suites
2019-06-11 15:00:00
Creating maintainable test suites for complex systems. The episode describes some complexities involved with hardware testing, then shares techniques for shifting complexity out of the test cases.
Neckbeard Republic: OOP Method Types in Python: @classmethod vs @staticmethod vs Instance Methods
2019-06-11 14:00:00
No summary found!
Real Python: OOP Method Types in Python: @classmethod vs @staticmethod vs Instance Methods
2019-06-11 14:00:00
Whatâs the difference between @classmethod, @staticmethod, and âplain/regularâ instance methods in Python? Youâll know the answer after watching this video course:
eGenix.com: Python Meeting DĂŒsseldorf - 2019-06-12
2019-06-11 07:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
Montreal Python User Group: Call for Speakers - Montréal-Python 75: Funky Urgency
2019-06-11 04:00:00
Montreal-Python will be hosting its last event before the summer break. This is also a special moment because it's our 75th event!
Brett Cannon: Podcast interviews where I talk about Python's governance
2019-06-10 17:37:49
Over the past two months I have given two podcast interviews where I talk about how we handled Guido's retirement, chose our new governance model, and what being on the inaugural steering council has been like.
Real Python: How to Make a Twitter Bot in Python With Tweepy
2019-06-10 14:00:00
In this article, youâll learn how to make your own Twitter Bot in Python with Tweepy, a package that provides a very convenient way to use the Twitter API.
Reuven Lerner: Variables are pronouns: A simple metaphor for Python newbies
2019-06-10 13:33:32
I teach about 10 different courses to companies around the world, but my favorite remains âPython for non-programmers.â Participants in this course are typically network and system administrators, support engineers, and managers who want to learn some programming skills, but donât see themselves as programmers. Moreover, many of them took a programming course back when they were university students, and were so horrified, overwhelmed, and frustrated that they gave up. Perhaps theyâre still working for a high-tech company, but they have tried to avoid programming.
Reuven Lerner: Sharpen your Python skills with Weekly Python Exercise
2019-06-10 11:34:36
Itâs time for another cohort of Weekly Python Exercise! This time, itâs an advanced cohort with 15 weeks of practice in such subjects as functional programming, object-oriented programming, iterators, generators, and decorators.
Mike Driscoll: PyDev of the Week: Valentin Haenel
2019-06-10 05:05:56
This week we welcome Valentin Haenel (@esc___) as our PyDev of the Week! Valentin is a core developer of Numba and several other packages that you can see either on his website or on Github. He has also given several talks at various conferences in Europe. Letâs spend some time getting to know Valentin better!
Podcast.__init__: Web Application Development Entirely In Python
2019-06-10 03:13:27
The knowledge and effort required for building a fully functional web application has grown at an accelerated rate over the past several years. This introduces a barrier to entry that excludes large numbers of people who could otherwise be producing valuable and interesting services. To make the onramp easier Meredydd Luff and Ian Davies created Anvil, a platform for full stack web development in pure Python. In this episode Meredydd explains how the Anvil platform is built and how you can use it to build and deploy your own projects. He also shares some examples of people who were able to create profitable businesses themselves because of the reduced complexity. It was interesting to get Meredyddâs perspective on the state of the industry for web development and hear his vision of how Anvil is working to make it available for everyone.
Doug Hellmann: sphinxcontrib.datatemplates 0.3.0
2019-06-09 15:21:05
Continue reading "sphinxcontrib.datatemplates 0.3.0"
ListenData: String Functions in Python with Examples
2019-06-09 14:20:48
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Codementor: Python implementation of Normalized Google Distance (Simple web scraping example)
2019-06-09 12:22:33
Implementation of the Normalized Google Distance in python as a simple and practical example of web scraping with python
Codementor: How to code basic psychological experiments with PsychoPy
2019-06-09 09:51:35
Basic example of psychopy. I show how to develop an experiment that registers how much time it takes for someone to press a key, then it saves the data as a csv file.
Codementor: How to code basic psychological experiments with Python
2019-06-09 09:51:35
Basic example of psychopy. I show how to develop an experiment that registers how much time it takes for someone to press a key, then it saves the data as a csv file.
Weekly Python StackOverflow Report: (clxxxi) stackoverflow python report
2019-06-08 16:24:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-06-08 16:24:26 GMT
Catalin George Festila: Python 3.7.3 : Testing the PyX python module.
2019-06-08 13:00:10
This python module has a good documenation with many examples, see the eofficial wepage.
The development team come with this intro:
Summary
PyX is a Python package for the creation of PostScript, PDF, and SVG files. It combines an abstraction of the PostScript drawing model with a TeX/LaTeX interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these
The Digital Cat: Run a blog with pelican
2019-06-07 14:30:00
One of the biggest piece of advice I can give to beginner developers is: write a blog.
Ned Batchelder: Corporations and open source: why and how
2019-06-07 12:21:43
Hereâs a really simplistic model: if you want someone to do something, you have to give them a compelling reason to do it, and you have to make it as easy as possible for them to do it. That is, you need to have good answers to Why? and How? (I donât know much about marketing, but I think these are the value proposition and the call to action.)
Stack Abuse: Concurrency in Python
2019-06-07 11:13:00
Computing has evolved over time and more and more ways have come up to make computers run even faster. What if instead of executing a single instruction at a time, we can also execute several instructions at the same time? This would mean a significant increase in the performance of a system.
Wingware Blog: Extending Wing with Python (Part One)
2019-06-07 01:00:00
In this issue of Wing Tips we start to look at how to extend Wing's functionality by writing Python code. Extension scripts can be used to automate custom editing tasks, access Wing's source code analysis, control the debugger, and much more.
Reuven Lerner: Why do Python lists let you += a tuple, when you canât + a tuple?
2019-06-06 19:58:03
Letâs say you have a list in Python:
PyCharm: âBuild-a-GitHub-Botâ with Mariatta Wijaya
2019-06-06 15:08:57
GitHub is a great platform for collaborating with your team members. You can take it to the next level by creating custom GitHub bots. In this webinar, Zapier engineer and Python Core Team developer Mariatta Wijaya talks about both speeding up your team activities on GitHub and what itâs like doing core Python development.
Stack Abuse: Getting Started with Python's Wikipedia API
2019-06-06 12:52:00
In this article, we will be using the Wikipedia API to retrieve data from Wikipedia. Data scraping has seen a rapid surge owing to the increasing use of data analytics and machine learning tools. The Internet is the single largest source of information, and therefore it is important to know how to fetch data from various sources. And with Wikipedia being one of the largest and most popular sources for information on the Internet, this is a natural place to start.
Talk Python to Me: #215 The software powering Talk Python courses and podcast
2019-06-06 08:00:00
No <p> found.
Twisted Matrix Labs: Twisted 19.2.1 Released
2019-06-06 07:49:47
No <p> found.
Mike Driscoll: Book Review: Practical Python and OpenCV
2019-06-06 05:05:41
I bought Practical Python and OpenCV a couple of years ago during one of its authors Kickstarters. I started reading it and then got busy with other things. The past couple of weeks, I decided to give the book another go and was able to finish it. Note that I started reading the 3rd edition of the book without realizing there was a 4th edition. After finished the 3rd edition, I compared it to the 4th side by side and it looks like they are nearly identical, so I donât think it matters all that much.
Techiediaries - Django: Angular 8 Material Design Tutorial & Example
2019-06-06 00:00:00
Throughout this tutorial, we'll learn about using Angular Material 8 to create professional UIs.
PyCharm: PyCharm 2019.2 EAP 2
2019-06-05 17:07:08
Do you like to stay up to date with the newest PyCharm features? Then grab the fresh new PyCharm EAP build from our website.
PyCharm: PyCharm 2019.1.3
2019-06-05 14:35:29
PyCharm 2019.1.3 is now available, and fixes a couple of issues that weâve identified in PyCharm 2019.1
Real Python: How to Implement a Python Stack
2019-06-05 14:00:00
Have you heard of stacks and wondered what they are? Do you have the general idea but are wondering how to implement a Python stack? Youâve come to the right place!
PyBites: Why whiteboard interviews suck and what weâre doing about it.
2019-06-05 13:44:28
Ah, whiteboard interviews! One of the most harrowing experiences of a professional programmerâs life.
Learn PyQt: Making Paint with Python: Bitmap graphics in PyQt5
2019-06-05 12:42:18
The first step towards creating custom widgets in PyQt5 is understanding bitmap (pixel-based) graphic operations. All standard widgets draw themselves as bitmaps on a rectangular "canvas" that forms the shape of the widget. Once you understand how this works you can draw any widget you like!
Stack Abuse: Working with PDFs in Python: Inserting, Deleting, and Reordering Pages
2019-06-05 12:28:00
This article is the third in a series on working with PDFs in Python:
Kushal Das: Indian news websites over Tor and HTTP vs HTTPS
2019-06-05 08:37:00
Following the idea of Secure The News, I wanted to verify if the Indian news websites have proper certificates or can they be viewed over Tor network.
Python Bytes: #133 Github sponsors - The model open source has been waiting for?
2019-06-05 08:00:00
No summary found!
Mike Driscoll: Getting the Correct Notebook Tab Across Platforms in wxPython
2019-06-05 05:05:59
I was recently working on a GUI application that had a wx.Notebook in it. When the user changed tabs in the notebook, I wanted the application to do an update based on the newly shown (i.e. selected) tab. I quickly discovered that while it is easy to catch the tab change event, getting the right tab is not as obvious.
PyCoderâs Weekly: Issue #371 (June 4, 2019)
2019-06-04 19:30:00
#371 â JUNE 4, 2019 View in Browser »
Python Insider: Python 3.8.0b1 is now available for testing
2019-06-04 19:20:02
No <p> found.
A. Jesse Jiryu Davis: The Python Language Summit
2019-06-04 15:07:50
No <p> found.
Neckbeard Republic: Introduction to Git and GitHub for Python Developers
2019-06-04 14:00:00
What is Git, what is GitHub, and what's the difference? Learn the basics of Git and GitHub from the perspective of a Pythonista in this step-by-step video course.
Stack Abuse: Creating and Importing Modules in Python
2019-06-04 13:19:00
In Python, a module is a self-contained file with Python statements and definitions. For example, file.py, can be considered a module named file. This differs from a package in that a package is a collection of modules in directories that give structure and hierarchy to the modules.
Python Software Foundation: Python Language Summit Lightning Talks, Part 2
2019-06-04 12:43:58
No <p> found.
Andre Roberge: Abolishing SyntaxError: invalid syntax ...
2019-06-04 11:11:18
No <p> found.
Mike Driscoll: Sending email with EZGmail and Python
2019-06-04 05:05:30
Have you ever wanted to send an email with GMail using the Python programming language? In 2018, Al Sweigart, best-selling author of Automate the Boring Stuff with Python, created a package called EZGmail. You can also use Googleâs own bindings to do this sort of thing, but itâs a lot more complicated than using EZGmail.
Podcast.__init__: Building A Business On Serverless Technology
2019-06-04 04:29:35
Serverless computing is a recent category of cloud service that provides new options for how we build and deploy applications. In this episode Raghu Murthy, founder of DataCoral, explains how he has built his entire business on these platforms. He explains how he approaches system architecture in a serverless world, the challenges that it introduces for local development and continuous integration, and how the landscape has grown and matured in recent years. If you are wondering how to incorporate serverless platforms in your projects then this is definitely worth your time to listen to.
Stanislas Morbieu: Accuracy: from classification to clustering evaluation
2019-06-03 21:46:37
Accuracy is often used to measure the quality of a classification. It is also used for clustering. However, the scikit-learn accuracy_score function only provides a lower bound of accuracy for clustering. This blog post explains how accuracy should be computed for clustering.
Chris Moffitt: Evangelizing Python for Business
2019-06-03 19:25:00
On May 30th, I had the pleasure of presenting at the MinneAnalytics Data Tech Conference with @KatieKodes. Our talk was on âEvangelizing Python for Businessâ. Here is the summary of the talk:
Python Does What?!: They say a python tuple can't contain itself...
2019-06-03 17:12:28
No <p> found.
Continuum Analytics Blog: Anaconda Recognized as a May 2019 Gartner Peer Insights Customersâ Choice for Data Science and Machine Learning Platforms
2019-06-03 16:28:01
The Anaconda team is excited to announce that we have been recognized as a May 2019 Gartner Peer Insights Customersâ Choice for Data Science and Machine Learning Platforms. According to Gartner, âThe Gartner Peer InsightsâŠ
Real Python: Object-Oriented Programming in Python vs Java
2019-06-03 14:00:00
Java programmers making a move to Python often struggle with Pythonâs approach to object-oriented programming (OOP). The approach to working with objects, variable types, and other language capabilities taken by Python vs Java are quite different. It can make switching between both languages very confusing.
Stack Abuse: Predicting Customer Ad Clicks via Machine Learning
2019-06-03 13:23:00
Internet marketing has taken over traditional marketing strategies in the recent past. Companies prefer to advertise their products on websites and social media platforms. However, targeting the right audience is still a challenge in online marketing. Spending millions to display the advertisement to the audience that is not likely to buy your products can be costly.
Python Software Foundation: Python Language Summit Lightning Talks, Part 1
2019-06-03 12:59:09
No <p> found.
Python Software Foundation: Pablo Galindo Salgado: The Night's Watch is Fixing the CIs in the Darkness for You
2019-06-03 12:59:08
No <p> found.
Reuven Lerner: Registration (and early-bird pricing) is open for Weekly Python Exercise
2019-06-03 12:00:45
Do you use Python, but sometimes feel stuck?
Catalin George Festila: Python 3.7.3 : Working with wikipedia python module.
2019-06-03 11:47:58
Wikipedia is a Python library that makes it easy to access and parse data from Wikipedia.
Let's install it:
C:\Python373\Scripts>pip install wikipediaFirst, let's test the default example:
C:\Python373>python.exe
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Inte
l)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wikipedia
Julien Danjou: Advanced Functional Programming in Python: lambda
2019-06-03 10:19:00
A few weeks ago, I introduced you to functional programming in Python. Today, I'd like to go further into this topic and show you so more interesting features.
CodeGrades: Why Python?
2019-06-03 10:15:00
CodeGrades (initially) targets Python as a language for learning programming. This post explains why.
Django Weblog: Django security releases issued: 2.2.2, 2.1.9 and 1.11.21
2019-06-03 10:14:28
In accordance with our security release policy, the Django team is issuing Django 1.11.21, Django 2.1.9, and Django 2.2.2. These releases addresses the security issues detailed below. We encourage all users of Django to upgrade as soon as possible.
Hynek Schlawack: Python in Azure Pipelines, Step by Step
2019-06-03 09:14:00
Since the acquisition of Travis CI, the future of their free offering is unclear. Azure Pipelines has a generous free tier, but the examples I found are discouragingly complex and take advantage of features like templating that most projects donât need. To close that gap, this article shows you how to move a Python project with simple CI needs from Travis CI to Azure Pipelines.
Codementor: Python Requests Tutorial | Python Tutorial
2019-06-03 06:53:09
This blog will walk you through the python requests module in detail. You will get familiar with GET and POST requests, session objects, cookies & headers.
Mike Driscoll: PyDev of the Week: Stefan van der Walt
2019-06-03 05:05:33
This week we welcome Stefan van der Walt (@stefanvdwalt) as our PyDev of the Week! Stefan is the creator of scikit-image, which is a collection of algorithms for image processing. You can see some of the projects that he is a part of on Github or on Berkeleyâs website. Stefan also has his own website which is worth checking out. Letâs take a few moments to get to know Stefan better!
Quansight Labs Blog: TDK-Micronas partners with Quansight to sponsor Spyder
2019-06-02 05:00:00
TDK-Micronas is sponsoring Spyder development efforts through Quansight Labs. This will enable the development of some features that have been requested by our users, as well as new features that will help TDK develop custom Spyder plugins in order to complement their Automatic Test Equipment (ATEâs) in the development of their Application Specific Integrated Circuits (ASICâs).
Brett Cannon: The challenges in designing a library for PEP 425 (aka wheel tags)
2019-06-02 04:11:14
If you have  ever looked at a project that has a lot of wheels (like numpy), you may have wondered what the part that comes after the project name and version mean. Well, they are known as platform compatibility tags and they are primarily defined in PEP 425. For someone like me whose personal projects are all written in pure Python, I never really paid much thought to what those tags meant since the wheel tags for my projects are all py3-none-any (you will find out what that means later in this post). So what led me from not caring to learning as much as I could about wheel tags and what did I learn along the way?
Lintel Technologies: How to configure django app using gunicorn?
2019-06-02 00:03:46
Django is a python web framework used for developing web applications. It is fast, secure and scalable. Let us see how to configure the Django app using gunicorn.
Codementor: The Easiest Way To Get Started on Python
2019-06-01 21:00:11
The easiest way to get started on Python is by using Anaconda Navigator. Anaconda Navigator is a fantastic program that installs not only Python, but the popular modules that you need to get up and running.
Learn PyQt: Using the ModelView Architecture in PyQt5
2019-06-01 20:07:17
As you start to build more complex applications with PyQt5 you'll likely come across issues keeping widgets in sync with your data.
Learn PyQt: Using the PyQt5 ModelView Architecture to build a simple Todo app
2019-06-01 20:07:17
As you start to build more complex applications with PyQt5 you'll likely come across issues keeping widgets in sync with your data.
Weekly Python StackOverflow Report: (clxxx) stackoverflow python report
2019-06-01 19:46:00
No <p> found.
Peter Bengtsson: Build an XML sitemap of XML sitemaps
2019-06-01 05:06:58
Suppose that you have so many thousands of pages that you can't just create a single /sitemap.xml file that has all the URLs (aka <loc>) listed. Then you need to make a /sitemaps.xml that points to the other sitemap files. And if you're in the thousands, you'll need to gzip these files.
Peter Bengtsson: Generate a random IP address in Python
2019-06-01 03:10:33
A fun trick to generate random, but seeded, IPv4 addresses in a Django app.
Stack Abuse: The Python String strip() Function
2019-05-31 17:49:00
In this article, we'll examine how to strip characters from both ends of a string in Python.
Davy Wybiral: Always Secure Your localhost Servers
2019-05-31 16:08:03
No <p> found.
Stack Abuse: The Python zip() Function
2019-05-31 13:55:00
In this article, we'll examine how to use the built-in Python zip() function.
Janusworx: A Week of Python
2019-05-31 09:59:31
Ok. Time to be a bit honest. As you folks know, I have been trying to learn programming using Python since June 2017, when I joined the 10th cohort of DGPLUGâs Summer Training. And time and again, I have failed. Not just with programming, but with most other projects I tried to do.
Talk Python to Me: #214 Dive into CPython 3.8 and beyond
2019-05-31 08:00:00
Python 3.8 is coming soon. It's scheduled for release at the end of October 2019 and you can already download test versions today. Given that Python ships on an 18-month cycle, it's time to talk about what's coming for us Python developers in the fall.
EuroPython Society: PyData EuroPython 2019
2019-05-31 07:42:26
europython:
EuroPython: PyData EuroPython 2019
2019-05-31 07:18:26
We are happy to announce a complete PyData track at EuroPython 2019:
Quansight Labs Blog: metadsl: A Framework for Domain Specific Languages in Python
2019-05-31 05:00:00
Hello, my name is Saul Shanabrook and for the past year or so I have been at Quansight exploring the array computing ecosystem. This started with working on the xnd project, a set of low level primitives to help build cross platform NumPy-like APIs, and then started exploring Lenore Mullin's work on a mathematics of arrays. After spending quite a bit of time working on an integrated solution built on these concepts, I decided to step back to try to generalize and simplify the core concepts. The trickiest part was not actually compiling mathematical descriptions of array operations in Python, but figuring out how to make it useful to existing users. To do this, we need to meet users where they are at, which is with the APIs they are already familiar with, like numpy. The goal of metadsl is to make it easier to tackle parts of this problem seperately so that we can collaborate on tackling it together.
Wingware Blog: Using External Code Quality Checkers with Wing Pro 7
2019-05-31 01:00:00
Wing Pro 7 introduced a new code warnings system with expanded built-in code inspection capabilities and improved integration with external code quality checkers. In this issue of Wing Tips, we describe how to configure Wing Pro 7 to take advantage of external code quality checkers like Pylint, pep8, and mypy.
Catalin George Festila: Python 3.7.3 : Testing firebase with Python 3.7.3 .
2019-05-31 00:45:34
The tutorial for today consists of using the Firebase service with python version 3.7.3 .
As you know Firebase offers multiple free and paid services.
In order to use the Python programming language, we need to use the pip utility to enter the required modules.
If your installation requires other python modules then you will need to install them in the same way.
C:\Python373>pip install
Learn PyQt: MacOS Mojave Dark Mode Support in PyQt 5.12.2
2019-05-30 19:36:01
MacOS Mojave, released in September of last year, introduced a user-toggleable "Dark Mode". This enables a system-wide dark colour scheme, intended to make things easier on your eyes at night, or less distracting when working with content. The mode was supported by all built-in Mac apps on release, but 3rd party applications (including those developed with PyQt) were left looking a bit out of place.
Dataquest: Python For Loops: A Tutorial
2019-05-30 15:43:46
Learn how to master Python for loops and statements like break and continue to iterate through lists and clean and analyze large data sets quickly.
Python Software Foundation: Use two-factor auth to improve your PyPI account's security
2019-05-30 14:11:19
No <p> found.
Python Insider: Use two-factor auth to improve your PyPI account's security
2019-05-30 14:11:05
No <p> found.
Python Bytes: #132 Algorithms as objects
2019-05-30 08:00:00
No summary found!
Codementor: Powering up python as a data analysis platform
2019-05-30 05:30:25
When working with Machine Learning algorithms we face large data movement, but in many algorithms the most important part is a heavy use of linear algebra operations and other...
Catalin George Festila: Python 3.7.3 : Using the win32com - part 007.
2019-05-30 02:28:10
Today I show you a new script I tested a few days ago with win32com and Win32_LogonSession class, see the documentation.
The Win32_LogonSession WMI class describes the logon session or sessions associated with a user logged on to a computer system running Windows.
Let's see the script:
import win32com.client
from win32com.client import gencache
strComputer = "."
objWMIService =
Catalin George Festila: Python 3.7.3 : How fast are Data Classes.
2019-05-30 02:10:53
This simple tutorial follows the PEP 0557 subject of Data Classes.
About the python classes then you can define into three ways:
standard_class;
slot_class ( standard_class with __slots__);
the new dataclass
Today I will show you how this works and how fast are these classes.
First, let's import some python modules: dataclasses and timeit.
The dataclasses python module lets us use the new
Wingware News: Wing Python IDE 7.0.3 - May 30, 2019
2019-05-30 01:00:00
Wing 7.0.3 has been released. This is a minor release that includes the following fixes and improvements:
Test and Code: 76: TDD: Donât be afraid of Test-Driven Development - Chris May
2019-05-29 18:45:00
Test Driven Development, TDD, can be intimidating to try. Why is that? And how can we make it less scary? That's what this episode is about.
Learn PyQt: First steps with Qt Creator
2019-05-29 18:15:56
Open up Qt Creator and you will be presented with the main window. The designer is available via the tab on the left hand side. However, to activate this you first need to start creating a .ui file.
Yasoob Khalid: Speeding up Python code using multithreading
2019-05-29 17:44:13
Hi lovely people! A lot of times we end up writing code in Python which does remote requests or reads multiple files or does processing on some data. And in a lot of those cases I have seen programmers using a simple for loop which takes forever to finish executing. For example:
Made With Mu: Contributor Focus: Tiago Montes
2019-05-29 15:15:00
Mu is not a solo effort. Many folks have contributed to Mu, and I will be eternally grateful for their work. With the spirit of recognising the voluntary contributions of others in mind, Iâm going to write about some of our most prodigious programmers. This post, the second in this series, is about Tiago Montes.
Real Python: Pointers in Python: What's the Point?
2019-05-29 14:00:00
If youâve ever worked with lower level languages like C or C++, then youâve probably heard of pointers. Pointers allow you to create great efficiency in parts of your code. They also cause confusion for beginners and can lead to various memory management bugs, even for experts. So where are they in Python, and how can you simulate pointers in Python?
Codementor: How to Learn Python 3 from Scratch | A Beginners Guide
2019-05-29 09:32:30
This article on Learn Python 3 talks about Python 3 scripting basics and fundamentals. Alongside, it provides a rich perspective for beginners to get started with Python 3.
Learn PyQt: Building a simple Notepad clone with PyQt5
2019-05-29 08:14:00
Notepad doesn't need much introduction. It's a plaintext editor that's been part of Windows since the beginning, and similar applications exist in every GUI desktop ever created.Here we reimplement Notepad in Python using PyQt, a task that is made particularly easy by Qt providing a text editor widget. A few signal-hookups is all that is needed to implement a fully working app.
Quansight Labs Blog: Community-driven open source and funded development
2019-05-29 05:00:00
Quansight Labs is an experiment for us in a way. One of our main aims is to channel more resources into community-driven PyData projects, to keep them healthy and accelerate their development. And do so in a way that projects themselves stay in charge.
Techiediaries - Django: Angular 8 CRUD Tutorial: Python|Django REST API
2019-05-29 00:00:00
Techiediaries - Django: Angular 8 Tutorial: Learn Angular 8 from Scratch
2019-05-29 00:00:00
Python Engineering at Microsoft: Python in Visual Studio Code â May 2019 Release
2019-05-28 21:57:10
We are pleased to announce that the May 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
PyCoderâs Weekly: Issue #370 (May 28, 2019)
2019-05-28 19:30:00
#370 â MAY 28, 2019 View in Browser »
Stack Abuse: Image Recognition in Python with TensorFlow and Keras
2019-05-28 18:58:34
One of the most common utilizations of Tensorflow and Keras is the recognition/classification of images. If you want to learn how to use Keras to classify or recognize images, this article will teach you how.
Codementor: For...in Loops: Changing between Javascript and Python.
2019-05-28 17:19:12
The series explores the subtle differences between Javascript and Python. This article looks at the for...in loops.
Neckbeard Republic: Continuous Integration With Python
2019-05-28 14:00:00
In this course, you'll learn the core concepts behind Continuous Integration (CI) and why they are essential for modern software engineering teams. Find out how to how set up Continuous Integration for your Python project to automatically create environments, install dependencies, and run tests.
Python Software Foundation: Python Core Developer Mentorship
2019-05-28 12:50:36
No <p> found.
EuroPython: EuroPython 2019: Please configure your tickets
2019-05-28 10:26:15
Since our website was updated this year, we would like to remind you how you can configure your tickets and profiles, so that we get the right information for printing badges and adjusting catering counts.
EuroPython: EuroPython 2019 Django Girls Workshop
2019-05-28 07:20:48
Would you like to know about how to build websites, how the internet works and would you like to try programming your own first blog, but donât know where to start? We have good news for you: we are holding a
Codementor: How to Improve Efficiency by Testing Your Code with PyTest by Python
2019-05-28 06:05:08
Pytest behaves out between them due to its simple of use and its portability to manage increasingly difficult testing requirements.
Moshe Zadka: Analyzing the Stack Overflow Survey
2019-05-28 01:43:30
The Stack Overflow Survey Results for 2019 are in! There is some official analysis, that mentioned some things that mattered to me, and some that did not. I decided to dig into the data and see if I can find some things that would potentially interest my readership.
Python Software Foundation: Mariatta Wijaya: Let's Use GitHub Issues Already!
2019-05-27 22:26:16
No <p> found.
Ian Ozsvald: Thoughts on how to start a PyData or Python meetup
2019-05-27 19:57:06
At PyConLT 2019 (Lithuania) we just had a 10-person meeting on âhow to start a new PyData or Python meetupâ with existing organisers and some potential new event organisers. The night before in the conference bar Radovan and I had spent an hour helping someone from Latvia figure out their plan to start a new Python meetup. Given that Iâm a co-founder for PyDataLondon and after 6 years weâre at 9,500+ members, I have some opinions. Maybe sharing these will help others. All going well weâll see a new PyDataVilnius start with what looks like a 7+ person volunteer group, all organised at PyConLT.
Real Python: How to Iterate Through a Dictionary in Python
2019-05-27 14:00:00
Dictionaries are one of the most important and useful data structures in Python. They can help you solve a wide variety of programming problems. This tutorial will take you on a deep dive into how to iterate through a dictionary in Python.
Codementor: Click Through Rate Analysis using Spark
2019-05-27 13:41:39
In recent years, programmatic advertising is been taking over the online advertisement industry. To enable automatic selling and purchasing ad impressions between advertisers and publishers through...
Stack Abuse: Asynchronous Tasks in Django with Redis and Celery
2019-05-27 13:20:00
In this tutorial I will be providing a general understanding of why celery message queue's are valuable along with how to utilize celery in conjunction with Redis in a Django application. To demonstrate implementation specifics I will build a minimalistic image processing application that generates thumbnails of images submitted by users.
Catalin George Festila: Python 3.7.3 : Using the win32com - part 006.
2019-05-27 12:59:19
Today I will show you how to see the system environment setting:
import win32com.client
strComputer = "."
objWMIService = win32com.client.Dispatch("WbemScripting.SWbemLocator")
objSWbemServices = objWMIService.ConnectServer(strComputer,"root\cimv2")
colItems = objSWbemServices.ExecQuery("Select * from Win32_Environment")
for objItem in colItems:
print("Caption:", objItem.Caption)
print("
Podcast.__init__: A Data Catalog For Your PyData Projects
2019-05-27 11:50:42
One of the biggest pain points when working with data is getting is dealing with the boilerplate code to load it into a usable format. Intake encapsulates all of that and puts it behind a single API. In this episode Martin Durant explains how to use the Intake data catalogs for encapsulating source information, how it simplifies data science workflows, and how to incorporate it into your projects. It is a lightweight way to enable collaboration between data engineers and data scientists in the PyData ecosystem.
The Digital Cat: The Digital Cat Youtube Channel
2019-05-27 11:00:00
The Digital Cat Youtube channel just launched!
Mike Driscoll: PyDev of the Week: Sean McManus
2019-05-27 05:05:45
This week we welcome Sean McManus (@musicandwords) as our PyDev of the Week! Sean is the author of several books, including Mission Python: Code a Space Adventure Game!, which was reviewed on this site in March. There are free chapters from his book available here. You can learn more about Sean on his website. Letâs take some time to get to know him better!
Quansight Labs Blog: Measuring API usage for popular numerical and scientific libraries
2019-05-27 05:00:00
Developers of open source software often have a difficult time understanding how others utilize their libraries. Having better data of when and how functions are being used has many benefits. Some of these are:
Codementor: Introduction to Python 3.8 new featureââââThe Walrus Operatorâ
2019-05-27 02:13:31
Introduction to Python 3.8 new featureâ - "assignment expressions using The Walrus Operator"
Ian Ozsvald: PyCon Lithuania 2019 and a keynote on “Citizen Science with Python”
2019-05-26 15:09:12
Iâve had the great pleasure of attending PyConLT 2019 â my first trip to Lithuania. I had no idea what to expect (Iâve never been to this part of Europe) â Vilnius is a lovely city full of lovely Pythonistas. Thereâs a bunch of lovely art hanging underneath bridges, an amazing Soviet Palace of Arts and Sports and a number of castles â it really is very lovely here.
Evennia: Creating Evscaperoom, part 2
2019-05-26 11:03:20
No <p> found.
Catalin George Festila: Python 3.7.3 : Using the win32com - part 005.
2019-05-26 03:39:18
Another example with win32com python module:
This script show info about the audio or video codec, see this link:
import win32com.client
strComputer = "."
objWMIService = win32com.client.Dispatch("WbemScripting.SWbemLocator")
objSWbemServices = objWMIService.ConnectServer(strComputer,"root\cimv2")
colItems = objSWbemServices.ExecQuery("Select * from Win32_CodecFile")
for objItem in colItems:
Weekly Python StackOverflow Report: (clxxix) stackoverflow python report
2019-05-25 20:42:00
No <p> found.
Catalin George Festila: Python 3.7.3 : Using the win32com - part 004.
2019-05-25 12:09:40
This is a source code I created a few days ago.
import win32com.client
strComputer = "."
objWMIService = win32com.client.Dispatch("WbemScripting.SWbemLocator")
objSWbemServices = objWMIService.ConnectServer(strComputer,"root\cimv2")
colItems = objSWbemServices.ExecQuery("Select * from Win32_ProgIDSpecification")
for objItem in colItems:
print ("Caption: ", objItem.Caption)
print ("Check
Ned Batchelder: Why Python class syntax should be different
2019-05-25 12:09:00
If youâve used any programming language for a long enough time, youâve found things about it that you wish were different. Itâs true for me with Python. I have ideas of a number of things I would change about Python if I could. Iâll bore you with just one of them: the syntax of class definitions.
Talk Python to Me: #213 WebAssembly and CPython
2019-05-25 08:00:00
On the last episode, we explored Pyodide. A project whose goal is to bring the CPython scientific stack to the browser via WebAssembly.
Continuum Analytics Blog: Intake: Discovering and Exploring Data in a Graphical Interface
2019-05-24 20:19:58
Motivation Do you have data that youâd like people to be able to explore on their own? Are you always passing around snippets of code to load specific data files? These are problems that peopleâŠ
Andre Roberge: Avant-IDLE: an experiment
2019-05-24 13:52:56
No <p> found.
EuroPython Society: EuroPython 2019: Financial Aid Program starts today
2019-05-24 08:08:03
europython:
EuroPython: EuroPython 2019: Financial Aid Program starts today
2019-05-24 08:03:15
We are happy to announce the start of our financial aid program for this yearâs EuroPython.
Catalin George Festila: Python 3.7.3 : Using the win32com - part 003.
2019-05-24 05:47:45
This is another python script with win32com python module and python version 3.7.3 .
The script shows us info about the drive:
import win32com
from win32com import client
strComputer = "."
objWMIService = win32com.client.Dispatch("WbemScripting.SWbemLocator")
objSWbemServices = objWMIService.ConnectServer(strComputer,"root\cimv2")
out_items = objSWbemServices.ExecQuery("SELECT * FROM
Caktus Consulting Group: Be Quick or Eat Potatoes: A Newbieâs Guide to PyCon
2019-05-23 20:49:07
Pictured above: The PyCon 2019 exhibit hall.
Codementor: It is easier to gather package meta-data from PyPI package ecosystem, once know the right way
2019-05-23 17:09:38
It is easier to gather package meta-data from PyPI package ecosystem, once know the right way
Data School: Data science best practices with pandas (video tutorial)
2019-05-23 14:14:04
The pandas library is a powerful tool for multiple phases of the data science workflow, including data cleaning, visualization, and exploratory data analysis. However, the size and complexity of the pandas library makes it challenging to discover the best way to accomplish any given task.
Codementor: Python 2.7 vs Python 3.4 â What should Python Beginners choose?
2019-05-23 13:51:37
Python 2.x Vs Python 3.x
Catalin George Festila: Python 3.7.3 : Using the win32com - part 002.
2019-05-23 13:06:22
Today I tested the win32com python module with python 3.7.3.
I'll show you two scripts I tested with this python module.
import win32com.client
strComputer = "."
objWMIService = win32com.client.Dispatch("WbemScripting.SWbemLocator")
objSWbemServices = objWMIService.ConnectServer(strComputer,"root\cimv2")
colItems = objSWbemServices.ExecQuery("Select * from Win32_ClassicCOMClass")
for objItem in
Codementor: Building Machine Learning Data Pipeline using Apache Spark
2019-05-23 12:33:31
Apache Spark (.) is increasingly becoming popular in the field of Data Sciences because of its ability to deal with the huge datasets and the capability to run computations in memory which is...
EuroPython: EuroPython 2019: Monday and Tuesday activities for main conference attendees
2019-05-23 08:01:37
Although the main conference starts on Wednesday, July 10th, thereâs already so much to do for attendees with the main conference ticket on Monday 8th and Tuesday 9th.
Test and Code: 75: Modern Testing Principles - Alan Page
2019-05-23 07:00:00
Software testing, if done right, is done all the time, throughout the whole life of a software project. This is different than the verification and validation of a classical model of QA teams. It's more of a collaborative model that actually tries to help get great software out the door faster and iterate quicker.
Catalin George Festila: Python 3.7.3 : Using the pelican python module and GitHub.
2019-05-23 05:59:09
This tutorial follows a similar tutorial from the web.
I tested that tutorial to see if it works.
This tutorial is focused on GitHub but can also be used independently on another python platform.
You need a GitHub Pro, your personal account:
With GitHub Pro, your personal account gets unlimited public and private repositories with unlimited collaborators.
In addition to the features available
Wingware Blog: Remote Development with Wing Pro
2019-05-23 01:00:00
In this issue of Wing Tips we take a quick look at Wing Pro's remote development capabilities.
Yasoob Khalid: Running Python in the Browser
2019-05-22 18:21:11
Running Python in the web browser has been getting a lot of attention lately. Shaun Taylor-Morgan knows what heâs talking about here â he works for Anvil, a full-featured application platform for writing full-stack web apps with nothing but Python. So I invited him to give us an overview and comparison of the open-source solutions for running Python code in your web browser.
Stack Abuse: Python: Check if String Contains Substring
2019-05-22 16:38:00
In this article, we'll examine four ways to use Python to check whether a string contains a substring. Each has their own use-cases and pros/cons, some of which we'll briefly cover here:
Made With Mu: Kushalâs Colourful Adafruit Adventures
2019-05-22 15:45:00
Friend of Mu, community hero, Tor core team member, Python core developer and programmer extraordinaire Kushal Das, has blogged about the fun heâs been having with Adafruitâs Circuit Playground Express board, CircuitPython and Mu.
Nathan Piccini Data Science Dojo Blog: Enhance your AI superpowers with Geospatial Visualization
2019-05-22 14:00:00
There is so much to explore when it comes to spatial visualization using Python's Folium library. For problems related to crime mapping, housing prices or travel route optimization, spatial visualization could be the most resourceful tool in getting a glimpse of how the instances are geographically located. This is beneficial as we are getting massive amounts of data from several sources such as cellphones, smartwatches, trackers, etc. In this case, patterns and correlations, which otherwise might go unrecognized, can be extracted visually.
Real Python: Python Logging: A Stroll Through the Source Code
2019-05-22 14:00:00
The Python logging package is a a lightweight but extensible package for keeping better track of what your own code does. Using it gives you much more flexibility than just littering your code with superfluous print() calls.
Catalin George Festila: Python 3.7.3 : Using the win32com - part 001.
2019-05-22 11:19:26
The tutorial is about win32com python module using the python 3.7.3.
First exameple is simple:
import sys
import win32com.client
from win32com.client import constants
speaker = win32com.client.Dispatch("SAPI.SpVoice")
print ("Type word or phrase, then enter.")
while 1:
text_to_say = input("> ")
speaker.Speak(text_to_say)Let's run it.
The Microsoft Speech SDK to speak what you type in
EuroPython Society: EuroPython 2019: First batch of accepted sessions
2019-05-22 10:25:24
europython:
EuroPython: EuroPython 2019: First batch of accepted sessions
2019-05-22 10:11:04
Our program work group (WG) has been working hard over the weekend to select the sessions for EuroPython 2019.
Kushal Das: Game of guessing colors using CircuitPython
2019-05-22 09:54:00
Every participant of PyCon US 2019 received a CircuitPython Playground Express (cpx) in the swag bag from Digikey and Adafuit, which is one of the best swag in a conference. Only another thing which comes in my mind was Yubikeys sponsored by Yubico in a rootconf a few years ago.
Patrick Kennedy: Setting Up GitLab CI for a Python Application
2019-05-22 04:28:32
Introduction
The Digital Cat: Object-Oriented Programming in Python 3 - Abstract Base Classes
2019-05-22 01:47:44
This post is available as an IPython Notebook here
The Digital Cat: Object-Oriented Programming in Python 3 - Metaclasses
2019-05-22 01:47:44
This post is available as an IPython Notebook here
The Digital Cat: Object-Oriented Programming in Python 3 - Composition and inheritance
2019-05-22 01:47:44
This post is available as an IPython Notebook here
The Digital Cat: Object-Oriented Programming in Python 3 - Classes and members
2019-05-22 01:47:44
This post is available as an IPython Notebook here
The Digital Cat: Object-Oriented Programming in Python 3 - Objects and types
2019-05-22 01:47:44
This post is available as an IPython Notebook here
Quansight Labs Blog: Spyder 4.0 takes a big step closer with the release of Beta 2!
2019-05-21 20:02:50
It has been almost two months since I joined Quansight in April, to start working on Spyder maintenance and development. So far, it has been a very exciting and rewarding journey under the guidance of long time Spyder maintainer Carlos CĂłrdoba. This is the first of a series of blog posts we will be writing to showcase updates on the development of Spyder, new planned features and news on the road to Spyder 4.0 and beyond.
Python Engineering at Microsoft: Who put Python in the Windows 10 May 2019 Update?
2019-05-21 19:59:27
Today the Windows team announced the May 2019 Update for Windows 10. In this post weâre going to look at what we, the Python team, have done to make Python easier to install on Windows by helping the community publish to the Microsoft Store and, in collaboration with Windows, adding a default âpython.exeâ command to help find it. You may have already heard about these on the Python Bytes podcast, at PyCon US, or through Twitter.
PyCoderâs Weekly: Issue #369 (May 21, 2019)
2019-05-21 19:30:00
#369 â MAY 21, 2019 View in Browser »
CodeGrades: Hello CodeGrades!
2019-05-21 16:30:00
This is a blog about CodeGrades, an experiment to help folks learn about programming (initially in Python). Weâll use it to celebrate the successes, learn from the failures and reflect upon the feedback of participants. Weâll also share project news here too.
Trey Hunner: Python built-ins worth learning
2019-05-21 15:40:00
In every Intro to Python class I teach, thereâs always at least one âhow can we be expected to know all thisâ question.
Python Software Foundation: Petr Viktorin: Extension Modules And Subinterpreters
2019-05-21 15:19:23
No <p> found.
Stack Abuse: Python: Append Contents to a File
2019-05-21 14:20:00
In this article, we'll examine how to append content to an existing file using Python.
Neckbeard Republic: Interactive Data Visualization in Python With Bokeh
2019-05-21 14:00:00
This course will get you up and running with Bokeh, using examples and a real-world dataset. You'll learn how to visualize your data, customize and organize your visualizations, and add interactivity.
Red Hat Developers: Use the Kubernetes Python client from your running Red Hat OpenShift pods
2019-05-21 13:39:33
Red Hat OpenShift is part of the Cloud Native Computing Foundation (CNCF) Certified Program, ensuring portability and interoperability for your container workloads. This also allows you to use Kubernetes tools to interact with an OpenShift cluster, like kubectl, and you can rest assured that all the APIs you know and love are right there at your fingertips.
Python Bytes: #131 Python 3 has issues (over on GitHub)
2019-05-21 08:00:00
No summary found!
Test and Code: 74: Technical Interviews: Preparing For, What to Expect, and Tips for Success - Derrick Mar
2019-05-21 07:00:00
In this episode, I talk with Derrick Mar, CTO and co-founder of Pathrise. This is the episode you need to listen to to get ready for software interviews.
codingdirectional: Growth of a Population
2019-05-21 03:49:51
Hello and welcome back, in this episode we are going to solve a python related problem in Codewars. Before we start I just want to say that this post is related to python programming, you are welcome to leave your comments below this post if and only if they are related to the below solution, kindly do not leave any comment which has nothing to do with python programming under this article, thank you.
Andre Roberge: Test - please ignore
2019-05-20 20:40:07
Simple test to embed a gist.<br /><br /><br />That's all.
Codementor: Python's Counter - Part 2
2019-05-20 15:03:39
This is the second part of the Counter tutorial sequel. It explores certain behaviour of Counter.
Curtis Miller: What is the probability that in a box of a dozen donuts picked from 14 flavors thereâs no more than 3 flavors in the box?
2019-05-20 15:00:46
Dave's Donuts offers 14 flavors of donuts (consider the supply of each flavor as being unlimited). The âgrab bagâ box consists of flavors randomly selected to be in the box, each flavor equally likely for each one of the dozen donuts. What is the probability that at most three flavors are in the grab bag box of a dozen?
Stack Abuse: Overview of Async IO in Python 3.7
2019-05-20 14:10:31
Python 3's asyncio module provides fundamental tools for implementing asynchronous I/O in Python. It was introduced in Python 3.4, and with each subsequent minor release, the module has evolved significantly.
Real Python: Unicode & Character Encodings in Python: A Painless Guide
2019-05-20 14:00:00
Handling character encodings in Python or any other language can at times seem painful. Places such as Stack Overflow have thousands of questions stemming from confusion over exceptions like UnicodeDecodeError and UnicodeEncodeError. This tutorial is designed to clear the Exception fog and illustrate that working with text and binary data in Python 3 can be a smooth experience. Pythonâs Unicode support is strong and robust, but it takes some time to master.
Catalin George Festila: Python 3.7.3 : The google-cloud-vision python module - part 002.
2019-05-20 13:20:23
I used Windows 8.1 and python 3.7.3 version.
The first step is to install the python module.
C:\Python373\Scripts>pip install --upgrade google-cloud-visionYou can see another tutorial about this python module here.
Let's test the python module.
C:\Python373>python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD6
4)] on win32
Type "help", "copyright", "credits" or
Abhijeet Pal: Adding Pagination With Django
2019-05-20 11:39:59
While working on a modern web application quite often you will need to paginate the app be it for better user experience or performance. Fortunately, Django comes with built-in pagination classes for managing paginating data of your application.
Catalin George Festila: Python 3.7.3 : Use the tweepy to deal with twitter api - part 002.
2019-05-20 11:29:11
The tutorial for today is about with python 3.7.3
The development team comes with this intro:
An easy-to-use Python library for accessing the Twitter API.
The first step is to install this python module:
C:\Python373\Scripts>pip install tweepy
...
Successfully built PySocks
Installing collected packages: PySocks, tweepy
Successfully installed PySocks-1.6.8 tweepy-3.7.0
This is the source code I
EuroPython Society: EuroPython 2019: Conference and training ticket sale opens today
2019-05-20 07:47:17
europython:
EuroPython: EuroPython 2019: Conference and training ticket sale opens today
2019-05-20 07:14:19
We will be starting the EuroPython 2019 conference and training ticket sales
Mike Driscoll: PyDev of the Week: Adrienne Tacke
2019-05-20 05:05:41
This week we welcome Adrienne Tacke (@AdrienneTacke) as our PyDev of the Week! Adrienne is the author of Coding for Kids: Python: Learn to Code with 50 Awesome Games and Activities and her book came out earlier this year. You can see what Adrienne is up to on Instagram or via her website. Letâs take some time to get to know her better!
Podcast.__init__: Hardware Hacking Made Easy With CircuitPython
2019-05-20 02:29:49
Learning to program can be a frustrating process, because even the simplest code relies on a complex stack of other moving pieces to function. When working with a microcontroller you are in full control of everything so there are fewer concepts that need to be understood in order to build a functioning project. CircuitPython is a platform for beginner developers that provides easy to use abstractions for working with hardware devices. In this episode Scott Shawcroft explains how the project got started, how it relates to MicroPython, some of the cool ways that it is being used, and how you can get started with it today. If you are interested in playing with low cost devices without having to learn and use C then give this a listen and start tinkering!
Wingware Blog: Selecting Logical Units of Python Code in Wing
2019-05-20 01:00:00
In this issue of Wing Tips we take a look at quickly selecting Python code in logical units, which can make some editing tasks easier.
Codementor: Python's Counter - Part 1
2019-05-19 13:41:52
This article provides an introduction to Python's in-built 'Counter' tool, and is part of a series of articles on some often ignored, or undiscovered, in-built python libraries.
Weekly Python StackOverflow Report: (clxxviii) stackoverflow python report
2019-05-19 10:39:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-05-19 10:39:17 GMT
Python Software Foundation: Scott Shawcroft: History of CircuitPython
2019-05-18 22:58:30
No <p> found.
Evennia: Creating Evscaperoom, part 1
2019-05-18 19:39:38
No <p> found.
Python Software Foundation: Amber Brown: Batteries Included, But They're Leaking
2019-05-18 13:42:01
No <p> found.
Abhijeet Pal: Python Program To Print Numbers From 1 to 10 Using While Loop
2019-05-18 07:48:06
Create a Python program to print numbers from 1 to 10 using a while loop.
Abhijeet Pal: Python Program To Print Numbers From 1 to 10 Using For Loop
2019-05-18 07:28:38
Create a Python program to print numbers from 1 to 10 using a for loop.
Programming Ideas With Jake: Better Unbound Python Descriptors
2019-05-18 05:00:25
I've been making unbound attributes be way more complicated that need be. Let's look at how to simplify it.
Abhijeet Pal: Python Program to Find the Smallest Among Three Numbers
2019-05-18 03:51:58
Create a Python program to find the smallest among the three given numbers, taking runtime inputs from the user.
Abhijeet Pal: Python Program to Swap Two Numbers
2019-05-18 03:40:44
Create a Python program to swap two numbers taking runtime inputs. Swapping means interchanging, for instance, say we have two variables holding the following values a = 10 & b = 20 after swapping they will interchange the values so now a = 20 & b = 10.
Abhijeet Pal: Python Program to Add Two Numbers
2019-05-18 03:21:11
Create a Python program to add two numbers and print the result, taking runtime input from the user.
Kushal Das: My talk at PyCon US 2019
2019-05-18 03:04:00
A couple of weeks back, I gave a talk at PyCon US 2019, âBuilding reproducible Python applications for secured environmentsâ.
Andre Roberge: Idle hacking - part 1
2019-05-17 18:02:55
No <p> found.
Stack Abuse: Brief Introduction to OpenGL in Python with PyOpenGL
2019-05-17 13:36:00
In this tutorial, we're going to learn how to use PyOpenGL library in Python. OpenGL is a graphics library which is supported by multiple platforms including Windows, Linux, and MacOS, and is available for use in multiple other languages as well; however, the scope of this post will be limited to its usage in the Python programming language.
Abhijeet Pal: Python Program to Find the Largest Among Three Numbers
2019-05-17 13:09:39
Create a Python program to find the largest among the three given numbers.
Abhijeet Pal: Python program to check if a string is palindrome or not
2019-05-17 12:51:18
Make a Python program to check if the given string is palindrome or not. A string is a palindrome if it reads same from forward as well as backward for example madam.
Abhijeet Pal: Python Program to Check If number is Even or Odd
2019-05-17 11:54:49
Make a Python program to check wheater the given number is Even or Odd.
Talk Python to Me: #212 Python in Web Assembly with Pyodide
2019-05-17 08:00:00
It's been said that JavaScript is the assembly language of the web. But should you be should be required to write code in assembly language or JavaScript?
EuroPython: EuroPython 2019: Sponsor brochure available
2019-05-17 07:23:30
We are pleased to present our EuroPython 2019 Sponsor Brochure:
Codementor: Python Modules | All You Need To Know
2019-05-17 06:30:18
This blog will walk you through the concept of modules in python in detail. Starting from how to create a module in python to using them in your program.
Roberto Alsina: Coffee As a Service Architecture
2019-05-16 22:30:55
Today I was in a meeting with recruiters (yes, really) because they want to be better at technical recruiting and they had the idea that talking to me would help them (oh, sweet summer children).
Steve Dower: Debugging Cython with WinDBG
2019-05-16 22:18:33
This is one of those ânote to selfâ kinds of blogs. I spent just enough time figuring this out right now that I donât want to repeat, so hereâs a problem that I hit and the solution. Hopefully it helps someone else besides future-me.
Codementor: Remote Debugging Guide for Python
2019-05-16 21:49:00
Learn how to go beyond print and logging to debug tough problems efficiently using remote debugging in python
NumFOCUS: Two Sigma Renews Corporate Sponsorship of NumFOCUS
2019-05-16 19:27:08
The post Two Sigma Renews Corporate Sponsorship of NumFOCUS appeared first on NumFOCUS.
Davy Mitchell: Monitoring Earthquakes Curses
2019-05-16 18:07:00
No <p> found.
Neckbeard Republic: Installing Python on Windows, macOS, and Linux
2019-05-16 14:00:00
To get started working with Python, you'll need to have access to the Python interpreter. There are several common ways to accomplish this and in this course, you will learn how to install the latest version of Python on your computer.
Stack Abuse: Python for NLP: Working with the Gensim Library (Part 2)
2019-05-16 13:46:00
This is my 11th article in the series of articles on Python for NLP and 2nd article on the Gensim library in this series. In a previous article, I provided a brief introduction to Python's Gensim library. I explained how we can create dictionaries that map words to their corresponding numeric Ids. We further discussed how to create a bag of words corpus from dictionaries. In this article, we will study how we can perform topic modeling using the Gensim library.
Dataquest: Tutorial: Text Analysis in Python to Test a Hypothesis
2019-05-16 11:32:22
Learn to do some text analysis in this Python tutorial, and test hypotheses using confidence intervals to insure your conclusions are significant.
Moshe Zadka: Inbox Zero
2019-05-16 04:42:52
I am the parent of two young kids. It is easy to sink into random stuff, and not follow up on goals. Strict time management and priotization means I get to work on open source projects, write programming books and update my blog with a decent cadence. Since a lot of people were asking me how to do it, I wanted to share my methodology. The following is descriptive, not prescriptive.
Peter Bengtsson: How I simulate a CDN with Nginx
2019-05-15 18:08:46
Usually, a CDN is just a cache you put in front of a dynamic website. You set up the CDN to be the first server your clients get data from, the CDN quickly decides if it was a copy cached or otherwise it asks the origin server for a fresh copy. So far so good, but if you really care about squeezing that extra performance out you need to worry about having a decent TTL and as soon as you make the TTL more than a couple of minutes you need to think about cache invalidation. You also need to worry about preventing certain endpoints from ever getting caught in the CDN which could be very bad.
Hynek Schlawack: The Price of the Hallway Track
2019-05-15 18:00:00
There are many good reasons to not go to every talk possible when attending conferences. However increasingly it became hip to boast with not going to talks at all â encouraging others to follow suit. As a speaker, that rubs me the wrong way and Iâll try to explain why.
Python Software Foundation: Paul Ganssle: Time Zones In The Standard Library
2019-05-15 16:20:11
No <p> found.
Python Software Foundation: Russell Keith-Magee: Python On Other Platforms
2019-05-15 16:19:39
No <p> found.
Nathan Piccini Data Science Dojo Blog: Network Theory and Game of Thrones - A Perfect Combination
2019-05-15 14:00:00
Game of Thrones is arguably one of the biggest pop culture phenomena to hit the public consciousness in the last decade. Since the hype for the final season's arrival has gone down a bit, especially mine after episode three , I thought I could use this time to finally explore a side of Data Science that has always intrigued me - Network Theory, and combine it with a topic I am very invested in - Game of Thrones. Just to be clear I won't be making any claims or predictions about the plot of the show - No Spoilers. I just want to use Game of Thrones as a hopefully relatable context for discussing the analysis techniques.
Real Python: Three Ways of Storing and Accessing Lots of Images in Python
2019-05-15 14:00:00
Why would you want to know more about different ways of storing and accessing images in Python? If youâre segmenting a handful of images by color or detecting faces one by one using OpenCV, then you donât need to worry about it. Even if youâre using the Python Imaging Library (PIL) to draw on a few hundred photos, you still donât need to. Storing images on disk, as .png or .jpg files, is both suitable and appropriate.
Andre Roberge: Friendlier tracebacks
2019-05-15 12:51:49
No <p> found.
Python Software Foundation: The 2019 Python Language Summit
2019-05-15 12:51:02
No <p> found.
Django Weblog: Unauthenticated Remote Code Execution on djangoci.com
2019-05-15 12:00:00
Yesterday the Django Security and Operations teams were made aware of a remote code execution vulnerability in the Django Software Foundation's Jenkins infrastructure, used to run tests on the Django code base for GitHub pull requests and release branches. In this blog post, the teams want to outline the course of events.
codingdirectional: Count the vowel characters within a string with Python function
2019-05-15 04:36:26
Hello and welcome back, we will start a new python project soon but for now, let us continue solving some python related problems first in this post and beyond.
Vasudev Ram: print(5 * '=' * 5 == '=' * 5 * 5 == 5 * 5 * '=')
2019-05-15 04:00:36
BangPypers: Pycon India 2019 is coming!
2019-05-15 00:00:00
PyCoderâs Weekly: Issue #368 (May 14, 2019)
2019-05-14 19:30:00
#368 â MAY 14, 2019 View in Browser »
PyCharm: PyCharm 2019.1.2
2019-05-14 17:48:36
The observant among you may have noticed that PyCharm was updated last week without an accompanying blog post. This happened as all of us on the blog team were busy with PyCon. To hopefully make up for the delay weâve published a PyCon interview with Michael Kennedy on YouTube, and expect to see more interviews there soon!
Neckbeard Republic: Writing Cleaner Python Code With PyLint
2019-05-14 14:00:00
In this video series you'll see how to install and set up the PyLint code linter tool. You'll learn why you should use code linters like PyLint, Flake8, PyFlakes, or other static analysis toolsâand how they can help you write cleaner and more Pythonic code.
Stack Abuse: Working with PDFs in Python: Adding Images and Watermarks
2019-05-14 13:26:00
Today, a world without the Portable Document Format (PDF) seems to be unthinkable. It has become one of the most commonly used data formats ever. Up to PDF version 1.4, displaying a PDF document in an according PDF viewer works fine. Unfortunately, the features from the newer PDF revisions, such as forms, are tricky to implement, and still require further work to be fully functional in the tools. Using various Python libraries you can create your own application in an comparable easy way.
Python Bytes: #130 Python.exe now shipping with Windows 10
2019-05-14 08:00:00
No summary found!
Mike Driscoll: How to Extract Build Info from Jenkins with Python
2019-05-14 05:05:06
I work with continuous integration software as a part of my job. I use both Hudson and Jenkins in my role and occasionally need to interact with them programmatically. There are two Python packages you can use for this task:
Vladimir Iakolev: Finding the cheapest flights for a multi-leg trip with Amadeus API and Python
2019-05-13 21:46:56
PyCharm: New Book: âEffective PyCharmâ by Michael Kennedy and Matt Harrison
2019-05-13 17:41:43
PyCon 2019 last week was exciting for us for many reasons but near the top of the list: the reveal of Effective PyCharm, a new book by Michael Kennedy and Matt Harrison.
EuroPython: EuroPython 2019: Talk Voting is open
2019-05-13 15:54:48
Talk voting is your chance to tell us what youâd like to see at EuroPython 2019. We will leave talk voting open until:
Zato Blog: API validation with JSON Schema
2019-05-13 14:24:33
Employing JSON Schema is an easy and straightforward way to validate input to your APIs - learn below how it can be enabled in Zato 3.1+ services in one line of code.
Real Python: Playing and Recording Sound in Python
2019-05-13 14:00:00
If you want to use Python to play or record sound, then youâve come to the right place! In this tutorial, youâll learn how to play and record sound in Python using some of the most popular audio libraries. You will learn about the most straight-forward methods for playing and recording sound first, and then youâll learn about some libraries that offer some more functionality in exchange for a few extra lines of code.
Stories in My Pocket: Recommended podcast episode: No Plans to Merge "Feature Branches"
2019-05-13 13:45:47
No Plans to Merge is a newer podcast to me. The hosts, Daniel Coulbourne & Caleb Porzio, have a chemistry that is much deeper than their episode count would suggest, as this podcast is the successor to another show that ended a few months ago.
Chris Moffitt: Stylinâ with Pandas
2019-05-13 12:25:00
I have been working on a side project so I have not had as much time to blog. Hopefully I will be able to share more about that project soon.
Ned Batchelder: Coverage.py 5.0a5: pytest contexts
2019-05-13 12:14:20
Development of version 5 of coverage.py is going slowly, but it is progressing. The latest alpha is out: coverage.py 5.0a5.
EuroPython Society: EuroPython 2019: Early-bird ticket sales open today
2019-05-13 08:02:19
europython:
EuroPython: EuroPython 2019: Early-bird ticket sales open today
2019-05-13 08:01:13
As previously announced, we will be opening early-bird tickets sales today at 12:00 CEST.
Mike Driscoll: PyDev of the Week: Tania Allard
2019-05-13 05:05:47
This week we welcome Tania Allard (@ixek) as our PyDev of the Week! Tania is a developer advocate at Microsoft. She is also a speaker at multiple conferences. If youâd like to learn more about her, you should check out her blog. She also has some of her projects up on Github for you to peruse. Letâs take a few moments to get to know Tania!
Podcast.__init__: Building A Privacy Preserving Voice Assistant
2019-05-13 02:28:24
Being able to control a computer with your voice has rapidly moved from science fiction to science fact. Unfortunately, the majority of platforms that have been made available to consumers are controlled by large organizations with little incentive to respect usersâ privacy. The team at Snips are building a platform that runs entirely off-line and on-device so that your information is always in your control. In this episode Adrien Ball explains how the Snips architecture works, the challenges of building a speech recognition and natural language understanding toolchain that works on limited resources, and how they are tackling issues around usability for casual consumers. If you have been interested in taking advantage of personal voice assistants, but wary of using commercially available options, this is definitely worth a listen.
Codementor: Simplest algorithm to get started with machine learning
2019-05-12 16:41:48
Description of on of the simplest classification algorithms. It helped me to get started with machine learning.
Reuven Lerner: Python dicts and memory usage
2019-05-12 14:29:53
Letâs say that we create a new, empty Python dictionary:
ListenData: Python Lambda Function with Examples
2019-05-12 12:22:48
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Zero-with-Dot (Oleg ƻero): AJAX calls in Django 2.2
2019-05-11 22:00:00
AJAX (Asyncroneous JavaScript and XML) is a great way of updating client content without the need to reload the whole webpage. When working with Django, the front-end code is rendered form the backend as a part of template generation. So is any JavaScript code.
Weekly Python StackOverflow Report: (clxxvii) stackoverflow python report
2019-05-11 20:53:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-05-11 20:53:04 GMT
Talk Python to Me: #211 Classic CS problems in Python
2019-05-11 08:00:00
Many of you studied computer science at a University to get into programming and your careers. But I bet most of you came through some self-study or some sort of back door into the industry. I count myself among that crowd.
ListenData: Data Analysis in Python using Pandas - 50 Examples
2019-05-11 04:37:28
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
ListenData: Python Data Structures
2019-05-11 04:03:45
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Stack Abuse: Introduction to Reinforcement Learning with Python
2019-05-10 17:24:40
Reinforcement Learning is definitely one of the most active and stimulating areas of research in AI.
Stack Abuse: Python for NLP: Working with the Gensim Library (Part 1)
2019-05-10 15:24:52
This is the 10th article in my series of articles on Python for NLP. In my previous article, I explained how the StanfordCoreNLP library can be used to perform different NLP tasks.
Reinout van Rees: PyGrunn: advanced pytest - Ăscar Vilaplana
2019-05-10 14:24:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Reinout van Rees: PyGrunn: python as a scientist's playground - Peter Kroon
2019-05-10 13:11:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Gocept Weblog: Celebration: Zope 4 final release
2019-05-10 12:46:11
TL;DR: Zope 4 beta phase ended, final version released!
Reuven Lerner: Weekly Python Exercise A2 (functions + modules for beginners) closes today
2019-05-10 12:30:18
If you are a relative beginner to Python, and want to improve your understanding of functions and modules, then thereâs no better way to do so than practice.
Reinout van Rees: PyGrunn: data processing and visualisation of tractor data - Erik-Jan Blanksma
2019-05-10 12:13:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Reinout van Rees: PyGrunn: embedding the python interpreter - Mark Boer
2019-05-10 11:25:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Reinout van Rees: PyGrunn: lessons from using GraphQL in production - Niek Hoekstra & Jean-Paul van Oosten
2019-05-10 10:41:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Reinout van Rees: PyGrunn: testing your infrastructure code - Ruben Homs
2019-05-10 09:05:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Reinout van Rees: PyGrunn: a day has only 24 ± 1 hours - Miroslav Ć edivĂœ
2019-05-10 08:31:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Reinout van Rees: PyGrunn: monitoring and profiling Flask apps - Patrick Vogel & Bogdan Petre
2019-05-10 07:30:00
(One of my summaries of a talk at the 2019 PyGrunn conference).
Mike Driscoll: An Intro to StaticBox and StaticBoxSizers
2019-05-09 22:15:48
There are many widgets that are included with the wxPython GUI toolkit. One of them is a fairly handy widget called wx.StaticBox. This widget accepts a string and then will draw a box with the string in the upper left-hand corned of the box. However this only works when you use it in conjunction with wx.StaticBoxSizer.
Reinout van Rees: Pygrunn preparations
2019-05-09 18:37:00
Tomorrow (friday 2019-05-10), I'm going to the nice one-day Dutch python (and friends) pygrunn conference in Groningen (NL) again. Sold out, as usual. And rightfully so.
Reinout van Rees: Utrecht (NL) python meetup september 2018
2019-05-09 16:21:00
He collaborated with data scientists from Wageningen University. The scientists did lots of cool programming stuff. But they did not use version control, so they introduced git :-) They also had lots and lots of data, so they introduced Apache Spark.
Reinout van Rees: Plain text pypi description formatting: possible cause
2019-05-09 16:21:00
Sometimes projects have a plaintext description on pypi.org. You see the restructuredtext formatting, but it isn't applied. See my own z3c.dependencychecker 2.4.2 for example.
Reinout van Rees: Ansible provision/deploy setup
2019-05-09 16:21:00
I never got around to write down the ansible setup I figured out (together with others, of course, at my previous job) for deploying/provisioning django websites.
Reinout van Rees: Djangocon: Graphql in python and django - Patrick Arminio
2019-05-09 16:21:00
(One of my summaries of a talk at the 2018 European djangocon.)
Reinout van Rees: Djangocon: survival tricks and tools for remote developers - Alessio Bragadini
2019-05-09 16:21:00
(One of my summaries of a talk at the 2018 European djangocon.)
Stack Abuse: Test Driven Development with pytest
2019-05-09 13:48:00
Good software is tested software. Testing our code can help us catch bugs or unwanted behavior.
Evennia: Podcast about Evennia
2019-05-09 13:39:45
No <p> found.
PyCharm: Webinar: â42 PyCharm Tips and Tricksâ with Paul Everitt
2019-05-09 13:14:48
PyCharm brings a boatload of IDE features to professional Python development. Want to âlevel upâ and learn productivity boosters? This hands-on, fast-paced webinar, run by Paul Everitt from the PyCharm team, covers tips across all the major product features.
EuroPython: EuroPython 2019: CFP ends on May 12
2019-05-09 08:36:43
We would like to remind you that the Call for Proposals closes this coming Sunday:
Wingware Blog: Renaming Symbols and Attributes in Python Code with Wing Pro's Refactoring Tool
2019-05-09 01:00:00
In the previous Wing Tips post we looked at using multiple selections to edit several parts of code at once. As part of that, we briefly mentioned that refactoring is a better approach when renaming a symbol or attribute globally. Let's take a closer look at that now.
Codementor: First Rule of Coding: Don't Panic.
2019-05-08 19:54:02
Learn the first rule of coding, and the first rule of debugging.
Mike Driscoll: Creating GUI Applications with wxPython Now Available
2019-05-08 17:15:37
My latest book, Creating GUI Applications with wxPython is now available for purchase.
Stack Abuse: Overview of Classification Methods in Python with Scikit-Learn
2019-05-08 14:46:14
Are you a Python programmer looking to get into machine learning? An excellent place to start your journey is by getting acquainted with Scikit-Learn.
Real Python: Python Community Interview With Bob and Julian of PyBites
2019-05-08 14:00:00
This week, Iâm joined by Bob Belderbos and Julian Sequeira of PyBites fame. Bob is a Software Developer at Oracle, Spain. Julian is a Data Center Technician at Amazon Web Services, in Australia.
Python Insider: Farewell, Python 3.4
2019-05-08 11:40:52
No <p> found.
EuroPython: EuroPython 2019: Early-bird ticket sales
2019-05-08 07:19:47
As in the last few years, we will again have early-bird ticket sales for the conference.
PyBites: How to Create and Serve Zipfiles from Django
2019-05-08 06:00:00
We added support to our platfom for bulk downloading of all your code submissions. This feature required creating and serving up zipfiles through Django. In this article I show you how to do it creating a simple Django app collecting code snippets through the admin interface, and serving them up in a zipfile via a download endpoint. Let's dive straight in ...
Reuven Lerner: âPython Workoutâ is Manningâs Deal of the Day!
2019-05-08 04:30:12
If youâve just finished a Python course or book, then you might feel a bit nervous about your Python knowledge. You might be wondering how you can become a master Python developer, solving problems without turning to Stack Overflow every few minutes.
Wingware News: Wing Python IDE 7.0.2 - May 8, 2019
2019-05-08 01:00:00
Wing 7.0.2 has been released. This is a minor release that includes the following fixes and improvements:
PyCoderâs Weekly: Issue #367 (May 7, 2019)
2019-05-07 19:30:00
#367 â MAY 7, 2019 View in Browser »
Reuven Lerner: My interview on the âTalk Pythonâ podcast
2019-05-07 16:33:31
I was delighted to appear on the popular âTalk Python to Meâ podcast, run by Michael Kennedy. In the podcast, I talk about teaching, learning, and teaching Python to companies. If youâre interested in how to learn better or teach better, then I think youâll enjoy this episode!
Abhijeet Pal: Python Program To Generate Fibonacci Sequence
2019-05-07 14:43:04
Make a Python function for generating a Fibonacci sequence. The Fibonacci sequence is a series where the next term is the sum of the previous two terms. The first two terms of the Fibonacci sequence is 0 followed by 1.
Neckbeard Republic: Python Context Managers and the &quot;with&quot; Statement
2019-05-07 14:00:00
In this course you'll learn how context managers and the "with" statement work in Python, including the difference between class-based and function-based context managers.
EuroPython Society: EuroPython 2019: Call for Sponsors
2019-05-07 07:36:21
europython:
EuroPython: EuroPython 2019: Call for Sponsors
2019-05-07 07:31:42
Reach out to many enthusiastic Python developers, users and professionals in Basel this July !
Tryton News: Tryton Release 5.2
2019-05-07 06:00:10
@ced wrote:
Kogan Dev
2019-05-07 04:30:02
No <p> found.
Podcast.__init__: Hacking The Government With The USDS
2019-05-07 01:30:55
The U.S. government has a vast quantity of software projects across the various agencies, and many of them would benefit from a modern approach to development and deployment. The U.S. Digital Services Agency has been tasked with making that happen. In this episode the current director of engineering for the USDS, David Holmes, explains how the agency operates, how they are using Python in their efforts to provide the greatest good to the largest number of people, and why you might want to get involved. Even if you donât live in the U.S.A. this conversation is worth listening to so you can see an interesting model of how to improve government services for everyone.
Stein Magnus Jodal: Pykka 2.0 released with better ergonomics and performance improvements
2019-05-07 00:00:00
Iâve finally released Pykka 2.0, the first major update to Pykka in almost six years.
Codementor: Solving problems with virtualenvwrapper using mismatched python versions
2019-05-06 23:09:32
TLDR
* understand the precedence of PATH
* understand where PATH is usually set
* make sure your python version is using the corresponding pip shell command
Although this is geared specifically...
Continuum Analytics Blog: Updated Statement About Our Relationship with DataCamp
2019-05-06 22:34:36
We apologize for our poor communications about our response to the DataCamp sexual misconduct incident. We support the victims and we understand this has been a painful and ongoing struggle for them. We also recognizeâŠ
Real Python: How to Use sorted() and sort() in Python
2019-05-06 14:00:00
All programmers will have to write code to sort items or data at some point. Sorting can be critical to the user experience in your application, whether itâs ordering a userâs most recent activity by timestamp, or putting a list of email recipients in alphabetical order by last name. Python sorting functionality offers robust features to do basic sorting or customize ordering at a granular level.
Gocept Weblog: Zope Spring Cleaning: Last minute information
2019-05-06 08:59:11
As the beta permission of Earl Zope in Python 3 wonderland was extended in October 2018, gocept invites Zope developers to the upcoming sprint from 08.05. till 10.05.2019 in Halle (Saale), Germany, to continue together on the work, which is still left.
Julien Danjou: An Introduction to Functional Programming with Python
2019-05-06 08:58:00
Many Python developers are unaware of the extent to which you can use functional programming in Python, which is a shame: with few exceptions, functional programming allows you to write more concise and efficient code. Moreover, Pythonâs support for functional programming is extensive.
Python Bytes: #129 Maintaining a Python Project when itâs not your job
2019-05-06 08:00:00
No summary found!
The Code Bits: How to swap two variables in Python
2019-05-06 07:58:13
In this post, we will explore different ways to swap variables in Python.
Mike Driscoll: PyDev of the Week: Joel Grus
2019-05-06 05:05:34
This week we welcome Joel Grus (@joelgrus) as our PyDev of the Week! Joel is the author of Data Science From Scratch: First Principles with Python from OâReilly. You can catch up with Joel on his website or on Github. Letâs take some time to get to know Joel better!
Catalin George Festila: Python 3.7.3 : Using the cognitive face detection from Azure Microsoft .
2019-05-05 11:42:29
The Microsoft Azure comes with this free feature named Computer Vision:
This API key is currently active
7 days remaining
Distill actionable information from images
5,000 transactions, 20 per minute.
You can test with the cognitive_face python module from GitHub.
Another good example of extract printed text can be found at docs.microsoft.com.
Let's install it:
C:\Python373\Scripts>pip install
Reuven Lerner: Making your Python decorators even better, with functool.wraps
2019-05-05 11:04:13
The good news: I gave a talk on Friday morning, at PyCon 2019, called âPractical decorators.â
ListenData: Data Analysis in Python using Pandas - 50+ Examples
2019-05-05 03:01:46
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Weekly Python StackOverflow Report: (clxxvi) stackoverflow python report
2019-05-04 19:37:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-05-04 19:37:38 GMT
Codementor: Let's talk Singleton
2019-05-04 09:56:02
A brief introduction to the Singleton design pattern with python
Catalin George Festila: Python 3.7.3 : Try Ethereum with web3.
2019-05-03 15:28:19
Today I tested the web3 python module.
This is the Ethereum python module.
More about this python module can be found here.
Ethereum programming has a large area of development.
For transaction you can use:
from web3 import Web3, HTTPProvider, IPCProvider, WebsocketProvider
I tested with an account from infura.io.
>>> from web3 import Web3, HTTPProvider, IPCProvider, WebsocketProvider
>>> w3 =
Reuven Lerner: Get codes + slides from my âPractical Decoratorsâ talk from PyCon 2019
2019-05-03 15:10:59
Earlier today, I presented my âPractical Decoratorsâ talk at PyCon 2019, about decorators in Python. What fun!
Reuven Lerner: Get code + slides from my âPractical Decoratorsâ talk from PyCon 2019
2019-05-03 15:10:59
Earlier today, I presented my âPractical Decoratorsâ talk at PyCon 2019, about decorators in Python. What fun!
Stack Abuse: Python for NLP: Getting Started with the StanfordCoreNLP Library
2019-05-03 13:47:00
This is the ninth article in my series of articles on Python for NLP. In the previous article, we saw how Python's Pattern library can be used to perform a variety of NLP tasks ranging from tokenization to POS tagging, and text classification to sentiment analysis. Before that we explored the TextBlob library for performing similar natural language processing tasks.
Test and Code: PyCon 2019 Live Recording
2019-05-03 07:00:00
This is a "Yay! It's PyCon 2019" episode. PyCon is very important to me. But it's kinda hard to put a finger on why. So I figured I'd ask more people to help explain why it's important. I ask a few simple questions to people about Python and PyCon and get some great insights into both the language popularity and the special place this conference holds to many people.
Quansight Labs Blog: Labs update and April highlights
2019-05-03 05:00:00
It has been an exciting first month for me at Quansight Labs. It's a good time for a summary of what we worked on in April and what is coming next.
Wingware Blog: Using Multiple Selections in Wing Python IDE to Avoid Repetitive Code Editing Tasks
2019-05-03 01:00:00
In this issue of Wing Tips we take a look at making multiple concurrent selections on the editor, in order to apply a single edit simultaneously to several parts of code.
Python Engineering at Microsoft: Remote Python Development in Visual Studio Code
2019-05-02 18:00:19
Today at PyCon 2019, Microsoftâs Python and Visual Studio Code team announced remote development in Visual Studio Code, enabling Visual Studio Code developers to work in development setups where their code and tools are running remotely inside of docker containers, remote SSH hosts, and Windows Subsystem for Linux (WSL), while you still get a rich and seamless user experience locally.
Continuum Analytics Blog: Anacondaâs Response to DataCampâs CEO and Board of Directors
2019-05-02 17:58:48
DataCamp has been a business partner of our company for almost two years. So we were shocked and saddened by the recent allegations of inappropriate sexual behavior and retaliatory firings made against DataCampâs CEO andâŠ
Codementor: PyMongo Tutorial: Testing MongoDB Failover in Your Python App
2019-05-02 17:10:56
How to connect an SSL-enabled MongoDB replica set with self-signed certificates using PyMongo, and testing failover behavior in your Python code - ScaleGrid Blog
Stack Abuse: The Python Math Library
2019-05-02 16:03:47
The Python Math Library provides us access to some common math functions and constants in Python, which we can use throughout our code for more complex mathematical computations. The library is a built-in Python module, therefore you don't have to do any installation to use it. In this article, we will be showing example usage of the Python Math Library's most commonly used functions and constants.
Reuven Lerner: Announcing: Weekly Python Exercise A2 â functions and modules for Python beginners
2019-05-02 14:18:43
I spend just about every day teaching Python to people at companies around the world. Iâm always amazed to see just how popular Python is, and how many people are using it â and in how many ways they are using it.
Stack Abuse: Constraint Programming with python-constraint
2019-05-02 13:26:00
The first thing we have to understand while dealing with constraint programming is that the way of thinking is very different from our usual way of thinking when we sit down to write code.
Catalin George Festila: Python 3.7.3 and Django CMS.
2019-05-02 13:18:30
From official www.django-cms.org:
django CMS was originally conceived by web developers frustrated with the technical and security limitations of other systems. Its lightweight core makes it easy to integrate with other software and put to use immediately, while its ease of use makes it the go-to choice for content managers, content editors and website admins.
The django-crm.readthedocs.io/en/
eGenix.com: PyDDF Python Spring Sprint 2019
2019-05-02 08:00:00
The following text is in German, since we're announcing a Python sprint in DĂŒsseldorf, Germany.
Python Bytes: #128 Will the GIL be obsolete with PEP 554?
2019-05-02 08:00:00
No summary found!
Talk Python to Me: #210 Making the most out of in-person training
2019-05-02 08:00:00
How do you stay up on your Python skills. Many of us are self-starters and good at learning on our own or online with the video courses like the ones we have over at Talk Python. But sometimes, having everyone on your team go from zero to ready to work on a project is the best path. And that usually means in-person training.
PyCon: Building the PSF: the Q2 2019 Fundraiser
2019-05-02 07:00:48
No <p> found.
PyCon: Thank You Facebook and Instagram for supporting the Python Software Foundation!
2019-05-02 06:59:37
No <p> found.
Quansight Labs Blog: What's New in SymPy 1.4
2019-05-02 05:00:00
As of November, 2018, I have been working at Quansight, under the heading of Quansight Labs. Quansight Labs is a public-benefit division of Quansight. It provides a home for a "PyData Core Team" which consists of developers, community managers, designers, and documentation writers who build open-source technology and grow open-source communities around all aspects of the AI and Data Science workflow. As a part of this, I am able to spend a fraction of my time working on SymPy. SymPy, for those who do not know, is a symbolic mathematics library written in pure Python. I am the lead maintainer of SymPy.
Mike Driscoll: Books on Sale for PyCon 2019
2019-05-01 19:04:21
In honor of PyCon 2019 that is starting this week, I am putting three of my books on sale. You can get any of the following books for $9.99 through May 6th by clicking on the links:
NumFOCUS: IBM Renews Corporate Sponsorship of NumFOCUS
2019-05-01 17:49:51
The post IBM Renews Corporate Sponsorship of NumFOCUS appeared first on NumFOCUS.
Python Software Foundation: Building the PSF: the Q2 2019 Fundraiser
2019-05-01 17:47:35
No <p> found.
Stack Abuse: Analysis of Black Friday Shopping Trends via Machine Learning
2019-05-01 16:08:55
Wikipedia defines Black Friday as an informal name for the Friday following Thanksgiving Day in the United States, which is celebrated on the fourth Thursday of November. [Black Friday is] regarded as the beginning of America's Christmas shopping season [...].
Real Python: Defining Main Functions in Python
2019-05-01 14:00:00
Many programming languages have a special function that is automatically executed when an operating system starts to run a program. This function is usually called main() and must have a specific return type and arguments according to the language standard. On the other hand, the Python interpreter executes scripts starting at the top of the file, and there is no specific function that Python automatically executes.
Codementor: Beautiful Machine Learning Pipeline with Scikit-Learn
2019-05-01 09:35:03
The post is to give a thought how to use scikit-learn API to create a beautiful machine learning pipeline
Django Weblog: Django bugfix release: 2.2.1
2019-05-01 05:06:46
Today we've issued the 2.2.1 bugfix release.
NumFOCUS: DISC Committee Nominations are open for 2019-2021 positions
2019-04-30 21:51:30
The post DISC Committee Nominations are open for 2019-2021 positions appeared first on NumFOCUS.
PyCoderâs Weekly: Issue #366 (April 30, 2019)
2019-04-30 19:30:00
#366 â APRIL 30, 2019 View in Browser »
Continuum Analytics Blog: Reflections on AnacondaCON 2019 with NVIDIAâs Josh Patterson
2019-04-30 17:01:47
I love this month. April 19â brings back Game of Thrones, Avengers: Endgame (that Thanos snap though), and of course AnacondaCON. Iâve been to every AnacondaCON, which makes this my third show. Of all dataâŠ
Neckbeard Republic: Make a Location-Based Web App With Django and GeoDjango
2019-04-30 14:00:00
Learn how to use Django and GeoDjango to build a location-based web application from scratch. Youâll be building a simple nearby shops application that lists the shops closest to a userâs location.
Codementor: HOW TO GET STARTEDÂ WITH
2019-04-30 11:13:52
this article will help people to find a path to get started their journey with machine learning
Low Kian Seong: How do you run inspec.io on Solaris without killing yourself ??
2019-04-30 07:58:22
No <p> found.
Catalin George Festila: Python 3.7.3 : Fix kivy python module installation.
2019-04-30 06:16:32
Kivy is a multi-platform GUI development library for Python, running on Windows, Mac, Linux, Android, and iOS.
Today I tested kivy python module with python version 3.7.3 and I got some errors but I fixed.
I started with the default installation using the pip tool.
C:\Python373>cd Scripts
C:\Python373\Scripts>pip install kivy
...
Installing collected packages: docutils, pygments, Kivy-Garden,
Quansight Labs Blog: uarray: A Generic Override Framework for Methods
2019-04-30 05:04:40
uarray is an override framework for methods in Python. In the scientific Python ecosystem, and in other similar places, there has been one recurring problem: That similar tools to do a job have existed, but don't conform to a single, well-defined API. uarray tries to solve this problem in general, but also for the scientific Python ecosystem in particular, by defining APIs independent of their implementations.
Matt Layman: Teaching a kid to code with Pygame Zero
2019-04-30 00:00:00
How can you excite a kid about coding and computers? As a software developer and father of two children, I think about this question often. A person with software skills can have big advantages in our modern world, so I’d like to equip my kids for their future.
In my home, we play video games together. My children (aged six and four) watch me play through many classics like Super Mario World and The Legend of Zelda: A Link to the Past.
Wingware Blog: Overlaying Debug Data onto Wing Pro 7's Editor
2019-04-29 21:47:18
Wing 7 has been released, so in this issue of Wing Tips we take a look at one of the new debugger features in Wing Pro 7: The ability to press and hold Shift-Space to display the value of all visible symbols, using an overlay on top of the editor.
Catalin George Festila: Python 3.7.3 : Get location of International Space Station.
2019-04-29 15:59:54
Today I tested the urllib python module with python 3.7.3 and json python module.
The issue was to get the location of International Space Station - Open Notify.
The International Space Station is moving at close to 28,000 km/h so its location changes really fast! Where is it right now?
This is an open source project to provide a simple programming interface for some of NASAâs awesome data.
I do
Real Python: How to Get the Most Out of PyCon
2019-04-29 14:00:00
Congratulations! Youâre going to PyCon!
Reuven Lerner: Improve your Python skills with my new book: Python Workout
2019-04-29 13:30:57
A few years ago, I noticed that many of the participants in my corporate Python courses were asking the same question: How can I get additional practice?
Artem Golubin: Detecting SQL injections in Python code using AST
2019-04-29 13:15:49
Python has a built-in ast module that lets you inspect, parse and edit Python code. AST stands for abstract syntax tree, a data structure that makes it easy to analyze, inspect and edit programming language code.
PyCharm: Content Creators at the PyCharm PyCon Booth
2019-04-29 12:02:20
PyCharm is very excited to be hosting some of the big names in the world of Python content, aka the âContent Creators.â Who are they, what do they do, and what do they have going on in the booth at PyCon?
Test and Code: Technical Interview Fixes - April Wensel
2019-04-29 07:00:00
Some typical technical interview practices can be harmful and get in the way of hiring great people. April Wensel offers advice to help fix the technical interview process.
Mike Driscoll: PyDev of the Week: Neil Muller
2019-04-29 05:05:01
This week we welcome Neil Muller as our PyDev of the Week! Neil is an organizer for Cape Town Python User Group and PyCon ZA. He also speaks at conferences! You can learn more about his open source projects over on Github. Letâs take a few moments to get to know Neil better!
Podcast.__init__: Probabilistic Modeling In Python (And What That Even Means)
2019-04-29 02:19:55
Most programming is deterministic, relying on concrete logic to determine the way that it operates. However, there are problems that require a way to work with uncertainty. PyMC3 is a library designed for building models to predict the likelihood of certain outcomes. In this episode Thomas Wiecki explains the use cases where Bayesian statistics are necessary, how PyMC3 is designed and implemented, and some great examples of how it is being used in real projects.
Catalin George Festila: Python 3.7.3 and memory_profiler python module.
2019-04-28 11:17:43
Today I will come up with a simpler and more effective tutorial in python programming.
First, I need to install the psutil python module for the example of this tutorial.
C:\Python373>cd Scripts
C:\Python373\Scripts>pip install psutil
Python memory monitor is very important for debugging application performance and fix bugs.
You can solve this issue is the python module named memory_profiler, see
Talk Python to Me: #209 Inside Python's new governance model
2019-04-28 08:00:00
We all got a bit of a shock to the system when Guido van Rossum decided to step down as the leader and top decider of the Python language and CPython runtime. This happened due to many factors but was precipitated by the so- called walrus operator (PEP 572).
Low Kian Seong: Some of the things I did not anticipate ...
2019-04-28 07:37:33
No <p> found.
A. Jesse Jiryu Davis: PyCon Canada Video: API Evolution the Right Way
2019-04-27 12:07:22
I gave this talk at PyCon Canada in Toronto, in November 2018. You can also read my article on the same topic.
Weekly Python StackOverflow Report: (clxxv) stackoverflow python report
2019-04-27 06:30:00
No <p> found.
Codementor: Deploy your distributed system efficiently with fabric
2019-04-27 02:18:58
In former article How to build a scaleable crawler to crawl million pages...
Catalin George Festila: Django REST framework - part 001.
2019-04-27 00:27:10
Today I will introduce you a tutorial to fix some of the necessary elements presented in the old tutorial.
The manage tool shell can also give us some info:
C:\Python373\Scripts\example>python manage.py shell
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD6
4)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
Stories in My Pocket: Don't be afraid of Test-Driven Development
2019-04-26 16:46:22
Throughout my career, the teams Iâve been on have had a wide range of views on using tests while developing code. As Iâve moved between teams, listened to podcasts, and read articles, Iâve assembled some notes that would have been very useful for me in the past. Some of these notes are getting compiled into a book, but some of them are too important to wait. I want to convince you to try testing your code.
PyCharm: Webinar Recording: âEffective Data Science with PyCharmâ with Dan Tofan
2019-04-26 14:22:05
Yesterday we hosted a webinar with Dan Tofan, author of the recent Pluralsight course Boost Data Science Productivity with PyCharm. Dan gave a tour of how data scientists can put a professional IDE like PyCharm Professional to work, emphasizing our Scientific Mode, newly-reimplemented Jupyter Notebook support, and the Databases tool from DataGrip. The recording is now available.
Stack Abuse: Python for NLP: Introduction to the Pattern Library
2019-04-26 13:45:00
This is the eighth article in my series of articles on Python for NLP. In my previous article, I explained how Python's TextBlob library can be used to perform a variety of NLP tasks ranging from tokenization to POS tagging, and text classification to sentiment analysis. In this article, we will explore Python's Pattern library, which is another extremely useful Natural Language Processing library.
Catalin George Festila: Python 3.7.3 and Django REST framework.
2019-04-26 13:01:31
Today I tested something simpler for beginners: Django REST framework.
Once you understand how it works then it's simple to use.
This tutorial does not address the security issues generated by the REST, Django framework.
The official webpage comes with many information and technical specifications for this API:
Django REST framework is a powerful and flexible toolkit for building Web APIs.
The
ListenData: Create Dummy Data in Python
2019-04-26 11:30:01
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
PyCon: An update regarding PyCon 2019 sponsor DataCamp
2019-04-25 21:59:27
No <p> found.
Continuum Analytics Blog: TensorFlow CPU optimizations in Anaconda
2019-04-25 20:54:52
By Stan Seibert, Anaconda, Inc. & Nathan Greeneltch, Intel Corporation TensorFlow is one of the most commonly used frameworks for large-scale machine learning, especially deep learning (weâll call it âDLâ for short). This popular framework hasâŠ
Stack Abuse: Deep vs Shallow Copies in Python
2019-04-25 19:28:27
In this tutorial, we are going to discuss shallow copies vs deep copies with the help of examples in Python. We will cover the definition of a deep and shallow copy, along with its implementation in the Python language to evaluate the core differences between the two types of copies.
Python Engineering at Microsoft: Come meet Microsoft at PyCon 2019!
2019-04-25 17:00:21
Next week we (the Python team here at Microsoft) will be at the PyCon conference in Cleveland, OH on May 1-9, and are looking forward to meeting you! We are excited to support this event as Keystone sponsors of PyCon for the third time, and we will be participating in all aspects of the conference. Come join our workshops, then stop by our booth to get some great swag and check out the latest in Visual Studio Code, Azure, Azure Pipelines, and Python on Windows. Lastly, come work alongside our team at the developer sprints!
Neckbeard Republic: Conditional Statements in Python (if/elif/else)
2019-04-25 14:00:00
In this step-by-step course you'll learn how to work with conditional ("if") statements in Python. Master if-statements step-by-step and see how to write complex decision making code in your programs.
Evennia: Steaming on, eating jam
2019-04-25 10:39:35
No <p> found.
Python Bytes: #127 That Python code is on fire!
2019-04-25 08:00:00
No summary found!
EuroPython Society: EuroPython 2019: Call for Proposals
2019-04-25 07:35:35
europython:
EuroPython: EuroPython 2019: Call for Proposals
2019-04-25 07:27:24
We are happy to announce the Call for Proposals is now open. The CfP will close on Sunday in two weeks:
EuroPython Society: EuroPython 2019: Launching our website
2019-04-25 07:01:52
europython:
EuroPython: EuroPython 2019: Launching our website
2019-04-25 06:59:30
We are happy to announce the launch of our website for EuroPython 2019:
Django Weblog: Paid Internship Opportunity: Build an App for the DSF
2019-04-24 18:43:21
Do you want to get paid to contribute to Django, while learning more about the framework and language? Great: Iâm looking for an intern to implement a new feature here on djangoproject.com. Youâll do the work, youâll get paid, and Iâll be there to support you.
Real Python: Python KeyError Exceptions and How to Handle Them
2019-04-24 14:00:00
Pythonâs KeyError exception is a common exception encountered by beginners. Knowing why a KeyError can be raised and some solutions to prevent it from stopping your program are essential steps to improving as a Python programmer.
Catalin George Festila: Google's Python Class - another step.
2019-04-24 13:55:21
Here's something I like and I hope it should be known in the Python community.
Some people from Google want to attract the python community into a learning process.
Although most of the API documentation examples do not exist in the Python programming language, they have not disappeared.
Let's hope this little step will increase the chances of programming Google with the Python programming
Stack Abuse: Working with PDFs in Python: Reading and Splitting
2019-04-24 13:18:00
Today, the Portable Document Format (PDF) belongs to the most commonly used data formats. In 1990, the structure of a PDF document was defined by Adobe. The idea behind the PDF format is that transmitted data/documents look exactly the same for both parties that are involved in the communication process - the creator, author or sender, and the receiver. PDF is the successor of the PostScript format, and standardized as ISO 32000-2:2017.
tryexceptpass: Designing Continuous Build Systems
2019-04-24 04:00:00
No <p> found.
Python Engineering at Microsoft: Python in Visual Studio Code â April 2019 Release
2019-04-24 00:41:05
We are pleased to announce that the April 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
PyCoderâs Weekly: Issue #365 (April 23, 2019)
2019-04-23 19:30:00
#365 â APRIL 23, 2019 View in Browser »
Codementor: What do companies expect from Python devs in 2019?
2019-04-23 15:13:29
What skills does a Python dev need in 2019? Here is what a data-driven research shows.
Neckbeard Republic: Sending Emails With Python
2019-04-23 14:00:00
In this course, you'll learn how to send emails using Python. Find out how to send plain-text and HTML messages, add files as attachments, and send personalized emails to multiple people. Later on you'll build a CSV-powered email sending script from scratch.
PyCon: Welcome Capital One: Python Software Foundation Principal Sponsor
2019-04-23 09:26:14
No <p> found.
The Code Bits: Printing star patterns in Python: One line tricks!
2019-04-23 07:06:25
In this post, we will see how to print some of the common star patterns using Python3 with one line of code!
Catalin George Festila: Testing firebase with Python 3.7.3 .
2019-04-23 04:56:29
The tutorial for today consists of using the Firebase service with python version 3.7.3 .
As you know Firebase offers multiple free and paid services.
In order to use the Python programming language, we need to use the pip utility to enter the required modules.
If your installation requires other python modules then you will need to install them in the same way.
C:\Python373>pip install
NumFOCUS: NumFOCUS Projects to Apply for Inaugural Google Season of Docs
2019-04-22 21:41:16
The post NumFOCUS Projects to Apply for Inaugural Google Season of Docs appeared first on NumFOCUS.
Podcast.__init__: Exploring Indico: A Full Featured Event Management Platform
2019-04-22 18:18:50
Managing an event is rife with inherent complexity that scales as you move from scheduling a meeting to organizing a conference. Indico is a platform built at CERN to handle their efforts to organize events such as the Computing in High Energy Physics (CHEP) conference, and now it has grown to manage booking of meeting rooms. In this episode Adrian Mönnich, core developer on the Indico project, explains how it is architected to facilitate this use case, how it has evolved since its first incarnation two decades ago, and what he has learned while working on it. The Indico platform is definitely a feature rich and mature platform that is worth considering if you are responsible for organizing a conference or need a room booking system for your office.
Codementor: Variable references in Python
2019-04-22 15:58:41
Variable reference in python
Real Python: A Beginnerâs Guide to the Python time Module
2019-04-22 14:00:00
The Python time module provides many ways of representing time in code, such as objects, numbers, and strings. It also provides functionality other than representing time, like waiting during code execution and measuring the efficiency of your code.
PyCharm: Interview: Dan Tofan for this weekâs data science webinar
2019-04-22 11:47:07
In the past few years, Python has made a big push into data science and PyCharm has as well. Years ago we added Jupyter Notebook integration, then 2017.3 introduced Scientific Mode for workflows that felt more like an IDE. In 2019.1 we re-invented our Jupyter support to also be more like a professional tool.
Ram Rachum: PySnooper: Never use print for debugging again
2019-04-22 10:54:01
I just released a new open-source project!
Mike Driscoll: PyDev of the Week: Dane Hillard
2019-04-22 05:05:25
This week we welcome Dane Hillard (@easyaspython) as our PyDev of the Week! Dane is the author Practices of the Python Pro, an upcoming book from Manning. He is also a blogger and web developer. Letâs take some time to get to know Dane!
The Code Bits: Flask Project for Beginners: Inspirational Quotes
2019-04-21 23:47:58
In this project, we will create a web application that displays a random inspirational quote.
The Code Bits: Getting started with Raspberry Pi and Python
2019-04-21 22:52:17
Hello there!, So you just got a shiny new Raspberry Pi. Well done and congrats! In this tutorial, we are going to look at how we can set up your Raspberry Pi and get it up and running.
Talk Python to Me: #208 Packaging, Making the most of PyCon, and more
2019-04-21 08:00:00
Are you going to PyCon (or a similar conference)? Join me and Kenneth Retiz as we discuss how to make the most of PyCon and what makes it special for each of us.
Weekly Python StackOverflow Report: (clxxiv) stackoverflow python report
2019-04-20 22:01:00
No <p> found.
ListenData: Loops in Python explained with examples
2019-04-20 14:01:29
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
ListenData: Pandas Python Tutorial - Learn by Examples
2019-04-20 09:28:54
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Doug Hellmann: imapautofiler 1.8.0
2019-04-19 18:47:59
No <p> found.
ListenData: NumPy Tutorial with Exercises
2019-04-19 14:12:37
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Python Bytes: #126 WebAssembly comes to Python
2019-04-19 08:00:00
No summary found!
Low Kian Seong: The Human in Devops
2019-04-19 07:38:07
No <p> found.
ListenData: Python for Data Science : Learn in 3 Days
2019-04-19 07:18:40
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
ListenData: Install Python Package
2019-04-19 07:16:44
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Codementor: Why Django Is The Popular Python Framework Among Web Developers?
2019-04-19 06:27:38
The lot of advantages of web development using python Django framework can be easily accessed in small project, better security, less effort and less investment money into a projects.
PyCharm: PyCharm at PyCon 2019: The Big Tent
2019-04-18 20:08:40
Last week we announced our âbig tentâ at PyCon 2019 with the blog post PyCharm Hosts Python Content Creators at Expanded PyCon Booth. Next week weâll announce more on each individual piece.
Mike Driscoll: Mozilla Announces Pyodide â Python in the Browser
2019-04-18 20:02:45
Mozilla announced a new project called Pyodide earlier this week. The aim of Pyodide is to bring Pythonâs scientific stack into the browser.
Mike Driscoll: Creating a GUI Application for NASAâs API with wxPython
2019-04-18 17:15:51
Growing up, I have always found the universe and space in general to be exciting. It is fun to dream about what worlds remain unexplored. I also enjoy seeing photos from other worlds or thinking about the vastness of space. What does this have to do with Python though? Well, the National Aeronautics and Space Administration (NASA) has a web API that allows you to search their image library.
PyPy Development: PyPy 7.1.1 Bug Fix Release
2019-04-18 16:24:25
No <p> found.
Python Diary: Custom Home Automation System source release
2019-04-18 15:48:26
I am happy to announce the release of my generation 1 home automation system source code. I will be releasing Generation 2, the code which is currently in-use in the next couple of days to a week. If you would like to be informed of the Generation 2 code drop, please watch the BitBucket repo to be informed.
ListenData: Importing Data into Python
2019-04-18 14:13:44
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Real Python: Immutability in Python
2019-04-18 14:00:00
In Python, immutable vs mutable data types and objects types can cause some confusionâand weird bugs. With this video course youâll see what the difference between mutable and immutable data types is in Python, and how you can use it to your advantage in your own programs.
Neckbeard Republic: Immutability in Python
2019-04-18 14:00:00
In Python, immutable vs mutable data types and objects types can cause some confusionâand weird bugs. With this course you'll see what the difference between mutable and immutable data types is in Python, and how you can use it to your advantage in your own programs.
ListenData: Importing CSV File in Python
2019-04-18 13:40:56
Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains.
Stefan Scherfke: Packaging Python inside your organization with GitLab and Conda
2019-04-18 11:37:00
Python Packaging has recently been discussed a lot, but the articles usually only focus on publishing (open source) code to PyPI.
The Code Bits: Introduction to Generators in Python
2019-04-18 07:46:11
In this post, we will learn what generators are, how to create them, how they work and how to use them in Python.
Davide Moro: Testing metrics thoughts and examples: how to turn lights on and off through MQTT with pytest-play
2019-04-18 07:39:30
No <p> found.
Catalin George Festila: About psychopy tool.
2019-04-18 06:30:34
A good definition for this tool can be found at the Wikipedia website:
2002: PsychoPy was originally written by Peirce as a proof of concept - that a high-level scripting language could generate experimental stimuli in real time (existing solutions, such as Psychtoolbox, had to pre-generate movies or use CLUT animation techniques).
The install of this python module is very simple:
C:\Python373\
Vasudev Ram: Python's dynamic nature: sticking an attribute onto an object
2019-04-18 04:36:58
Wingware Blog: Using Anaconda with Wing Python IDE
2019-04-18 01:00:00
In this issue of Wing Tips we take a look at how to use the Anaconda Distribution of Python with Wing.
Matt Layman: Completing Account Deactivation on Building SaaS with Python and Django
2019-04-18 00:00:00
In the latest episode of Building SaaS with Python and Django, we completed the account deactivation workflow of the Django app.
Catalin George Festila: Update python modules of 3.73 version.
2019-04-17 15:24:37
Today we tested an older tool with the new version of python 3.7.3.
This is a tool that will help you update your python modules.
Here's how to install:
C:\Python373\Scripts>pip install pip-review
Collecting pip-review
...
Requirement already satisfied: pyparsing>=2.0.2 in c:\python373\lib\site-package
s (from packaging->pip-review) (2.4.0)
Installing collected packages: packaging, pip-review
Real Python: How to Work With a PDF in Python
2019-04-17 14:00:00
The Portable Document Format or PDF is a file format that can be used to present and exchange documents reliably across operating systems. While the PDF was originally invented by Adobe, it is now an open standard that is maintained by the International Organization for Standardization (ISO). You can work with a preexisting PDF in Python by using the PyPDF2 package.
codingdirectional: Sum the factorial of a list object with python
2019-04-17 13:02:45
Before we leave CodeWars for a while here is another quick solution to one of the 7 Kyu questions. The question goes like this, given a list consists of numbers, find the total of all the factorials of those numbers. For example,
Codementor: Selenium Using Python: All You Need to Know
2019-04-17 07:20:02
This article on Selenium Using Python will give you an overview on binding between selenium and python as well as locating elements in selenium using python
codingdirectional: Reverse a number with Python
2019-04-17 05:56:37
In this snippet, we are going to create a python method to reverse the order of a number. This is one of the questions on Codewars. If you enter -123 into the method you will get -321. If you enter 1000 into the method you will get 1. Below is the entire solution.
Quansight Labs Blog: MOA: a theory for composable and verifiable tensor computations
2019-04-17 05:00:00
Python-moa (mathematics of arrays) is an approach to a high level tensor compiler that is based on the work of Lenore Mullins and her dissertation. A high level compiler is necessary because there are many optimizations that a low level compiler such as gcc will miss. It is trying to solve many of the same problems as other technologies such as the taco compiler and the xla compiler. However, it takes a much different approach than others guided by the following principles.
Ned Batchelder: Startup.py
2019-04-17 00:48:43
Someone recently asked how to permanently change the prompt in the Python interactive REPL. The answer is you can point the PYTHONSTARTUP environment variable at a Python file, and that file will be executed every time you enter the interactive prompt.
PyCoderâs Weekly: Issue #364 (April 16, 2019)
2019-04-16 19:30:00
#364 â APRIL 16, 2019 View in Browser »
Sumana Harihareswara - Cogito, Ergo Sumana: PyCon NA, !!Con, and WisCon
2019-04-16 18:36:55
I'll start the month at PyCon North America in Cleveland, Ohio, practically the whole conference, 1-9 May. I'm co-organizing The Art of Python, an arts festival -- several short plays, plus a fanvid and live music -- the night of Friday, May 3rd. And during the sprints, 6-9 May, I'll be concentrating on the world of Python packaging and distribution, e.g., PyPI. I'll go home to New York City, then go to !!Con 11-12 May, where I am not organizing or speaking or suchlike. And then I'll be at WisCon in Madison, Wisconsin, for the whole convention, 24-27 May plus a little extra on either side. I will once again be the comedy auctioneer for the auction on Saturday night that benefits the Tiptree Award -- if you have something to donate to the auction, please let us know by 15 May. I may not make it to the Floomp or the vid party. I will probably be on a few panels; several panels are still seeking volunteer panellists (sign up by 19 April). I do plan to be at the Gathering and the Dessert Salon (heads-up, changes to Dessert Salon entry flow). If you're going to be at any of these events, perhaps we can share a beverage! If you want to make sure that we do that, let's actually set up at least a tentative appointment soon, so I can put it in my calendar. I will be more responsive to emails and text messages than to social media while at these conferences, and in particular, I may see mentions and direct messages on Mastodon but I probably won't see mentions or direct messages on Twitter. Also, I am pretty forgiving about being called mispronunciations of my name, but here's a recording in case you want help -- I also respond to "Vikki" which is the fake name I use with strangers at restaurants. And I will probably not hug you unless we know each other well.
Trey Hunner: Is it a class or a function? It's a callable!
2019-04-16 17:20:00
If you search course curriculum Iâve written, youâll often find phrases like âzip functionâ, âenumerate functionâ, and âlist functionâ. Those terms are all technically misnomers.
NumFOCUS: NumFOCUS Hires Executive Operations Administrator
2019-04-16 15:24:27
The post NumFOCUS Hires Executive Operations Administrator appeared first on NumFOCUS.
Real Python: Hands-on Python 3 Concurrency With the asyncio Module
2019-04-16 14:00:00
Learn how to speed up your Python 3 programs using concurrency and the new asyncio module in the standard library.
Dataquest: Tutorial: Text Classification in Python Using spaCy
2019-04-16 13:40:26
Learn text classification using linear regression in Python using the spaCy package in this free machine learning tutorial.
Stack Abuse: Introduction to the Python Calendar Module
2019-04-16 13:16:00
Python has an built-in module named Calendar that contains useful classes and functions to support a variety of calendar operations. By default, the Calendar module follows the Gregorian calendar, where Monday is the first day (0) of the week and Sunday is the last day of the week (6).
codingdirectional: A Rule of Divisibility by 7
2019-04-16 10:06:18
A number m of the form 10x + y is divisible by 7 if and only if x â 2y is divisible by 7. In other words, subtract twice the last digit from the number formed by the remaining digits. Continue to do this until a number known to be divisible or not by 7 is obtained; you can stop when this number has at most 2 digits because you are supposed to know if a number of at most 2 digits is divisible by 7 or not.
PyCon
2019-04-16 09:50:37
No <p> found.
Tim Arnold / reachtim: DIY System Monitoring, Part 1:Â Python
2019-04-16 04:00:00
This is an update to the original (several years old now) psutil and MongoDB for System Monitoring
Podcast.__init__: Exploring Python's Internals By Rewriting Them In Rust
2019-04-15 17:46:58
The CPython interpreter has been the primary implementation of the Python runtime for over 20 years. In that time other options have been made available for different use cases. The most recent entry to that list is RustPython, written in the memory safe language Rust. One of the added benefits is the option to compile to WebAssembly, offering a browser-native Python runtime. In this episode core maintainers Windel Bouwman and Adam Kelly explain how the project got started, their experience working on it, and the plans for the future. Definitely worth a listen if you are curious about the inner workings of Python and how you can get involved in a relatively new project that is contributing to new options for running your code.
Stack Abuse: Python for NLP: Introduction to the TextBlob Library
2019-04-15 16:31:25
This is the seventh article in my series of articles on Python for NLP. In my previous article, I explained how to perform topic modeling using Latent Dirichlet Allocation and Non-Negative Matrix factorization. We used the Scikit-Learn library to perform topic modeling.
Catalin George Festila: Using the ORB feature from OpenCV python module.
2019-04-15 15:29:40
Today I will show you a simple script using the ORB (oriented BRIEF), see C++ documentation / OpenCV.
The algorithm uses FAST in pyramids to detect stable keypoints, selects the strongest features using FAST or Harris response, finds their orientation using first-order moments and computes the descriptors using BRIEF (where the coordinates of random point pairs (or k-tuples) are rotated
Peter Bengtsson: Whatsdeployed rewritten in React
2019-04-15 15:28:13
A couple of months ago my colleague Michael @mythmon Cooper wanted to add a feature to the front-end code of Whatsdeployed and learned that the whole front-end is spaghetti jQuery code. So, instead, he re-wrote it in React. My only requirements were "Use create-react-app and no redux", i.e. keep it simple.
PyCharm: Webinar: âEffective Data Science with PyCharmâ with Dan Tofan
2019-04-15 15:10:58
Data Science! A huge topic which has swept through all programming languages, especially Python. PyCharm has unique facilities aimed at data science professionals. But if youâre a data scientist, where to start on using PyCharm with it?
Real Python: Linear Regression in Python
2019-04-15 14:00:00
Weâre living in the era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition, autonomous vehicles development, decisions in the financial and energy sectors, advances in medicine, the rise of social networks, and more. Linear regression is an important part of this.
codingdirectional: Count the number of occurrences of each character and return it as a list of tuples in order of appearance
2019-04-15 05:08:15
In this example we are going to create a function which will count the number of occurrences of each character and return it as a list of tuples in order of appearance. For example,
Mike Driscoll: PyDev of the Week: Pierre Denis
2019-04-15 05:05:34
This week we welcome Pierre Denis as our PyDev of the Week! Pierre is the creator of Lea, a probabilistic programming package in Python. He can be found on LinkedIn where you can see his CV and learn more about some of the things he is up to. Letâs take a few moments to get to know Pierre better!
Catalin George Festila: Using the python module music21.
2019-04-14 14:42:15
What is music21?
Music21 is a set of tools for helping scholars and other active listeners answer questions about music quickly and simply. If youâve ever asked yourself a question like, âI wonder how often Bach does thatâ or âI wish I knew which band was the first to use these chords in this order,â or âIâll bet weâd know more about Renaissance counterpoint (or Indian ragas or post-tonal pitch
Abhijeet Pal: The Ultimate Visual Studio Code Setup For Django Developers
2019-04-14 12:54:40
Visual Studio the text editor is known as Visual Studio Code is Microsoftâs free text editor that runs on Windows, Linux, and macOS. Itâs a recent entrant to the market; Microsoft released the product as a public preview at the end of 2015, posting the open source code to Github, before making it available as a general release in April 2016.
Talk Python to Me: #207 Parallelizing computation with Dask
2019-04-14 08:00:00
What if you could write standard numpy and pandas code but have it run on a distributed computing grid for incredible parallel processing right from Python? How about just splitting it across multiprocessing to escape the limitations of the GIL on your local machine? That's what Dask was built to do.
Weekly Python StackOverflow Report: (clxxiii) stackoverflow python report
2019-04-13 20:50:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-04-13 20:50:39 GMT
Codementor: Two new video series
2019-04-13 16:47:04
Introducing two new video series in industrial controls/IoT development and Python programming.
codingdirectional: How to use the reverse method of a list in python
2019-04-13 12:21:23
Most of the time a python programmer will need to reverse the order of the entire python listâs elements so a program can loop through those elements in the list starting from the end instead of from the beginning. Below is an example which we will use the python listâs reverse method to reverse the order of the list before using it.
Python Bytes: #125 Will you conquer the deadlock empire?
2019-04-13 08:00:00
No summary found!
Bruno Rocha: from dynaconf import settings
2019-04-12 14:38:03
Often when starting a new Python project we need to spend some time thinking about how to manage the settings, decide on which module the configuration manager will be written, decide which name to give to this module, create a class or function to store the configuration keys, create the conditions for multiple environments and still need to worry about where these keys will be stored and in which file format?
PyCon: PyCon 2019 close to sell out!
2019-04-12 12:48:31
No <p> found.
Catalin George Festila: Using pytineye to automate searching for images.
2019-04-12 08:03:56
The TinEye API is ideally suited for image and profile verification, UGC moderation, copyright compliance and fraud detection.
Read more about the TinEye API here.
You need to use authentication for this API, read here.
To use the TinEye API you must purchase a search bundle.
The documentation for Python can be found here.
Let's start with the installation.
You need to download the zip file from
Reinout van Rees: Summaries of the Python meetup in Amsterdam
2019-04-11 18:04:00
I've made notes again at the 2019-04-11 Amsterdam Python meetup in the byte office. Here are the summaries.
Continuum Analytics Blog: The Human Element in AI
2019-04-11 16:24:17
The over 45 speakers at AnacondaCON 2019 delved into how machine learning, artificial intelligence, enterprise, and open source communities are accomplishing great things with data â from optimizing urban farming to identifying the elements inâŠ
Real Python: Python String Formatting Tips & Best Practices
2019-04-11 14:00:00
Learn the four main approaches to string formatting in Python, as well as their strengths and weaknesses. Youâll also get a simple rule of thumb for how to pick the best general purpose string formatting approach in your own programs.
Mike Driscoll: Python Used to Take Photo of Black Hole
2019-04-11 13:41:28
Scientists have used a new algorithm to take a photo of a black hole. One of the most exciting parts about it to me is that they used a lot of Python libraries to do the magic.
Made With Mu: Crossing the River by Feeling the Stones
2019-04-11 13:15:00
The story Iâm about to tell celebrates an epic adventure in making stuff work.
Caktus Consulting Group: We&#39;re Eagerly Preparing for PyCon 2019!
2019-04-11 13:00:00
Pictured: The final rush is on! Staff quickly check materials for our PyCon booth.
codingdirectional: Anata wa hontĆni sorera no kaidan o noboru koto ga dekimasu ka?
2019-04-11 09:18:47
Hello and welcome back to another easy solution posted on Codewars. In this chapter, we need to solve the below problem.
Artem Rys: Python Functions Defaults Explained
2019-04-11 06:55:59
I have been on the several Python interviews again and have passed an Upwork Python test. And I have noticed that the interviewers like using task as the following one.
Karim Elghamrawy: Flatten Binary Tree to Linked List (Python In-Depth Explanation)
2019-04-11 03:30:50
In this article, I will solve a common Tree data-structure question. This question also appears frequently in coding interviews. In solving this question, I will also teach you the thought process that I go through when I encounter problems like this one so you can solve similar problems on your own if you encounter them. [...]
Wingware Blog: Auto-Editing in Wing Pro (Part 3 of 3)
2019-04-11 01:00:00
Wing Pro implements a suite of auto-editing operations that take care of common low-level editing tasks. In the previous installments of this 3-part Wing Tips series on Wing Pro's auto-editing features we looked at managing Python code blocks and auto-invocation.
PyCharm: PyCharm Hosts Python Creators at Expanded PyCon Booth
2019-04-10 18:39:48
Want to meet key podcasters, authors, and teachers at PyCon? This year PyCharm has an expanded booth with space shared by many of the key âPython Creators.â Come say hi, watch short talks by them, us, and others in our mini-theater, or schedule one-on-one slots in our seating area.
PyCharm: PyCharm Hosts Python Content Creators at Expanded PyCon Booth
2019-04-10 18:39:48
Want to meet key podcasters, authors, and teachers at PyCon? This year PyCharm has an expanded booth with space shared by many of the key âPython Content Creators.â Come say hi, watch short talks by them, us, and others in our mini-theater, or schedule one-on-one slots in our seating area.
Stack Abuse: Introduction to the Python lxml Library
2019-04-10 16:17:25
lxml is a Python library which allows for easy handling of XML and HTML files, and can also be used for web scraping. There are a lot of off-the-shelf XML parsers out there, but for better results, developers sometimes prefer to write their own XML and HTML parsers. This is when the lxml library comes to play. The key benefits of this library are that it's ease of use, extremely fast when parsing large documents, very well documented, and provides easy conversion of data to Python data types, resulting in easier file manipulation.
Real Python: How to Create an Index in Django Without Downtime
2019-04-10 14:00:00
Managing database migrations is a great challenge in any software project. Luckily, as of version 1.7, Django comes with a built-in migration framework. The framework is very powerful and useful in managing change in databases. But the flexibility provided by the framework required some compromises. To understand the limitations of Django migrations, you are going to tackle a well known problem: creating an index in Django with no downtime.
Twisted Matrix Labs: Twisted 19.2.0 Released
2019-04-10 05:35:30
No <p> found.
PyCoderâs Weekly: Issue #363 (April 9, 2019)
2019-04-09 19:30:00
#363 â APRIL 9, 2019 View in Browser »
Mike C. Fletcher: Protocol Buffer Definitions in Packages
2019-04-09 17:00:30
For my future reference, and for anyone who happens to hit this as they start into protocol buffering where you want to have the protocol definitions as part of your packages.
Continuum Analytics Blog: AnacondaCON 2019 Day 3 Recap: The Need for Speed, âDelightful UXâ in Dev Tools, LOTR Jokes and More.
2019-04-09 16:41:40
Everyone at Anaconda is still feeling the love AnacondaCON 2019. Day 3 wrapped up last Friday with one more day of talks and sessions, highlighted by some powerhouse keynotes. Letâs get right to the goodâŠ
Stack Abuse: Python for NLP: Topic Modeling
2019-04-09 15:44:38
This is the sixth article in my series of articles on Python for NLP. In my previous article, I talked about how to perform sentiment analysis of Twitter data using Python's Scikit-Learn library. In this article, we will study topic modeling, which is another very important application of NLP. We will see how to do topic modeling with Python.
Codementor: How long does it take to learn Python?
2019-04-09 14:00:06
In this post we calculate an estimate of how long it takes for beginners to learn Python enough to get comfortable with the language.
Trey Hunner: The problem with inheriting from dict and list in Python
2019-04-09 14:00:00
Iâve created dozens of Python Morsels since I started it last year. At this point at least 10 of these exercises involve making a custom collection: often a dict-like, list-like or set-like class.
Real Python: Running Python Scripts
2019-04-09 14:00:00
One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. This is going to be the only way for you to know if your code works as you planned. Itâs even the only way of knowing if your code works at all!
eGenix.com: Python Meeting DĂŒsseldorf - 2019-04-10
2019-04-09 08:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
Mike Driscoll: ReportLab: Adding a Chart to a PDF with Python
2019-04-08 22:15:43
The ReportLab toolkit supports adding many different charts and graphs to your PDFs. In fact, I have covered some of them in a previous article. However most of the examples I have seen, including the ones in my own article, do not show how to insert a chart as a Flowable.
NumFOCUS: NumFOCUS Releases 2018 Annual Report
2019-04-08 17:53:18
The post NumFOCUS Releases 2018 Annual Report appeared first on NumFOCUS.
NumFOCUS: NumFOCUS Announces Cambridge Spark will Host a PyData Conference in 2019
2019-04-08 17:17:45
The post NumFOCUS Announces Cambridge Spark will Host a PyData Conference in 2019 appeared first on NumFOCUS.
Real Python: Python REST APIs With Flask, Connexion, and SQLAlchemy â Part 3
2019-04-08 14:00:00
In Part 2 of this series, you added the ability to save changes made through the REST API to a database using SQLAlchemy and learned how to serialize that data for the REST API using Marshmallow. Connecting the REST API to a database so that the application can make changes to existing data and create new data is great and makes the application much more useful and robust.
codingdirectional: Return a welcome message based on the input language
2019-04-08 12:23:29
Hello and welcome! I think I will start another new project after the previous sport application project in next month but at this moment we are going to solve a few python related problems from Codewars starting from this chapter onward, we are just going for the easy problem because we donât want to waste too much time thinking about the solution to each question. In this episode, we are going to solve the below problem.
Podcast.__init__: Version Control For Your Machine Learning Projects
2019-04-08 10:35:04
Version control has become table stakes for any software team, but for machine learning projects there has been no good answer for tracking all of the data that goes into building and training models, and the output of the models themselves. To address that need Dmitry Petrov built the Data Version Control project known as DVC. In this episode he explains how it simplifies communication between data scientists, reduces duplicated effort, and simplifies concerns around reproducing and rebuilding models at different stages of the projects lifecycle. If you work as part of a team that is building machine learning models or other data intensive analysis then make sure to give this a listen and then start using DVC today.
Philippe Normand: Introducing WPEQt, a WPE API for Qt5
2019-04-08 10:20:00
WPEQt provides a QML plugin implementing an API very similar to the QWebView API. This blog post explains the rationale behind this new project aimed for QtWebKit users.
Moshe Zadka: Publishing a Book with Sphinx
2019-04-08 07:00:00
A while ago, I decided I wanted to self-publish a book on improving your Python skills. It was supposed to be short, sweet, and fairly inexpensive.
The Code Bits: Understanding for-loops in Python
2019-04-08 05:40:17
In this post, we will discuss how for-loops work in Python.
Mike Driscoll: PyDev of the Week: Abdur-Rahmaan Janhangeer
2019-04-08 05:05:35
This week we welcome Abdur-Rahmaan Janhangeer as our PyDev of the Week! Abdur-Rahmaan is the French translator of Think Python. You can see what he is up to on his blog as well as on Github. Letâs take a few moments to get to know him better!
Wingware News: Wing Python IDE 7.0 - April 8, 2019
2019-04-08 01:00:00
Wing 7 introduces an improved code warnings and code quality inspection system that includes built-in error detection and tight integration with pylint, pep8, and mypy. This release also adds a new data frame and array viewer, a MATLAB keyboard personality, easy inline debug data display with Shift-Space, improved stack data display, support for PEP 3134 chained exceptions, callouts for search and other code navigation features, four new color palettes, improved bookmarking, a high-level configuration menu, magnified presentation mode, a new update manager, stepping over import internals, simplified remote agent installation, and much more.
Jason Meyers: First Tesla Model 3 Trip: Gatlinburg
2019-04-08 00:00:00
Just got back from my first trip in my Tesla Model 3. I was a bit nervous, but mostly because my first trip also included my in-laws riding with us. I get along with them great but I knew if the car became a burden during the trip, it wouldnât just be me affected or me and my wife, but all of us. Two of which didnât care about the mission or vision of electric vehicles; they just wanna go on vacation and have fun. (to be fair⊠so did I.) We went from our home to Gatlinburg and back. Itâs right at 239 miles one way with a rough overall elevation change of 917ft.
Two Bit Arcade: Etch-A-Snap â The Raspberry Pi powered Etch-A-Sketch camera
2019-04-07 15:20:00
Etch-A-Snap is (probably) the worlds first Etch-A-Sketch Camera. Powered by a Raspberry Pi Zero (or Zero W) it snaps photos just like any other camera, but outputs them by drawing to an Pocket Etch-A-Sketch screen. Quite slowly.
PyBites: PyBites Twitter Digest - Issue 04, 2019
2019-04-07 13:44:33
RT @brianokken: Test & Code 71: Ultimate Guide To Memorable Tech Talks w/ @nnja https://t.co/JPECNkzQr6 Nina gives some great advice aboutâŠ
Simple is Better Than Complex: How to Save Extra Data to a Django REST Framework Serializer
2019-04-07 10:00:00
In this tutorial you are going to learn how to pass extra data to your serializer, before saving it to the database.
Techiediaries - Django: Angular 8|7 CRUD Tutorial: Python|Django REST API
2019-04-07 00:00:00
Techiediaries - Django: Django 2 Tutorial & Example: Build a CRUD REST API for A Simple CRM
2019-04-07 00:00:00
In this tutorial series, you'll learn about Django 2 by creating a CRUD example application with database, admin access, and REST API views.We'll be using MySQL as the database system.
Weekly Python StackOverflow Report: (clxxii) stackoverflow python report
2019-04-06 20:38:00
No <p> found.
Codementor: Why should you learn Python Programming in 2019?
2019-04-06 14:29:13
Why should you learn Python Programming in 2019? What is Python Programming? What is it's benefits?
Talk Python to Me: #206 Running Django in Production
2019-04-06 08:00:00
Let's talk about running Django in production. On this episode, you'll meet Michael Herman who used to work on realpython.com and today is running testdriven.io. We also cover some of the tradeoffs of a set of microservices and a monolith and a round trip journey between them.
Zero-with-Dot (Oleg ƻero): Categorical sequences with Pandas for household expense control
2019-04-05 22:00:00
Dealing with household expenses is never pleasant. Although banks try to make it fun these days, it is seldom that their user interface would actually help you to gain insight into how much you actually spend and on what âit all goesâ. After all, the more you spend, the more likely you are to apply for a loan, correct?
Continuum Analytics Blog: Anaconda 2019.03 Release
2019-04-05 18:25:01
Windows is the most popular operating system in the world and consistently has 75% or more of the worldwide desktop market. According to the JetBrains Python Developers Survey, 49% of Python developers use Windows asâŠ
Continuum Analytics Blog: AnacondaCON 2019 Day 2 Recap: AI in Medicine, Cataloging the Contents of Stars, and More!
2019-04-05 16:12:42
What You Missed at AnacondaCON Day 2 Weâre back with a recap of Day 2 of our annual AnacondaCON. (In case you missed it, you can read our Day 1 recap here). Things started offâŠ
Catalin George Festila: First test with 3.7.3 and opencv-python module version 4.0.0 .
2019-04-05 12:44:14
The Python 3.7.3 is the third maintenance release of Python 3.7 and is released at March 25, 2019.
More about this new released version can be found at official website.
C:\Python373\Scripts>pip install opencv-python
Collecting opencv-python
...
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.16.2 opencv-python-4.0.0.21Let's test it:
C:\Python373>python.exe
Andre Roberge: AvantPy needs you
2019-04-05 08:35:35
No <p> found.
Python Bytes: #124 This is not the None you're looking for
2019-04-05 08:00:00
No summary found!
Test and Code: 71: The Ultimate Guide To Memorable Tech Talks - Nina Zackarenko
2019-04-05 07:00:00
Nina Zakharenko gives some great advice about giving tech talks. We talk about a blog series that Nina wrote called "The Ultimate Guide To Memorable Tech Talks". This episode is full of great help and encouragement for your own public speaking adventures.
pgcli: Release v2.1.0
2019-04-05 07:00:00
Pgcli is a command line interface for Postgres database that does auto-completion and syntax highlighting. You can install this version using:
Test and Code: 71: The Ultimate Guide To Memorable Tech Talks - Nina Zakharenko
2019-04-05 07:00:00
Nina Zakharenko gives some great advice about giving tech talks. We talk about a blog series that Nina wrote called "The Ultimate Guide To Memorable Tech Talks". This episode is full of great help and encouragement for your own public speaking adventures.
PyPy Development: An RPython JIT for LPegs
2019-04-04 21:45:04
The following is a guest post by Stefan Troost, he describes the work he did in his bachelor thesis:
Continuum Analytics Blog: AnacondaCON 2019 Day 1 Recap: Big-Time Learning
2019-04-04 17:38:11
AnacondaCON 2019 is off to a great start. As in past years, we programmed Day 1 with product- and package-specific tutorials for those looking to get hands-on learning with Anaconda Enterprise tools. Spots in theseâŠ
Python Software Foundation: Update on the Python in Education Proposal Phase
2019-04-04 15:08:08
No <p> found.
PyCharm: Collaboration with Anaconda, Inc.
2019-04-04 15:00:29
Just now at AnacondaCON, JetBrains CEO Max Shafirov, and Anacondaâs CEO Scott Collison announced the start of our collaboration.
Real Python: Python Development in Visual Studio Code (Setup Guide)
2019-04-04 14:00:00
In this course, youâll learn how to use Visual Studio Code for Python development. By following examples, youâll cover everything from how to install and configure Visual Studio Code for Python development to how to run tests and debug application, so you can use this powerful tool.
Codementor: Training Facial Recognition Algorithms with Alibaba's Mars
2019-04-04 02:21:26
On January 16, 2019, Alibaba published the open source code of its first scientific computing engine, Mars, which is derived from MaxCompute...
Wingware Blog: Auto-Editing in Wing Pro (Part 2 of 3)
2019-04-04 01:00:00
Wing Pro implements a suite of auto-editing operations that take care of common low-level editing tasks. Last week we looked at creating and managing blocks in Python code.
Stack Abuse: Python for NLP: Sentiment Analysis with Scikit-Learn
2019-04-03 15:11:35
This is the fifth article in the series of articles on NLP for Python. In my previous article, I explained how Python's spaCy library can be used to perform parts of speech tagging and named entity recognition. In this article, I will demonstrate how to do sentiment analysis using Twitter data using the Scikit-Learn library.
PyCharm: PyCharm 2019.1.1
2019-04-03 14:48:08
PyCharm is the first JetBrains IDE to ship with the new JDK 11. This brings us improved performance and better rendering for our Jupyter Notebooks. Unfortunately, it also means that we ran into a couple of teething issues with the new JDK.
Real Python: What Is Pip? A Guide for New Pythonistas
2019-04-03 14:00:00
What is pip? pip is the standard package manager for Pyhon. It allows you to install and manage additional packages that are not part of the Python standard library. This tutorial is an introduction to pip for new Pythonistas.
PyCharm: How We Did the New Jupyter Support: Interview with Anton Bragin
2019-04-03 12:38:46
Data science and Jupyter Notebooks are obviously super-big in Python. PyCharm has had Jupyter support for several years but we needed to do a re-think, to better align our âIDE for Python Professionalsâ mission with Jupyter workflows.
Catalin George Festila: About Ninja IDE for python programming.
2019-04-03 12:34:18
This I.D.E. is a very good tool for python programming and development.
The version of this tool is 2.3.
I tested with my Django project on Windows OS and works great.
The development team comes with this info:
NINJA-IDE (from the recursive acronym: "Ninja-IDE Is Not Just Another IDE"), is a cross-platform integrated development environment (IDE). NINJA-IDE runs on Linux/X11, Mac OS X and
leftmouseclickin: Plot the balance of power graph with python
2019-04-03 10:59:14
We are supposed to finish the previous Forex and Stock application project already but because it has been a while I am not writing anything on this website, therefore I would like to include another feature into the previous project just to let you know that this site is still active.
Codementor: How to Execute Mars in a Distributed Manner
2019-04-03 10:00:43
We have already introduced what Mars is in a previous article, and have made it open source on GitHub after testing it on our internal systems. This article introduces the distributed execution...
Codementor: Top 5 Python Frameworks For Test Automation In 2019
2019-04-03 08:04:35
This is my attempt to help you compare the top 5 Python frameworks for test automation in 2019, on the basis of their advantages & disadvantages.
Tryton News: Security Release for issue8189
2019-04-03 06:00:09
@ced wrote:
PyCoderâs Weekly: Issue #362 (April 2, 2019)
2019-04-02 19:30:00
#362 â APRIL 2, 2019 View in Browser »
Trey Hunner: Making the most of the PyCon sprints
2019-04-02 16:45:00
I wrote a blog post last year, How to have a great first PyCon, in which I gave quite a few tips for making the most of your time at PyCon (if youâre a first time PyCon attendee, go read it). One thing I didnât mention at all in that article on PyCon was the sprints.
Doug Hellmann: sphinxcontrib.datatemplates 0.2.0
2019-04-02 16:12:15
Continue reading "sphinxcontrib.datatemplates 0.2.0"
Stack Abuse: Getting Started with Selenium and Python
2019-04-02 14:45:45
Web Browser Automation is gaining popularity, and many frameworks/tools have arose to offer automation services to developers.
Real Python: Idiomatic Pandas: Tricks & Features You May Not Know
2019-04-02 14:00:00
Pandas is a foundational library for analytics, data processing, and data science. Itâs a huge project with tons of optionality and depth.
Ned Batchelder: Cog 3.0
2019-04-02 11:43:48
Cog is a small tool I wrote years ago. It finds snippets of Python in text files, executes them, and inserts the result back into the text. Itâs good for adding a little bit of computational support into an otherwise static file. Originally I wrote it to generate boilerplate C code, but now I use it for making all my presentations.
Talk Python to Me: #205 Beginners and Experts Panel
2019-04-02 08:00:00
Welcome to part 2 of our beginners and experts series. This one is a panel format with 7 different guests. Each of them a beginner in their own way. We dig deeper into some follow up conversations for part 1 with our panelists.
Codementor: Java vs Python: Battle Of The Best
2019-04-02 06:57:49
This blog on Java vs Python provides you with a detailed comparison between the two languages and helps you decide which language you should opt for.
Mike Driscoll: Product Review: Python Flash Cards
2019-04-02 05:05:55
No Starch Press is best known for creating books on computer programming. However they recently released a new product called Python Flash Cards by Eric Matthes, the author of Python Crash Course. I thought this was a unique product and decided to ask for a review copy.
Wingware News: Wing Python IDE 7.0 Release Candidate 2 - April 2, 2019
2019-04-02 01:00:00
The second release candidate of Wing Python IDE version 7 is now available through our Early Access Program. This release fixes about 15 issues, in preparation for the final release of Wing 7.
PyCharm: PyCharm 2019.1.1 RC
2019-04-01 18:47:08
PyCharm is the first JetBrains IDE to ship with the new JDK 11. This brings us improved performance and better rendering for our Jupyter Notebooks. Unfortunately, it also means that we ran into a couple of teething issues with the new JDK.
Real Python: Get Started With Django Part 1: Build a Portfolio App
2019-04-01 14:00:00
Django is a fully featured Python web framework that can be used to build complex web applications. In this tutorial, youâll jump in and learn Django by example. Youâll follow the steps to create a fully functioning web application and, along the way, learn some of the most important features of the framework and how they work together.
Stack Abuse: Sorting Algorithms in Python
2019-04-01 13:30:00
Sometimes data we store or retrieve in an application can have little or no order. We may have to rearrange the data to correctly process it or efficiently use it. Over the years, computer scientists have created many sorting algorithms to organize data.
Mike Driscoll: My Cover Story for Creating GUI Applications with wxPython Book
2019-04-01 12:30:24
I thought it would be fun to write a bit about the cover art for my new book, Creating GUI Applications with wxPython. I had meant to post about that during the actual Kickstarter campaign.
Codementor: Installing Fast.ai in Alibaba Cloud GPU and Running It on Jupyter Notebook
2019-04-01 09:24:09
By Ahmad Arib, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud's incentive program to encourage the sharing of technical knowledge and best practices within the cloud...
Django Weblog: Django 2.2 released
2019-04-01 08:56:49
The Django team is happy to announce the release of Django 2.2.
Shyama Sankar Vellore: Getting started with Flask: Hello World
2019-04-01 07:50:00
No <p> found.
Django Weblog: Django bugfix release: 2.1.8
2019-04-01 07:29:45
Today we've issued the 2.1.8 bugfix release.
Julien Danjou: Writing Your Own Filtering DSL in Python
2019-04-01 07:25:00
A few months ago, we've seen how to write a filtering syntax tree in Python. The idea behind this was to create a data structure â in the form of a dictionary â that would allow to filter data based on conditions.
Tryton News: Newsletter April 2019
2019-04-01 05:59:59
@ced wrote:
Vasudev Ram: rmline: Python command-line utility to remove lines from a file [Rosetta Code solution]
2019-04-01 05:19:45
No <p> found.
Mike Driscoll: PyDev of the Week: Kyle Stratis
2019-04-01 05:05:16
This week we welcome Kyle Stratis (@KyleStratis) as our PyDev of the Week! He is an active contributor at Real Python but also maintains his own website. You can catch up with his projects on Github as well. Letâs take a few moments to get to know Kyle!
Podcast.__init__: Building Scalable Ecommerce Sites On Saleor
2019-04-01 02:16:17
Ecommerce is an industry that has largely faded into the background due to its ubiquity in recent years. Despite that, there are new trends emerging and room for innovation, which is what the team at Mirumee focuses on. To support their efforts, they build and maintain the open source Saleor framework for Django as a way to make the core concerns of online sales easy and painless. In this episode Mirek Mencel and Patryk Zawadzki discuss the projects that they work on, the current state of the ecommerce industry, how Saleor fits with their technical and business strategy, and their predictions for the near future of digital sales.
Doug Hellmann: sphinxcontrib-spelling 4.2.1
2019-03-31 23:11:39
No <p> found.
Abhijeet Pal: Building A Blog Application With Django
2019-03-31 10:42:31
In this tutorial, weâll build a Blog application with Django 2.1 that allows users to create, edit, and delete posts. The homepage will list all blog posts, and there will be a dedicated detail page for each individual post. Django is capable of making more advanced stuff but making a blog is an excellent first step to get a good grasp over the framework. The purpose of this chapter is to get a general idea about working of Django.
Weekly Python StackOverflow Report: (clxxi) stackoverflow python report
2019-03-31 10:06:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-03-31 10:06:26 GMT
Codementor: Python: trace recursive function
2019-03-31 06:55:19
Let me share example of "pure programming" task, which I've faced recently here, on Codementor. I like how the solution looks like and want to hear your feedback from you.
Shyama Sankar Vellore: Monkey Patching in Python: Explained with Examples
2019-03-30 11:43:00
No <p> found.
Davy Wybiral: Arduino-friendly 240x320 LCD Display Tutorial (ILI9341)
2019-03-30 06:37:03
<div>Have you ever needed to add a UI to any of your embedded projects? For instance, maybe you want to display a sensor reading graph or build your own handheld gaming system. In this video I'll take a look at some cheap 240x320 color LCD display devices that you can add to almost any microcontroller or Single Board Computer project.</div><div><br /></div><div></div>
Catalin George Festila: Testing the python IMDbPY module with simple commands.
2019-03-30 05:13:28
Today we tested a more innovative but useful method with python aaa mode.
The main reason I used this method is the lack of documentation.
Using this method, we have reached elements related to the use of reported methods and errors.
The test was done on a Fedora 29 Linux system with a classic install with the pip utility:
[mythcat@desk ~]$ pip install imdbpy --user
Collecting imdbpy
...
Moshe Zadka: A Local LRU Cache
2019-03-30 04:30:00
"It is a truth universally acknowledged, that a shared state in possession of mutability, must be in want of a bug." -- with apologies to Jane Austen
Will Kahn-Greene: Code of conduct: supporting in projects
2019-03-29 22:00:00
This week, Mozilla added PRs to all the repositories that Mozilla has on GitHub that aren't forks, Servo, or Rust. The PRs add a CODE_OF_CONDUCT.md file and also include some instructions on what projects can do with it. This standardizes inclusion of the code of conduct text in all projects.
Test and Code: 70: Non-traditional paths to software and the skills required - Dane Hillard
2019-03-29 16:00:00
Dane and Brian discuss skills needed for people that become software developers from non-traditional paths.
Reuven Lerner: Announcing: My new NumPy course is live!
2019-03-29 12:15:07
Guess what? Python is the #1 language for data science. I know, it doesnât seem like this should be true. Python is a great language, and easy to learn, but itâs not the most efficient language, either in execution speed or in its memory usage.
Codementor: Python interview question: tuple vs list
2019-03-29 09:09:01
Tuples vs Lists in Python
Python Bytes: #123 Time to right the py-wrongs
2019-03-29 08:00:00
No summary found!
Shyama Sankar Vellore: Iteration in Python: The for, while, break, and continue statements
2019-03-29 07:44:00
No <p> found.
Codementor: Writing a Minimum-Heap in Python3
2019-03-29 02:50:45
it is in the title...how much more clear can I make it?
Continuum Analytics Blog: 3 Ways to Upskill in Python with DataCamp and Anaconda
2019-03-29 02:33:32
DataCamp is proud to partner with Anaconda to offer eight courses on Conda and Pythonâin addition to the more than 70 total Python courses in DataCampâs ever-expanding data science and analytics curriculum. Not sure whereâŠ
NumFOCUS: Now Hiring: Development Director
2019-03-28 18:56:30
The post Now Hiring: Development Director appeared first on NumFOCUS.
Data School: Six easy ways to run your Jupyter Notebook in the cloud
2019-03-28 14:09:00
There are many ways to share a static Jupyter notebook with others, such as posting it on GitHub or sharing an nbviewer link. However, the recipient can only interact with the notebook file if they already have the Jupyter Notebook environment installed.
Mike Driscoll: wxPython 4 and PubSub
2019-03-28 14:04:27
The Publish-Subscribe pattern is pretty common in computer science and very useful too. The wxPython GUI toolkit has had an implementation of it for a very long time in wx.lib.pubsub. This implementation is based on the PyPubSub package. While you could always download PyPubSub and use it directly instead, it was nice to be able to just run wxPython without an additional dependency.
Real Python: Working With JSON Data in Python
2019-03-28 14:00:00
JSON is a lightweight data-interchange format. It allows us to represent the objects in our Python programs as human-readable text that can be sent over the internet. Lots of APIs and databases use JSON for communication.
Doing Math with Python: Doing Math with Python in Coder's Bookshelf Humble Bundle
2019-03-28 14:00:00
"Doing Math with Python" is part of No Starch Press's "Pay what you want" Coder's Bookshelf Bundle. Your purchases will help support a charity of your choice.
Stack Abuse: Working with PostgreSQL in Python
2019-03-28 13:43:00
PostgreSQL is one of the most advanced and widely used relational database management systems. It's extremely popular for many reasons, a few of which include it being open source, its extensibility, and its ability to handle many different types of applications and varying loads.
Calvin Spealman: Interrupting Coders Isnât So Bad
2019-03-28 12:19:16
No <p> found.
Zato Blog: SSH commands as API microservices
2019-03-28 08:56:00
This is a quick guide on how to turn SSH commands into a REST API service. The use-case may be remote administration of devices or equipment that does not offer a REST interface or making sure that access to SSH commands is restricted to selected external REST-based API clients only.
Codementor: Mars â Matrix-based Universal Distributed Computing Framework
2019-03-28 07:17:14
We are pleased to announce our new project, Mars, which is a matrix-based universal distributed computing framework. The open source code of Mars is already available in GitHub:...
Codementor: PyCon China 2018: In-Depth Analysis of Mars
2019-03-28 06:49:47
We shared our latest project, Mars, a matrix-based unified computing framework, at the main venue of the PyCon China 2018 conference in Beijing, as well as at its sub-venues in Chengdu and...
Codementor: Mars â Alibaba's Open Source Distributed Scientific Computing Engine
2019-03-28 06:21:58
Recently, Alibaba officially published the open source code for its distributed scientific computing engine â Mars. Developers can download and install Mars from PyPI or obtain the source code from...
Wingware Blog: Auto-Editing in Wing Pro (Part 1 of 3)
2019-03-28 01:00:00
Wing Pro implements a suite of auto-editing operations that take care of common low-level editing tasks, like moving Python code into a new block, entering invocation arguments, and maintaining PEP 8 compliance as you type. Some of the simpler auto-editing operations, like auto-closing ( or [, are enabled by default and easy to understand. Others may be missed unless you know about them, and some need to be enabled in preferences before they can be used.
NumFOCUS: Facebook joins NumFOCUS Corporate Sponsors
2019-03-27 17:28:59
The post Facebook joins NumFOCUS Corporate Sponsors appeared first on NumFOCUS.
leftmouseclickin: Plot triple exponential moving average time series graph with python
2019-03-27 16:07:30
Welcome back again to the ongoing Stock and Forex project, before we start I just want to let you all know that pycharm 2019 is ready for download, I am using pycharm for this project and today mine pycharm editor has just get updated to the pycharm 2019 version which has lots of new features in it. OK so much for that, let get started. In this chapter, we are going to plot the triple exponential moving average time serie graph. As usual, we have created a new method and a button for that method. Below is the revised version of the project.
Real Python: How to Stand Out in a Python Coding Interview
2019-03-27 14:00:00
Youâve made it past the phone call with the recruiter, and now itâs time to show that you know how to solve problems with actual code. Whether itâs a HackerRank exercise, a take-home assignment, or an onsite whiteboard interview, this is your moment to prove your coding interview skills.
Stack Abuse: Python for NLP: Parts of Speech Tagging and Named Entity Recognition
2019-03-27 13:11:00
This is the 4th article in my series of articles on Python for NLP. In my previous article, I explained how the spaCy library can be used to perform tasks like vocabulary and phrase matching.
PyCharm: PyCharm 2019.1 Out Now
2019-03-27 12:17:15
PyCharm 2019.1 is out now: all-new Jupyter Notebook support, ârecent locationâ for navigation, custom theme plugins, and much more. Download now
Python Software Foundation: PuPPy Presents its 1st Annual Benefit featuring Guido van Rossum
2019-03-27 10:00:04
No <p> found.
PyCon: PyCon 2019 Dietary Information
2019-03-27 09:51:22
No <p> found.
Fabio Zadrozny: PyDev 7.2.0 released
2019-03-27 06:39:01
PyDev 7.2.0 is now available for download.<br /><br />This version brings some improvements to the debugger and a fix for when PyDev could not properly find pipenv which could impact some users.<br /><br />See: <a href="http://pydev.org/">http://pydev.org</a> for more details. <img src="http://feeds.feedburner.com/~r/blogspot/pydev/~4/n8FmJQjJVDo" height="1" width="1" alt="" />
Montreal Python User Group: Montréal-Python 74: Virtual Echo
2019-03-27 04:00:00
We will meet up at Shopify for the first Montreal Python of the year. We will start with 4 most interesting presentations, and then we will move up to Benelux to continue the discussion.
Python Engineering at Microsoft: Python in Visual Studio Code â March 2019 Release
2019-03-26 23:50:20
We are pleased to announce that the March 2019 release of the Python Extension for Visual Studio Code is now available. You canâŻdownload the Python extensionâŻfrom the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more aboutâŻPython support in Visual Studio CodeâŻin the documentation. Â
Trey Hunner: Overusing list comprehensions and generator expressions in Python
2019-03-26 20:30:00
List comprehensions are one of my favorite features in Python. I love list comprehensions so much that Iâve written an article about them, done a talk about them, and held a 3 hour comprehensions tutorial at PyCon 2018.
Mike Driscoll: Python for Programmers eBook Giveaway
2019-03-26 19:35:16
Pearson recently contacted me about doing a giveaway of their new Python book, Python for Programmers: with Big Data and Artificial Intelligence Case Studies
PyCoderâs Weekly: Issue #361 (March 26, 2019)
2019-03-26 19:30:00
#361 â MARCH 26, 2019 View in Browser »
NumFOCUS: NumFOCUS Welcomes Sam Brice as inaugural Visiting Fellow
2019-03-26 17:27:00
The post NumFOCUS Welcomes Sam Brice as inaugural Visiting Fellow appeared first on NumFOCUS.
Continuum Analytics Blog: Anaconda Enterprise 5.3 Release
2019-03-26 17:14:11
The Anaconda Product Team has released Anaconda Enterprise 5.3, an upgrade focused on platform stability and reliability to support our customersâ needs for continuous innovation. Customizable Static Endpoints Users can now customize a static endpoint,âŠ
Real Python: Django Migrations 101
2019-03-26 14:00:00
Since version 1.7, Django has come with built-in support for database migrations. In Django, database migrations usually go hand in hand with models: whenever you code up a new model, you also generate a migration to create the necessary table in the database. However, migrations can do much more.
Real Python: Documenting Python Projects With Sphinx and Read The Docs
2019-03-26 13:30:00
In this video series weâll cover creating Python documentation from scratch using Sphinx, as well as getting your code repository hooked up to Read The Docs, to automatically build and publish your code documentation.
gamingdirectional: Display a power indicator above the player head
2019-03-26 13:13:32
Hello and it has been a very long time I am not posting anything on this website and today I am just going to finish up the unfinished business from the previous python project, which is to display a power indicator above the player head to show that the player is in full power after he has eaten the mana during the game, if he collides with the enemy then that power will be used up and the power...
Stack Abuse: Commenting Python Code
2019-03-26 13:06:00
Programming reflects your way of thinking in order to describe the single steps that you took to solve a problem using a computer. Commenting your code helps explain your thought process, and helps you and others to understand later on the intention of your code. This allows you to more easily find errors, to fix them, to improve the code later on, and to reuse it in other applications as well.
Zato Blog: MongoDB connections
2019-03-26 10:51:00
One of the newest additions in Zato 3.1 are MongDB connections - learn in this article how to create and use them in your Python API services.
Codementor: Image Captioning using Jupyter
2019-03-26 09:24:04
Image captioning is a process in which textual description is generated based on an image. To better understand image captioning, we need to first differentiate it from image...
Reinout van Rees: Quiet down 'faker' in pytests
2019-03-26 09:14:00
Faker is a nice library for creating sample data for tests. No more company called "example company" and no more email address "something@example.org". No, you get readable random proper email addresses and company names and so. Handy in combination with factory_boy, which provides integration. Here's an example:
Ofosos: A tour of the Read the Docs Sphinx theme
2019-03-26 06:00:00
Today I want to take you on a tour of the Read the Docs theme for Sphinx. We'll look into what goes into it and then look at what web technologies are being used to make this theme happen. In a different take from the theme's own documentation, our journey will take us through the internals of the theme, not its use.
Python Insider: Python 3.8.0a3 is now available for testing
2019-03-26 05:19:36
No <p> found.
leftmouseclickin: Plot the average true range values line with python
2019-03-26 04:01:48
Welcome back to the ongoing Forex and Stock application project. In this chapter, we will create a method to plot the average true range values line from selected stock. As usual, we will create a button then the plot atr method to plot the above-mentined line!
codingdirectional: Display the live NBA match with python
2019-03-26 01:46:55
Welcome back to this latest NBA application project. In this chapter, we will create another method which will do the same thing that the previous method does which is to display the latest live NBA matches in the text widget, but this time it will use the all matches method instead from the sports module which will return all the sport matches as well as all the world basketball leagues matches. As usual, we will need to filter out the unwanted basketball scores from the other basketball leagues.
Python Insider: Python 3.7.3 is now available
2019-03-25 19:51:18
No <p> found.
Django Weblog: DjangoCon US 2019 Returns to San Diego
2019-03-25 18:16:15
We are pleased to announce that the DjangoCon US 2019 conference will return to San Diego, California, from September 22-27, 2019!
Podcast.__init__: A Quick Python Check-in With Naomi Ceder
2019-03-25 16:16:10
Naomi Ceder was fortunate enough to learn Python from Guido himself. Since then she has contributed books, code, and mentorship to the community. Currently she serves as the chair of the board to the Python Software Foundation, leads an engineering team, and has recently completed a new draft of the Quick Python Book. In this episode she shares her story, including a discussion of her experience as a technical author and a detailed account of the role that the PSF plays in supporting and growing the community.
Real Python: An Intro to Threading in Python
2019-03-25 14:00:00
Python threading allows you to have different parts of your program run concurrently and can simplify your design. If youâve got some experience in Python and want to speed up your program using threads, then this tutorial is for you!
leftmouseclickin: Plot the Aroon Oscillator values with python
2019-03-25 12:39:23
Welcome to the ongoing Forex and Stock python project. In this chapter we will create a method to plot the Aroon Oscillator values with python. The Aroon Oscillator is a line that can fall between -100 and 100. A high Oscillator value is an indication of an uptrend while a low Oscillator value is an indication of a downtrend. When Aroon Up remains high from consecutive new highs, the Oscillator value will be high, following the uptrend. Below is the revised version of the project, we have created a method to plot the Aroon Oscillator values and of course a button which will call that method.
Codementor: R vs Python | Best Programming Language for Data Science and Analysis
2019-03-25 08:09:59
This comparison blog on R vs Python will provide you with a crisp knowledge about the two most favorite languages for the data scientists and data analysts.
Made With Mu: Mu 1.1.0-alpha.1 Released
2019-03-25 08:00:00
We have just released the first âalphaâ of the upcoming 1.1 version of Mu. To try it, follow the links on Muâs download page. Mu is a team effort, so many thanks to all the volunteers who have contributed in innumerable ways to make this happen.
Tryton News: Release of GooCalendar 0.5
2019-03-25 07:00:02
@ced wrote:
Mike Driscoll: PyDev of the Week: Miro HronÄok
2019-03-25 05:05:27
This week we welcome Miro HronÄok (@hroncok) as our PyDev of the Week! Miro teaches at Czech Technical University and helps out with the local PyLadies chapter. He is also involved with the Special Interest Group for Python in Fedora as he works for Red Hat in addition to his teaching position. You can check out some of the projects he is involved in over on Github or check out his website. Letâs take a few moments to get to know Miro better!
PyPy Development: PyPy v7.1 released; now uses utf-8 internally for unicode strings
2019-03-24 19:45:32
No <p> found.
EuroPython: EuroPython 2019: Presenting our conference logo for Basel
2019-03-24 18:27:11
Weâre pleased to announce our official conference logo for EuroPython 2019, July 8-14, in Basel, Switzerland:
Reuven Lerner: Pythonâs âelseâ clause for loops
2019-03-24 17:30:23
Letâs say that we have a list of tuples, with each tuple containing some numbers. For example:
Shyama Sankar Vellore: List, Set and Dictionary Comprehensions in Python
2019-03-24 06:22:00
No <p> found.
Codementor: How I learned Machine Learning
2019-03-24 06:12:08
Machine Learning is a technology which lets machine to learn itself without any training.
Wingware News: Wing Python IDE 7.0 Release Candidate 1
2019-03-24 01:00:00
Wing 7.0 rc1 is now available through our early access program. It improves
the array and data frame viewer, solves several issues in Python code intelligence,
fixes VI mode jj and jk, fixes whole file PEP8 reformatting, and makes about
12 other improvements.
Brett Cannon: Deconstructing xkcd.com/1987/
2019-03-23 23:32:17
On April 30, 2018, https://xkcd.com/1987/ got published. This wasn't the first time that Randall Munroe posted about Python (probably the most famous comic was his import antigravity one which became an actual module in the stdlib as an easter egg), but it was the first comic that people construed as negative towards Python.
Shyama Sankar Vellore: Python Dictionaries: Cheat Sheet
2019-03-23 19:20:00
No <p> found.
Luke Plant: A Look at Python, Parameterized
2019-03-23 10:42:56
Iâve written A Look at Python, Parameterized on the Toptal blog â a look at how, in Python, you can replace 6+ design patterns with one concept.
Weekly Python StackOverflow Report: (clxx) stackoverflow python report
2019-03-23 07:47:00
No <p> found.
Codementor: How I learned Python Programming
2019-03-23 06:47:18
Python Programming is the most growing programming language in 2019 which is oop.
Abhijeet Pal: Configuring Django Templates
2019-03-23 03:48:27
Django is among the most recommended full stack web development frameworks at the moment. Django follows Model-Template-View (MTV) architecture. This is something similar to the traditional MVC(Â Model-View_Controller) architecture, but in Django, views are more like controllers, and MVCâs views are actually the template of Django.
Catalin George Festila: Using Tornado - first steps...
2019-03-23 03:46:52
About Tornado you can read at GitHub.
The basic info about this framework is this intro :
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection
Catalin George Festila: Fix errors with the python errors encyclopedia.
2019-03-23 03:46:32
Today I will present a website that I find very useful in learning and developing with the Python programming language.
This very short tutorial it is very useful for newcomers to get rid of all sorts of common questions about certain errors.
I encounter these types of errors when using stackoverflow account and can be a time consuming for most people who use it.
Try to read all about these
Codementor: Instant Whitenoise
2019-03-22 18:40:07
A rant and ramble about how I sleep at night with a whitenoise file
Codementor: Setup your Raspberry Pi Model B as Google Colab (Feb '19) to work with Tensorflow, Keras and OpenCV
2019-03-22 17:38:08
Setup OpenCV, Tensorflow and Keras as in Google Colab but in your Raspberry Pi, LOL.
leftmouseclickin: Plot the Aroon Up and the Aroon Down lines with Python
2019-03-22 14:25:17
In this chapter, we will continue to develop the ongoing Forex and Stock application with python. We will create a method used to plot the Aroon Up and the Aroon Down lines as well as to create a button to initiate that method.
Stack Abuse: Basic AI Concepts: A* Search Algorithm
2019-03-22 13:50:00
Artificial intelligence in its core strives to solve problems of enormous combinatorial complexity. Over the years, these problems were boiled down to search problems.
Reuven Lerner: Seven ways to improve your teamâs Python
2019-03-22 10:22:51
If youâre a manager, then youâre always trying to find ways thatâll help your team do more in less time. Thatâs why you use Python â because it makes your developers more productive. They can spend more time creating new features, and less time debugging or maintaining existing code. Itâs no surprise that so many companies are moving to Python.
Python Bytes: #122 Give Me Back My Monolith
2019-03-22 08:00:00
No summary found!
Test and Code: 69: The Pragmatic Programmer - Andy Hunt
2019-03-21 17:00:00
Andy Hunt and Dave Thomas wrote the seminal software development book, The Pragmatic Programmer. Together they founded The Pragmatic Programmers and are well known as founders of the agile movement and authors of the Agile Manifesto. They founded the Pragmatic Bookshelf publishing business in 2003.
Caktus Consulting Group: Coding for Time Zones &amp; Daylight Saving Time â Oh, the Horror
2019-03-21 16:45:36
In this post, I review some reasons why it's really difficult to program correctly when using times, dates, time zones, and daylight saving time, and then I'll give some advice for working with them in Python and Django. Also, I'll go over why I hate daylight saving time (DST).
PyCharm: Deep-dive tutorial series on React, TypeScript, and TDD
2019-03-21 14:58:56
React is obviously super-hot, TypeScript has recently become super-hot, and the combination is attracting increasing interest. Combined with Jest for test-driven development (TDD)âŠgreat developer experience.
Dataquest: Tutorial: Introduction to Git and Github
2019-03-21 14:00:49
Learn the basics of version control with Git and Github in this introductory tutorial designed to get you up and running fast.
Real Python: Intro to Object-Oriented Programming (OOP) in Python
2019-03-21 14:00:00
Object-oriented programming is one of the biggest and most important subjects in all of programming. This series will provide you with a basic conceptual understanding of Object-Oriented Programming so you can take your Python programming skills to the next level.
Stack Abuse: Python for NLP: Vocabulary and Phrase Matching with SpaCy
2019-03-21 13:20:00
This is the third article in this series of articles on Python for Natural Language Processing. In the previous article, we saw how Python's NLTK and spaCy libraries can be used to perform simple NLP tasks such as tokenization, stemming and lemmatization. We also saw how to perform parts of speech tagging, named entity recognition and noun-parsing. However, all of these operations are performed on individual words.
Talk Python to Me: #204 StaticFrame, like Pandas but safer
2019-03-21 08:00:00
Remember back in math class when you would take a test? It wasn't enough to just write down the answer. What's the limit of this infinite summation? pi/2 Yes, but how did you get that number.
Mike Driscoll: Book Review: Mission Python
2019-03-20 22:45:25
A couple of months ago, No Starch Press asked me if I would be interested in reading one of their new books called Mission Python: Code a Space Adventure Game! by Sean McManus. I enjoy reading new tech books, but itâs hard to work them in when Iâve been so busy this past year. However one of my resolutions for 2019 is to read through my backlog of tech books, so I decided to tackle this one next!
Continuum Analytics Blog: Announcing Public Anaconda Package Download Data
2019-03-20 18:24:49
Iâm very happy to announce that starting today, we will be publishing summarized download data for all conda packages served in the Anaconda Distribution, as well as the popular conda-forge and bioconda channels.  The datasetâŠ
Python Data: Comparing Machine Learning Methods
2019-03-20 17:35:14
When working with data and modeling, its sometimes hard to determine what model you should use for a particular modeling project. A quick way to find an algorithm that might work better than others is to run through an algorithm comparison loop to see how various models work against your data. In this post, Iâll be comparing machine learning methods using a few different sklearn algorithms. As always, you can find a jupyter notebook for this article on my github here.
Anarcat: Securing registration email
2019-03-20 15:28:46
I've been running my own email server basically forever. Recently, I've been thinking about possible attack vectors against my personal email. There's of course a lot of private information in that email address, and if someone manages to compromise my email account, they will see a lot of personal information. That's somewhat worrisome, but there are possibly more serious problems to worry about.
PyCharm: PyCharm 2019.1 RC 2
2019-03-20 14:57:43
New in PyCharm 2019.1: completely redesigned Jupyter Notebooks, improved HTML & CSS quick documentation, custom themes, and more. Get the release candidate from our website
Abhijeet Pal: How To Create A âHello, World!â Application With Django
2019-03-20 14:53:11
Django is a high-level full stack open source web framework written in Python, that encourages rapid development and clean, pragmatic design. Django comes with lots of advance functionalities baked in which saves developers a lot of time. The simplicity Django offers lets developers focus more on writing the app instead of rewriting the same wheel. Since itâs release in 2003 Django has proven to be the most productive framework for Python developers to know more about Django read: Django â Web Framework For Perfectionists
Trey Hunner: Unique sentinel values, identity checks, and when to use object() instead of None
2019-03-20 14:30:00
Occasionally in Python (and in programming in general), youâll need an object which can be uniquely identified. Sometimes this unique object represents a stop value or a skip value and sometimes itâs an initial value. But in each of these cases you want your object to stand out from the other objects youâre working with.
Real Python: 13 Project Ideas for Intermediate Python Developers
2019-03-20 14:00:00
Learning the basics of Python is a wonderful experience. But the euphoria of just learning can be replaced by the hunger for hands-on projects. Itâs normal to want to build projects, hence the need for project ideas.
leftmouseclickin: Plotting the average directional movement index values
2019-03-20 11:17:21
Hello and welcome back, in this chapter we will continue developing our Forex and Stock application. We will create a method to plot the average directional movement index values. The average directional index (ADX) is a technical analysis indicator used by some traders to determine the strength of a trend. The trend can be either up or down, and this is shown by two accompanying indicators, the Negative Directional Indicator (-DI) and the Positive Directional Indicator (+DI).
pythonwise: Speed: Default value vs checking for None
2019-03-20 10:47:50
No <p> found.
Shyama Sankar Vellore: Python Sets: Cheat Sheet
2019-03-20 07:19:00
No <p> found.
Catalin George Festila: Using multiprocessing - a simple introduction.
2019-03-20 06:12:17
The multiprocessing module was added to Python in version 2.6 and can be used with new python versions.
It was originally defined in PEP 371 by Jesse Noller and Richard Oudkerk.
The multiprocessing package also includes some APIs that are not in the threading module at all.
Python introduced the multiprocessing module to let us write parallel code.
You can use three basic classes: Process, Queue,
Codementor: Clean up and remove a Python3 homebrew install
2019-03-19 20:47:23
tl;dr how to clean up your Python3 homebrew install
PyCoderâs Weekly: Issue #360 (March 19, 2019)
2019-03-19 19:30:00
#360 â MARCH 19, 2019 View in Browser »
Mike Driscoll: How to Distribute a wxPython Application
2019-03-19 17:15:27
Letâs say you finished up a wonderful GUI application using wxPython. How do you share it with the world? This is always the dilemma when you finish an amazing program. Fortunately, there are several ways you can share your code. If you want to share your code with other developers, than Github or a similar website is definitely a good way to do. I wonât be covering using Git or Mercurial here. Instead what you will learn here is how to turn your application into an executable.
Django Weblog: 2018 Malcolm Tredinnick Memorial Prize awarded to Kojo Idrissa
2019-03-19 16:04:13
The Board of the Django Software Foundation is pleased to announce that the 2018 Malcolm Tredinnick Memorial Prize has been awarded to Kojo Idrissa.
Real Python: Python Decorators 101
2019-03-19 14:00:00
In this course on Python decorators, youâll learn what they are and how to create and use them. Decorators provide a simple syntax for calling higher-order functions in Python. By definition, a decorator is a function that takes another function and extends the behavior of the latter function without explicitly modifying it.
Abhijeet Pal: Starting A Django Project
2019-03-19 12:11:25
Django is one of the most popular open source full-stack web development Framework written in Python. Django is a framework for perfectionists with deadlines, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel.
Shyama Sankar Vellore: Python Tuples: Cheat Sheet
2019-03-19 06:56:00
A cheat sheet for tuples in Python. What are tuples? How are they used in Python?<br /><div></div><a href="https://mypythonlessons.blogspot.com/2019/03/python-tuples-cheat-sheet.html#more"></a><img src="http://feeds.feedburner.com/~r/blogspot/learnpython/~4/f9Ix7gKUT_c" height="1" width="1" alt="" />
leftmouseclickin: Plotting the average directional movement index rating line with python
2019-03-19 04:12:15
In this chapter, we will create the plot adxr method in the ongoing Forex and Stock application project to plot the average directional movement index rating line. The Average Directional Movement Index Rating (ADXR) measures the strength of the Average Directional Movement Index (ADX). Itâs calculated by taking the average of the current ADX and the ADX from one time period before (time periods can vary, but the most typical period used is 14 days).
codingdirectional: Get only the latest live match from NBA with python
2019-03-19 03:23:16
Hello and welcome back, in this chapter we will continue to develop the previous sports score application by showing all the latest live matches from the NBA on the text widget area. The sports.py module does not have a method to only return the live NBA matches but instead that API call will return basically all the live basketball matches from all the basketball leagues around the world. Therefore we will need to filter out all those none NBA results before showing the data on the text widget. Below is the modified version of the program which will do just that. We will perform the filtering process under the get matches method.
Python Insider: Python 3.4.10 is now available
2019-03-18 16:37:16
No <p> found.
Python Insider: Python 3.5.7 is now available
2019-03-18 16:36:45
No <p> found.
leftmouseclickin: Plotting Absolute Price Oscillator (APO) Line with Python
2019-03-18 14:10:10
If you make a search on Google about APO Line, this is what you will see: Absolute Price Oscillator (APO) moving averages of a securityâs price and is expressed as an absolute value. APO crossing above zero is considered bullish while crossing below zero is bearish.
Real Python: How to Build a Python GUI Application With wxPython
2019-03-18 14:00:00
There are many graphical user interface (GUI) toolkits that you can use with the Python programming language. The big three are Tkinter, wxPython, and PyQt. Each of these toolkits will work with Windows, macOS, and Linux, with PyQt having the additional capability of working on mobile.
Podcast.__init__: Wes McKinney's Career In Python For Data Analysis
2019-03-18 10:32:50
Python has become one of the dominant languages for data science and data analysis. Wes McKinney has been working for a decade to make tools that are easy and powerful, starting with the creation of Pandas, and eventually leading to his current work on Apache Arrow. In this episode he discusses his motivation for this work, what he sees as the current challenges to be overcome, and his hopes for the future of the industry.
Zato Blog: HTTP Method and Accept headers
2019-03-18 09:38:15
Zato 3.1 includes new means to manage access to REST services based on input Method and Accept headers in HTTP requests - here is how they can be employed in practice.
Django Weblog: Django 2.2 release candidate 1 released
2019-03-18 08:40:06
Django 2.2 release candidate 1 is the final opportunity for you to try out the salmagundi of new features before Django 2.2 is released.
codingdirectional: Create a sports score application with python
2019-03-18 07:02:12
Hello and welcome back. In this chapter, we will create a small sports score application with the help of the sports.py module. We will create a simple application to retrieve the score of the NBA result for any two particular teams and prints it on the tkinterâs text widget. Before we start, you will need to download the sports.py module to your own computer. Since the module is on pypi.org all you need is to open up your windows command prompt and type in below line to download that module! As I have mentioned earlier, I am now using visual studio 2019 to develop this new python project.
Mike Driscoll: PyDev of the Week: Bruno Rocha
2019-03-18 05:05:27
This week we welcome Bruno Rocha (@rochacbruno) as our PyDev of the Week! Bruno works for Red Hat and participates in the Python, Flask and Rust communities. You can see some of his projects over on Github or check out some of his writings on Medium. Letâs take a few moments to get to know Bruno better!
leftmouseclickin: Plotting the Chaikin AD line graph
2019-03-18 04:02:10
In this chapter, we will create a method to plot the Chaikin AD line graph with the help from the alpha vantage module. The Accumulation Distribution Line (ADL) is used by Chaikin Oscillator to measure the movements of a stock.
Montreal Python User Group: Montréal-Python 74: Call for speakers - Virtual Echo
2019-03-18 04:00:00
Spring is upon us and it's time for Pythonistas to gather and discuss the latest news and their latest projects.
gamingdirectional: Put the power bar on the game scene
2019-03-17 05:33:26
Finally we have came to the last chapter of this pygame project, in this chapter we will put three things on the game scene, a text which indicates what is the power level of the player, a game level indicator as well as a power bar which shows the power level of that player in the graphic form. We will need to edit three files in order to create such a mechanism. The first file we need to edit is...
leftmouseclickin: Further modifying the Bollinger Bands features
2019-03-17 03:42:53
In this chapter, we will further modify the previous plot_stock_technical method which uses to plot the Bollinger Bands graph. We will create a few combo boxes that offer various extra parameters that will be used to plot the Bollinger Band for any selected stock. The result is amazing after this edit.
Weekly Python StackOverflow Report: (clxix) stackoverflow python report
2019-03-16 20:11:00
No <p> found.
Python Bytes: #121 python2 becomes self-aware, enters fifth stage of grief
2019-03-16 08:00:00
No summary found!
codingdirectional: Create a new Python Project with Visual Studio 2019 RC IDE
2019-03-16 06:59:33
Hello people, after a while of rest I have started a new python project today which I believe will take almost a month to complete. I will update the progress of this project at least a few times per week on this website so make sure you visit this website constantly to receive the latest project update.
codingdirectional: Return a reverse order list for a number with python
2019-03-16 06:12:19
Hello people, this will be the last article which we will solve a simple question in CodeWars, in the next chapter we will start our next python project. In this chapter, we will solve one of the questions in CodeWars and the question goes like this.
Nick Coghlan: What does "x = a + b" mean?
2019-03-16 06:06:21
Making sense of "x = a + b"
codingdirectional: Remove exclamation mark from a string with python
2019-03-16 04:07:39
In this article, we will create a simple python program which will remove the exclamation mark from a string based on the second parameter which specifies how many exclamation marks should be removed from the beginning till the end of that string.
gamingdirectional: The final adjustment of the main menu page buttons
2019-03-16 03:27:56
In this chapter, we will make a final adjustment of the main menu page buttons so they will be positioned nicely on the game scene. We need to edit three files in this chapter. We will adjust the button positions on the start scene class. from BgSprite import BgSprite from GameSprite import GameSprite from pygame.locals import * from pygame import math as mt import pygame import pygame.
leftmouseclickin: Plot the sector performance graph
2019-03-16 02:55:12
In this chapter, we will continue to develop our Forex/ Stock application by introducing another button which after it has been clicked will call a method to make an API call to retrieve the sector performance data that will then get plotted on a graph.
Codementor: How and why I built BlueThroat - An open source cloud migration tool
2019-03-15 19:52:20
BlueThroat project is the only opensource solution for migrating your infrastructure to the cloud.
Codementor: Platforms, Python Practice Projects, and Picking Up Flask: A Blog Story
2019-03-15 17:02:02
These are mostly my raw notes from a recent project I did that was rejected but ultimately acquired me new skills via Flask
Codementor: Why to DIY chatbots
2019-03-15 17:00:59
Everyone should be building their own chatbots as the frameworks in existence will bottleneck progress.
Guido van Rossum: Why operators are useful
2019-03-15 14:38:36
No <p> found.
Low Kian Seong: DevOps for corporate ?
2019-03-15 08:35:15
No <p> found.
leftmouseclickin: Plot the technical data for a stock
2019-03-15 03:40:58
Welcome back, in this chapter we will continue to develop our stock and Forex application by plotting the technical data for any stock which has been selected from the stock symbol combo box. If you are really interested to develop your own Stock/Forex analysis application then alpha_vantage is probably your best choice, the data is great and the data returning speed is very fast plus one more, the API is completely free. Look no further than alpha vantage if you are a serious Forex or Stock application developer. I am not the affiliate of this program but just give you a suggestion.
gamingdirectional: Online Game Manual and Sound On Off
2019-03-15 02:50:42
Hello and in this chapter, we will wrap up the features on the main manual page so we can move on to the last feature on the game page which is the power bar display. We will edit two files to finish up the final two features on the manual page. The first one is to create a clickable game manual button which when someone clicks on it will open up an online manual page. The second feature is a...
codingdirectional: Count the number of audiences around you in the theater
2019-03-15 02:02:35
Hello and welcome back. In this chapter, we are going to create the python method which will count the number of audiences around you in the theater based on the column and the row you are sitting on as well as the total rows and the total columns of the seat in the cinema. Here is the full question from CodeWars.
eRambler: Using Pipfile in Binder
2019-03-14 20:08:17
Photo by Sear Greyson on Unsplash
Stack Abuse: Introduction to Python FTP
2019-03-14 15:20:13
In this tutorial, we will explore how to use FTP with Python to send and receive files from a server over TCP/IP connections.
Dataquest: Tutorial: Why Functions Modify Lists and Dictionaries in Python
2019-03-14 15:01:38
In this beginner Python tutorial, we'll take a look at mutable and immutable data types, and learn how to keep dictionaries and lists from being modified by our functions.
Python Anywhere: System update this morning
2019-03-14 09:44:40
This morning's system update went smoothly :-)
Matt Layman: Python Testing 101 with pytest
2019-03-14 00:00:00
For Python Frederickâs March presentation, I presented on Python testing. In the presentation, I used pytest to show how quickly you can get started with testing your code. We covered the what, why, and how of testing in Python.
PyCharm: PyCharm 2019.1 Release Candidate
2019-03-13 16:40:04
PyCharm 2019.1 is getting closer to its release date, and weâre happy to announce that a release candidate is available for download now.
Trey Hunner: Tuple ordering and deep comparisons in Python
2019-03-13 14:30:00
Comparing things in Python. That sounds like something that almost doesnât even need to be taught. But Iâve found that Pythonâs comparison operators are often misunderstood and under-appreciated by newer Pythonistas.
Real Python: Understanding the Python Mock Object Library
2019-03-13 14:00:00
When youâre writing robust code, tests are essential for verifying that your application logic is correct, reliable, and efficient. However, the value of your tests depends on how well they demonstrate these criteria. Obstacles such as complex logic and unpredictable dependencies make writing valuable tests difficult. The Python mock object library, unittest.mock, can help you overcome these obstacles.
Stack Abuse: Python for NLP: Tokenization, Stemming, and Lemmatization with SpaCy Library
2019-03-13 13:04:00
In the previous article, we started our discussion about how to do natural language processing with Python. We saw how to read and write text and PDF files. In this article, we will start working with the spaCy library to perform a few more basic NLP tasks such as tokenization, stemming and lemmatization.
codingdirectional: Keep on removing the second item in a list with python
2019-03-13 12:56:04
In this chapter we will look at another question from CodeWars, this question goes like this: Given a list of items, create a method which will keep on removing the next item in the list and returning a list without the next item.
leftmouseclickin: Further modifying the stock and forex application
2019-03-13 12:35:26
In this chapter we will continue to develop our Forex and Stock application. We have created a method to retrieve and plot the stock value vs time interval on a graph in the previous chapter and in this chapter we will create a combo box and populate it with the stock symbols so a user can select any stock he wishes to plot before calling the plot stock exchange method again.
Python Software Foundation: Commencing Security, Accessibility, and Internationalization Improvements to PyPI for 2019
2019-03-13 11:55:17
No <p> found.
gamingdirectional: Exit the game on the main menu page or during the game stage
2019-03-13 11:21:21
In this chapter we will edit the main file of the pygame project so when we click on the âxâ button on the top right of the game window during the game stage or we click on the exit button on the main menu page, the current game level will be saved and the game will exit. The position of the exit button on the start scene class remains unchanged so the only file we need to edit is the...
Talk Python to Me: #203 Beginners and Experts in Software Development
2019-03-13 08:00:00
What's it like to be a beginner in software development? How about learning Python for the first time? This episode is a special panel episode and is the first of a two-part series we are doing on the podcast called Beginners and Experts.
Test and Code: 68: test && commit || revert (TCR) - Thomas Deniffel
2019-03-13 04:45:00
With conventional TDD, you write a failing test, get it to pass, then refactor. Then run the tests again to make sure your refactoring didn't break anything. But what if it did break something? Kent Beck has been recommending to commit your code to revision control after every green test run. Oddmund StrĂžmme suggested a symmetrical idea to go ahead and revert the code when a test fails. Kent writes that he hated the idea, but had to try it. Then wrote about it last September. And now we have TCR, "(test && commit) || revert".
Paolo Melchiorre: How to use đș uWSGI with đ Python 3.7 in đ„ Ubuntu 18.x
2019-03-12 23:00:00
Step-by-step how-to guide to use uWSGI with Python 3.7 for Ubuntu 18.04 and 18.10.
PyCoderâs Weekly: Issue #359 (March 12, 2019)
2019-03-12 19:30:00
#359 â MARCH 12, 2019 View in Browser »
Python Insider: Python 3.7.3rc1 is now available for testing
2019-03-12 19:23:43
No <p> found.
leftmouseclickin: Plot the stock value graph with python
2019-03-12 12:39:54
Welcome back to the ongoing Forex/Stock application project. In this chapter, I have created a button which will call the method that will make the API call using the alpha vantage module to retrieve a particular stock value and then creates the stock value vs time interval graph. I will just use one of the random stock to show the example and will further modify this feature in the next chapter where a user will be able to select any major stock that he wishes from the combo box to retrieve itâs valued and then the program will plot the value vs the time graph accordingly. Here is the modified version of the python program.
codingdirectional: Return the probability of drawing a blue marble
2019-03-12 11:04:52
It seems like I have not decide yet which project am I going to create next so why not just work on another python solution on CodeWars in this chapter. I think I will work on a few more python questions in the next few chapters before starting a brand new python project.
gamingdirectional: Touch up the about scene
2019-03-12 07:54:26
Hello and welcome back, in the next few chapters we will touch up all the game scenes one by one for our new pygame project. In this chapter, we will touch up the About scene where we will adjust the position of the credit text accordingly. We will only need to edit one file and that is the start scene class in order to touch up the about scene. from BgSprite import BgSprite from GameSprite import...
NumFOCUS: NumFOCUS Hires New Staff to Support Events and Financial Services
2019-03-11 21:23:04
The post NumFOCUS Hires New Staff to Support Events and Financial Services appeared first on NumFOCUS.
Continuum Analytics Blog: Understanding and Improving Condaâs performance
2019-03-11 16:17:46
Lately, we have been responding to issues about Condaâs speed.  Weâre working on it and we wanted to explain a few of the facets that weâre looking at to solve the problem.  TL;DR: makeâŠ
Continuum Analytics Blog: End of Life (EOL) for Python 2.7 is coming. Are you ready?
2019-03-11 15:58:34
End of Life (EOL) for Python 2.7 is coming. Are you ready? We all knew it was coming. Back in 2014 when Guido van Rossum, Pythonâs creator and principal author, made the announcement, January 1,âŠ
Codementor: Building news word clouds using Python and Repl.it
2019-03-11 15:46:44
A step by step tutorial on building a web application with Python, Flask and Repl.it that scrapes the latest news, converts the articles into word clouds, and displays these on a simple page.
Real Python: Managing Multiple Python Versions With pyenv
2019-03-11 14:00:00
Have you ever wanted to contribute to a project that supports multiple versions of Python but arenât sure how you would easily test all the versions? Are you ever curious about the latest and greatest versions of Python? Maybe youâd like to try out these new features, but you donât want to worry about messing up your development environment. Luckily, managing multiple version of Python doesnât have to be confusing if you use pyenv.
gamingdirectional: Create the level/score page
2019-03-11 12:14:46
In this chapter, we will create a level/score page for our new pygame project. We need to edit four files in order to create the level/score page. The first file is the level manager class which will save the game level if the player has clicked on the home button on the game pause page which brings him to the main menu page or clicks on the âxâ button on the game windows to close the...
Codementor: Running a script from S3 on EC2 in 7 lines of code
2019-03-11 08:08:41
Use the power of EC2 instance to execute a resource-hungry script
Mike Driscoll: PyDev of the Week: Maria Khalusova
2019-03-11 05:05:41
This week we welcome Maria Khalusova ( @mariakhalusova) as our PyDev of the Week! Maria works for JetBrains and will be speaking at AnacondaCON this April. If youâd like to catch up with her, you can check out Mariaâs blog. Letâs take a few moments to get to know Maria better!
Techiediaries - Django: Post Multipart Form Data in Python with Requests: Flask File Upload Example
2019-03-11 00:00:00
In this tutorial we'll demonstrate how to upload a file from a Python server to another server by sending a POST request with multipart/form-data using the Python requests library.
Podcast.__init__: The Past, Present, and Future of Deep Learning In PyTorch
2019-03-10 21:50:06
The current buzz in data science and big data is around the promise of deep learning, especially when working with unstructured data. One of the most popular frameworks for building deep learning applications is PyTorch, in large part because of their focus on ease of use. In this episode Adam Paszke explains how he started the project, how it compares to other frameworks in the space such as Tensorflow and CNTK, and how it has evolved to support deploying models into production and on mobile devices.
Django Weekly: #73 - Djangochat podcast, Django Recommended Reading and more
2019-03-10 14:06:24
No <p> found.
Zato Blog: Working with LDAP and Active Directory
2019-03-10 07:00:11
A feature new in Zato 3.1 is the ability to connect to LDAP servers, including Active Directory instances, and this article covers basic administration as programming tasks involved in their usage from Python code.
Techiediaries - Django: Multiple Image/File Upload with Django, Ionic 4 and FormData
2019-03-10 00:00:00
In this tutorial, you'll learn to implement multiple file upload with Ionic 4, Django and FormData.
Techiediaries - Django: CORS in Django REST Framework
2019-03-10 00:00:00
CORS stands for Cross Origin Resource Sharing. If you are building applications with Django and modern front-end/JavaScript technologies such as Angular, React or Vue, chances are that you are using two development servers for the back-end server (running at the 8000 port) and a development server (Webpack) for your front-end application.
Weekly Python StackOverflow Report: (clxviii) stackoverflow python report
2019-03-09 13:29:00
No <p> found.
codingdirectional: Return a list of divisible numbers
2019-03-09 11:12:51
It seems like I am still thinking about what is the new application to create for the next project so I think I will solve a few more easy questions from the Codewars website. All the questions that I am looking at will be simple because I donât want to spend too much time each day just to solve hard question. OK, let us get to work.
Talk Python to Me: #202 Building a software business
2019-03-09 08:00:00
One core question around open source is how do you fund it? Well, there is always that PayPal donate button. But that's been a tremendous failure for many projects. Often the go-to answer is consulting.
gamingdirectional: The screenshot mechanism
2019-03-09 05:36:56
I have just completed the screenshot mechanism for this latest pygame project. Basically, we will need to edit a few files in order to implement that mechanism. The first file we need to edit is the scene class which will show all the screenshots that player has taken when he presses on the s key during the game stage! from BgSprite import BgSprite from GameSprite import GameSprite from pygame.
Techiediaries - Django: Multiple File/Image Upload with Django, Angular 7 and FormData
2019-03-09 00:00:00
In the previous tutorial we have seen how to implement file uploading in Django and Angular 7. In this tutorial, we'll see how to implement multiple file uploading.
gamingdirectional: Pause the gameplay
2019-03-08 10:33:14
In this chapter, we will continue to tidy up the game interface of our latest pygame project by creating a pause mechanism to pause the game when the user presses on the p key on the keyboard. In order to pause the game, we need to edit three files. The first one is the main file where the program will detect the key up event of the p key whenever the user has pressed the p key on the computer...
Anatoly Techtonik: Please protect the right to create public domain works
2019-03-08 10:20:37
No <p> found.
Codementor: PySpark Programming
2019-03-08 07:16:23
This PySpark Programming tutorial introduces you to What is PySpark & talks about the fundamental PySpark concepts like RDDs, DataFrame & PySpark Streaming.
Techiediaries - Django: Django REST Framework Image File Upload Tutorial & Example [FormData & Angular 7 UI]
2019-03-08 00:00:00
Throughout this tutorial, we'll see how you can implement file upload in Django and Django REST Framework with a step by step example. Our application will expose an /upload endpoint that accepts POST requests that contain the file posted with a multipart/form-data content type using FormData. For the frontend, we'll be using Angular 7 to create a simple interface that allows the user to select a file and upload it to the server via a POST request and FormData.
Reuven Lerner: Registration for Weekly Python Exercise ends in 24 hours
2019-03-07 18:16:33
Registration for Weekly Python Exercise B1 (i.e., advanced level, part 1) closes in about 24 hours. Donât be left out!WPE gives you exercises in all sorts of advanced Python topics: Data structures, functions, object-oriented programming, comprehensions, generators, and decorators.   These exercises model real-world problems, so that when you encounter problems at your job, youâll be able to attack them better and faster, with fewer searches on Stack Overflow and Google.Moreover, it does so with an online community â so you can compare code with, and learn from, others in the cohort.You will, after 15 weeks in WPE, be a better, more fluent Python developer. Youâll be more valuable at your current job, and able to get better jobs in the future. But donât just take my word for it. Hereâs what some WPE students have said:
Gocept Weblog: Zope spring cleaning sprint
2019-03-07 15:43:11
The last year before the sunset of the Python 2 land has begun. Earl Zope feels relatively well prepared to live in the Python 3 wonderland.
Stack Abuse: Python for NLP: Working with Text and PDF Files
2019-03-07 14:32:00
This is the first article in my series of articles on Python for Natural Language Processing (NLP). In this article, we will start with the basics of Python for NLP. We will see how we can work with simple text files and PDF files using Python.
PyCon: Call for Volunteers!
2019-03-07 13:00:48
No <p> found.
Codementor: Python Tutorial | A Complete Guide to Learn Python Programming
2019-03-07 07:47:43
This Python Tutorial blog will help you learn Python programming basics - Variables, Data types, Operators, Conditional Statements, Loops and Functions.
codingdirectional: Is a number divisible?
2019-03-07 06:06:25
After we have wrapped up the previous Forex project we will go easy today by solving a simple question from Codewars and then I will talk about the future plan for this website at the end of this post.
gamingdirectional: The winning scene of the game
2019-03-07 04:30:15
Hello and welcome back, in this article we will create the winning scene for this pygame project. Basically, we have already created those winning scene mechanisms in the last project where the gameâs winning scene will pop up when the player has concurred all the levels, the player can then press on the play button to restart the game again if he wants to. Below are the three files that are...
Mike Driscoll: Book Review: Serious Python
2019-03-06 18:15:09
No Starch Press asked me to do a technical review of one of their upcoming books, âSerious Python: Black-Belt Advice on Deployment, Scalability, Testing, and Moreâ by Julien Danjou last year. I had never worked with No Starch before, but decided to give them a try and see how they differed from Packt Publishing. I ended up liking their process and the book was fun to read as well. It should be noted that No Starch did not ask me to do a book review. They only wanted me to do a technical review for them before the book was published.
PyCharm: PyCharm 2019.1 EAP 7
2019-03-06 17:07:22
All-new direct Jupyter Notebook editing and running support, type checking on assignment, a new JavaScript debug console, and more features are already available in this weekâs Early Access Program (EAP) version of PyCharm 2019.1. Download the EAP now.
Stack Abuse: Introduction to Python OS Module
2019-03-06 14:22:00
In this tutorial, you will learn how to work along with Python's os module.
gamingdirectional: Edit the level 2 game map
2019-03-06 14:16:41
It has been a day since the last post, I am really busy recently working on the offline business so I really need to divide the time equally for both the online and the offline business. In this chapter, we will finish up the previous unfinished business which is to come out with a new game map for level 2. We need to edit those level 2 data for the player, the enemy, the background and the mana...
Real Python: Using PyInstaller to Easily Distribute Python Applications
2019-03-06 14:00:00
Are you jealous of Go developers building an executable and easily shipping it to users? Wouldnât it be great if your users could run your application without installing anything? That is the dream, and PyInstaller is one way to get there in the Python ecosystem.
codingdirectional: The final part of the Forex application project
2019-03-06 11:10:42
Hello and welcome back, as I have mentioned earlier I would like to create a method which will convert USD/world currency pairs to world currency pair/world currency pair before closing up this Forex application project and in this chapter, we will look at the source code to do the above- mentioned topic.
Anarcat: February 2019 report: LTS, HTML mail, new phone and new job
2019-03-06 02:04:34
This is my monthly Debian LTS report.
PyCoderâs Weekly: Issue #358 (March 5, 2019)
2019-03-05 20:30:00
#358 â MARCH 5, 2019 View in Browser »
Stack Abuse: Introduction to Python Decorators
2019-03-05 15:15:52
In Python, a decorator is a design pattern that we can use to add new functionality to an already existing object without the need to modify its structure. A decorator should be called directly before the function that is to be extended. With decorators, you can modify the functionality of a method, a function, or a class dynamically without directly using subclasses. This is a good idea when you want to extend the functionality of a function that you don't want to directly modify. Decorator patterns can be implemented everywhere, but Python provides more expressive syntax and features for that.
PyCon: PyCon 2019 Talks, Charlas, Posters, and Education Summit Schedules
2019-03-05 14:50:45
No <p> found.
Codementor: Avoid Djangoâs GenericForeignKey
2019-03-05 14:17:10
Why Django's GenericForeignKey is (usually) a bad idea, and, more importantly, the superior alternatives you can use.
PyBites: Building a Python Tips API with Django REST Framework and Deploying it to Digital Ocean
2019-03-05 11:30:00
In this article I will show you how to build a simple API for our growing collection of Python tips:
Python Bytes: #120 AWS, MongoDB, and the Economic Realities of Open Source and more
2019-03-05 08:00:00
No summary found!
Carl Chenet: You Should Not Ignore the Mastodon Social Network Any More
2019-03-04 23:00:21
The Mastodon social network reached 2 million users some days ago, almost doubling its number of users in one year.
Ian Ozsvald: Second Successfully Delivering Data Science Projects just over
2019-03-04 21:55:53
I ran the second iteration of my Successfully Delivering Data Science Projects course last Friday to this happy group, we had a lovely day and good conversation has continued in the teaching slack over the weekend:
Codementor: âEverything is Awesomeâ: Python Meets Plastic Bricks
2019-03-04 21:07:07
Bricks-in-the-Loop is a learning environment that combines LEGO blocks with control system and IoT technologies.
Podcast.__init__: How To Include Redis In Your Application Architecture
2019-03-04 18:38:34
The Redis database recently celebrated its 10th birthday. In that time it has earned a well-earned reputation for speed, reliability, and ease of use. Python developers are fortunate to have a well-built client in the form of redis-py to leverage it in their projects. In this episode Andy McCurdy and Dr. Christoph Zimmerman explain the ways that Redis can be used in your application architecture, how the Python client is built and maintained, and how to use it in your projects.
Reuven Lerner: Understanding Python slices
2019-03-04 16:07:25
Letâs say that you have a Python string, and want to grab a substring from it. The best way to do so is with a âsliceâ:
James Bennett: Contributing to classiness (in Django)
2019-03-04 15:27:56
A couple weeks ago I ran a poll on Twitter asking people whether theyâd ever used, or considered using, the contribute_to_class() method to write something that attaches to or hooks into a Django ORM model class, and if so what their thoughts were. There was also a âdonât know what that isâ option, which won by a large margin, and I promised Iâd provide an explanation.
Stack Abuse: Affine Image Transformations in Python with Numpy, Pillow and OpenCV
2019-03-04 14:56:00
In this article I will be describing what it means to apply an affine transformation to an image and how to do it in Python. First I will demonstrate the low level operations in Numpy to give a detailed geometric implementation. Then I will segue those into a more practical usage of the Python Pillow and OpenCV libraries.
Real Python: Refactoring Python Applications for Simplicity
2019-03-04 14:00:00
Do you want simpler Python code? You always start a project with the best intentions, a clean codebase, and a nice structure. But over time, there are changes to your apps, and things can get a little messy.
Zato Blog: SFTP connections
2019-03-04 10:55:00
Zato has had support for FTP/FTPS since its inception. In Zato 3.1+, SFTP is also an option to consider for file transfer and this post offers an introduction to the functionality.
Python Insider: Python 2.7.16 released
2019-03-04 10:15:37
No <p> found.
Codementor: Connecting Raspberry Pi to the Alibaba Cloud IoT Platform Using Python
2019-03-04 08:57:10
Join us at the Alibaba Cloud ACtivate Online Conference on March 5-6 to challenge assumptions, exchange ideas, and explore what is possible through digital transformation.
Written by Hongfeng Liu,...
gamingdirectional: Our greatest glory is not in never falling, but in rising every time we fall
2019-03-04 07:51:34
Welcome back to this new pygame project. In this chapter we will win and get to the next level of the game, if we lose then we will return to the beginning of that level. In the previous chapter, we have passed the game manager object to the boy sprite object so that boy sprite object can use that game manager to reset the game when it is game over or to increase the game level when that player...
Mike Driscoll: PyDev of the Week: Mariusz Felisiak
2019-03-04 06:05:06
This week we welcome Mariusz Felisiak (@MariuszFelisiak) as our PyDev of the Week! Mariusz is a core developer of the Django web framework and a maintainer of the django-request package. You can follow Mariusz over on Github to see what heâs been up to. Letâs spend some time getting to know Mariusz!
Python Insider: Python 3.5.7rc1 and Python 3.4.10rc1 are now available
2019-03-04 04:27:25
No <p> found.
codingdirectional: Tidy up the user interface of the Forex application
2019-03-04 04:18:40
Hello and welcome back to this Forex application project. After all the hard work in the previous chapter we will go lightly in this chapter by tidying up the user interface of this Forex application. We will include an icon for this application on the application window plus edit the background color and the padding of the tkinterâs widget accordingly. Below is the edit version of this application.
Wingware News: Wing Python IDE 6.1.5
2019-03-04 01:00:00
Wing 6.1.5 is now available. It improves code intelligence for extension
modules on remote hosts, adds a debug status icon to the debug process popup menus,
checks for conflicts before introducing names with refactor operations,
improves support for py.exe on Windows, and makes about 30 other minor
improvements.
Matt Layman: Ansible Cranked to 11
2019-03-04 00:00:00
On the Building SaaS with Python and Django Twitch stream, I tried out a new tool to see if it would improve my deploy time. We configured Ansible to use Mitogen and it was an incredible success.
Zero-with-Dot (Oleg ƻero): Hosting private pip packages using Azure Artifacts
2019-03-03 23:00:00
Imagine a typical situation, in which you build some production ready data pipeline that requires several levels of data processing. The ways you process the data is subjugated to constant evolution as it relies on output from research carried by you or another team. Things are expected to change as experimentation is an ongoing. Naturally, the last thing you want is to blend âoperationsâ logic with âscientificâ code.
Jahongir Rahmonov: How to write a Python web framework. Part III.
2019-03-03 15:10:00
Check out Part I here Check out Part II here
PyBites: PyBites Twitter Digest - Issue 03, 2019
2019-03-03 13:44:46
Thanks for coming to my talk at #PyCascades2019! To learn more about programming hardware and LEDs with Python, ch⊠https://t.co/OKIJRnPyZQ
codingdirectional: Search for any particular currency pair within the Forex data
2019-03-03 06:48:55
Before we start this chapter I just want to tell you people that I have extended this website for another year by paying the full year rent for web hosting. The goal I start this website is not to make money from it but to share what I know in programming with all of you, therefore I certainly do not expect any large income from a site like this. I myself is a tech and programming lover and I like to play with new tech stuff and create cool software to use in every day life. Although all the above statements are true there is one thing we all need to know which is although I can always provide free code for the readers but I do need to pay rent for this website every month, thus I would like to take this opportunity to ask for your kind donation to help this site out, the donation form is located at the sidebar of this website, I really donât mind how much money you donate to me, 1 usd is as good as 100 USD as long as there is enough money to finance this website to keep it going. So friend, kindly provide your support to me through donation, thank you in advance. Alright, without wasting anymore time, let us begin this new chapter.
Weekly Python StackOverflow Report: (clxvii) stackoverflow python report
2019-03-02 21:06:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-03-02 21:06:04 GMT
Ned Batchelder: Mutmut
2019-03-02 12:36:00
Mutation testing is an old idea that I havenât yet seen work out, but itâs fascinating. The idea is that your test suite should catch any bugs in your code, so what if we artificially insert bugs into the code, and see if the test suite catches them?
Low Kian Seong: A new year and new challenges
2019-03-02 08:22:00
No <p> found.
codingdirectional: Create a selection combo box for the forex project
2019-03-02 07:31:03
Hello and welcome back to our Forex application project. In this chapter, we will create a combo box which will be filled up with the data returned by the API call from Coinbase. The process to create the combo box is fairly simple, all we need is to create the box and then populate the data into it once the program has received the data from Coinbase. Below is the entire program, the other parts of the program have already been explained in the previous chapter.
gamingdirectional: Rotate the mana object
2019-03-02 05:23:13
In this chapter, we will continue to develop the mana object. We will rotate the mana object on each update. If you still remember that we have created an update method under the mana class then in this chapter we will update the rotation angle position of that mana object accordingly on each update under this method. We will also create the get height and get width method so that mana object will...
Will Kahn-Greene: Bleach: stepping down as maintainer
2019-03-01 14:00:00
Bleach is a Python library for sanitizing and linkifying text from untrusted sources for safe usage in HTML.
Tryton News: Newsletter March 2019
2019-03-01 07:00:00
@ced wrote:
Toshio Kuratomi: Managing vim8 plugins
2019-03-01 02:02:50
Vim-8.x gained native plugin handling so that plugin managers like Pathogen and Vundle arenât needed anymore. Enabling a plugin is as easy as cloning a git repository into the right directory (or unzipping a tarball or making the proper directories orâŠ.)
Test and Code: 67: Teaching Python in Middle School
2019-02-28 18:00:00
In today's episode we talk with Kelly Paredes & Sean Tibor. They teach Python in a middle school in Florida, and talk about this experience on the podcast Teaching Python.
Stack Abuse: Doubly Linked List with Python Examples
2019-02-28 17:24:00
This is the third article in the series of articles on implementing linked list with Python. In Part 1 and Part 2 of the series we studied single linked list in detail. In this article, we will start our discussion about doubly linked list, which is actually an extension of single linked list.
PyCharm: PyCharm 2019.1 EAP 6
2019-02-28 09:47:33
A variable viewer for our native Jupyter Notebook support, an interpreter indicator in the status bar, and more. Try the PyCharm 2019.1 EAP now, you can download the latest version on our website.
gamingdirectional: The mana detection mechanism
2019-02-28 07:04:26
Finally, in this chapter, we will look at the mana detection mechanism where when the player has overlapped mana he will gain 1 unit of life so when he hits the enemy he can continue to move onward after he has used that 1 unit of life to heal himself. We will also remove the enemy from the scene after it has collided with the player. In order to create such a system, we need to edit a few files.
codingdirectional: Include the currency name into the forex application
2019-02-28 04:30:39
Hello and welcome back to this new python forex application project. In the previous chapter, we have successfully retrieved the name and the id pair for all the conbase supported currencies, and in this chapter, we will use that information to add the currency name beside each currency id when we are comparing that currency to the USD. Below is the modify version of this program.
The Digital Cat: Python Mocks: a gentle introduction - Part 1
2019-02-27 23:30:00
As already stressed in the two introductory posts on TDD (you can find them here) testing requires to write some code that uses the functions and objects you are going to develop. This means that you need to isolate a given (external) function that is part of your public API and demonstrate that it works with standard inputs and in edge cases.
PyCharm: PyCharm 2018.3.5
2019-02-27 14:32:19
Weâve release a minor update to PyCharm 2018.3, you can now download PyCharm 2018.3.5 from our website.
Stack Abuse: Introduction to the Python Pathlib Module
2019-02-27 14:01:00
The Pathlib module in Python simplifies the way in working with files and folders. The Pathlib module is available from Python 3.4 and higher versions. It combines the best of Python's file system modules namely os, os.path, glob, etc.
Real Python: Traditional Face Detection With Python
2019-02-27 14:00:00
Computer vision is an exciting and growing field. There are tons of interesting problems to solve! One of them is face detection: the ability of a computer to recognize that a photograph contains a human face, and tell you where it is located. In this article, youâll learn about face detection with Python.
Talk Python to Me: #201 Choosing JupyterHub and Python over MATLAB
2019-02-27 08:00:00
The Nobel prize in economics recently went to Paul Romer, a convert from proprietary software like Matlab over to Python and the SciPy stack. Paul said, âThe more I learn about proprietary software, the more I worry that objective truth might perish from the earth.â
Mike Driscoll: Pros and Cons of Indy Publishing
2019-02-27 06:05:42
I personally really love self-publishing or Indy Publishing, so I am a little biased. In this article, I will go over what I think are the pros and cons of Indy Publishing versus going with a ârealâ publisher.
Reuven Lerner: Want to improve your Python skills? Join the upcoming cohort of Weekly Python Exercise!
2019-02-26 21:51:28
For more than 20 years, Iâve been teaching Python courses to companies around the world. This means that just about every day, Iâm on the front lines of Python learning. I see, first-hand, what companies want people to learn and also what people are struggling to understand.
Python Engineering at Microsoft: Python in Visual Studio Code â February 2019 Release
2019-02-26 21:37:03
We are pleased to announce that the February 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Visual Studio Marketplace, or install it directly from the extension gallery in Visual Studio Code.
Test and Code: 66: Brian is interviewed by Phil Burgess
2019-02-26 21:00:00
I was recently interviewed on a podcast called "IT Career Energizer Podcast". Phil Burgess is the host of the podcast, and it was a lot of fun.
PyCoderâs Weekly: Issue #357 (Feb. 26, 2019)
2019-02-26 20:30:00
#357 â FEBRUARY 26, 2019 View in Browser »
NumFOCUS: Blosc joins NumFOCUS Sponsored Projects
2019-02-26 19:24:14
The post Blosc joins NumFOCUS Sponsored Projects appeared first on NumFOCUS.
Artem Rys: RabbitMQ Scrapy Item Publisher in Python
2019-02-26 15:33:12
Itâs a small note about the Scrapy Item Pipeline that publishes a Scrapy Item to the RabbitMQ.
Mike Driscoll: How I Write Books about Python
2019-02-26 13:30:47
I get asked questions about my book writing process from time to time and I have been meaning to write about this topic for a while. The main reason I wrote my first book, Python 101, was because of the readers on my blog. They had been encouraging me to write a book on wxPython for a while and I decided that I should start by writing an introductory book so I wouldnât need to include a bunch of introductory information in my intermediate level book if I ever got around to writing it.
codingdirectional: Continue developing the currency exchange application
2019-02-26 12:33:21
Hi, after deep thought I have decided to continue developing the currency exchange application which I have created in the previous chapter and make it a standalone python application. In the previous chapter, we had created a simple interface which will display all the usd/world currencies exchange rate in a tkinter label which we will further modify this interface and make it displays the other currency pair as well as we progress, but before we go even further we do need to convert the currency ID to their real name first, for example, it is very hard for the first timer to know which currency is this by just look at its ID : CAD, if we can convert the ID to the name of that currency then it will be better, for example, CAD = Canadian Dollar. In this chapter, we will just go to make an API call for the ID and the name of all the available currencies and print them out under the console.
Ian Ozsvald: On the Delivery of Data Science Projects – talk for Business, Analytics and Data Science meetup
2019-02-26 11:02:06
Last night I spoke at Pivigoâs Business, Analytics and Data Science meetup (thanks for having me!). I spoke on the key points that I cover in my public training (Successfully Delivering Data Science Projects) aimed at the meetupâs audience where many folk are earlier on their data science journey.
PyBites: Generating Beautiful Code Snippets with Carbon and Selenium
2019-02-26 11:00:00
Did you notice our Python tips lately? They looks more sexy, don't they? That's thanks to Carbon which lets you create beautiful images of your source code. As much as I love its interface though, what if we can automate this process generating the image for us?
Python Bytes: #119 Assorted files as Django ORM backends with Alkali
2019-02-26 08:00:00
No summary found!
gamingdirectional: Create the mana object with Pygame
2019-02-26 06:23:29
Welcome back to our new pygame project. In this chapter, I will create the mana object to heal the player so he can continue to move forward after he has been hit by an enemy object. In this chapter, we will place the mana objects on the game scene and in the next chapter, we will deal with the player-mana overlapping mechanism. In order to place the mana object on the game scene, all we need is...
Yasoob Khalid: Python dis module and constant folding
2019-02-26 05:48:21
Hi people! Recently, I was super confused when I found out that:
NumFOCUS: Gina Helfrich on the Changelog Podcast
2019-02-25 17:31:43
The post Gina Helfrich on the Changelog Podcast appeared first on NumFOCUS.
Stack Abuse: Understanding ROC Curves with Python
2019-02-25 15:36:00
In the current age where Data Science / AI is booming, it is important to understand how Machine Learning is used in the industry to solve complex business problems. In order to select which Machine Learning model should be used in production, a selection metric is chosen upon which different machine learning models are scored.
Python Insider: Python 3.8.0a2 is now available for testing
2019-02-25 15:14:19
No <p> found.
Real Python: Python Community Interview With Ali Spittel
2019-02-25 14:00:00
Happy 2019! For our first community interview of the year, Iâm joined by Ali Spittel.
Zato Blog: Two-factor authentication in web-admin
2019-02-25 10:44:00
This post provides steps needed to enable and make use of TOTP two-factor authentication in Zato web-admin - the method is compatible with the most popular apps such as Google Authenticator, Authy or FreeOTP.
codingdirectional: Find the currency exchange rate with python
2019-02-25 07:23:00
Hello and welcome back, in this chapter we are going to continue developing our cryptocurrency application with the help of coinbase api and the tkinter module. Before we go even further on cryptocurrency we will look at another great api offered by coinbase, the usd/world currency exchange rate api. We will create a new tkinter interface and display all those exchange rates with the help of the Text and Label widget. It seems like at the moment the free API only offers the USD/ world currency pair but there is no problem for us to find the other currency pair with just a little math. In this chapter, we will find the exchange rate for usd/all world currency pairs and display them on the label part of the tkinter user interface.
Made With Mu: Student Made Stress Management Mask
2019-02-25 07:15:00
Sean Tibor, a teacher based at Pine Crest School in Fort Lauderdale, Florida, has been in touch about a cool project created by one of his students called Dilnaam D.
Mike Driscoll: PyDev of the Week: Lilly Ryan
2019-02-25 06:05:36
This week we welcome Lilly Ryan (@attacus_au) as our PyDev of the Week! Lilly is a pen-tester. She is an organizer of PyCon AU 2018 and 2019 and an experienced speaker. In fact, Lilly will be giving a keynote at DjangoCon Europe later this year. You can learn more about Lilly by visiting her website. Letâs take a few moments to get to know Lilly better!
gamingdirectional: Detect the next game level
2019-02-25 05:25:09
Hello and welcome back to the current pygame project. In this article, we will create a new method to determine whether the boy has reached the door or not and if he did then the player will reach the next level. We will not create a new level yet so in this case, the game will restart again after the boy has reached the door. We will also temporary mute the player-enemy collision detection method...
Podcast.__init__: Marshmallow Data Validation Library
2019-02-25 03:27:50
Any time that your program needs to interact with other systems it will have to deal with serializing and deserializing data. To prevent duplicate code and provide validation of the data structures that your application is consuming Steven Loria created the Marshmallow library. In this episode he explains how it is built, how to use it for rendering data objects to various serialization formats, and some of the interesting and unique ways that it is incorporated into other projects.
Weekly Python StackOverflow Report: (clxvi) stackoverflow python report
2019-02-24 13:01:00
No <p> found.
PyBites: PyBites Twitter Digest - Issue 02, 2019
2019-02-24 10:44:49
Episode 12: Intercontinental Python with @bbelderbos and @_juliansequeira is now live! From Seattle to Florida to S⊠https://t.co/0lfzseiBDw
Jahongir Rahmonov: How to write a Python web framework. Part II.
2019-02-23 15:10:00
In the first part, we started writing our own Python framework and implemented the following features:
Davide Moro: Test automation framework thoughts and examples with Python, pytest and Jenkins
2019-02-22 23:21:38
No <p> found.
Davide Moro: Hello pytest-play!
2019-02-22 23:15:47
No <p> found.
Nikola: Nikola v8.0.2 is out!
2019-02-22 19:34:20
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.2. This is a quality-of-life release with a handful of bug fixes, two new translations and a few extra features.
Python Sweetness: Reasons Mitogen sucks
2019-02-22 19:30:00
I have a particular dislike of nonspecific negativity, where nothing can be done to address its source because the reasons underlying it are never explicitly described. In the context of Mitogen, there has been a consistent stream of this sort of negativity originating from a particular camp in public forums, and despite efforts to bring specifics out into the open, still it continues to persist.
Peter Bengtsson: Django ORM optimization story on selecting the least possible
2019-02-22 18:49:29
This an optimization story that should not surprise anyone using the Django ORM. But I thought I'd share because I have numbers now! The origin of this came from a real requirement. For a given parent model, I'd like to extract the value of the name column of all its child models, and the turn all these name strings into 1 MD5 checksum string.
Python Engineering at Microsoft: Whatâs New with the AI and Machine Learning Tools for Python: February 2019 Update
2019-02-22 18:00:34
Across Visual Studio Code and Azure Notebooks, January brought numerous exciting updates to the AI and Machine Learning tooling for Python! This roll-up blog post recaps the latest products updates as well as the upcoming events for AI and Machine Learning:
Stack Abuse: Sorting and Merging Single Linked List
2019-02-22 13:52:00
In the last article, we started our discussion about the linked list. We saw what the linked list is along with its advantages and disadvantages. We also studied some of the most commonly used linked list method such as traversal, insertion, deletion, searching, and counting an element. Finally, we saw how to reverse a linked list.
Python Software Foundation: The North Star of PyCascades, core Python developer Mariatta Wijaya, receives the 2018 Q3 Community Service Award
2019-02-22 09:00:10
No <p> found.
Python Bytes: #118 Better Python executable management with pipx
2019-02-22 08:00:00
No summary found!
Andrea Grandi: Skipping tests depending on the Python version
2019-02-21 20:00:00
Sometimes we want to run certain tests only on a specific version of Python.
PyCharm: Webinar Recording: âDemystifying Pythonâs async and await Keywordsâ with Michael Kennedy
2019-02-21 17:41:00
Yesterday we hosted a webinar with Michael Kennedy from Talk Python To Me podcasts and training presenting Demystifying Pythonâs async and await Keywords. Turned out to be the highest-rated webinar in 7 years of JetBrainsâ webinars. Thanks Michael! The webinar recording is now available, as well as a repository with the Python code he showed and the slides he used.
Stack Abuse: Converting Python Scripts to Executable Files
2019-02-21 16:05:00
In this tutorial, we will explore the conversion of Python scripts to Windows executable files in four simple steps. Although there are many ways to do it, we'll be covering, according to popular opinion, the simplest one so far.
Dataquest: Tutorial: Find Dominant Colors in an Image through Clustering
2019-02-21 15:00:00
Analyzing images with code can be difficult. How do you make your code "understand" the context of an image?
Stack Abuse: Python Performance Optimization
2019-02-21 14:20:00
Resources are never sufficient to meet growing needs in most industries, and now especially in technology as it carves its way deeper into our lives. Technology makes life easier and more convenient and it is able to evolve and become better over time.
PyCharm: PyCharm 2019.1 EAP 5
2019-02-21 12:24:46
PyCharmâs Early Access Program (EAP) continues with its fifth version. Get it now from our website
PyBites: Code Challenge 61 - Build a URL Shortener
2019-02-21 11:00:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
Talk Python to Me: #200 Escaping Excel Hell with Python and Pandas
2019-02-21 08:00:00
No <p> found.
gamingdirectional: Create the enemy-player overlapping detection mechanism
2019-02-21 07:38:35
In the previous article we have finished creating the player boundary detection mechanism and in this article, we will create a simple enemy player overlapping detection mechanism which we will then further modify it in the next article. Before we start, below are the game plans. We will create a player enemy overlapping detection mechanism which will reset the player object at its original...
codingdirectional: Find the Bitcoin exchange rate for a few more currencies
2019-02-21 05:18:10
Hello and welcome back to this latest cryptocurrency application project, before we proceed to more complicated user interface design for our new cryptocurrency application I would like to retrieve market data from Coinbase for a few more BTC/World Currency pairs with our new application. We have set up all parts that need for retrieving the market data from Coinbase in the last chapter and in this chapter we will try to retrieve those market data again for different currency/btc pairs.
NumFOCUS: Now Hiring: Administrative Assistant to the Executive Director
2019-02-20 18:29:17
The post Now Hiring: Administrative Assistant to the Executive Director appeared first on NumFOCUS.
Martin Fitzpatrick: Packaging PyQt5 apps with fbs â Distribute cross-platform GUI applications with the fman Build System
2019-02-20 15:00:00
fbs is a cross-platform PyQt5 packaging system which supports building desktop applications for Windows, Mac and Linux (Ubuntu, Fedora and Arch). Built on top of PyInstaller it wraps some of the rough edges and defines a standard project structure which allows the build process to be entirely automated. The included resource API is particularly useful, simplifying the handling of external data files, images or third-party libraries â a common pain point when bundling apps.
Real Python: Reading and Writing Files in Python (Guide)
2019-02-20 14:00:00
One of the most common tasks that you can do with Python is reading and writing files. Whether itâs writing to a simple text file, reading a complicated server log, or even analyzing raw byte data, all of these situations require reading or writing a file.
PyCharm: PyCharm 2018.3.5 RC
2019-02-20 11:25:52
PyCharm 2018.3.5 release candidate is now available for download from Confluence.
codingdirectional: Retrieving the cryptocurrency marketâs data
2019-02-20 05:57:50
Hello and welcome back, in this chapter we will start to build our cryptocurrency application with the help of the Coinbase API as well as the tkinter module. There is a lot of data Coinbase has to offer to the developer include the personal account data, cryptocurrency wallet data, transaction data and so on. Our main interest in this stage of the project is the market data where we are going to retrieve the sell/buy/spot price data for various cryptocurrency/world currency pairs and display them on the label part of our tkinter user interface. If you have not yet signed up for a free Coinbase account then you can do so through this link. You will need a Coinbase account in order to use the Coinbase api to develop this python application. If you want to know how to get the api key and secret to develop this application then do read this previous article to find it out.
gamingdirectional: Adjust the boy sprite animation
2019-02-20 03:57:03
Hello, and welcome back, we are almost done coding the player animation mechanism after we have finished the player boundary detection mechanism in the last article but before we can go to the next stage we need to tidy up the player animation mechanism first by introducing the standstill image of the boy when the boy is not moving and that image will either face left or right or up or down based...
Dataquest: New Course: Learn Data Cleaning with Python and Pandas
2019-02-20 01:24:46
Data cleaning might not be the reason you got interested in data science, but if youâre going to be a data scientist, no skill is more crucial. Working data scientists spend at least 60% of their time cleaning data, and dirty data is often ranked the single biggest barrier data scientists face at work.
PyCoderâs Weekly: Issue #356 (Feb. 19, 2019)
2019-02-19 20:30:00
#356 â FEBRUARY 19, 2019 View in Browser »
PyBites: How to Parse Hidden HTML With Selenium Headless Mode and Deploy it to Heroku
2019-02-19 13:00:00
Ever wondered how you scrape hidden (or JS generated) HTML? Selenium is your friend. Ever wondered how to run it without a browser popping up? Use headless mode. How would you run it remotely? Use Heroku. And how about autoposting to Slack and Twitter?
codingdirectional: Creating a cryptocurrency user interface project with python
2019-02-19 11:10:54
Hello and welcome to the brand new python project where we are going to create a cryptocurrency application with python. I am researching the bitcoin and other cryptocurrencies at this moment so it will be nice for me to create a cryptocurrencies application for these purposes as well. Hopefully, this new application will help both you and me to better understand how to buy or sell any cryptocurrency at the end of this topic. This will be a long project and we will use the Coinbase api together with the tkinter interface to retrieve and display the cryptocurrency data as well as our own Coinbase personal account information that we are looking for. Alright, without any delay, let us begin.
gamingdirectional: Final touch up for the boy boundary detection mechanism
2019-02-19 06:43:52
Sorry for not posting yesterday as I am terribly sick, although I am still sick today mine condition is a lot more better now. After the previous article we have basically developed a boundary detection mechanism for the player object and in this article, we will do the final touch up for that mechanism. Here are the final rules that we need to apply in order to complete the boundary detection...
Alexey Evseev: Sublime Text and Language Server Protocol
2019-02-19 04:52:58
PyCon: How & why cities and dates are selected for Pycon
2019-02-18 15:11:04
No <p> found.
Chris Moffitt: Monte Carlo Simulation with Python
2019-02-18 14:45:00
There are many sophisticated models people can build for solving a forecasting problem. However, they frequently stick to simple Excel models based on average historical values, intuition and some high level domain-specific heuristics. This approach may be precise enough for the problem at hand but there are alternatives that can add more information to the prediction with a reasonable amount of additional effort.
PyCon: PyCon 2019 Tutorial Schedule!
2019-02-18 13:58:17
No <p> found.
Red Hat Developers: Creating a containerized Python/Flask development environment with Red Hat CodeReady Workspaces
2019-02-18 13:47:51
Red Hat CodeReady Workspaces provide developers with containerized development environments hosted on OpenShift/Kubernetes. DevOps teams can now use a hosted development environment thatâs pre-built for their chosen stack and customized for their project.
Podcast.__init__: Unpacking The Python Toolkit For Chaos Engineering
2019-02-18 13:25:50
Chaos engineering is the practice of injecting failures into your production systems in a controlled manner to identify weaknesses in your applications. In order to build, run, and report on chaos experiments Sylvain Hellegouarch created the Chaos Toolkit. In this episode he explains his motivation for creating the toolkit, how to use it for improving the resiliency of your systems, and his plans for the future. He also discusses best practices for building, running, and learning from your own experiments.
Zato Blog: Deploying 700 services a second with one CPU
2019-02-18 12:36:00
As of today, everyone building Zato from source will notice a significant decrease in time needed for servers to start and stop - it is now possible for an entire server to boot up to a fully functional state in less than two seconds and to shut down in half a second.
Made With Mu: A Steady Hand and Heart
2019-02-18 12:30:00
This post celebrates the extraordinarily talented and inventive friend of Mu, Mr. Les Pounder.
Reuven Lerner: Answering Python questions from readers
2019-02-18 12:21:00
Every so often, Iâve asked readers of my free, weekly âBetter developersâ newsletter to send me their Python problems. And every so often, I get a chance to answer their questions, going through their Python problems and trying to solve them.
Mike Driscoll: PyDev of the Week: Maria McKinley
2019-02-18 06:05:05
This week we welcome Maria McKinley (@twiteness) as our PyDev of the Week. Maria is a Senior Software Engineer at the Walt Disney Company and will be a speaker at PyCascades 2019. She is also teaching the Python Certificate Program at the University of Washington Continuing Education. You can read more about her on her website as well. Letâs spend a few moments getting to know her better.
Real Python: How to Run Your Python Scripts
2019-02-18 06:00:00
One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. This is going to be the only way for you to know if your code works as you planned. Itâs even the only way of knowing if your code works at all!
Test and Code: 65: one assert per test
2019-02-17 21:00:00
Is it ok to have more than one assert statement in a test? I've seen articles that say no, you should never have more than one assert. I've also seen some test code made almost unreadable due to trying to avoid more than one assert per test.
Reuven Lerner: Pythonâs str.isdigit vs. str.isnumeric
2019-02-17 19:32:33
Letâs say that I want to write some Python code that invites the user to enter a number, and then prints that number, tripled. We could say:
Stefan Behnel: Speeding up basic object operations in Cython
2019-02-17 18:24:48
Raymond Hettinger published a nice little micro-benchmark script for comparing basic operations like attribute or item access in CPython and comparing the performance across Python versions. Unsurprisingly, Cython performs quite well in comparison to the latest CPython 3.8-pre development version, executing most operations 30-50% faster. But the script allowed me to tune some more performance out of certain less well performing operations. The timings are shown below, first those for CPython 3.8-pre as a baseline, then (for comparison) the Cython timings with all optimisations disabled that can be controlled by C macros (gcc -DCYTHON_...=0), the normal (optimised) Cython timings, and the now improved version at the end.
gamingdirectional: Continue with the boy boundary detection mechanism
2019-02-17 10:42:41
In the previous article, we have successfully made the boy climbing up the ladder but the boy will continue climbing even though there is no more ladder for him to climb. In this article, we will solve the previous problem by introducing the following rules. When the boy is climbing the ladder he can only move in either the upward or the downward direction but not side-way.There will be no return...
PyBites: PyBites Twitter Digest - Issue 01, 2019
2019-02-17 09:00:00
It has been too long đ but we're excited to bring you today: đ PyBites Twitter Digest - Issue 01, 2019 đ
Thomas Guest: Aligning the first line of a triple-quoted string in Python
2019-02-17 00:00:00
Pythonâs triple-quoted strings are a convenient syntax for strings where the contents span multiple lines. Unescaped newlines are allowed in triple-quoted strings. So, rather than write:
Python Sweetness: Threadless mode in Mitogen 0.3
2019-02-16 21:45:59
Python Insider: Python 2.7.16 release candidate 1 available
2019-02-16 19:56:13
No <p> found.
Weekly Python StackOverflow Report: (clxv) stackoverflow python report
2019-02-16 19:25:00
No <p> found.
Codementor: Getting Started with Pathlib
2019-02-16 19:23:41
Introduction This tutorial will guide you on how to use the Pathlib module for working with filesystem paths, the benefits, and understand the problem it solves since the Python standard library&hellip;
gamingdirectional: Detect the playerâs boundary
2019-02-16 12:49:51
In this article, we will start to create the boundary detection mechanism which can be used to help the boy moving around the canvas. We will go slowly where this topic will take a few chapters to complete. In this chapter, we will focus on below issues. The boy will not be able to move past the horizontal boundary of either 0 or 576 pixels which is the physical boundary for the boy sprite.
Vasudev Ram: pprint.isrecursive: Check if object requires recursive representation
2019-02-15 21:48:25
PyCharm: PyCharm 2019.1 EAP 4
2019-02-15 10:54:11
Our fourth Early Access Program (EAP) version for PyCharm 2019.1 is now available on our website.
Continuum Analytics Blog: Intake released on Conda-Forge
2019-02-14 21:26:28
Intake is a package for cataloging, finding and loading your data. It has been developed recently by Anaconda, Inc., and continues to gain new features. To read general information about Intake and how to useâŠ
Made With Mu: A GPIOZero Theramin for Valentineâs Day
2019-02-14 09:00:00
Talk Python to Me: #199 Automate all the things with Python at Zapier
2019-02-14 08:00:00
Do your applications call a lot of APIs? Maybe you have a bunch of microservices driving your app. You probably don't have the crazy combinatorial explosion that Zapier does for connecting APIs! They have millions of users automating things with 1,000s of APIs. It's pretty crazy. And they are doing it all with Python. Join me and Bryan Helmig, the CTO and co-founder of Zapier as we discuss how they pull this off with Python.
Python Bytes: #117 Is this the end of Python virtual environments?
2019-02-14 08:00:00
No summary found!
Codementor: What You Don't Know About Python Variables
2019-02-14 00:14:39
The first time you get introduced to Pythonâs variable, it is usually defined as âparts of your computerâs memory where you store some information.â Some define it as a âstorage placeholder for texts and numbers." Python variables is more than he above definition.
Dataquest: How to Learn Python for Data Science In 5 Steps
2019-02-13 15:57:38
Before we explore how to learn Python for data science, we should briefly answer why you should learn Python in the first place.
Kushal Das: Tracking my phone's silent connections
2019-02-13 02:47:00
My phone has more friends than me. It talks to more peers (computers) than the number of human beings I talk on an average. In this age of smartphones and mobile apps for A-Z things, we are dependent on these technologies. However, at the same time, we donât know much of what is going on in the computers equipped with powerful cameras, GPS device, microphone we are carrying all the time. All these apps are talking to their respective servers (or can we call them masters?), but, there is no easy way to track them.
The No TitleÂź Tech Blog: Why and how I have just redesigned my (other)Â website
2019-02-12 23:15:00
Going through a moment of change in my life, I have decided to redesign my other website, using Pelican and other open source tools. The older version was starting to look a bit aged, especially on mobile devices, so it seemed like a good idea to start a complete makeover. As they use to say, new year⊠new website.
Codementor: Testing isn't everything, but it's important
2019-02-12 21:32:17
A talk that I've been thinking about for the last little while is one by Gary Bernhardt called Ideology (https://www.destroyallsoftware.com/talks/ideology). I highly recommend that you go watch it...
Real Python: Supercharge Your Classes With Python super()
2019-02-12 21:01:11
While Python isnât purely an object-oriented language, itâs flexible enough and powerful enough to allow you to build your applications using the object-oriented paradigm. One of the ways in which Python achieves this is by supporting inheritance, which it does with super().
Codementor: Python, For The †of It - part 3 (What I Built With It)
2019-02-12 20:42:37
My Journey Into One of World's Most Awesome Languages
PyCoderâs Weekly: Issue #355 (Feb. 12, 2019)
2019-02-12 20:30:00
#355 â FEBRUARY 12, 2019 View in Browser »
Codementor: Downloading Files using Python (Simple Examples)
2019-02-12 17:39:01
Learn how to download files from the web using Python modules like requests, urllib, and wget. We used many techniques and download from multiple sources.
Mike Driscoll: Creating a Calculator with wxPython
2019-02-12 14:56:21
A lot of beginner tutorials start with âHello Worldâ examples. There are plenty of websites that use a calculator application as a kind of âHello Worldâ for GUI beginners. Calculators are a good way to learn because they have a set of widgets that you need to lay out in an orderly fashion. They also require a certain amount of logic to make them work correctly. For this calculator, letâs focus on being able to do the following:
PyCon: Hatchery programs at PyCon 2019!
2019-02-12 11:25:15
No <p> found.
Django Weblog: Django bugfix release: 2.0.13
2019-02-12 10:22:12
Today we've issued the 2.0.13 bugfix release.
Codementor: small stuff about python3 print()
2019-02-12 09:16:10
Some small stuff about Python3 print()...
gamingdirectional: Moving the player object in Pygame
2019-02-12 07:14:13
In the last chapter we have created the animation effect for the player object and in this chapter, we will move the player object in the x-axis. We will leave the wall and boundary collision detection mechanism to the next chapter. In the last chapter we have already linked up the keyboard events with the game manager class and in this chapter, we only need a slight modification to move the...
Codementor: Python, For The †of It - part 2
2019-02-12 05:02:55
My Journey Into One of World's Most Awesome Languages
codingdirectional: Return the list of the number and its power with python
2019-02-12 04:15:11
Before we start our new python project here is another solution for one of the pythonâs question on codewars. In this example, we need to create a method which will accept a number and returns a list consists of a pair of a number and power that are equal to that input number. For example, the input number is 9, then the number and itâs power which is equals to that input number is [3, 2] because 3 * 3 = 9. If there is no number and power that match the input value then None will be returned. Here is the solution to the above mentioned question.
Read the Docs: Defaulting New Projects to Python 3
2019-02-12 00:00:00
New projects that are just getting started with Read the Docs will now use Python 3 by default. While it is still possible to configure your project to use Python 2.7 with our configuration file, we think itâs important to help push the Python ecosystem towards adopting Python 3.
Podcast.__init__: Computational Musicology For Python Programmers
2019-02-11 19:25:22
Music is a part of every culture around the world and throughout history. Musicology is the study of that music from a structural and sociological perspective. Traditionally this research has been done in a manual and painstaking manner, but the advent of the computer age has enabled an increase of many orders of magnitude in the scope and scale of analysis that we can perform. The music21 project is a Python library for computer aided musicology that is written and used by MIT professor Michael Scott Cuthbert. In this episode he explains how the project was started, how he is using it personally, professionally, and in his lectures, as well as how you can use it for your own exploration of musical analysis.
Programiz: Python IDEs and Code Editors
2019-02-11 16:50:48
In this guide, you will learn about various Python IDEs and code editors for beginners and professionals.
Stack Abuse: Python Programming in Interactive vs Script Mode
2019-02-11 16:14:24
In Python, there are two options/methods for running code:
Obey the Testing Goat: Python Architecture Stuff: do we need more?
2019-02-11 15:28:00
I've been learning lots of new stuff about application architecture recently, and I want to get a sense from you, dear reader, of whether these ideas are of interest, and whether we should try and build some more resources (blogs, talks, etc) around it.
Mike Driscoll: Less than 2 Days to Go on wxPython Book Kickstarter
2019-02-11 14:45:07
My latest book, Create GUI Applications with wxPython, is coming along nicely. I just wanted to let my readership know that the Kickstarter for it is coming to a close in a little less than 2 days.
Django Weblog: Django bugfix releases: 2.1.7, 2.0.12 and 1.11.20
2019-02-11 14:35:09
Today we've issued the 2.1.7, 2.0.12 and 1.11.20 bugfix releases.
gamingdirectional: Create the player animation
2019-02-11 14:13:34
Hello and welcome back, in this chapter we will create a method which will accept either an x increment or y increment from the game manager object that accepts those increments from the main pygame file when the user presses on the up, down, left or the right arrow key on the keyboard. We will not make the player moves yet in this chapter but just animate that player object, we will make the...
Zato Blog: Zato: A successful Python 3 migration story
2019-02-11 13:39:00
Python Software Foundation: A Steady Leader of the Python Community, Alex Gaynor, Receives Community Service Award
2019-02-11 13:14:35
No <p> found.
Python Software Foundation: Python Community service award Q3: Mario Corchero
2019-02-11 13:00:15
No <p> found.
PyPy Development: PyPy v7.0.0: triple release of 2.7, 3.5 and 3.6-alpha
2019-02-11 11:56:02
No <p> found.
Django Weblog: Django 2.2 beta 1 released
2019-02-11 10:52:25
Django 2.2 beta 1 is now available. It represents the second stage in the 2.2 release cycle and is an opportunity for you to try out the changes coming in Django 2.2.
Django Weblog: Django security releases issued: 2.1.6, 2.0.11 and 1.11.19
2019-02-11 10:45:00
In accordance with our security release policy, the Django team is issuing Django 1.11.19, Django 2.1.6, and Django 2.0.11. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Tryton News: Tryton Unconference 2019: In Marseille on the 6th & 7th of June
2019-02-11 07:00:08
@nicoe wrote:
Mike Driscoll: PyDev of the Week: Paolo Melchiorre
2019-02-11 06:05:09
This week we welcome Paolo Melchiorre (@pauloxnet)as our PyDev of the Week! Paolo is a core developer of the Django web framework. He has spoken at several different Python-related conferences in Europe and also writes over on his blog. Letâs take a few minutes to get to know him better!
Real Python: The Factory Method Pattern and Its Implementation in Python
2019-02-11 06:00:00
This article explores the Factory Method design pattern and its implementation in Python. Design patterns became a popular topic in late 90s after the so-called Gang of Four (GoF: Gamma, Helm, Johson, and Vlissides) published their book Design Patterns: Elements of Reusable Object-Oriented Software.
codingdirectional: Create a filter for the audio and image files with python
2019-02-11 05:35:57
Hello and welcome back. In this chapter, we will create two methods used to filter out the unwanted audio and image file. The rules of filtering are as follows.
Codementor: Some simple CodeWars problems
2019-02-11 05:11:28
A few solutions to some easy-ish CodeWars problems.
Christian Barra: Onboarding for new tech hires
2019-02-11 00:00:00
No <p> found.
Python Sweetness: Mitogen v0.2.4 released
2019-02-10 23:59:59
Codementor: Python, For The †of It - part 1
2019-02-10 20:22:41
My Journey Into One of World's Most Awesome Language
PrzemysĆaw KoĆodziejczyk: Python 3 - Template strings instead of external template engine
2019-02-10 13:45:39
No <p> found.
PrzemysĆaw KoĆodziejczyk: pipenv and pyenv
2019-02-10 12:30:12
No <p> found.
Catalin George Festila: Using LibROSA python module.
2019-02-10 11:09:52
No <p> found.
Catalin George Festila: Detect nudity with nudepy python module.
2019-02-10 11:09:40
No <p> found.
Catalin George Festila: Using python modules: mayavi and moviepy - part 001.
2019-02-10 11:09:24
No <p> found.
Catalin George Festila: Testing the webpy python module.
2019-02-10 11:08:11
No <p> found.
Catalin George Festila: Testing imageio python module.
2019-02-10 11:07:57
No <p> found.
Catalin George Festila: Using the asciimatics and pyfiglet python modules
2019-02-10 11:07:10
No <p> found.
Codementor: Playing Around with Hylang
2019-02-10 04:01:19
LISP Python AWS Boto3 DynamoDB
Kushal Das: When I was sleepy
2019-02-10 02:31:00
Davide Moro: High quality automated docker hub push using Github, TravisCI and pyup for Python tool distributions
2019-02-10 00:12:47
No <p> found.
PyPy Development: DĂŒsseldorf Sprint Report 2019
2019-02-09 17:13:16
Hello everyone!
Weekly Python StackOverflow Report: (clxiv) stackoverflow python report
2019-02-09 12:27:00
No <p> found.
codingdirectional: Return the day in a week with python
2019-02-09 09:14:43
Hi, I just have a time to solve another python question today. In this example, we are going to develop a method which will receive a number from the user input and returns which day in a week is that numbers refer to. For example, 1 is Sunday and 2 is Monday. If the number is too large or too small then the program will return an error message. Below is the solution to this question, if you have a better solution donât forget to leave your answer on the below tweet.
Codementor: The Zen of Python
2019-02-09 08:33:16
This is a blog post about PEP 20 -- The Zen of Python
Talk Python to Me: #198 Catching up with the Anaconda distribution
2019-02-09 08:00:00
It's time to catch up with the Anaconda crew and see what's new in the Anaconda distribution. This edition of Python was created to solve some of the stickier problems of deployment, especially in the data science space. Their usage gives them deep insight into how Python is being used in the enterprise space as well. Which turns out to be a very interesting part of the conversation.
gamingdirectional: Create a player object in pygame
2019-02-09 04:54:01
In this article, we will create a player sprite class which will render the player image on the game scene. First, we will create the player object class which serves as the container for the playerâs location data. class BoyObject(object): def __init__(self): self.list_1 = [ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0...
codingdirectional: Counts the points of our team in the championship
2019-02-09 02:43:20
Hello and today we will continue to solve the problem posted on codewars, if you have not yet joined codewars then I really encourage you to do so because this site is a real deal for those of you who want to master the Python programming language. In this latest chapter, we will need to write a function that takes such a list and counts the points of our football team in the championship. Rules for counting points for each match are as follows.
Christian Barra: Onboarding for tech new hires
2019-02-09 00:00:00
No <p> found.
Codementor: Machine learning with sparse, high-dimensional and large datasets
2019-02-08 17:20:00
This article provides implementation of binary classification over sparse, high-dimensional and large datasets by utilizing feature hashing and mini-batch learning within sklearn framework.
PyCon: PyCon 2020-2021 Location
2019-02-08 16:07:44
No <p> found.
Nigel Babu: The Funniest Incident Postmortem
2019-02-08 07:39:49
Recently, I had a chance to think about an outage that I debugged and fixed a few years ago that involves Jenkins and systemd (or in this case lack thereof!).
Wingware News: Wing Python IDE 7.0.0.6 Early Access
2019-02-08 01:00:00
Wing 7 is now available through our early access program. It improves the code
warnings system, adds an array and data frame viewer, supports PEP 3134 chained
exceptions, improves bookmarking, extends support for high DPI displays, and much
more.
Test and Code: 64: Practicing Programming
2019-02-07 17:15:00
I want you to get the most out of being a software developer, or test engineer, or whatever you do that makes this podcast relevant to your life.
Stack Abuse: PyTesseract: Simple Python Optical Character Recognition
2019-02-07 16:57:10
Humans can understand the contents of an image simply by looking. We perceive the text on the image as text and can read it.
Codementor: My first implementation of VAE in Tensorflow, Python
2019-02-07 16:02:52
About methodology, , theory and practice encountered in my first implementation o f Variational AutoEncoder (VAE) in Tensorflow, Python
John Cook: Exploring the sum-product conjecture
2019-02-07 15:18:37
Quanta Magazine posted an article yesterday about the sum-product problem of Paul ErdĆs and Endre SzemerĂ©di. This problem starts with a finite set of real numbers A then considers the size of the sets A+A and A*A. That is, if we add every element of A to every other element of A, how many distinct sums are there? If we take products instead, how many distinct products are there?
Python Data: Quick Tip â Speed up Pandas using Modin
2019-02-07 14:15:02
I ran across a neat little library called Modin recently that claims to run pandas faster. The one line sentence that they use to describe the project is:
Python Anywhere: Announcing eu.pythonanywhere.com
2019-02-07 13:20:42
We're proud to announce today that we now have an EU-hosted PythonAnywhere system :-) You can access it at eu.pythonanywhere.com. It's completely separated from our normal system, but has all of the same features -- plus billing in euros.
codingdirectional: Return the first capital character of a name
2019-02-07 12:56:27
I am still preparing the material for the next python project and in order to keep this website alive, I will continue to solve easy questions from codewars so at least we have something to talk about while waiting for the next project.
codingdirectional: Remove the string after the # mark in a website url
2019-02-07 03:33:51
We are supposed to start a new project today but because I still need a few more days to prepare for it, therefore, I have posted another question and answer session in this website just to get the thing going. This question again comes from the codewars website and it goes like this.
Stack Abuse: Relative vs Absolute Imports in Python
2019-02-06 16:13:00
While you can put simple projects in a single file, most Python development projects will require multiple files to keep them manageable. That means you need a way to import one file into another. However, many Pythonistas find importing files confusing. Fortunately, it is easy if you know the difference between the various Python import statements.
Codementor: PYTHON â FLASK MYSQL CONNECTION
2019-02-06 16:03:58
Mysql connection using Python Flask
Anarcat: January 2019 report: LTS, Mailman 3, Vero 4k, Kubernetes, Undertime, Monkeysign, oh my!
2019-02-06 15:32:05
January is often a long month in our northern region. Very cold, lots of snow, which can mean a lot of fun as well. But it's also a great time to cocoon (or maybe hygge?) in front of the computer and do great things. I think the last few weeks were particularly fruitful which lead to this rather lengthy report, which I hope will be nonetheless interesting.
Codementor: Create your first Python web crawler using Scrapy
2019-02-06 14:29:16
Learn how to develop a Python web crawler to crawl websites and extract useful data. You will learn Scrapy basics and how to build a working spider.
PyCharm: PyCharm 2019.1 EAP 3
2019-02-06 14:22:41
Our third Early Access Program (EAP) version for PyCharm 2019.1 is now available on our website.
gamingdirectional: Move the enemy object with pygame
2019-02-06 12:27:10
Hi, here is another quick post on the latest pygame project which I have developed lately. In the previous article, we have created an animated enemy object which can switch direction using the timer control. The timer control is only for demonstration purpose only, during the game the enemy will only switch direction if it hits any obstacle in its path. In this chapter, we will take out the timer...
Vasudev Ram: Exploring the /proc filesystem: an article by me in Linux Pro Magazine
2019-02-06 10:47:17
Python Software Foundation: Python Brasil â People > Technology
2019-02-06 08:44:26
No <p> found.
Python Bytes: #116 So you want Python in a 3D graphics engine?
2019-02-06 08:00:00
No summary found!
Real Python: The Ultimate List of Data Science Podcasts
2019-02-06 06:00:00
Podcasts are a great way to immerse yourself in an industry, especially when it comes to data science. The field moves extremely quickly, and it can be difficult to keep up with all the new developments happening each week!
gamingdirectional: Further modifying the enemy class
2019-02-06 05:18:23
In the previous article, we have successfully created the animation effect for the enemy object, in this article, we will add in the switch direction method which will switch the direction of the enemy image from facing left to facing right after a certain time period and then continue to switch back and forth. In order to achieve the previous mentioned effect we only need to further edit the...
Codementor: Odoo v13 Roadmap
2019-02-06 04:57:58
The Key Point that comes to the Odoo 13 Roadmap are:
1) Odoo Bank
2) OCR
3) The accountant as a service
4) Integration with recruitment
5) Internet of things
6) Stock Management Enhancement
7)...
Anarcat: Debian build helpers: dh dominates
2019-02-06 00:54:55
It's been a while since someone did this. Back in 2009, Joey Hess made a talk at Debconf 9 about debhelper and mentioned in his slides (PDF) that it was used in most Debian packages. Here was the ratio (page 10):
Matt Layman: Building SaaS in January
2019-02-06 00:00:00
No <p> found.
PyCoderâs Weekly: Issue #354 (Feb. 5, 2019)
2019-02-05 20:30:00
#354 â FEBRUARY 5, 2019 View in Browser »
Mike Driscoll: Getting Started with JupyterLab
2019-02-05 18:05:52
JupyterLab is the latest package from Project Jupyter. In some ways, it is kind of a replacement for Jupyter Notebook. However the Jupyter Notebook is a separate project from JupyterLab. I like to think of JupyterLab as a kind of web-based Integrated Development Environment that you an use to to work with Jupyter Notebooks as well as using terminals, text editors and code consoles. You might say JupyterLab is a more powerful version of Jupyter Notebook.
Anwesha Das: Have a safer internet
2019-02-05 17:40:35
Today, 5th February is the [safer internet day](https://www.saferinternetday.org/). Â The primary aim of this day is to advance the safe and positive use of digital technology for children and young people. Moreover, it promotes the conversation over this issue. So let us discuss a few ideas.The digital medium is the place where we live our today. It has become our world. However, as compare to the physical world to this world and its rules are unfamiliar to us. Also, adding to that with the advent of social media we are putting our lives, every detail of it in and at the domain of social media. We are then letting governments, industrial lords, political parties, snoops, and the society to judge, to see and monitor us. We, the fragile, vulnerable us, do not have any other option but to watch our freedom, privacy vanishing. However, do we not have anything to save ourselves? Some basic ideas are the following which you can try to use in everyday computer/phone life:### Use unique passphrases Use passphrases instead of passwords. Passwords are easy to break as well as easy to copy so instead of using âFrankâ (a name) or âAchinpur60â(a part of your address), use passphrases like âDiscountDangerDumpsterâ. It is easy to remember and hard to break. You can assemble 2 more languages (it is easy for us, Indians, right?). I used diceware to generate that password. Moreover, by unique what I mean is that do not use the SAME PASSWORD EVERYWHERE. Â I can feel how difficult, tedious, impossible it is for you to remember all the lengthy, difficult passphrases (now not passwords remember!) for all your accounts. However, nothing can be done with this. If someone can get your passphrase for one account, he will be able to all of them. Â Unique passphrases help a lot in this case.
PyCharm: Webinar: âDemystifying Pythonâs async and await Keywordsâ with Michael Kennedy
2019-02-05 16:01:58
Python has long had a variety of approaches for parallelism, with async/await and asyncio being the modern approach. These topics, though, are difficult to grasp and compare. Want to get to the bottom of it? Join expert Python trainer Michael Kennedy for an approachable, visual treatment of the topic.
Programiz: Python RegEx
2019-02-05 15:32:19
In this tutorial, you will learn about regular expressions (RegEx), and use Python's re module to work with RegEx (with the help of examples).
Codementor: Python NumPy array tutorial
2019-02-05 14:50:18
In this tutorial, you'll learn how to perform many Python NumPy array operations such as adding, deleting, sorting, and extracting values, row, and columns.
Stack Abuse: Functional Programming in Python
2019-02-05 14:10:00
Functional Programming is a popular programming paradigm closely linked to computer science's mathematical foundations. While there is no strict definition of what constitutes a functional language, we consider them to be languages that use functions to transform data.
Python Software Foundation: Python Developers Survey 2018 Results: Learn about the community
2019-02-05 12:39:22
No <p> found.
gamingdirectional: Modify the enemy spriteâs animation
2019-02-05 12:13:26
After we have finished creating our first animated enemy sprite in the previous chapter we will need to further modify that animation class because I have found numerous shortages in the previous program. In the previous program 1) We only create a single counter to handle the sprite animation for all five enemy objects which is simply unrealistic because during the game not every enemy will move...
Ian Ozsvald: New public course on Successfully Delivering Data Science Projects for March 1st
2019-02-05 10:24:17
On Friday February 1st I ran my first Successfully Delivering Data Science Projects, this is a part of my new plan to give more training this year. This went really well and I got to both teach and learn a lot from my students. We talked through best practice, project design, derisking strategies, communication plans and we tried various new tools thatâll improve workflow. Conversation has continued in our private slack channel (which all attendees get access to).
codingdirectional: Sum of all the non-negative and non-zero numbers in a list
2019-02-05 06:33:00
Hello, we are supposed to start a new project today but because I am busy doing something else, therefore, I only post a simple solution for one of the questions on codewars. We will start our next python project in the next chapter.
Yasoob Khalid: Issues with how we teach
2019-02-05 05:55:26
Throughout my life, I used to ask myself, âHow do people invent something?â. In my case, I was specifically concerned with Maths, Physics, and Computer Science.
Mike Driscoll: Table of Contents for Creating GUI Applications Book
2019-02-05 02:45:45
We are coming into the last week of the Kickstarter and I thought I would give you all a quick update. I finished writing up the chapter on creating a calculator today and got started on chapter 7.
Codementor: Scrape the web with Python and get updates on Telegram
2019-02-04 21:32:26
A short article on how to set up a telegram bot and send web-scraped messages through it.
Codementor: Python class decorator - part II - with configuration arguments
2019-02-04 21:11:01
reveal protocol about python class based decorator with configuration arguments
Stanislas Morbieu: Dense matrices implementation in Python
2019-02-04 19:00:00
Machine learning algorithms often use matrices to store data and compute operations such as multiplications or singular value decomposition. The purpose of this article is to see how matrices are implemented in Python: how the data is stored and how much memory it consumes.
Stack Abuse: Linked Lists in Detail with Python Examples: Single Linked Lists
2019-02-04 16:50:40
Linked lists are one of the most commonly used data structures in any programming language. In this article, we will study linked lists in detail. We will see what are the different types of linked lists, how to traverse a linked list, how to insert and remove elements from a linked list, what are the different techniques to sort a linked list, how to reverse a linked list and so on.
Python Insider: Python 3.8.0a1 is now available for testing
2019-02-04 07:53:26
No <p> found.
codingdirectional: Calculate if we have won the lottery with python
2019-02-04 07:36:26
In this chapter, I will create a method which will accept a list consists of sub-lists as the first input parameter and a number as the second parameter, there are two values in each sub-list, a string and a number. If any ASCII code of a character in that string matches the number in the sub-list, then we have a win in that sub-list. If the total wins in those sub-lists equal to or greater than the second input parameter of that method then you have won a lottery or else you lose.
Mike Driscoll: PyDev of the Week: Ali Spittel
2019-02-04 06:05:55
This week we welcome Ali Spittel (@ASpittel) as our PyDev of the Week! Ali is a blogger and speaker and enjoys teaching about tech. You can see what code sheâs been writing over on Github. Letâs take a few moments to get to know Ali better!
Real Python: Python Development in Visual Studio Code
2019-02-04 06:00:00
One of the coolest code editors available to programmers, Visual Studio Code, is an open-source, extensible, light-weight editor available on all platforms. Itâs these qualities that make Visual Studio Code from Microsoft very popular, and a great platform for Python development.
Podcast.__init__: Classic Computer Science For Pythonistas
2019-02-04 02:50:02
Software development is a career that attracts people from all backgrounds, and Python in particular helps to make it an approachable occupation. Because of the variety of paths that can be taken it is becoming increasingly common for practitioners to bypass the traditional computer science education. In this episode David Kopec discusses some of the classic problems that he has found most useful to understand in his work as a professor and practitioner of software engineering. He shares his motivation for writing the book "Classic Computer Science Problems In Python", the practical approach that he took, and an overview of how the contents can be used in your day-to-day work.
Karim Elghamrawy: Best Way to Learn Python (Step-by-Step Guide)
2019-02-04 01:28:38
Python is a very popular language. It's also one of the languages that I recommend for beginners to start with. But how do you go about learning this language? The best way to learn Python is to understand the big picture of all what you need to learn before you dive in and start learning. [...]
codingdirectional: Get the closest prime number with python
2019-02-03 15:52:58
In this chapter, we will create a method which will return the value which needs to be added to the total of all the numbers within a list to get the closest prime number from that total. A prime number is a number which can only be divided by one and itself. 1 is not a prime number. The below program will add one to the sum of all the numbers within a list until it reaches the closest prime number from that total, it then will return the value which needs to be added to reach that prime status.
Weekly Python StackOverflow Report: (clxiii) stackoverflow python report
2019-02-02 21:09:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-02-02 21:08:53 GMT
Codementor: Python Class Decorator - Part 1 - simple without configuration arguments.
2019-02-02 12:21:15
Short recipe and protocol reveal about Python class based decorator implementation.
Talk Python to Me: #197 Modern Python Standard Library Cookbook
2019-02-02 08:00:00
A recent twitter poll went around the web and it asked, what percentage of the Python standard library do you think you know? Someone copied me on it, maybe expecting some really high percentage answer. In reality, what I did answer and my rough estimate is that it's probably around 50%.
Python Bytes: #115 Dataclass CSV reader and Nina drops by
2019-02-02 08:00:00
No summary found!
Davide Moro: API/REST testing like Chuck Norris with pytest play using YAML
2019-02-02 07:40:04
No <p> found.
gamingdirectional: Create the animation character on the maze
2019-02-02 06:08:01
Today we are going to create the animated enemy for our new pygame project. We are going to edit the enemy manager class and the game manager class then we are going to create an enemy sprite class and an enemy object class which will serve as the original sprite container just like the previous background object class does. Alright, let us get the thing going. First of all we are going to create...
Peter Bengtsson: Format thousands in Python
2019-02-01 21:28:34
tl;dr; Usee f"{number:,}" to thousands format an integer to a string.
Python Anywhere: How DNS works: a beginner's guide
2019-02-01 20:16:55
We sometimes get emails from people who are trying to point their custom domain at PythonAnywhere so that they can host their website, but are struggling to set up their DNS settings. Normally DNS setup is pretty simple, but sometimes people can get bogged down due to confusing interfaces on their registrar's site, or complexities in the terminology people use.
NumFOCUS: NumFOCUS Announces Netflix as Corporate Sponsor
2019-02-01 17:36:49
The post NumFOCUS Announces Netflix as Corporate Sponsor appeared first on NumFOCUS.
Codementor: Stop being a slave to the chart. The easiest way to track your Bitcoin profits.
2019-02-01 15:43:17
Track your cryptocurrency profits with a simple Python script
Mike Driscoll: Python 101: Episode #44 â Creating an Installer with Inno Setup
2019-02-01 14:51:32
You can also read the chapter this video is based on here or get the book on Leanpub
Codementor: Why Warren Buffett would invest in PHP (and you should too)
2019-02-01 11:40:07
Comparison between programming languages has been going on for years, here is the final decision.
Zato Blog: Step-by-step: How to work with IBM MQ in Zato and Python, part 1
2019-02-01 10:33:26
This is part one of a mini-series about working with IBM MQ as a Zato and Python user. This installment will cover installation and configuration whereas the next one will delve into programming tasks.
Davy Wybiral: Nordic nRF52840-Dongle (2.4GHz RF Development Board)
2019-02-01 08:27:53
No <p> found.
Tryton News: Newsletter February 2019
2019-02-01 07:00:10
@ced wrote:
Test and Code: 63: Teaching Python as a Corporate Trainer - Matt Harrison
2019-02-01 04:15:00
I hear and I forget. I see and I remember. I do and I understand. -- Confucius
Randy Zwitch: PyData NYC 2018&#58; End-to-End Data Science Without Leaving the GPU
2019-02-01 00:00:00
This talk is from October 2018, and so much has changed in the GOAI/RAPIDS ecosystem that itâs comical to see how much has changed! Regardless, the high-level concepts of how OmniSci works and the concepts behind GPU dataframes (then: pygdf, now: cudf) remain the same, so watching this talk still has value if you are interested in an end-to-end GPU workflow.
Peter Bengtsson: hashin 0.14.5 and canonical pip hashes
2019-01-31 20:20:27
Prior to version 0.14.5 hashin would write write down the hashes of PyPI packages in the order they appear in PyPI's JSON response. That means there's a slight chance that two distinct clients/computers/humans might actually get different output when then run hashin Django==2.1.5.
codingdirectional: Add one to the last element of a list
2019-01-31 12:31:14
Hello and welcome to another one day one answer series. In this article, we will create a python method which will do the following actions.
PyCharm: PyCharm 2019.1 EAP 2
2019-01-31 11:38:29
Our Early Access Program (EAP) continues, and we have some great features in this second version:
PyCon: PyCon 2019 Reminders and Information!
2019-01-31 11:15:48
No <p> found.
EuroPython: Announcing the Guido van Rossum Core Developer Grant
2019-01-31 09:18:49
europythonsociety:
EuroPython Society: Announcing the Guido van Rossum Core Developer Grant
2019-01-31 09:17:58
At the last General Assembly of the EuroPython Society (EPS) at EuroPython 2018 in Edinburgh, we voted on a new grant program we want to put in place for future EuroPython conferences.
Stack Abuse: Understanding Recursive Functions with Python
2019-01-30 14:57:00
When we think about repeating a task, we usually think about the for and while loops. These constructs allow us to perform iteration over a list, collection, etc.
PyCharm: PyCharm 2018.3.4
2019-01-30 13:28:46
Weâre happy to announce general availability of our latest update to PyCharm 2018.3. In this update weâve fixed a couple of issues, and some other small updates.
Robin Wilson: Less than a week left to bid for a dayâs work from me
2019-01-30 12:51:34
No <p> found.
Python Data: Stationary Data Tests for Time Series Forecasting
2019-01-30 12:00:46
I wasnât planning on making a âpart 2â to the Forecasting Time Series Data using Autoregression post from last week, but I really wanted to show how to use more advanced tests to check for stationary data. Additionally, I wanted to use a new dataset that I ran across on Kaggle for energy consumption at an hourly level (find the dataset here). For this example, Iâm going to be using the DEOK_hourly dataset (iâve added it to my git repo here). You can follow along with the jupyter notebook here.
Codementor: Introduction to Machine Learning with Python and repl.it
2019-01-30 12:00:39
We walk step-by-step through an introduction to machine learning using Python and scikit-learn, explaining each concept and line of code along the way. You'll learn to build a text classifier that can tell the difference between positive and negative sentences (sentiment analysis).
Codementor: 5 Best Python Frameworks for WebView Testing
2019-01-30 07:52:59
A look into several different testing frameworks that are compatible with the Python programming language, looking at how they help to test hybrid applications.
Real Python: Python "for" Loops (Definite Iteration)
2019-01-30 06:00:00
This tutorial will show you how to perform definite iteration with a Python for loop.
codingdirectional: Return odd or even position from a list of numbers
2019-01-30 05:39:06
Hello and welcome back to one day one answer series. In this chapter, we will need to return the position of either an odd or even number from a list of numbers following the below condition.
gamingdirectional: Create the game background Part 2
2019-01-30 04:31:54
Hello and welcome back to part two of this chapter. In this chapter, we will finish up the background rendering process for our new pygame project. If you have missed out the first part of the tutorial then you can read it here. OK let us continue⊠In part one we have created two new classes, in this part, we will find out how to use them. First of all, you will need to create a tile sheet...
PyCoderâs Weekly: Issue #353 (Jan. 29, 2019)
2019-01-29 20:30:00
#353 â JANUARY 29, 2019 View in Browser »
Python Engineering at Microsoft: Python in Visual Studio Code â January 2019 Release
2019-01-29 19:34:03
This post was written by Luciana Abud, Program Manager for the Python Extension in Visual Studio Code
Mike Driscoll: Python 201 and Python RegEx Bundle
2019-01-29 15:26:28
I recently had the opportunity to partner with Sundeep Agarwal, the author of Python re(gex)? to create a bundle with my second book, Python 201: Intermediate Python.
Dataquest: Data Science Project: Profitable App Profiles for App Store and Google Play
2019-01-29 15:13:24
At Dataquest, we strongly advocate portfolio projects as a means of getting a first data science job. In this blog post, we'll walk you through an example portfolio project. This is the third project in our Data Science Portfolio Project series:
gamingdirectional: Create the game background part 1
2019-01-29 15:01:23
Hello, and welcome back, starting from today I will definitely use my time effectively which means less Youtubed and Googled around so I can concentrate most of the time on writing article, creating the game and managing my own shoe sellingâs business. This year is make money online and offline year for me, wasting time on Youtube or surfing around must be stopped so those time can be used...
Mike Driscoll: wxPython Applications Book Table of Contents Update
2019-01-29 14:53:17
I am currently working on a new book entitled Creating GUI Applications with wxPython that you can support on Kickstarter. This is the current table of contents for the book:
Django Weblog: The DSF Welcomes Mariusz Felisiak as its Newest Fellow
2019-01-29 14:52:28
On December 21, 2018, the DSF made a call for Django Fellow applicants. On behalf of the Django Software Foundation, the DSF Fellowship Committee is pleased to announce Mariusz Felisiak as the newest Django Fellow. Mariusz is replacing Tim Graham who recently announced his retirement as a Django Fellow after four years of service.
Codementor: Using Python to Connect Function Compute to SQL Server
2019-01-29 09:14:09
Normally, a third-party module is required for establishing Python-based database connections. To connect to Microsoft SQL Server, pymssql is required. FreeTDS is required for pymssql versions...
Codementor: Installing a Dependency Library for Function Compute
2019-01-29 06:57:30
In common programming practice, projects, libraries, and system environments must be installed and configured in synergy. Alibaba Cloud Function Compute runs in a prefabricated runtime environment,...
codingdirectional: Given a list of dictionary objects, return a string
2019-01-29 04:27:01
Good morning again and today we are going to solve one of the fundamental problems on Codewars.
Podcast.__init__: What You Need To Know About Open Source Licenses And Intellectual Property
2019-01-28 23:56:34
As a developer and user of open source code, you interact with software and digital media every day. What is often overlooked are the rights and responsibilities conveyed by the intellectual property that is implicit in all creative works. Software licenses are a complicated legal domain in their own right, and they can often conflict with each other when you factor in the web of dependencies that your project relies on. In this episode Luis Villa, Co-Founder of Tidelift, explains the catagories of software licenses, how to select the right one for your project, and what to be aware of when you contribute to someone elseâs code.
Vasudev Ram: Daily Coding Problem #69: A functional programming solution
2019-01-28 21:47:37
Continuum Analytics Blog: Conda 4.6 Release
2019-01-28 18:29:45
The latest set of major Conda improvements are here, with version 4.6.  This release has been stewing for a while and has the feature list to show for it.  Letâs walk through some of the major ones. Activation script initialization Conda 4.4 introduced new scripts that make activation behavior uniform across operating systems.  Where you âŠRead more â
Chris Moffitt: Updated: Using Pandas To Create an Excel Diff
2019-01-28 13:00:00
Several years ago, I wrote an article about using pandas to creating a diff of two excel files. Over the years, the pandas API has changed and the diff script no longer works with the latest pandas releases. Through the magic of search engines, people are still discovering the article and are asking for help in getting it to work with more recent versions of pandas. Since pandas is closing in on a 1.0 release, I think this is a good time to get an updated version out there.
gamingdirectional: Create an animated game object in Pygame project
2019-01-28 11:46:05
Hello and nice to be back, it has been a while I am not writing any article on this site but I promise you that you will see more articles in the future. As I had promised you before I will create two game projects at the same time, a Panda 3D game and a new Pygame project. Both will start at the same time. This article is about the new Pygame project. In this article we will make a slight...
Zato Blog: Publish/subscribe logging options
2019-01-28 11:16:13
Zato publish/subscribe message queues and topics offer several ways to gain insight into the inner workings of all the components taking part in message delivery and this article presents an overview of the mechanisms available.
codingdirectional: Translate normal character to NATO phonetic alphabet with python
2019-01-28 07:41:14
Hello and welcome back, today we will create a NATO code translator program with python which will translate each character in any normal text into a NATO phonetic alphabet. This program will ignore the space within words and will not change the punctuation characters within that normal text.
Mike Driscoll: PyDev of the Week: Lorena Mesa
2019-01-28 06:05:55
This week we welcome Lorena Mesa (@loooorenanicole) as our PyDev of the Week! Lorena is an organizer for the PyLadies Chicago group and a director at the Python Software Foundation. You can check out some of the things that she is up to on her blog or via her Github page. Letâs spend a few moments getting to know her better!
Real Python: Jupyter Notebook: An Introduction
2019-01-28 06:00:00
The Jupyter Notebook is an open source web application that you can use to create and share documents that contain live code, equations, visualizations, and text. Jupyter Notebook is maintained by the people at Project Jupyter.
codingdirectional: Given a list of numbers, find the one which is closest to zero
2019-01-27 06:37:12
Hello, after we have completed the video editing project we will continue to explore those websites that provide python programming training for free, one of those websites which we will explore today is called codingame.com.
Weekly Python StackOverflow Report: (clxii) stackoverflow python report
2019-01-26 20:59:00
No <p> found.
codingdirectional: Create a thread for the video editing application
2019-01-26 14:53:45
Hello and welcome back to this final part of the video editing project. After this chapter, you will be good enough to continue to develop this application by yourself and hopefully, you can come out with a better idea of how to further develop this video editing application.
Python Bytes: #114 What should be in the Python standard library?
2019-01-26 08:00:00
No summary found!
Stack Abuse: Stacks and Queues in Python
2019-01-25 15:02:27
Data structures organize storage in computers so that we can efficiently access and change data. Stacks and Queues are some of the earliest data structures defined in computer science.
Moshe Zadka: Staying Safe with Open Source
2019-01-25 04:43:37
A couple of months ago, a successful attack against the Node ecosystem resulted in stealing an undisclosed amount of bitcoins from CoPay wallets.
Python Data: Forecasting Time Series Data using Autoregression
2019-01-24 18:51:37
This is (yet) another post on forecasting time series data (you can find all the forecasting posts here). In this post, we are going to talk about Autoregression models and how you might be able to apply them to forecasting time series problems.
Codementor: Python SQLite3 tutorial (Database programming)
2019-01-24 18:02:30
No <p> found.
Stack Abuse: The Best Data Science Libraries in Python
2019-01-24 17:16:40
Due to its exceptional abilities, Python is the most commonly used programming language in the field of Data Science these days. While Python provides a lot of functionality, the availability of various multi-purpose, ready-to-use libraries is what makes the language top choice for Data Scientists. Some of these libraries are well known and widely used, while others are not so common. In this article I have tried to compile a list of Python libraries and categorized them according to their functionality.
Mike Driscoll: Python 101: Episode #43 Creating Executables with PyInstaller
2019-01-24 17:04:58
You can also read the chapter this video is based on here or get the book on Leanpub
PyCharm: PyCharm 2019.1 EAP Starts Now!
2019-01-24 14:43:10
PyCharm development continues! As we are working on PyCharm 2019.1, weâd like to invite you to try what weâve worked on so far. Our EAP helps you to try new features before theyâre in the stable release, and you can help us by letting us know how weâre doing.
gamingdirectional: Finally, the mesh has been exported to Panda3D
2019-01-24 11:32:14
These two days I am really busy working on the new video editing project and I also had suffered a flu yesterday, therefore, I have missed out a few posts on this website. I promise you that starting from now on this site will continue to progress and I will write as many posts per week as possible. We will create two projects at the same time, the pygameâs project and the Panda 3D project.
Python Software Foundation: Python in Education - Request for Ideas
2019-01-24 09:58:08
No <p> found.
codingdirectional: The final user interface of this video editing application
2019-01-24 08:35:40
Sorry for not posting anything yesterday as I had suffered from the flu and today although I still feel a little bit tired and sick I need to at least post a post on this site. After a day of hard work I have finally finished to tidy up the user interface of this video editing application. I wish there is no bug in the logic part of this revised program. If you find any bug in the below program do let me know about it.
Codementor: Five Habits for Fast Learning
2019-01-23 23:14:10
No <p> found.
Python Engineering at Microsoft: Python in Visual Studio 2019 Preview 2
2019-01-23 21:10:51
Today we are releasing Visual Studio 2019 Preview 2, which contains new features for Python developers to improve the experience for managing Python environments and enable you to work with Python code without having to create a Python project. Weâve also enabled Python support for Visual Studio Live Share.
Continuum Analytics Blog: RPM and Debian Repositories for Miniconda
2019-01-23 18:02:21
Conda, the package manager from Anaconda, is now available as either a RedHat RPM or as a Debian package. The packages are the equivalent to the Miniconda installer which only contains conda and its dependencies.  You can use yum or apt-get to install, uninstall and manage conda on your system. To install conda follow the âŠRead more â
Python Does What?!: So a list and a tuple walk into a sum()
2019-01-23 09:00:07
No <p> found.
Talk Python to Me: #196 Datalore: Hosted smart notebooks
2019-01-23 08:00:00
No <p> found.
Real Python: Pythonâs Requests Library (Guide)
2019-01-23 06:00:00
The requests library is the de facto standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on interacting with services and consuming data in your application.
PyCoderâs Weekly: Issue #352 (Jan. 22, 2019)
2019-01-22 20:30:00
#352 â JANUARY 22, 2019 View in Browser »
Mike Driscoll: Sample Chapters from Creating wxPython Applications Book
2019-01-22 20:24:06
The Kickstarter campaign for my latest book has been going quite well, so I thought it would be fun to share some sample chapters of the book with you. You can check out the first couple of chapters here as a PDF.
Codementor: AI introduction in healthcare
2019-01-22 15:49:59
No <p> found.
codingdirectional: Create an animated image feature for the video editing application
2019-01-22 13:14:18
It seems like there are lots of people reading this video editing project and share this project with their friends which has really encouraged me to continue developing this project. There are a few of you that ask me to include a few new features into this application and I will do that but for now, do allow me to tidy up the user interface for this project first before we proceed further.
Python Software Foundation: Python Software Foundation Fellow Members for Q4 2018
2019-01-22 10:55:51
No <p> found.
Vasudev Ram: Factorial one-liner using reduce and mul for Python 2 and 3
2019-01-22 10:48:01
Codementor: How to Install Anaconda on ECS
2019-01-22 07:03:02
No <p> found.
Peter Bengtsson: variable_cache_control - Django view decorator to set max_age in runtime
2019-01-22 03:22:49
tl;dr; If you use the django.views.decorators.cache.cache_control decorator, consider this one instead to change the max_age depending on the request.
Zaki Akhmad: Django Post Idea
2019-01-22 02:20:00
Wow, itâs already 2019! And I just skipped 2018 without even a single post! For this post, I just want to write short.
Stack Abuse: Big O Notation and Algorithm Analysis with Python Examples
2019-01-21 16:39:35
There are multiple ways to solve a problem using a computer program. For instance, there are several ways to sort items in an array. You can use merge sort, bubble sort, insertion sort, etc. All these algorithms have their own pros and cons. An algorithm can be thought of a procedure or formula to solve a particular problem. The question is, which algorithm to use to solve a specific problem when there exist multiple solutions to the problem?
Filipe Saraiva: Call for Answers: Survey About Task Assignment
2019-01-21 14:39:48
Professor Igor Steinmacher, from Northern Arizona University, is a proeminent researcher on several social dynamics in open source communities, like support of newcomers, gender bias, open sourcing proprietary software, and more. Some of his papers can de found in his website.
Podcast.__init__: Counteracting Code Complexity With Wily
2019-01-21 13:10:36
As we build software projects, complexity and technical debt are bound to creep into our code. To counteract these tendencies it is necessary to calculate and track metrics that highlight areas of improvement so that they can be acted on. To aid in identifying areas of your application that are breeding grounds for incidental complexity Anthony Shaw created Wily. In this episode he explains how Wily traverses the history of your repository and computes code complexity metrics over time and how you can use that information to guide your refactoring efforts.
Codementor: Temperature Monitoring with Raspberry Pi and Alibaba Cloud IoT Platform
2019-01-21 06:48:07
No <p> found.
Mike Driscoll: PyDev of the Week: Nina Zakharenko
2019-01-21 06:05:38
This week we welcome Nina Zakharenko (@nnja) as our PyDev of the Week! Nina has been active in the Python community for several years and has spoken or keynoted dozens of conferences. She has also contributed to the Python core language! If youâd like to see what she is up to, check out her blog. Letâs spend a few moments getting to know Nina!
Real Python: Working With Files in Python
2019-01-21 06:00:00
Python has several built-in modules and functions for handling files. These functions are spread out over several modules such as os, os.path, shutil, and pathlib, to name a few. This article gathers in one place many of the functions you need to know in order to perform the most common operations on files in Python.
codingdirectional: Further modifying the video editing application
2019-01-21 04:58:01
Our video editing application project is nearly completed so then let us continue to modify it in this post. In this new code edition we will include the repeat scale box which allows the user to select how many times he wishes the video to repeat, the fps scale box which allows the user to select the fps for the new video, besides that we have also included the video format combo box where the user can select which new video format he wishes his new video to have. Below is the entire program.
Vasudev Ram: Factorial function using Python's reduce function
2019-01-21 04:25:22
Kushal Das: That missing paragraph
2019-01-21 01:30:00
In my last blog post, I wrote about a missing paragraph. I did not keep that text anywhere, I just deleted it while reviewing the post. Later Jason asked me in the comments to actually post that paragraph too.
Carl Chenet: How I Switched Working From Office Full Time to Remote 3 Days A Week
2019-01-20 23:00:31
Remote work is not for everyone. It depends a lot of anyoneâs taste. But itâs definitely for me. Here is why and how I switched from working full time in an office to 3 days of remote work.
Toshio Kuratomi: Optimizating Conway
2019-01-20 22:42:03
Conwayâs Game of Life seems to be a common programming exercise. I had to program it in Pascal when in High School and in C in an intro college programming course. I remember in college, since I had already programmed it before, that I wanted to optimize the algorithm. However, a combination of writing in C and having only a week to work on it didnât leave me with enough time to implement anything fancy.
gamingdirectional: A Journey of the Panda3D
2019-01-20 12:55:29
I donât know why am I still working on Panda 3D despite the failure to export the Blender mesh to the Panda 3D engine but anyway here is a quick update for the development of the Panda3Dâs game. Yesterday after the Panda 3D engine had failed again to render the blender 3D mesh together with its texture on the game scene, I had made another search for the solution on Google but again...
Talk Python to Me: #195 Teaching Python at Apple
2019-01-20 08:00:00
No <p> found.
codingdirectional: Create equalizer feature for video editing program
2019-01-20 06:20:29
Today we will continue to work on the user interface of the previous video editing application. The equalizer options for this video application will be located in the second row of this application. We will create another frame to hold all those equalizer options. Each option will consist of a scale box which allows the user to select the value from each equalizerâs option. The default value for each option will be provided as well.
Codementor: Regular Expressions in Python
2019-01-19 14:40:14
No <p> found.
Weekly Python StackOverflow Report: (clxi) stackoverflow python report
2019-01-19 14:33:00
No <p> found.
gamingdirectional: Render game scene with Panda 3D
2019-01-19 10:55:20
Today we will continue to explore Panda 3D, after a day of searching online for the method to export the whole mesh created with Blender which can then be used in Panda 3Dâs game I have found two of them. 1) Exporting the mesh in the Direct (x) format 2) Using YABEE to export the mesh in the egg file format. I have tried both and the result is still the same, the mesh has been rendered on...
codingdirectional: Tidy up the user interface of the video editing application
2019-01-19 06:03:14
Hello and welcome back, it has been a day since the last post and today we will continue to edit our video application project. After I have included the final feature for this project I can now concentrate on the user interface part. Mine ideology is always to focus on the main objective first before working on the small details when it comes to programming, as long as we have destroyed the main battleship then it will easy to take on those small battleships that have lost their main supply line.
Thomas Guest: Python Counters @PyDiff
2019-01-19 00:00:00
On Monday I gave a talk at PyDiff on the subject of Python Counters. A Counter is a specialised dict which has much in common with a set. Of course all dicts are like sets, but with Counters the resemblance is even stronger. The documentation states:
Stack Abuse: Lambda Functions in Python
2019-01-18 14:10:00
In Python, we use the lambda keyword to declare an anonymous function, which is why we refer to them as "lambda functions". An anonymous function refers to a function declared with no name. Although syntactically they look different, lambda functions behave in the same way as regular functions that are declared using the def keyword. The following are the characteristics of Python lambda functions:
Python Bytes: #113 Python Lands on the Windows 10 App Store
2019-01-18 08:00:00
No summary found!
Reuven Lerner: Beyond the âhello, worldâ of Pythonâs âprintâ function
2019-01-18 00:03:44
One of the first things that anyone learns in Python is (of course) how to print the string, âHello, world.â As you would expect, the code is straightforward and simple:
Vasudev Ram: Announcing PIaaS - Python Interviewing as a Service
2019-01-17 21:47:23
No <p> found.
PyCharm: Webinar Recording: âLive Development of a PyCharm Pluginâ with Joachim Ansorg
2019-01-17 18:11:50
This week we hosted a webinar with Joachim Ansorg presenting Live Development of a PyCharm Plugin. The webinar recording is now available, as well as a repo with the contents he showed in the webinar.
Julien Danjou: Serious Python released!
2019-01-17 16:56:09
Today I'm glad to announce that my new book, Serious Python, has been released.
Stack Abuse: Getting Started with MySQL and Python
2019-01-17 14:24:00
For any fully functional deployable application, the persistence of data is indispensable. A trivial way of storing data would be to write it to a file in the hard disk, but one would prefer writing the application specific data to a database for obvious reasons. Python provides language support for writing data to a wide range of databases.
Django Weblog: Django 2.2 alpha 1 released
2019-01-17 14:13:13
Django 2.2 alpha 1 is now available. It represents the first stage in the 2.2 release cycle and is an opportunity for you to try out the changes coming in Django 2.2.
gamingdirectional: Create Panda 3D Game Project
2019-01-17 12:53:17
Hello, do you still remember that I have mentioned to you before that I will start another game project alongside the new pygame project? Well, I have not decided yet which game framework should I use to build the python game. Yesterday I had just came across Panda 3D which is a very attractive game framework that we can use to create the python game. After playing with it for a while I just...
Codementor: Introduction to Python
2019-01-17 10:53:40
No <p> found.
codingdirectional: Convert video from one format to another with python
2019-01-17 07:38:50
Hello, and well come back. In this article, we will input the last feature for our video editing application before we tidy up the entire applicationâs user interface and then upload this free application to the online software store for others to enjoy. As usual, we will use the FFmpeg tool together with a python program to convert a video from the mp4 format to the webm format. This program will first resize the video to the size which the user has selected and then start to convert the video to the new format then saves that new video to a new file. Below is the entire program.
NumFOCUS: Now Hiring: Events and Digital Marketing Coordinator
2019-01-16 21:52:25
The post Now Hiring: Events and Digital Marketing Coordinator appeared first on NumFOCUS.
Codementor: Analyzing Robinhood trade history
2019-01-16 19:45:22
No <p> found.
Real Python: Async IO in Python: A Complete Walkthrough
2019-01-16 14:00:00
Async IO is a concurrent programming design that has received dedicated support in Python, evolving rapidly from Python 3.4 through 3.7, and probably beyond.
Robin Wilson: Bid for a dayâs work from me
2019-01-16 10:29:22
No <p> found.
Codementor: How to build an API for a machine learning model in 5 minutes using Flask
2019-01-16 07:49:39
No <p> found.
Wingware News: Wing Python IDE 6.1.4: January 16, 2019
2019-01-16 01:00:00
No <p> found.
Will McGugan: PyFilesystem is greater than or equal to Pathlib
2019-01-15 22:51:32
I was reading a post by Trey Hunner on why pathlib is great, where he makes the case that pathlib is a better choice than the standard library alternatives that preceded it. I wouldn't actually disagree with a word of it. He's entirely correct. You should probably be using pathlib were it fits.
Mike Driscoll: Python 101: Episode #42 â Creating Executables with cx_Freeze
2019-01-15 21:24:57
You can also read the chapter this video is based on here or get the book on Leanpub
PyCoderâs Weekly: Issue #351 (Jan. 15, 2019)
2019-01-15 20:30:00
#351 â JANUARY 15, 2019 View in Browser »
Trey Hunner: No really, pathlib is great
2019-01-15 19:20:00
I recently published an article about Pythonâs pathlib module and how I think everyone should be using it.
codingdirectional: Turn video into black and white with python
2019-01-15 12:16:16
Hi, in this quick article we are going to turn a colorful video into a black and white video using python with the help of the FFmpeg tool. We will use the equalizer filter from FFmpeg tool to get the job done. If you have missed the previous steps to resize and to add music into the video then you can read the previous article about it. Below are two pictures showing the video scene before and after applying the equalizer filter.
Reuven Lerner: Registration ends today for Weekly Python Exercise
2019-01-15 12:10:41
If you want to join this monthâs cohort of Weekly Python Exercise, youâd better act fast: Registration ends today!
Made With Mu: Happy Mu Year 2019!
2019-01-15 12:00:00
New year, new Mu! Weâre very happy to release the next version of Mu, version 1.0.2. Please update to this release.
gamingdirectional: The starting of new pygame project
2019-01-15 10:21:47
Hello, welcome back, due to busy managing the offline business as well as writing article for another website, therefore, no post had been created in the past few days. Today we will finally begin the first chapter of our new pygame project which will go on for a while so do visit this site once in a while for more articles. After we have created the first pygame project we already have the full...
Nigel Babu: Writing Golang as a Python Dev
2019-01-15 03:30:09
Iâve gone through the Golang tutorial once before but in the last month or so, I fully dove into it. I started by writing a simple hello world web application. I found the implementation of the webserver so neat that most of the uses Iâd have for a framework is redundant. The in-built libraries already take care of handling most of the use-cases I have. I did a couple of views and a couple of templates. It seems to be working well.
Codementor: Improve Your Code With Atomic Functions
2019-01-14 17:52:56
No <p> found.
Codementor: So... let's talk Pyramid
2019-01-14 17:51:52
No <p> found.
Stack Abuse: Dockerizing Python Applications
2019-01-14 14:30:00
Docker is a widely accepted and used tool by leading IT companies to build, manage and secure their applications.
Real Python: Speed Up Your Python Program With Concurrency
2019-01-14 14:00:00
If youâve heard lots of talk about asyncio being added to Python but are curious how it compares to other concurrency methods or are wondering what concurrency is and how it might speed up your program, youâve come to the right place.
Djangostars: Top Seven Apps Built With Python
2019-01-14 12:57:09
Over its almost 30 years of existence, Python has become one of the most popular programming languages. But if most startups once used it because of its simplicity and low cost, modern giants like Instagram or Spotify use Python and the Django framework to create smooth working experiences. Famously, Django provides fast work processes, clean design, and transparent functionality, among many other advantages. It allows developers at all levels to focus on writing their apps instead of reinventing the wheel (or fixing it, for that matter). On top of that, itâs free, open source, and has gathered a mighty community of developers over the years. Large companies appreciate this. To give you an example, letâs take a look at some apps written in Python that you probably didnât know about.
Mike Driscoll: Creating GUI Applications with wxPython Kickstarter
2019-01-14 12:23:56
I am pleased to announce my latest book project, Creating GUI Applications with wxPython which I am running a Kickstarter campaign for.
Erik Marsja: Probabilistic Programming in Python
2019-01-14 11:09:53
Learn about probabilistic programming in this guest post by Osvaldo Martin, a researcher at The National Scientific and Technical Research Council (CONICET).
Mike Driscoll: PyDev of the Week: Lance Bragstad
2019-01-14 06:05:54
This week we welcome Lance Bragstad (@LanceBragstad) as our PyDev of the Week! Lance is a core developer of the OpenStack project. You can find out more about his passions via his website or his Github profile. Letâs spend some time getting to know Lance!
codingdirectional: Insert audio into a video with python and FFmpeg
2019-01-14 05:44:32
Hello, just like what I have promised that I will write another article today so here is another short article regarding the ongoing video editing project written in python with the help of FFmpeg. In below program we will first remove the original audio from the video and then inserted music into that same video, the music is longer than the video itself so we will trim the music file to match the exact length of the video. The program below will also resize the video to the size which has been selected by the user.
codingdirectional: Remove audio from video with Python and FFmpeg
2019-01-14 02:37:15
While I am busy tidying up the tkinterâs user interface I have included another feature into this ongoing video editing project The python program below will remove the audio from the video file with the help of the FFmpeg tool. We need FFmpeg tool to process the video file so if you have not yet installed FFmpeg tool on your computer then you can do so through this link.
Podcast.__init__: Teaching Digital Archaeology With Jupyter Notebooks
2019-01-14 00:16:28
Computers have found their way into virtually every area of human endeavor, and archaeology is no exception. To aid his students in their exploration of digital archaeology Shawn Graham helped to create an online, digital textbook with accompanying interactive notebooks. In this episode he explains how computational practices are being applied to archaeological research, how the Online Digital Archaeology Textbook was created, and how you can use it to get involved in this fascinating area of research.
Will McGugan: Filesystem Magic with Python
2019-01-13 16:42:03
I recently added a number of examples on working with files and directories with Python and PyFilesystem.
Django Weblog: DjangoCon Europe in 2019 - last call for speakers
2019-01-13 16:39:20
We invite all Djangonauts, Pythonistas and people who could make a contribution to our community to attend and share their knowledge and insight.
Codementor: Parsing semi-formatted text in python via textFSM
2019-01-13 15:35:50
No <p> found.
Davy Wybiral: Exploring Sub-GHz Radio With RTL-SDR and GQRX
2019-01-13 10:34:35
No <p> found.
Full Stack Python: Introduction to Ansible video course released!
2019-01-13 05:00:00
Check out the just-launched video course, Introduction to Ansible on Talk Python Training. This is the perfect course for you if you want to learn to configure servers and deploy web apps with the Ansible configuration management tool.
codingdirectional: Create an animated gif from a video
2019-01-13 03:55:34
Hello, in this article we will continue to develop the video editing application which we have started a while ago. In this article, we will create an animated gif from a video, due to the size of the gif file which can get very large we will trim the duration of the video in this example by providing the starting time of that video which is very near to the end time of that video. We will hard code the videoâs starting time in this example but we will retrieve the duration of the video in the next chapter so we do not need to worry about the overflow of the videoâs starting time issue from any video. Just like before we will use both python and FFmpeg tool to create the animated gif from a video based on the videoâs starting time to the videoâs end time.
Test and Code: 62: Python Training - Reuven Lerner
2019-01-13 00:30:00
There are a lot of learning styles and a lot of ways to learn Python. If you started Python through a class at work, or through an online course, or maybe an email series, it's possibly you may have learned from Reuven Lerner.
Weekly Python StackOverflow Report: (clx) stackoverflow python report
2019-01-12 19:15:00
No <p> found.
Codementor: How to Learn Python in 30 days
2019-01-12 16:15:26
No <p> found.
gamingdirectional: The new version of AirStrike
2019-01-12 13:33:12
Finally, I have released the latest version of AirStrike today, you can download this version directly through the below widget. In this version, the highest level still remains at level three but there are lots of changes have been made on the previous version, particularly on the movement part of the horizontal moving enemy ship which I had mentioned before in the previous post. Besides that...
codingdirectional: Reduce video frame rate with Python and FFmpeg
2019-01-12 06:27:39
Hi, it has been two days already I am not posting any article because I am busy working on the new gaming project as well as taking care of the offline business. Today we will continue with the video editing application project which we have started a while ago by changing the frame rate of a video to make it slower.
PyCharm: Interview: Joachim Ansorg for next weekâs PyCharm Plugins webinar
2019-01-11 14:46:34
JetBrains IDEs have a lot thatâs âintegratedâ into the âdevelopment environment.â At some times, it seems daunting: thereâs an infinity of features, with useful new things to learn at every corner. At other times, though, thereâs something missing, something unique to what you do or how you do it.
Python Software Foundation: 2018 in review!
2019-01-11 11:11:10
No <p> found.
Talk Python to Me: #194 Learning (and teaching) Python in a vacuum
2019-01-11 08:00:00
No <p> found.
Python Bytes: #112 Don't use the greater than sign in programming
2019-01-11 08:00:00
No summary found!
Wingware News: Wing Python IDE 6.1.3: January 11, 2019
2019-01-11 01:00:00
No <p> found.
Ian Ozsvald: “discover feature relationships” – new EDA tool
2019-01-10 20:00:43
Iâve built a new Exploratory Data Analysis tool, I used it in a few presentations last year with the code on github and have now (finally) published it to PyPI.
Reuven Lerner: Reminder: Weekly Python Exercise registration ends soon
2019-01-10 19:31:48
If you want to improve your understanding of Python, then youâre going to have to practice.
PyCharm: PyCharm 2018.3.3
2019-01-10 17:18:24
PyCharm 2018.3.3 is now available. It comes with several Python-related improvements as well as a bunch of platform enhancements. Get it now from our website.
Programiz: Python del Statement
2019-01-10 07:08:11
No <p> found.
Vasudev Ram: FizzBuzz in Python with nested conditional expressions and a generator expression
2019-01-10 01:47:42
Karim Elghamrawy: Python: __name__ == â__main__â Explained
2019-01-09 19:40:19
You see it everywhere. If you have been coding in Python for a while, or just casually browsing Python Github repositories, you probably have come across this snippet of code. if __name__ == '__main__': # do something It is ubiquitous. In fact, this is how many times this above snippet appears in Github! 18 millions+ [...]
Real Python: Django Migrations: A Primer
2019-01-09 12:10:21
Since version 1.7, Django has come with built-in support for database migrations. In Django, database migrations usually go hand in hand with models: whenever you code up a new model, you also generate a migration to create the necessary table in the database. However, migrations can do much more.
gamingdirectional: Show the game level on game scene
2019-01-09 10:27:41
Hello, it has been a day since the last post, I am busy preparing the next pygame project which will appear on this website soon so do stay tuned. While we are getting ready for our next game project in a few days time why donât we look at what are those changes that we have made on the previous pygame project in this article? While preparing the second released for the previous pygame...
Programiz: Python JSON
2019-01-09 09:53:48
No <p> found.
Swisscom ICT: Replacing Judgmental Forecasting with Statistical Methods
2019-01-09 08:00:27
Although machine learning and data science is on everyone's lips in recent years, and with that the promise of an AI revolution, the methodologies and technologies currently available are often not taken advantage of. In the following blog I will show a case of how, with relative low resources, current business forecasting methods can be replaced with more modern ones, giving better results and allowing for a higher degree of automatization.
Moshe Zadka: Checking in JSON
2019-01-09 06:00:00
JSON is a useful format. It might not be ideal for hand-editing, but it does have the benefit that it can be hand-edited, and it is easy enough to manipulate programmatically.
codingdirectional: Looping the video with ffmpeg and python
2019-01-09 04:16:20
In this article, we will continue to develop the video editing application which we have started a few days ago. In this chapter, we are going to loop the original video twice besides resizing it as before. There is only one line of code we need to change in the previous program to get the job done. Below is the revised program.
NumFOCUS: Julia Co-Creators To Receive 2019 James H. Wilkinson Prize for Numerical Software
2019-01-08 22:10:16
The post Julia Co-Creators To Receive 2019 James H. Wilkinson Prize for Numerical Software appeared first on NumFOCUS.
PyCoderâs Weekly: Issue #350 (Jan. 8, 2019)
2019-01-08 20:30:00
#350 â JANUARY 8, 2019 View in Browser »
Mike Driscoll: Python 101: Episode #40 â Creating Executables with bbfreeze
2019-01-08 18:05:39
You can also read the chapter this video is based on here or get the book on Leanpub
Peter Bengtsson: Use vars() to send an argparse Namespace into a function in Python
2019-01-08 16:23:21
No <p> found.
Djangostars: What to Consider When Building the Backend for a Location-Based Service
2019-01-08 14:45:47
If you make a quick review of apps in various categories â healthcare, games, finance, â it will show that the deviceâs location plays a bigger role than whoever imagined. Services may use location data for primary functions (like Uber does), or for secondary ones (like Facebook). But despite the role, location data makes the use of service more user-oriented and, by that mean, more convenient.
PyCon: Eighth Annual PyLadies Auction at PyCon 2019
2019-01-08 14:05:46
No <p> found.
codingdirectional: Resize video with combo box
2019-01-08 13:54:54
Hello and welcome back, if you have already read the previous article about the creation of the video resizing application then this one is the improved version. In this revised version, I have included a combo box where the user can select the new size of the video which needs to be resized. The new sizes of the video in the combo box are as follow, the aspect ratio of that original video will remain unchanged after it has been resized.
PyBites: Code Challenge 60 - Working With PDF Files in Python
2019-01-08 11:40:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
PyBites: Code Challenge 59 - Analyze Podcast Transcripts with NLTK - Part II
2019-01-08 11:00:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
Speed Matters: fastlogging
2019-01-08 10:00:00
When I was working on a bigger project which does lotâs of logging I determined that the standard logging module in Python is pretty slow. So I decided to write my own, much faster logging module and called it fastlogging.
EuroPython: EuroPython 2019: Kicking off the organization
2019-01-08 09:13:47
europythonsociety:
EuroPython Society: EuroPython 2019: Kicking off the organization
2019-01-08 09:09:08
Today, weâre happy to announce our pre-launch website under the official EuroPython 2019 URL:
Programiz: Python Operators
2019-01-08 06:33:40
No <p> found.
codingdirectional: Calculate the angle of the sun
2019-01-08 05:56:46
Hello, today I have almost completed all the basic questions on py.checkio.org and are ready to move into the real game logic programming. One of the questions I have solved today is the question which asks us to find out the angle of the sun based on the position of the clock. For example, 12.pm noon means 90 degrees, 6.00 am morning means 0 degrees and we will not see the sun after 6.00pm and before 6.00 am. We need to create a python function which will take in a time string and then return the angle of the sun based on the position of the clock. If we do not see the sun yet then just return a text telling the user about that. After a simple calculation, we know that the angle between each of the two subsequent hours is 15 degrees. Here is what the sun angle looks like from a simple sketch.
Janusworx: William Vincentâs list of programming books for 2019
2019-01-08 03:15:20
Will Vincent, author of Django for Beginners and Rest APIs with Django has his list of book recommendations for the year. Read the latest posts on his website to get at them.
Matt Layman: Local web development vs Vagrant vs Docker: Whatâs right for you?
2019-01-08 00:00:00
No <p> found.
Vladimir Iakolev: Extracting popular topics from subreddits
2019-01-07 22:50:00
Continuing playing with Reddit data, I thought that it might be fun to extract discussed topics from subreddits. My idea was: get comments from a subreddit, extract ngrams, calculate counts of ngrams, normalize counts, and subtract them from normalized counts of ngrams from a neutral set of comments.
Python Data: Quick Tip: Consuming Google Search results to use for web scraping
2019-01-07 20:17:36
While working on a project recently, I needed to grab some google search results for specific search phrases and then scrape the content from the page results.
Ian Ozsvald: Looking back on 2018, looking to 2019
2019-01-07 19:28:49
So last year was a damned hard year â ignoring Brexit and other international foolishness, on a personal level (without going in to details) by mid-year I was emotionally wiped out. A collection of health issues between family and friends kept rearing their ugly heads and over time I ran very low of emotionally supportive energy to share. Our not-so-old cat suddenly dying of kidney failure just about topped the year off. Thankfully by Christmas most of the health issues had sorted themselves out, massively reducing their induced stress.
PyBites: Code Challenge 58 - Analyze Podcast Transcripts with NLTK - Part I - Review
2019-01-07 16:45:07
In this article we review our PCC58 - Analyze Podcast Transcripts with NLTK - Part I code challenge.
Ian Ozsvald: PyDataLondon 2018 and “Creating Correct and Capable Classifiers”
2019-01-07 16:10:04
This weekend we ran PyDataLondon 2018, the fifth iteration of our conference (connected with our monthly PyDataLondon meetup). This year we grew to 500 attendees! Read about the past PyDataLondon 2017 here.
Will Kahn-Greene: Everett v1.0.0 released!
2019-01-07 15:00:00
Everett is a configuration library for Python apps.
Real Python: The Ultimate Guide to Python Type Checking
2019-01-07 14:00:00
In this guide, you will get a look into Python type checking. Traditionally, types have been handled by the Python interpreter in a flexible but implicit way. Recent versions of Python allow you to specify explicit type hints that can be used by different tools to help you develop your code more efficiently.
gamingdirectional: A sneak preview at the next python pygame project
2019-01-07 13:50:48
Hello, it is nice to be back again. After the final touch up of the previous pygame project, we are now ready to start the next pygame project. We will continue to develop that previous pygame project but our attention now is on this new project. Yesterday I had received a comment from a fan on the main page of our previous pygame project which stated that there are not many people using pygame...
Chris Moffitt: Using The Pandas Category Data Type
2019-01-07 13:25:00
In my previous article, I wrote about pandas data types; what they are and how to convert data to the appropriate type. This article will focus on the pandas categorical data type and some of the benefits and drawbacks of using it.
codingdirectional: Encrypt the text with python
2019-01-07 12:38:15
Hello again, today let us continue to explore the question on the previous website which allows us to develop a game with python. In this chapter, we are going to create a function which will encrypt the text passes in as the first argument based on the integer passed in as the second argument to that same function. This function will only accept the lowercase character from a-z and the empty space. What this function does is to add up the character code of an a-z character with the second argument of that function to produce a new character and finally return the entire new text based upon this encrypt method.
Codementor: Building a traffic fine scraper with Python
2019-01-07 09:50:58
No <p> found.
eGenix.com: Python Meeting DĂŒsseldorf - 2019-01-09
2019-01-07 08:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
Mike Driscoll: PyDev of the Week: Kushal Das
2019-01-07 06:05:10
This week we welcome Kushal Das (@kushaldas) as our PyDev of the Week! Kushal is a core developer of the Python programming language and a co-author of PEP 582. You can learn more about Kushal by checking out his blog or his Github profile. Letâs take a few moments to get to know Kushal better!
codingdirectional: Resize the video with python program
2019-01-07 04:28:42
Hallo mein Freund, Jetzt ist es Zeit fĂŒr ein weiteres tutorial, lasst uns beginnen! If you are following this website then you should know that recently I am exploring py.checkio.org which is supposed to be a website which allows us to create game with python program and I am on the way to get into the game creation stage after solving some basic python questions on this site, but starting from today our plan has changed a little bit, I am going to start a brand new python project while continue to discover that above site at the same time, so you can expect more daily articles from this site soon on both the previous topic as well as the new topic, I might create a few more python related topics at the same time in the future as well. The project which we are going to create together is the video editing/streaming application project written in python with the help of the ffmpeg multimedia framework. I am going to create the project in windows os but if you are the mac or Linux user then you can just slightly modify the program code to suit your need, no problem at all.
Podcast.__init__: Analyzing Satellite Image Data Using PyTroll
2019-01-07 02:52:01
Every day there are satellites collecting sensor readings and imagery of our Earth. To help make sense of that information, developers at the meteorological institutes of Sweden and Denmark worked together to build a collection of Python packages that simplify the work of downloading and processing satellite image data. In this episode one of the core developers of PyTroll explains how the project got started, how that data is being used by the scientific community, and how citizen scientists like you are getting involved.
Christian Barra: Python dictionary views
2019-01-07 00:00:00
No <p> found.
Roberto Alsina: Coding in anger: not-gitbook
2019-01-06 19:55:42
I have, intermitently, for the past few months, been writing a book. You can see it here and I am fairly happy with how it's going.
Ofosos: Integrating Sphinx doctests with Travis
2019-01-06 16:56:05
If you want to run Sphinx doc tests in Travis you will need to jump through some hoops. Fortunately it isn't that complicated, I've created some sample code on Github/doctest-travis for you to follow along.
gamingdirectional: Increase the speed of the enemy ship
2019-01-06 04:52:18
Hello friend, I wish you all have a nice day. After near to a month of continuing to develop this latest pygame project, today I have finally completely finished all three stages of the game and fixed most of the bugs that I can find during gameplay. Today I will put forward the last piece of code that will speed up the enemy ship a little bit during the game by changing the vertical speed of the...
codingdirectional: Count the words within a string with python
2019-01-06 03:55:54
Hello and nice to meet you all again. In this article, we will continue to solve the problem on the py.checkio.org website. This website has provided a great opportunity for those python programmers that want to see how good their python skills really are by allowing them to solve various programming problems with python. Just like what I had mentioned before, I am still in the stage of finding it out what else does this site has to offer besides asking us to solve python related questions but before I can go even further I need to solve some basic problems first. In this article, we will solve the below problem with python.
Weekly Python StackOverflow Report: (clix) stackoverflow python report
2019-01-05 22:23:00
No <p> found.
Filipe Saraiva: LaKademy 2018
2019-01-05 16:59:19
Past October 2018, FlorianĂłpolis hosted the 6th edition of LaKademy, the Latin-American KDE sprint. That moment is an opportunity to put together several KDE developers â both veterans and newcomers â from different projects in order to work for improve their respective software and plan the promotional actions of the community in the subcontinent.
gamingdirectional: Complete rewrites of the level manager class
2019-01-05 13:46:10
In this chapter, we will rewrite the level manager class by deleting old functions and adding new functions into it. Besides that, we will also use the pickle file to replace the text file then save the game level in the form of a list instead of a separate number. The previous method which saves each level as a number in the text file has introduced some bugs into the program that appear when the...
Python Bytes: #111 loguru: Python logging made simple
2019-01-05 08:00:00
No summary found!
Patrick Kennedy: Monkeypatching with pytest
2019-01-04 16:58:57
Introduction
Stack Abuse: Introduction to Python Iterators
2019-01-04 14:50:00
An iterator in Python refers to an object that we can iterate upon. The iterator consists of countable values, and it is possible to traverse through these values, one by one.
Django Weblog: Django security releases issued: 2.1.5, 2.0.10, and 1.11.18
2019-01-04 14:14:27
In accordance with our security release policy, the Django team is issuing Django 1.11.18, Django 2.0.10, and Django 2.1.5. These release addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
gamingdirectional: Increase the points that need to win the game
2019-01-04 13:57:31
What is up buddy? In this article, we will continue to edit our pygame project by increasing the difficulty to win this game. 1) We will increase the points that we need to win the game by double. 2) We will also increase the damage points to 3 instead of 1 when the player gets hit by the missile from the horizontal moving enemy ship. We only need to update one file to make those changes...
Made With Mu: #CircuitPython2019
2019-01-04 11:45:00
Our friends, Mu allies and all-round superheroes at Adafruit have asked, âWhat do you want from CircuitPython in 2019â? This is my personal response. :-)
Rene Dudfield: Experiments with new low latency PyPy garbage collector in a thread.
2019-01-04 10:49:48
No <p> found.
Kushal Das: 2018 blog review
2019-01-04 02:03:00
Last year, I made sure that I spend more time in writing, mostly by waking up early before anyone else in the house. The total number of posts was 60, but, that number came down to 32 in 2018. The number of page views were though 88% of 2017.
Python Data: Quick Tip: Comparing two pandas dataframes and getting the differences
2019-01-03 22:28:26
There are times when working with different pandas dataframes that you might need to get the data that is âdifferentâ between the two dataframes (i.e.,g Comparing two pandas dataframes and getting the differences). This seems like a straightforward issue, but apparently its still a popular âquestionâ for many people and is my most popular question on stackoverflow.
Vasudev Ram: Multiple item search in an unsorted list in Python
2019-01-03 19:47:54
Import Python: ImportPython Newsletter - Issue 188
2019-01-03 17:21:18
No <p> found.
Simple is Better Than Complex: How to Use Date Picker with Django
2019-01-03 16:35:00
In this tutorial we are going to explore three date/datetime pickers options that you can easily use in a Django project. We are going to explore how to do it manually first, then how to set up a custom widget and finally how to use a third-party Django app with support to datetime pickers.
PyPy Development: PyPy for low-latency systems
2019-01-03 15:23:22
No <p> found.
Reuven Lerner: Announcing a new course: Intro Python â Fundamentals
2019-01-03 15:04:36
Python is one of the hottest languages out there. People canât get enough Python, and companies canât get enough Python people.
Stack Abuse: Python Context Managers
2019-01-03 14:14:00
One of the most "obscure" features of Python that almost all Python programmers use, even the beginner ones, but don't really understand, is context managers. You've probably seen them in the form of with statements, usually first encountered when you learn opening files in Python. Although context managers seem a little strange at first, when we really dive into them, understand the motivation and techniques behind it, we get access to a new weapon in our programming arsenal. So without further ado, let's dive into it!
pgcli: Launching LiteCLI
2019-01-03 08:00:00
Today we are happy to announce the launch of LiteCLI!
Graham Dumpleton: Integrating the workshop notes with the image
2019-01-03 07:40:46
No <p> found.
gamingdirectional: Move the enemy ship up and down
2019-01-03 07:34:42
Hello and welcome back, in this article we will create a mechanism to move the horizontal moving enemy ship up and down within a certain vertical range. It will be very boring if the horizontal moving enemy can only move from side to side only, thus by including the vertical movement of the enemy ship will improve the quality of the entire game. In order to move the enemy ship within a certain...
Programiz: Python sleep()
2019-01-03 06:12:30
No <p> found.
codingdirectional: Solving tic tac toe problem with python
2019-01-03 06:05:59
Hello again, today we are going to continue exploring py.checkio.org site by solving this tic tac toe question with python, this question requires us to find out which player has won the tic tac toe game by returning âXâ if X wins, returning âYâ if Y wins or âDâ if it is a draw. After solving this question I think I will create a tic tac toe game with python later on since I already have the solution for the game mechanism so better donât waste this wonderful resource! Below is the entire solution to the above tic tac toe question. I have thought of making the solution shorter by introducing a few functions to replace the long solution but for now, we will stick to this one.
Mike Driscoll: wxPython: Changing Custom Renderers for Columns / Rows
2019-01-03 06:01:15
The wxPython GUI toolkit has a very rich and powerful Grid widget that I have written about previously on this blog. It allows you to create sheets of cells similar to those in Microsoft Excel.
Dan Yeaw: How to Rock Python Packaging with Poetry and Briefcase
2019-01-03 04:01:00
As part of modernizing Gaphas, the diagramming widget for Python, I took another look at what the best practices are for packaging and releasing a new version of a Python library or application. There are new configuration formats and tools to make packaging and distributing your Python code much easier.
Matthew Rocklin: GPU Dask Arrays, first steps
2019-01-03 00:00:00
The following code creates and manipulates 2 TB of randomly generated data.
Calvin Spealman: Using a React Context as a Dispatch Replacement
2019-01-02 22:51:05
No <p> found.
Evennia: Into 2019!
2019-01-02 19:40:56
No <p> found.
Rene Dudfield: Year of the Desktop #yearofthedesktop
2019-01-02 16:52:38
No <p> found.
Mike Driscoll: Python 101: Episode #40 â Creating Executables with py2exe
2019-01-02 16:05:26
In this screencast, we will learn how to turn your Python code into a Windows executable file using py2exe.
Stack Abuse: Introduction to Python's Collections Module
2019-01-02 14:02:00
Collections in Python are containers that are used to store collections of data, for example, list, dict, set, tuple etc. These are built-in collections. Several modules have been developed that provide additional data structures to store collections of data. One such module is the Python collections module.
Real Python: Modeling Polymorphism in Django With Python
2019-01-02 14:00:00
Modeling polymorphism in relational databases is a challenging task. In this article, we present several modeling techniques to represent polymorphic objects in a relational database using the Django object-relational mapping (ORM).
Graham Dumpleton: Dashboard combining workshop notes and terminal
2019-01-02 10:18:44
No <p> found.
Simple is Better Than Complex: How to Implement Grouped Model Choice Field
2019-01-02 09:51:00
The Django forms API have two field types to work with multiple options: ChoiceField and ModelChoiceField.
Codementor: How to Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 16.04
2019-01-02 09:17:52
No <p> found.
pgcli: Release v2.0.2
2019-01-02 08:00:00
Pgcli is a command line interface for Postgres database that does auto-completion and syntax highlighting. You can install this version using:
codingdirectional: Create a strong password for a website account with python
2019-01-02 07:08:14
Welcome to another chapter of enjoying coding with python, in this chapter we are going to explore another website which will help us to improve our python skill by solving various python related problems. I am still not sure what this site is really about yet after I have joined the site a moment ago. Is this site allows the programmer to create a game with python? Or is it just an ordinary site likes those that we have visited previously, we will find it out together later on. But first let us joined this site together through this link.
gamingdirectional: Change the direction of the enemy ship
2019-01-02 05:00:16
Hello and happy new year to all readers of this website, in this new yearâs eve I would like to list out the entire plan for this website in the year 2019 before we proceed even further. After a long thought about the future plan for this website in the year 2019 I have decided to continue writing about the previous pygame project which I have developed last year which means instead of stop...
PyCoderâs Weekly: Issue #349 (Jan. 1, 2019)
2019-01-01 20:30:00
#349 â JANUARY 1, 2019 View in Browser »
Stack Abuse: Automating AWS EC2 Management with Python and Boto3
2019-01-01 14:41:00
In this article I will be demonstrating the use of Python along with the Boto3 Amazon Web Services (AWS) Software Development Kit (SDK) which allows folks knowledgeable in Python programming to utilize the intricate AWS REST API's to manage their cloud resources. Due to the vastness of the AWS REST API and associated cloud services I will be focusing only on the AWS Elastic Cloud Compute (EC2) service.
Graham Dumpleton: Administration features of JupyterHub
2019-01-01 14:22:38
No <p> found.
Caktus Consulting Group: Caktus Blog: Top 18 Posts of 2018
2019-01-01 13:00:00
In 2018, we published 44 posts on our blog, including technical how-toâs, a series on UX research methods, web development best practices, and tips for project management. Among all those posts, 18 rose to the top of the popularity list in 2018.
REPL|REBL: 3-axis Accelerometer-Gyro â Measuring acceleration and orientation with an MPU6050
2019-01-01 08:00:00
Measuring acceleration and rotation has a lot of useful applications, from drone or rocket stablisation to making physically interactive handheld games.
Tryton News: Newsletter January 2019
2019-01-01 06:59:59
@ced wrote:
Brett Cannon: An update on Python's governance
2019-01-01 00:12:17
This post is meant to act as a summary of the current state of Python's governance as of the end of 2018. If you want to see an alternative take on what I present here, LWN has an article.
Mike Driscoll: The Packt Python Humble Bundle 2019
2018-12-31 20:06:41
Packt Publishing is partnering with Humble Bundle for a Python bundle for 2019.
Vinta Software: Happython 2019!
2018-12-31 19:47:29
No <p> found.
Stack Abuse: Course Review: Hands On Computer Vision with OpenCV & Python
2018-12-31 14:16:00
In this article I will be providing a review of the Udemy course Hands On Computer Vision with OpenCV & Python by Shrobon Biswas featured on the Udemy online learning site. At the time of this writing I would say that the course is moderately successful with a total of 146 ratings averaging to 4.1/5 stars along with a total enrollment of 851 students.
Real Python: Python Community Interview With Corey Schafer
2018-12-31 14:00:00
For this weekâs community interview, I am joined by Corey Schafer, of YouTube fame.
Graham Dumpleton: Deploying a multi user workshop environment
2018-12-31 13:40:54
No <p> found.
Podcast.__init__: Building GraphQL APIs in Python Using Graphene with Syrus Akbary
2018-12-31 12:37:26
The web has spawned numerous methods for communicating between applications, including protocols such as SOAP, XML-RPC, and REST. One of the newest entrants is GraphQL which promises a simplified approach to client development and reduced network requests. To make implementing these APIs in Python easier, Syrus Akbary created the Graphene project. In this episode he explains the origin story of Graphene, how GraphQL compares to REST, how you can start using it in your applications, and how he is working to make his efforts sustainable.
Test and Code: 61: A retrospective
2018-12-31 09:45:00
A look back on 3 years of podcasting, and a bit of a look forward to what to expect in 2019.
Talk Python to Me: #193 Data Science Year in Review 2018 Edition
2018-12-31 08:00:00
No <p> found.
codingdirectional: Write python code to win the challenge
2018-12-31 06:33:33
Sorry for not posting for a few days because I am so busy preparing the new game for release to major gaming sites which has finally completed yesterday. Now it is time to continue publishing more articles that are related to python and also articles that are related to other programming languages as well. If you like this website donât forget to subscribe to it by clicking on the bell button below this post.
Mike Driscoll: PyDev of the Week: Mike Grouchy
2018-12-31 06:05:48
Can you tell us a little about yourself (hobbies, education, etc):
tryexceptpass: Integrating Pytest Results with GitHub
2018-12-31 05:00:00
When joining a new engineering team, one of the first things I do is familiarize myself with the dev and test processes. Especially the tools used to enforce them. In the past 5 years or so, Iâve noticed that a lot of organizations still use older tools that havenât yet evolved to support modern practices. Even teams that purely develop software can find themselves working around cumbersome systems that hinder instead of enable.
Graham Dumpleton: Creating your own custom terminal image
2018-12-30 13:40:45
No <p> found.
gamingdirectional: The pygame project has finally ready
2018-12-30 12:26:36
It has been a day since I had mentioned that I want to upload the new pygame project to the major gaming websites but because of some technical problems that occurred during the files packaging stage the uploading plan has been delayed until today. I have managed to solve all the files packaging issues this morning thus finally this game has been uploaded successfully to various gaming websites.
Weekly Python StackOverflow Report: (clviii) stackoverflow python report
2018-12-29 22:40:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-12-29 22:40:39 GMT
Vasudev Ram: The Zen of Python is well sed :)
2018-12-29 19:47:26
Graham Dumpleton: Running an interactive terminal in the browser
2018-12-29 16:40:34
No <p> found.
Test and Code: 60: 100 Days of Code - Julian Sequeira
2018-12-28 17:15:00
Julian Sequeira is Co-Founder of PyBit.es (a blog/platform created to teach and learn Python) and a Python Trainer at Talk Python Training. He's also a survivor of the 100DaysOfCode in Python Challenge.
Ofosos: Creating a Custom Landing Page in Sphinx
2018-12-28 16:41:58
Sample code lives here. When I refer to source code line numbers, you're supposed to look at the code in this repository. Sample output (courtesy of readthedocs.org) is at https://sphinx-landing-template.readthedocs.io/en/latest/.
Graham Dumpleton: Using JupyterHub as a generic application spawner
2018-12-28 13:40:26
No <p> found.
Programiz: Python time Module
2018-12-28 11:08:53
No <p> found.
Codementor: Celery on Docker: From the Ground up
2018-12-27 18:43:41
No <p> found.
PyCharm: PyCharm 2018.3.3 RC and PyCharm 2018.2.7
2018-12-27 16:28:29
A PyCharm 2018.3.3 Release Candidate is now available. It comes with several Python-related improvements and platform enhancements, which we want to double-check with you before finally releasing the update. Get it now from our Confluence page.
Codementor: Strings in Python
2018-12-27 14:43:00
No <p> found.
Stack Abuse: Using Plotly Library for Interactive Data Visualization in Python
2018-12-27 14:01:39
In my previous article, I explained how the Pandas library can be used for plotting basic and time series plots. While Pandas, Matplotlib, and Seaborn libraries are excellent data plotting libraries, they can only plot static graphs. Static plots are like simple non-interactive images. In most of the cases, static plots are enough to convey the information. However, in some cases you may like to add user interactivity to your plots.
Caktus Consulting Group: My New Yearâs Resolution: Work Less to Code Better
2018-12-27 12:00:00
You may look at my job title (or picture) and think, âOh, this is easy, heâs going to resolve to stand up at his desk more.â Well, youâre not wrong, that is one of my resolutions, but I have an even more important one. I, Jeremy Gibson, resolve to do less work in 2019. Youâre probably thinking that itâs bold to admit this on my employerâs blog. Again, youâre not wrong, but I think I can convince them that the less work I do, the more clear and functional my code will become. My resolution has three components.
Codementor: Exceptions in Python
2018-12-27 05:20:41
No <p> found.
gamingdirectional: Summarize the python pygame project
2018-12-27 05:03:18
Hello my friend, I just want to let you know that I have packed up the previous pygame project which we have developed together every day and it is now ready to distribute to all the major gaming platforms. If you have missed out any of the tutorials from the past regarding this project then donât forget to read them all through the below list. You might find out that some classes have...
codingdirectional: Put the exclamation marks and question marks to the balance, are they balanced?
2018-12-27 04:13:51
Hello, we are supposed to move to another site today but let us finish up another python problem on codewars first before we proceed to a new site. The problem goes like this.
Ludovic Gasc: Macro-benchmark with Django, Flask and AsyncIO (aiohttp.web+API-Hour)
2018-12-26 13:42:29
No <p> found.
Codementor: Complete guide about Python Lists
2018-12-26 12:13:14
No <p> found.
codingdirectional: Return a string with a dash â-â marks before and after each odd integer
2018-12-26 09:58:58
Today I have solved yet another python problem on codewars which I would like to share it with you all! If you are an intermediate pythonâs programmer then codewars is where you really need to visit to brush up your python skill. Here is the python problem which takes me a while to solve it.
Programiz: How to get current date and time in Python?
2018-12-26 08:38:15
No <p> found.
Programiz: Python timestamp to datetime and vice-versa
2018-12-26 08:30:28
No <p> found.
Talk Python to Me: #192 Python Year in Review 2018 Edition
2018-12-26 08:00:00
No <p> found.
Python Bytes: #110 Python Year in Review 2018 Edition
2018-12-26 08:00:00
No summary found!
Programiz: Python Get Current time
2018-12-26 07:56:39
No <p> found.
Programiz: Python strptime()
2018-12-26 07:36:38
No <p> found.
Programiz: Python strftime()
2018-12-26 06:42:27
No <p> found.
Codementor: Python Interview Questions
2018-12-26 06:15:39
No <p> found.
Programiz: Python datetime
2018-12-26 05:12:25
No <p> found.
PyCoderâs Weekly: Issue #348 (Dec. 25, 2018)
2018-12-25 20:30:00
#348 â DECEMBER 25, 2018 View in Browser »
codingdirectional: Manipulate string with python
2018-12-25 05:03:04
After I have visited codewars yesterday I continue to visit that site today and solve one more problem. We will stick to codewars site for a while and solve some problems in the incoming few articles before we move on to visit another website. If you have not yet joined codewars then you should really give it a try. The problem I have solved a few moments ago looks like this:-
Codementor: Building Very Fast App Backends with Falcon Web Framework on PyPy
2018-12-25 03:11:25
No <p> found.
Stack Abuse: Intro to the Python Random Module
2018-12-24 14:01:00
Even for someone not interested in computer programming, the usefulness of generating random numbers in certain circumstances is something obvious. In most board games we throw dice to generate an unpredictable number that defines the player's next move. Also, we can all agree that playing any card game would be pointless without a proper shuffle between rounds.
Real Python: Make a Location-Based Web App With Django and GeoDjango
2018-12-24 14:00:00
Throughout this tutorial, youâll learn how to use Django and GeoDjango to build a location-based web application from scratch. Youâll be building a simple nearby shops application that lists the shops closest to a userâs location.
Catalin George Festila: Python Qt5 - most simple QTreeWidget - part 001.
2018-12-24 07:08:10
No <p> found.
Python Insider: Python 3.7.2 and 3.6.8 are now available
2018-12-24 06:27:41
No <p> found.
codingdirectional: How good you really are in python
2018-12-24 06:23:19
Today I have paid a visit to codewars after a few months of abandoned it, once I arrive at this site I immediately go to work by solving a python related question. This question goes by this, given three values of a color in a tuple, such as (0, 0, 0), I will need to convert them to their hex color code, and here is my solution to this question which earned me a few points later on.
Mike Driscoll: PyDev of the Week: William Vincent
2018-12-24 06:05:14
This week we welcome William Vincent (@wsv3000) as our PyDev of the Week! William is the author of 3 books on the Django web framework, including Django for Beginners. You can find out more about what William is up to on his website where he writes about Python, Django and more. Letâs take a few moments to get to know him better!
Podcast.__init__: AIORTC: An Asynchronous WebRTC Framework with Jeremy Lainé
2018-12-24 03:21:02
Real-time communication over the internet is an amazing feat of modern engineering. The protocol that powers a majority of video calling platforms is WebRTC. In this episode Jeremy Lainé explains why he wrote a Python implementation of this protocol in the form of AIORTC. He also discusses how it works, how you can use it in your own projects, and what he has planned for the future.
Reuven Lerner: Announcing: Two Python courses in Tel Aviv
2018-12-23 09:00:08
Good news for developers in Israel â Iâll be offering two open-enrollment courses in Tel Aviv next month (January):
codingdirectional: Debug and run the python code online
2018-12-23 04:38:38
Hello and welcome to another python article, we are going to get some rest for a few days before starting a few examples again for another new python module. In these few days time, we will look at a few useful online programming websites that we can join to improve our python skill. In this article, we will visit OnlineGDB, an online python IDE which allows us to create a python project, saves our work and then embeds our programming code on our own website. Below is a new python generator demo project which I have created on the above-mentioned website, as you can see I have embedded the project on this article with the share feature of OnlineGDB! Click on the run button below this entire python script to see the outcome.
Vasudev Ram: Dynamic function creation at run time with Python's eval built-in
2018-12-22 19:47:11
Weekly Python StackOverflow Report: (clvii) stackoverflow python report
2018-12-22 19:10:00
No <p> found.
codingdirectional: Create a thumbnail with pillow
2018-12-22 12:20:33
Welcome back, in this article we will continue to use pillow to create a thumbnail from a jpeg picture and then save that thumbnail in the png format. Below code will first open a picture and then reduces itâs size to 64Ă64 pixel if the picture is a square with equal sides, or else it will scale down that picture based on the 1.33 aspect ratio.
Continuum Analytics Blog: Anaconda Distribution 2018.12 Released
2018-12-21 23:46:29
We are changing versioning in Anaconda Distribution from a major/minor version scheme to a year.month scheme. We made this change to differentiate between the open source Anaconda Distribution and Anaconda Enterprise, our managed data science platform. Conda, will continue to use a major/minor versioning scheme. The number of 32-bit x86 Linux packages downloaded are a âŠRead more â
Trey Hunner: Why you should be using pathlib
2018-12-21 21:47:33
When I discovered Pythonâs new pathlib module a few years ago, I initially wrote it off as being a slightly more awkward and unnecessarily object-oriented version of the os.path module. I was wrong. Pythonâs pathlib module is actually wonderful!
Anarcat: December 2018 report: archiving Brazil, calendar and LTS
2018-12-21 19:40:35
Keen readers probably noticed that I didn't produce a report in November. I am not sure why, but I couldn't find the time to do so. When looking back at those past two months, I didn't find that many individual projects I worked on, but there were massive ones, of the scale of archiving the entire government of Brazil or learning the intricacies of print media, both of which were slightly or largely beyond my existing skill set.
Django Weblog: DSF calls for applicants for a Django Fellow
2018-12-21 17:09:36
After ten years of contributing to Django, four of which were paid as part of the Django Fellowship program, Tim Graham has decided to step down as a Django Fellow this spring to explore other things. Tim has made an extraordinary impact as a Django Fellow. The Django Software Foundation is grateful for his service and assistance.
Test and Code: 59: Genesynth, nox, urllib3, & PyCascades - Thea Flowers
2018-12-21 16:00:00
Thea Flowers is a Pythonista and open source advocate. She helps empower developers of all backgrounds and experience levels using Python and open source software and hardware.
Stack Abuse: Python Nested Functions
2018-12-21 15:20:00
Functions are one of the "first-class citizens" of Python, which means that functions are at the same level as other Python objects like integers, strings, modules, etc. They can be created and destroyed dynamically, passed to other functions, returned as values, etc.
Catalin George Festila: Python Qt5 - simple draw with QPainter.
2018-12-21 12:58:50
No <p> found.
The Digital Cat: Python 3 OOP Part 4 - Polymorphism
2018-12-21 10:40:00
This post is available as an IPython Notebook here
Ned Batchelder: A thing I learned about Python recursion
2018-12-21 01:40:25
Working on a programming challenge, I was surprised by something. I built a tree structure with a recursive function. Then I tried to use a recursive function to sum up some values across the tree, and was met with a RecursionError. How could I have enough stack depth to build the tree, but not enough to then sum up its values?
Mahmoud Hashemi: Awesome Python Applications
2018-12-20 19:20:00
What we can learn from 180+ case studies on successfully shipping Python software. If you're reading this (or hearing this), you read and write code, probably Python. And for all the code you've shipped, you've probably had your share of missed requirements. Somehere in the excitement of software abstraction, we can lose sight of what really matters, what makes our well-factored modules and packages and frameworks turn into real-world applications. That's why I'm pleased to announce Awesome Python Applications, a hand-curated list of 180+ projects, all of which are: Free software with an online source repository. Using Python for a considerable part of their functionality. Well-known, or at least prominently used in an identifiable niche. Maintained or otherwise demonstrably still functional on relevant platforms. Shipped applications, not libraries or frameworks. The result is a list of predominantly focused on software that installs without pip or PyPI, and whose audience is mostly not developers. There's still plenty of that in there, too, with other exceptions, but the breadth of the list speaks for itself. So why spend weeks cataloguing open-source Python applications? Aside from holiday cheer, three big reasons. ContentsGoal #1: A Better Development CycleGoal #2: A More Complete Python Production LoopGoal #3: Grounding for the Python EcosystemNext stepsGoal #1: A Better Development Cycle Ever since I started talking about Python packaging, people have been asking me questions about which packaging technique is best for their software. I was struck, over and over again, how far people can get in developing an application before reaching the fundamental question of delivery. Exploring this, I landed on a more basic question: Why are so many people building applications from first principles (blog posts and Stack Overflow)? Isn't Python one of the biggest names in the software world? Aren't there dozens of successful, real-world applications written in Python? What are the chances your application is totally unique? So Awesome Python Applications is really an attempt to open up a new flow for answering tough development questions. When building an application, scan the list to find projects which most closely match your project's requirements. Then, use that application as a guide for answering your own questions. This works especially well for abstract questions surrounding architecture, deployment, and testing. Back in school, I learned more about architecture and software development from the MediaWiki source code than I did from any class. It continues to inspire me to this day. APA is the next step in enabling the holistic education of a working application with real users. In short, while we may lack the time to write them, each production application is worth a thousand blog posts. Goal #2: A More Complete Python Production Loop We Python programmers are also software users. But unlike other software users, we know how to file issues and may even make significant contributions back to our applications of choice. By choosing Python software when possible, we take one step closer to pitching in. What better way for a future application developer to get started? I would love to see more developers connect with software they didn't realize was Python. My (minor) contributions to the Twisted were greatly energized by the knowledge that one of my favorite applications, Deluge, heavily used the library. Using free software leads to creating more free software. Goal #3: Grounding for the Python Ecosystem With the pace and cerebrality of technology, it can be easy to get ahead of ourselves and our end users. Infrastructure devs get disconnected from application devs, and that makes for worse software over time. This problem is compounded when applications get less developer attention. Most APA entries have three- and even two-digit starcounts, unless users are highly technical. Few major Python applications are distributed with PyPI, so download statistics can't help us either. Even if they did, lower-level libraries have way more fanout. And of course free software projects can't lay down big donations or conference sponsorships, so representation tends to be pretty sparse all around. These applications represent the best of the free and living portion of Python. Not only are they a source of utility and pride, but they need our support, in spirit and in practice. It is my sincere hope that the APA will help to anchor the Python community in its real-world applications. What does this mean, concretely? A keen eye will notice how the list is structured. This isn't just for consistent rendering, but an attempt at an API for the dataset. We must explore our ecosystem with the relzationship between libraries and applications in mind. I know I'm going out on a limb here, and metrics aren't everything, but it would be very interesting to see the Python FOSS ecosystem explored as an analogue of the scientific publishing framework. Can we get some sort of developer h-index by treating libraries as "articles" and applications as "journals"? Adding in some application userbase approximations (via social altmetrics and other means) can give us much deeper insight into real-world impact. Next steps If this essay seems shorter than my usual, that's because it's really an introduction to the list itself. I got caught up in several projects' codebases while doing the research, and you will, too. If we've missed a project, please open an issue or PR. If you're as excited about this as I am, consider helping with some of the open issues. There are still a lot of application features to survey: licenses, Python versions, frameworks, and more. And as always, watch this space (and the repo) for updates as we make more discoveries!
Python Anywhere: Slow scheduled tasks after yesterday's system update
2018-12-20 19:19:25
After our system update yesterday, there was a period when some people's scheduled tasks were running slowly. This is an update on what caused the issue and what we did to fix it.
PyCharm: Webinar: âLive Development of a PyCharm Pluginâ with Joachim Ansorg
2018-12-20 15:58:24
PyCharm comes with a lot of functionality, yet perhaps something youâd like is missing. Luckily itâs made to be enhanced by plugins to be suitable for a much wider range of users. This webinar with noted IntelliJ/PyCharm plugin consultant Joachim Ansorg will show you how such a plugin is built for PyCharm.
Stack Abuse: Python Logging Basics
2018-12-20 14:25:00
Logging helps you keep track of events happening during the execution of your code, which can then be used in the future for debugging purposes. It provides a better picture of the flow of the application and helps developers trace the source of errors that happens during execution of your code, thereby enhancing the maintainability of the application.
Mike Driscoll: Python 101: Episode #39 â Python wheels
2018-12-20 14:22:46
In this screencast you will learn about Python wheels and how to make your own. A Python wheel is a packaging format that allows installing a package without the need for compiling or building.
Python Software Foundation: Upcoming PyPI Improvements for 2019
2018-12-20 12:55:38
No <p> found.
Codementor: Kubernetes for Python Developers: Part 1
2018-12-20 11:42:38
No <p> found.
The Digital Cat: Clean Architectures in Python: the book
2018-12-20 07:00:00
I'm excited to announce that the success of the post on clean architectures encouraged me to expand the subject and to write a book that I titled "Clean Architectures in Python. A practical approach to better software design".
codingdirectional: Convert an image from one format to another with pillow
2018-12-20 06:23:39
Hello again and in this article, we will continue to explore what else can the pillow module do besides displaying a picture on the screen as we have already seen it before in the previous article. In this article, we will convert a picture from one format to another with the help of the pillow module. This module will be able to convert a picture from the jpg format to the png format but not vice versa. Below is the entire code, if you have missed out the tkinter part of the code then it is better for you to read the previous article about it.
Ned Batchelder: Advent of code presentation
2018-12-20 04:21:13
At Boston Python last night, I did a presentation about solutions to a particular Advent of Code puzzle.
PyBites: 2 years of PyBites, Our Pythonic Journey and the Creation of an Awesome Community
2018-12-19 21:59:00
There is nothing like a challenge to bring out the best in man. - Sean Connery
Python Data: Forecasting with Random Forests
2018-12-19 19:29:46
When it comes to forecasting data (time series or other types of series), people look to things like basic regression, ARIMA, ARMA, GARCH, or even Prophet but donât discount the use of Random Forests for forecasting data.
Reuven Lerner: Announcing: Weekly Python Exercise, Newbie Edition
2018-12-19 16:42:19
If any of the above is true, then Iâm excited to announce enrollment for my latest course: Weekly Python Exercise, Newbie Edition.
John Cook: RSA with one shared prime
2018-12-19 15:44:08
The RSA encryption setup begins by finding two large prime numbers. These numbers are kept secret, but their product is made public. We discuss below just how difficult it is to recover two large primes from knowing their product.
Andrea Grandi: Installing Python and virtualenv on OSX
2018-12-19 15:00:00
Every time I need to install Python on OSX or whenever a colleague asks for help, I have to search fo the most updated instructions on Google, and every time I find different ways of doing the exact same thing.
gamingdirectional: The game is ready for upload
2018-12-19 14:21:06
Welcome to the final chapter of this pygame project where we have finally concluded the pygame project which has been ongoing for some time already. In this chapter I have just made a slight modification on the overlap class by reducing the points the player can get when the player missile hits the larger enemy ship. from pygame.locals import * class Overlap(object): def __init__(self): pass #
Python Software Foundation: PyPI Security and Accessibility Q1 2019 Request for Proposals Update
2018-12-19 14:11:37
No <p> found.
Real Python: How to Write Beautiful Python Code With PEP 8
2018-12-19 14:00:00
PEP 8, sometimes spelled PEP8 or PEP-8, is a document that provides guidelines and best practices on how to write Python code. It was written in 2001 by Guido van Rossum, Barry Warsaw, and Nick Coghlan. The primary focus of PEP 8 is to improve the readability and consistency of Python code.
Codementor: 4 Strategies to Deal With Large Datasets Using Pandas
2018-12-19 13:47:12
No <p> found.
codingdirectional: Open a picture with pillow module
2018-12-19 12:20:51
Welcome to the brand new chapter of the python moduleâs series where we will start to take a look at each ready-made pythonâs module which can be used in varies python projects development. In these few chapters, we will look at the pillow module which can be used to manipulate the picture and displays the picture from our windows osâs computer hard drive. In the first chapter regarding the pillow module we will create a tkinterâs user interface with a button which will open the file selector dialog when the user clicks on it, the user can then select an image file (with either the png or jpg format) from his computer hard drive and this program will display that image to the user.
PyCharm: PyCharm 2018.3.2
2018-12-19 11:33:11
PyCharm 2018.3.2 is now available. This version comes with a couple of small improvements. Get it now from our website.
Python Anywhere: Today's upgrade: Let's Encrypt auto-renew and much much more!
2018-12-19 10:22:37
This morning's system update went pretty smoothly, and we have some cool new stuff to announce:
Simple is Better Than Complex: How to Use JWT Authentication with Django REST Framework
2018-12-19 10:00:00
JWT stand for JSON Web Token and it is an authentication strategy used by client/server applications where the client is a Web application using JavaScript and some frontend framework like Angular, React or VueJS.
Peter Bengtsson: Concurrent download with hashin without --update-all
2018-12-18 20:06:16
No <p> found.
Catalin George Festila: Python Qt5 - complex QML file.
2018-12-18 16:20:58
No <p> found.
Python Sweetness: Mitogen comes to Opsmop
2018-12-18 16:00:00
PyCharm: Webinar Recording: âAutomating Build, Test and Release Workflows with toxâ with Oliver Bestwalter
2018-12-18 15:01:55
Last Thursday we had a special webinar in our Munich offices with Oliver Bestwalter, talking about tox and release automation. The recording is now available.
Ian Ozsvald: New public course on Successfully Delivering Data Science Projects for Feb 1st
2018-12-18 13:27:21
During my Pythonic data science team coaching I see various problems coming up that Iâve helped solve before. Based on these observations and my prior IP design and delivery for clients over the years Iâve put together a 1 day public course aimed at data scientists (any level) who want to be more confident with lower-risk approaches to delivering data science projects.
PyCoderâs Weekly: Issue #347 (Dec. 18, 2018)
2018-12-18 12:30:00
#347 â DECEMBER 18, 2018 View in Browser »
codingdirectional: Get the pc os information with python
2018-12-18 08:28:06
This is the last article about the ongoing tkinter project which I will continue to develop it but will not show you any more source code in the future. In this article we will use the python platform module to get all the information about the operating system of your pc, the brand of your pcâs chipset as well as the local name of your computer network, all these information will be shown on the label part of the tkinter interface once the user has clicked on the system info button. Below is the full source code of the newly edited main project file.
Talk Python to Me: #191 Python's journey at Microsoft
2018-12-18 08:00:00
No <p> found.
Python Bytes: #109 CPython byte code explorer
2018-12-18 08:00:00
No summary found!
Catalin George Festila: Python Qt5 - application with QML file.
2018-12-18 06:35:30
No <p> found.
gamingdirectional: The beginning of Game AI
2018-12-18 05:13:21
We have basically finished including all the game features in our pygame project and we are now ready to further tune up this pygame project. In this article, we will further tune up the path of the enemy ships. In the previous program, the enemy ship is moving downward in the vertical position and shooting missile at the player if the distance between the player and the enemy is close enough.
Codementor: How to Develop Web Applications on Alibaba Cloud with Django Framework
2018-12-18 04:08:24
No <p> found.
PyPy Development: PyPy Winter Sprint Feb 4-9 in DĂŒsseldorf
2018-12-17 16:45:08
No <p> found.
Stack Abuse: Pandas Library for Data Visualization in Python
2018-12-17 14:23:00
In my previous article, I explained how the Seaborn Library can be used for advanced data visualization in Python. Seaborn is an excellent library and I always prefer to work with it, however, it is a bit of an advanced library and needs a bit of time and practice to get used to.
Real Python: A Pythonista's Holiday Wish List
2018-12-17 14:00:00
Itâs that time of year again when everyone is looking to get last minute gifts. Whether youâre a friend of a Python developer or one yourself, Iâve got the perfect wish list if youâre looking to get a little something special. Iâve combed through the interwebs and polled my fellow Real Python authors to find the best presents for Pythonistas.
gamingdirectional: Lets take a screen shot
2018-12-17 13:54:25
Hello, welcome back to the new chapter of this pygame project. Today we are going to create the final feature of the game which is to allow the user to take a screenshot during the game then displays the game scenes just likes a slide show on a new game scene page. Here are what we are going to do: When the user presses the s key on the keyboard during the game, a screenshot will be taken.
Python Software Foundation: Evangelizing Python in Africa: Chukwudi Nwachukwu, Q2 CSA Recipient
2018-12-17 06:41:09
No <p> found.
codingdirectional: Create a python application with pyinstaller and inno setup
2018-12-17 06:05:30
The new python application (Multitas) which I have developed recently has basically completed, I will continue to include more features into this application in the future but before I further develop the application I would really like to share the latest features of this python application for windows os with you all so I have decided to upload the revised version of this application to Github to share it with you all. In this article, we will look at the process of packaging the new python application with the help of pyinstaller and inno setup before uploading it to Github.
Mike Driscoll: PyDev of the Week: Irina Truong
2018-12-17 06:05:01
This week we welcome Irina Truong (@irinatruong) as our PyDev of the Week! Irina has been a speaker at several Python conferences and is a maintainer for pgcli, a Python package that is a command-line interface to the Postgres database. You can see what else she has been up to over on Github. Letâs spend some time getting to know Irina!
Podcast.__init__: Polyglot: Multi-Lingual Natural Language Processing with Rami Al-Rfou
2018-12-17 03:13:11
Using computers to analyze text can produce useful and inspirational insights. However, when working with multiple languages the capabilities of existing models are severely limited. In order to help overcome this limitation Rami Al-Rfou built Polyglot. In this episode he explains his motivation for creating a natural language processing library with support for a vast array of languages, how it works, and how you can start using it for your own projects. He also discusses current research on multi-lingual text analytics, how he plans to improve Polyglot in the future, and how it fits in the Python ecosystem.
Matthew Rocklin: First Impressions of GPUs and PyData
2018-12-17 00:00:00
I recently moved from Anaconda to NVIDIA within the RAPIDS team, which is building a PyData-friendly GPU-enabled data science stack. For my first week I explored some of the current challenges of working with GPUs in the PyData ecosystem. This post shares my first impressions and also outlines plans for near-term work.
Techiediaries - Django: Django 2 Ajax CRUD with Python 3.7 and jQuery
2018-12-17 00:00:00
In this tutorial, you'll learn how to send Ajax requests in Django 2 and Python 3.7 to add CRUD operations in your application and manipulate your Django models and database without having to refresh your web pages each time.
Django Weblog: 2018 Malcolm Tredinnick Memorial Prize Nominations
2018-12-16 21:46:43
It is that time of year again when we recognize someone from our community in memory of our friend Malcolm.
Vasudev Ram: Dynamic function creation at run time with Python's exec built-in
2018-12-16 16:47:22
Davy Wybiral: Nordic Thingy:52 Dev Kit (First impression)
2018-12-16 09:40:19
No <p> found.
codingdirectional: Tidy up the user interface
2018-12-16 07:54:28
Welcome back to the multitas project which we have already created two features for this application in the previous articles 1) Remove duplicate files 2) Move file from one folder to another. In this chapter, we are just going to tidy up the buttons on the user interface before we continue to build the next task in the next chapter. What we are going to do here is to create a button container to keep all the buttons that we will use in our program. Below is the full source code which will result in this below outcome.
gamingdirectional: Create a power bar for pygame project
2018-12-16 05:43:54
In this chapter, we are going to create the last piece of game feature which is the playerâs power bar, after this, I will do all the touches up to this game project which certainly includes to tidy up the game code before uploading the game to the pygame portal. Alright, letâs get to work. The first file which we will need to edit is the score manager file where we will create a power...
Toshio Kuratomi: Python, signal handlers, and exceptions
2018-12-16 00:23:46
Never ever, ever raise a regular exception in a Python signal handler.
"Morphex's Blogologue": Python quick-fix of broken router
2018-12-15 16:06:13
No <p> found.
Codementor: Simple way to get data from web page using python
2018-12-15 15:03:17
No <p> found.
Weekly Python StackOverflow Report: (clvi) stackoverflow python report
2018-12-15 14:32:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-12-15 14:32:38 GMT
James Bennett: How to break Python
2018-12-15 13:25:37
Edited December 2018: added sections for Python 3.7 and upcoming 3.8, updated Python 3.6 section since Python 3.6 has been released, and updated Python 3.3 section since 3.3 has reached end-of-life.
gamingdirectional: What is your top achievements?
2018-12-15 12:33:18
After the previous article, we have finally been able to create a score scene as I had promised you before in the last article. What this scene does is to list out the latest 5 levels that the player has achieved, if the level count has reached itâs maximum value then the earliest level from the list will be removed and get replaced by the latest level at the end of the list.
codingdirectional: Move files from one folder to another folder with python
2018-12-15 05:22:20
After I have finished writing the python program which will remove the duplicate files in another folder, the first part of this tkinterâs project has come to an end and the second part will follow. Just in case you miss out the first part of the project completely then make sure to read the previous articles about it, you can also download the remove duplicate application bundle for windows os through this link then either start the application file or run itâs main file on the windows command prompt by following the instructions on this previous article.
Techiediaries - Django: Django 2 CRUD Tutorial: Generic Class-Based Views
2018-12-15 00:00:00
Throughout this tutorial, you'll create a Django 2 CRUD example application using generic class based views. You will be using the latest Python 3.7 version.
Techiediaries - Django: Angular 6|7 Tutorial â CRUD & Python REST API
2018-12-15 00:00:00
Angular 7 is released! Read about its new features and how to update Angular 6 to v7.
Continuum Analytics Blog: Python Data Visualization 2018: Where Do We Go From Here?
2018-12-14 17:57:28
This post is the third in a three-part series on the current state of Python data visualization and the trends that emerged from SciPy 2018. By James A. Bednar As we saw in Part I and Part II of this series, having so many separate Python visualization libraries to choose from often is confusing to âŠRead more â
Stack Abuse: Introduction to Web Scraping with Python
2018-12-14 16:11:00
Web-scraping is an important technique, frequently employed in a lot of different contexts, especially data science and data mining. Python is largely considered the go-to language for web-scraping, the reason being the batteries-included nature of Python. With Python, you can create a simple scraping script in about 15 minutes and in under 100 lines of code. So regardless of usage, web-scraping is a skill that every Python programmer must have under his belt.
Will Kahn-Greene: Socorro: migrating to Python 3
2018-12-14 15:00:00
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 crash reports.
qutebrowser development blog: Happy birthday, qutebrowser!
2018-12-14 08:53:50
5 years ago today, this happened:
Test and Code: 58: Testing REST APIs with Docker containers and pytest
2018-12-14 07:00:00
Let's say you've got a web application you need to test. It has a REST API that you want to use for testing.
Python Engineering at Microsoft: Python in Visual Studio Code â December 2018 Release
2018-12-13 22:53:38
We are pleased to announce that the December 2018 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
NumFOCUS: Double Your Donation: NumFOCUS Receives $5,000 Matching Gift Challenge
2018-12-13 17:13:16
The post Double Your Donation: NumFOCUS Receives $5,000 Matching Gift Challenge appeared first on NumFOCUS.
gamingdirectional: Create an exit button on the main game menu scene
2018-12-13 10:58:34
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...
Jeff Knupp: How To Do Just About Anything With Python Lists
2018-12-13 08:02:00
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?"
Yasoob Khalid: Research Writeup: Deanonymization and Proximity Detection Using Wi-Fi
2018-12-13 05:54:12
Hi everyone! If you have been following my blog for a while you will know that I did research at Colgate University over the summers. My research was on Wi-Fi and how I can do some interesting stuff using it. The university just published its annual catalogue of all the research projects which happened over the summer. My research was done under the mentorship of Aaron Gember-Jacobson. I could not have asked for a better advisor. Here is the writeup of my project:
Matt Layman: Django Tutorial Adventure Part 2
2018-12-13 00:00:00
No <p> found.
Jean-Louis Fuchs: libchirp or Software is infinite
2018-12-12 23:00:00
I want to thank Adfinis-SyGroup who have supported me and allowed me to develop libchirp.
Data School: What's the future of the pandas library?
2018-12-12 15:51:34
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.
Real Python: Thonny: The Beginner-Friendly Python Editor
2018-12-12 14:00:00
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.
codingdirectional: Remove duplicate files project is ready
2018-12-12 12:15:04
I am glad to inform you all that the remove duplicate file project written with python has finally completed and now it will be uploaded to github for you all to enjoy. This is a free software and it will always remain free. Although I would really love to create a linux version of this remove duplicate file software but because I do not have a linux osâs computer therefore at the moment this software is just for the windows user only. I have packed this software up where you can just click on it to open it up to search and destroy the duplicate files inside your computer. Here are the steps you need to do to search and destroy the duplicate files:
PyCharm: PyCharm 2018.3.2 RC
2018-12-12 11:47:03
PyCharm 2018.3.2 Release Candidate is now available. This version comes with a couple of small improvements. Get it now from our Confluence page.
Mike Driscoll: Python 101: Episode #38 â The Python egg
2018-12-12 06:05:10
In this screencast, we learn about the Python egg, which was one of Pythonâs old formats for distributing code. In modern Python, we now use a wheel.
gamingdirectional: Open a text file then write the game level onto it with python
2018-12-12 05:27:57
Welcome back, let us continue with our previous pygame project. In this article we will first create a text file which will be used to store the game level. This text file will be called level.txt which will be stored within the project folder. We need to create this text file by hand and type in 1 which is the first level of the game onto it, this level number will be rewritten each and every...
codingdirectional: Tell the user how many duplicate files have the python program deleted
2018-12-12 03:38:39
Welcome back again, in this chapter we will create a message box to tell the user how many duplicate files have been deleted from each selected file. The game plan here is simple, we will attach a message variable to the label widget and pass that widget to each remove thread instance so the program can modify the content of that message by adding in the selected file name as well as the total number of duplicate files that have been remove from the selected folder. That modify message will then be shown by the messagebox on the main thread at the end of each file deleting process. The first file we need to edit is the main file where we will pass in the tkinterâs label object with the message variable to each new remove thread instance which the program has created, the remove thread instance will then modify the content of that same message which includes the total number of duplicate files that have been deleted together with the file name of the original selected file. We need not worry too much about whether those threads will compete with each other to modify the content of the message or not because one process will finish before another so therefore there is always a time gap in between the process in this case. Here is the new version of the main file.
Jean-Louis Fuchs: Announcing libchirp
2018-12-11 23:00:00
I proudly announce libchirp. I believe queues, message-routers and patterns like pub-sub are the way message-passing should be done. However, I also believe they should be optional and tweak-able. libchirp does only one thing: message-passing with encryption. All other building-blocks should be implemented in upper-layer modules or daemons. libchirp is the basis for modular message-passing and actor-based programming.
Python Insider: Python 3.7.2rc1 and 3.6.8rc1 now available for testing
2018-12-11 22:00:05
No <p> found.
PyCoderâs Weekly: Issue #346 (Dec. 11, 2018)
2018-12-11 20:30:00
#346 â DECEMBER 11, 2018 View in Browser »
Stories in My Pocket: Recommendation: Dash for your docs
2018-12-11 19:47:34
Part of what I want to do with this site is recommend tools and resources that I've found valuable, in the hopes that you might benefit from them and enjoy them as I have.
Python Piedmont Triad User Group: PYPTUG Monthly Meeting (December): Training Tools - Utilizing Jupyter Notebooks
2018-12-11 19:32:16
No <p> found.
Mike Driscoll: Python 101: Episode #37 â How to Add Your Code to PyPI
2018-12-11 19:06:10
In this episode, you will learn ye olde method of adding code to the Python Packaging Index. Note that while some of this video is still relevant, you should be using the twine package now for uploading to PyPI. See https://packaging.python.org/guides/using-testpypi/ for more information.
PyCharm: Reminder: Webinar this Thursday, âAutomating Build, Test and Release Workflows with toxâ with Oliver Bestwalter
2018-12-11 16:01:28
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.
Python Software Foundation: PyConZA 2018 â a beautiful community in South Africa
2018-12-11 10:46:09
No <p> found.
Talk Python to Me: #190 Teaching Django
2018-12-11 08:00:00
No <p> found.
Python Bytes: #108 Spilled data? Call the PyJanitor
2018-12-11 08:00:00
No summary found!
Test and Code: 57: What is Data Science? - Vicki Boykis
2018-12-11 07:45:00
Data science, data engineering, data analysis, and machine learning are part of the recent massive growth of Python.
gamingdirectional: Create a home button on the pause scene
2018-12-11 04:19:42
In the last chapter we have created a pause scene as well as created a play button which will resume the game after a user has pressed on it and in this chapter we will continue to modify the pause scene by adding in one more button which will return the player to the main page if that player has pressed on it. First we will need to modify the start scene class by adding an extra button into it.
codingdirectional: Donât delete the same file in itâs own directory
2018-12-11 03:26:48
Welcome back to the next chapter of the delete duplicate application, in the previous chapters we have successfully created a multiple files selector which will delete all the duplicate files in another folder. And in this chapter we will further tune up the program to make sure we can also delete all those duplicate files in the nested folders that are contain in the same folder where the file which we want to search for itâs duplicate version is located. The first file which we need to change is the main file, the program will need to make sure the user has selected a file to search for itâs duplicate version as well as the user has selected a folder to search for the duplicate file or else a message box will pop up to warn the user about that. The program will also pass in the folder path which the selected file is located to the remove thread so the thread will not search and delete that selected file.
Wingware News: Wing Python IDE Version 7 Early Access
2018-12-11 01:00:00
No <p> found.
Christian Barra: Discovering the pathlib module
2018-12-11 00:00:00
No <p> found.
Stack Abuse: Building a GraphQL API with Django
2018-12-10 15:13:00
Web APIs are the engines that power most of our applications today. For many years REST has been the dominant architecture for APIs, but in this article we will explore GraphQL.
Django Weblog: DSF 2019 Board Election Results
2018-12-10 14:21:50
I'm pleased to announce the winners of our 2019 DSF Board of Directors election. In order of ranking, they are:
Real Python: Python Community Interview With Brian Peterson
2018-12-10 14:00:00
To date, Iâve interviewed people youâve likely heard of before from the Python community. But this column isnât just about interviewing the rock stars and core devs. Itâs also a means to shine light on the huge contributions to the community that can often go unthanked and overlooked. As such, I present to you Brian Peterson.
Davy Wybiral: Build your own IoT Device Hub | Bluetooth | LoRaWAN | Tutorial
2018-12-10 13:50:13
No <p> found.
Caktus Consulting Group: How to Fix your Python Code&#39;s Style
2018-12-10 12:00:00
Sometimes we inherit code that doesn't follow the style guidelines we prefer when we're writing new code. We could just run flake8 on the whole codebase and fix everything before we continue, but that's not necessarily the best use of our time.
Kushal Das: Flatpak application shortcuts on Qubes OS
2018-12-10 10:10:00
In my last blog post, I wrote about Flatpak applications on Qubes OS AppVMs. Later, Alexander Larsson pointed out that running the actual application from the command line is still not user friendly, and Flatpak already solved it by providing proper desktop files for each of the application installed by Flatpak.
Mike Driscoll: PyDev of the Week: Steve Dower
2018-12-10 06:05:13
This week we welcome Steve Dower (@zooba) as our PyDev of the Week! Steve is a core developer of the Python language itself where he produces the Windows builds and installers. He also works for Microsoft. He has a blog that isnât updated that often but it is interesting nonetheless. You can see some of the things he is working on in the open source world via Github. Letâs take a few moments to get to know Steve better!
gamingdirectional: Create the pause scene for the game
2018-12-10 05:12:16
In this article we will create a pause scene for our ongoing pygame project. When a user presses the p key on his keyboard during the game, the game will pause and the pause scene will appear. When he presses the play button on the pause scene the game will resume. We need to modify three files in order to include this scene into the game. The first file to edit is the main project file which we...
Podcast.__init__: Gnocchi: A Scalable Time Series Database For Your Metrics with Julien Danjou
2018-12-10 05:04:04
Do you know what your servers are doing? If you have a metrics system in place then the answer should be âyesâ. One critical aspect of that platform is the timeseries database that allows you to store, aggregate, analyze, and query the various signals generated by your software and hardware. As the size and complexity of your systems scale, so does the volume of data that you need to manage which can put a strain on your metrics stack. Julien Danjou built Gnocchi during his time on the OpenStack project to provide a time oriented data store that would scale horizontally and still provide fast queries. In this episode he explains how the project got started, how it works, how it compares to the other options on the market, and how you can start using it today to get better visibility into your operations.
codingdirectional: Create multiple threads to delete multiple files with python
2018-12-10 03:28:38
In this article we are going to continue with the previous remove duplicate project and this time the program will create multiple threads to remove multiple duplicate files in the hard drive of the windows osâs laptop. Before we can remove multiple duplicate files in the pc hard drive we will need to select multiple files that will be used by the program to search for the multiple duplicate files in another folder of our laptop hard drive first, in order to select multiple files in windows hard drive we will need to left click on one file and then hold shift and left click on the other files at the same time.
Techiediaries - Django: Django Authentication â Login, Logout and Password Change/Reset
2018-12-10 00:00:00
In this tutorial, you'll learn how to easily add a complete authentication system to your Django application with login, logout and password change and reset functionalities.
Codementor: Create PDF files from templates with Python and Google Scripts
2018-12-09 15:58:09
No <p> found.
PyBites: PyBites Twitter Digest - Issue 38, 2018
2018-12-09 12:42:00
"All programmers are self-taught to some degree, whether that's fully self-taught or that they have a masters in co⊠https://t.co/SKSkUQXFmy
Bhishan Bhandari: Python and Excel
2018-12-09 07:24:10
I intend to host a set of examples on using python to interact and work with excel files. This article in particular will use openpyxl module in python throughout the examples. Installing openpyxl I am using python3 throughout the examples, however it should work similarly with python2. As a good development practice, we should segregate [âŠ]
Moshe Zadka: Office Hours
2018-12-09 05:30:00
If you want to speak to me, 1-on-1, about anything, I want to be able to help. I am a busy person. I have commitments. But I will make the time to talk to you.
gamingdirectional: Lets put the game instruction online instead
2018-12-09 05:00:30
In the previous article we have successfully created an about page which contains both game instruction as well as game credit, however it is better to put the game instruction into itâs own page to make our game looks more professional. In this article we are going to create an online game manual which will open up once the player has clicked on the manual button on the main game page.
codingdirectional: Compare and delete files with the same content with python
2018-12-09 03:39:03
Weekly Python StackOverflow Report: (clv) stackoverflow python report
2018-12-08 17:05:00
No <p> found.
Philippe Normand: Web overlay in GStreamer with WPEWebKit
2018-12-08 14:09:36
After a year or two of hiatus I attended the GStreamer conference which happened in beautiful Edinburgh. It was great to meet the friends from the community again and learn about whatâs going on in the multimedia world. The quality of the talks was great, the videos are published âŠ
Philippe Normand: GStreamerâs playbin3 overview for application developers
2018-12-08 09:48:50
Multimedia applications based on GStreamer usually handle playback with the playbin element. I recently added support for playbin3 in WebKit. This post aims to document the changes needed on application side to support this new generation flavour of playbin.
codingdirectional: Remove the duplicate file from nested folders with python
2018-12-08 05:51:15
No <p> found.
gamingdirectional: Sound on Sound off
2018-12-08 03:06:53
In this article we will create a mechanism to turn the soundtrack of our pygame project on and off whenever we click on the sound onâs or sound offâs icon on the main game page. First of all we will need to include the sound on and sound off icon in the start scene class. from BgSprite import BgSprite from GameSprite import GameSprite from pygame.locals import * from pygame import math...
Techiediaries - Django: Python Django JWT â djangorestframework-jwt Example
2018-12-08 00:00:00
Adding JWT authentication in Python and Django is quite easy thanks to some mature libraries and packages like Django REST framework, djangorestframework-jwt and django-rest-framework-simplejwt.
"Morphex's Blogologue": Focusing on the simple things
2018-12-07 21:06:25
No <p> found.
Python Data: Quick Tip: SQLAlchemy for MySQL and Pandas
2018-12-07 20:19:19
For years Iâve used the mysql-python library for connecting to mysql databases. Itâs worked well for me over the years but there are times when you need speed and/or better connection management that what you get with mysql-python. Thatâs where SQLAlchemy comes in.
Stack Abuse: Seaborn Library for Data Visualization in Python: Part 2
2018-12-07 17:12:55
In the previous article Seaborn Library for Data Visualization in Python: Part 1, we looked at how the Seaborn Library is used to plot distributional and categorial plots. In this article we will continue our discussion and will see some of the other functionalities offered by Seaborn to draw different types of plots. We will start our discussion with Matrix Plots.
EuroPython: EuroPython 2019: Venue and location selected
2018-12-07 16:49:20
europythonsociety:
EuroPython Society: EuroPython 2019: Venue and location selected
2018-12-07 16:43:05
After a very work intense RFP with more than 40 venues competing, 17 entries, and two rounds of refinements, we are now happy to announce the winner:
Catalin George Festila: Python Qt5 - simple checkbox example.
2018-12-07 15:06:37
No <p> found.
gamingdirectional: Create the about scene for pygame project
2018-12-07 13:10:37
In this article we are going to create an about scene which will introduce the game, provides game instructions as well as gives credit to the game creator. The about page will also have a back button which will lead the player back to the main home page. We will create this about scene under the start scene class and we will also change the home page buttons to three, which is the play button...
Talk Python to Me: #189 War Stories of the Developer Evangelists
2018-12-07 08:00:00
No <p> found.
Python Bytes: #107 Restructuring and searching data, the Python way
2018-12-07 08:00:00
No summary found!
Test and Code: 56: Being a Guest on a Podcast - Michael Kennedy
2018-12-07 07:15:00
Michael Kennedy of Talk Python and Python Bytes fame joins Brian to talk about being a great guest and what to expect.
Continuum Analytics Blog: Intake for Cataloging Spark
2018-12-07 00:45:20
By: Martin Durant Intake is an open source project for providing easy pythonic access to a wide variety of data formats, and a simple cataloging system for these data sources. Intake is a new project, and all are encouraged to try and comment on it. pySpark is the python interface to Apache Spark, a fast âŠRead more â
Stein Magnus Jodal: Mopidy-MPRIS 2.0 released
2018-12-07 00:00:00
Iâve released Mopidy-MPRIS 2.0, the first major update to Mopidy-MPRIS in about 3.5 years.
Codementor: 6 Lessons from Learning to Code
2018-12-06 18:27:05
No <p> found.
Polyglot.Ninja(): Auto incrementing IDs for MongoDB
2018-12-06 17:14:35
If youâre familiar with relational databases like MySQL or PostgreSQL, youâre probably also familiar with auto incrementing IDs. You select a primary key for a table and make it auto incrementing. Every row you insert afterwards, each of them gets a new ID, automatically incremented from the last one. We donât have to keep track of what number comes next or ensure the atomic nature of this operation (what happens if two different client wants to insert a new row at the very same time? do they both get the same id?). This can be very useful where sequential, numeric IDs are essential. For example, letâs say weâre building a url shortener. We can base62 encode the ID of the url id to quickly generate a short slug for that long url.
PyCharm: Interview: Oliver Bestwalter for tox webinar next week
2018-12-06 15:00:23
Python has long distinguished itself with a culture of testing. In the last decade, two libraries have combined to give powerful testing in isolation â pytest and tox. The latter combines easily with pytest to give you a clean environment across test runs, including across multiple versions of Python.
Dataquest: An Intro to Deep Learning in Python
2018-12-06 14:00:00
Deep learning is a type of machine learning thatâs growing at an almost frightening pace. Nearly every projection has the deep learning industry expanding massively over the next decade. This market research report, for example, expects deep learning to grow 71x in the US and more than that globally over the next ten years. Thereâs never been a better time than now to get started.
Erik Marsja: Python Pandas Groupby Tutorial
2018-12-06 13:15:22
In this Pandas group by we are going to learn how to organize Pandas dataframes by groups. More specifically, we are going to learn how to group by one and multiple columns. Furthermore, we are going to learn how calculate some basics summary statistics (e.g., mean, median), convert Pandas groupby to dataframe, calculate the percentage of observations in each group, and many more useful things.
PyCon: PyCon 2019 proposal submission deadline is fast approaching!
2018-12-06 10:33:30
No <p> found.
gamingdirectional: Create the third level for this pygame project
2018-12-06 08:01:34
In this article we are going to create the third level for our pygame project after we have created the previous two levels, the reason I create the third game level in this chapter is because this level is different from the second level which is only using the same enemy class to generate different type of enemy ship. In this chapter we are going to create a new enemy class which will act...
codingdirectional: Delete duplicate file with python program
2018-12-06 04:41:37
In this article we will start to explore the technique which we will use to delete a duplicate file in our computer folder. The main objective in this chapter is to select a file in one folder and then searches and deletes the file with the same filename as the one which we have selected earlier. We will use back the same program which we have created in the previous chapter to delete the duplicate file in the computer hard drive.
Zato Blog: Introducing Zato public API services
2018-12-06 03:35:00
This article offers a high-level overview of the public services that Zato offers to users wishing to manage their environments in an API-driven manner in addition to web-admin and enmasse tools.
Codementor: Everything you need to know about tree data structures
2018-12-06 01:49:17
No <p> found.
NumFOCUS: Highlights from the 2018 NYC DISC Sprint
2018-12-06 00:11:31
The post Highlights from the 2018 NYC DISC Sprint appeared first on NumFOCUS.
PyCharm: PyCharm 2018.3.1
2018-12-05 17:16:13
PyCharm 2018.3.1 is now available, with various bug fixes. To update, choose Help | Check for Updates in the IDE, or download it from our website.
Marc Richter: Create your own Telegram bot with Django on Heroku â Part 10 â Creating a view for your botâs webhook
2018-12-05 16:57:52
This article was published at Create your own Telegram bot with Django on Heroku â Part 10 â Creating a view for your botâs webhook . If you are reading this on any other page, which is not some âplanetâ or aggregator, you are reading stolen content. Please read this article at its source, which is linked before to ensure to get the best reading experience; thank you! â€
Stack Abuse: Sets in Python
2018-12-05 16:02:05
In Python, a set is a data structure that stores unordered items. The set items are also unindexed. Like a list, a set allows the addition and removal of elements. However, there are a few unique characteristics that define a set and separate it from other data structures:
Real Python: Sending Emails With Python
2018-12-05 14:00:00
You probably found this tutorial because you want to send emails using Python. Perhaps you want to receive email reminders from your code, send a confirmation email to users when they create an account, or send emails to members of your organization to remind them to pay their dues. Sending emails manually is a time-consuming and error-prone task, but itâs easy to automate with Python.
Bhishan Bhandari: Going serverless with Chalice and AWS lambda
2018-12-05 10:40:54
The intentions of this post is to host a simple example of chalice from AWS that allows serverless API creation with the use of AWS lambda. You also get auto-generation of IAM policy making it faster to deploy web applications. Chalice expects to pick the AWS credentials from ~/.aws/config Prerequisites for chalice[AWS Credentials] If youâve [âŠ]
gamingdirectional: Lets move on to the next game level!
2018-12-05 06:12:02
Welcome back, in this article we will create the next level setup scene for our pygame project. Yesterday I had a deep thought about the method which we should use to do the game objects setup for each game level and had finally decided to leave the game object managers to do their own game object setups. The reasons why I have selected to let game object managers to manage their own game object...
codingdirectional: Search for any duplicate file with python
2018-12-05 03:40:38
Welcome to the new chapter of this remove duplicate file project. After creating a thread class, open a file and open a folder in the previous few chapters, we can now start to move toward our main objective which is to search for a duplicate file in another folder.
Philip Semanchuk: Happy Birthday, sysv_ipc
2018-12-05 01:23:33
Ten years ago today, I released the first version of sysv_ipc (a Python wrapper around System V IPC primitives). Happy 10th birthday!
Techiediaries - Django: Django Form ExampleâBootstrap 4 UI via django-crispy-forms
2018-12-05 00:00:00
In this practical tutorial, you will build a simple example Django application with a form styled with Bootstrap 4.
Christian Barra: How to reverse a list in Python
2018-12-05 00:00:00
No <p> found.
Continuum Analytics Blog: Using Pip in a Conda Environment
2018-12-04 22:09:12
Unfortunately, issues can arise when conda and pip are used together to create an environment, especially when the tools are used back-to-back multiple times, establishing a state that can be hard to reproduce. Most of these issues stem from that fact that conda, like other package managers, has limited abilities to control packages it did âŠRead more â
Eli Bendersky: Type erasure and reification
2018-12-04 21:39:54
In this post I'd like to discuss the concepts of type erasure and reification in programming languages. I don't intend to dive very deeply into the specific rules of any particular language; rather, the post is going to present several simple examples in multiple languages, hoping to provide enough intuition and background for a more serious study, if necessary. As you'll see, the actual concepts are very simple and familiar. Deeper details of specific languages pertain more to the idiosyncrasies of those languages' semantics and implementations.
PyCoderâs Weekly: Issue #345 (Dec. 4, 2018)
2018-12-04 19:30:00
#345 â DECEMBER 4, 2018 View in Browser »
Kushal Das: Using hexchat on Flatpak on Qubes OS AppVM
2018-12-04 15:59:00
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. It uses BubbleWrap in the low level to do the actual sandboxing. In simple terms, you can think Flatpak as a as a very simple and easy way to use desktop applications in containers (sandboxing). Yes, containers, and, yes, it is for desktop applications in Linux. I was looking forward to use hexchat-otr in Fedora, but, it is not packaged in Fedora. That is what made me setup an AppVM for the same using flatpak.
Mike Driscoll: Python 101: Episode #36 â Creating Modules and Packages
2018-12-04 15:48:09
In this screencast, we will learn the basics of how to create our own module or package.
Codementor: How to Create and Deploy a Telegram Bot using Python
2018-12-04 14:46:10
No <p> found.
codingdirectional: List out all the files within a folder with python
2018-12-04 12:10:22
In this article we will continue with our windows application development using tkinter, in the previous article we have created a button which when we click on it we can select a file from a folder and the program will print the name of that file on the pycharm command console. In this article we will write the program to do this.
PyCon: Python Education Summit - in its 7th year in 2019
2018-12-04 11:51:21
No <p> found.
Ned Batchelder: Quick hack CSV review tool
2018-12-04 10:43:37
Letâs say you are running a conference, and letâs say your Call for Proposals is open, and is saving peopleâs talk ideas into a spreadsheet.
gamingdirectional: Create enemy missiles within the Enemy object
2018-12-04 06:34:04
In this article we are going to edit a few gameâs classes that we have created earlier, our main objective here is to detach the enemy missiles from the enemy missile manager, which means instead of putting all the enemy missiles under a single missile list inside the enemy missile manager as we have done previously, we are going to create a separate missile list and a separate missile pool...
Techiediaries - Django: Django TemplateView Example â URLs, GET and as_view
2018-12-04 00:00:00
Django Templates are used to create HTML interfaces that get rendered with a Django view.
Techiediaries - Django: Django TemplateView GET|POST Example â URLs, as_view and get_context_data
2018-12-04 00:00:00
Django Templates are used to create HTML interfaces that get rendered with a Django view.
Reinout van Rees: Write drunk, test automated: documentation quality assurance - Sven Strack
2018-12-03 21:36:00
This is my summary of the write the docs meetup in Amsterdam at the Adyen office, november 2018.
Continuum Analytics Blog: Python Data Visualization 2018: Moving Toward Convergence
2018-12-03 16:57:44
By James A. Bednar This post is the second in a three-part series on the current state of Python data visualization and the trends that emerged from SciPy 2018. In my previous post, I provided an overview of the myriad Python data visualization tools currently available, how they relate to each other, and their many âŠRead more â
Stack Abuse: Seaborn Library for Data Visualization in Python: Part 1
2018-12-03 16:42:42
In the previous article, we looked at how Python's Matplotlib library can be used for data visualization. In this article we will look at Seaborn which is another extremely useful library for data visualization in Python. The Seaborn library is built on top of Matplotlib and offers many advanced data visualization capabilities.
Python Software Foundation: November 2018 board meeting summary
2018-12-03 15:02:21
No <p> found.
Real Python: Building Serverless Python Apps Using AWS Chalice
2018-12-03 14:00:00
Shipping a web application usually involves having your code up and running on single or multiple servers. In this model, you end up setting up processes for monitoring, provisioning, and scaling your servers up or down. Although this seems to work well, having all the logistics around a web application handled in an automated manner reduces a lot of manual overhead. Enter Serverless.
Julien Danjou: A multi-value syntax tree filtering in Python
2018-12-03 13:29:00
A while ago, we've seen how to write a simple filtering syntax tree with Python. The idea was to provide a small abstract syntax tree with an easy to write data structure that would be able to filter a value. Filtering meaning that once evaluated, our AST would return either True or False based on the passed value.
Django Weblog: Django bugfix releases: 2.1.4 and 1.11.17
2018-12-03 12:50:52
Today we've issued the 2.1.4 and 1.11.17 bugfix releases.
Made With Mu: The Road to Mu 1.1
2018-12-03 12:30:00
The next version of Mu will be 1.1. This post describes how weâre going to get there and what to expect on the way.
codingdirectional: Create the custom made thread class for the python application project
2018-12-03 08:34:01
Welcome back to the part 2 of the python application project, if you miss the first part of the project then you can read it here. In this chapter we are going to print out the file name which we have selected earlier with the help of the custom made thread instance instead of print out that filename directly inside the selectFile method just like in the previous chapter.
Test and Code: 55: When 100% test coverage just isn't enough - Mahmoud Hashemi
2018-12-03 08:00:00
What happens when 100% test code coverage just isn't enough. In this episode, we talk with Mahmoud Hashemi about glom, a very cool project in itself, but a project that needs more coverage than 100%. This problem affects lots of projects that use higher level programming constructs, like domain specific languages (DSLs), sub languages mini languages, compilers, and db query languages.
Tryton News: Newsletter December 2018
2018-12-03 07:00:02
@udono wrote:
Mike Driscoll: PyDev of the Week: Erika Fille Legara
2018-12-03 06:05:31
This week we welcome Erika Fille Legara (@eflegara) as our PyDev of the Week. Erika is a professor and program director at the Asian Institute of Management. She has spoken at PyCon Philippines. You can check out her website to see what else she has been up to or watch her talk below:
gamingdirectional: Create a win scene and the level manager class for pygame project
2018-12-03 03:37:15
In this article we will create a pop up win scene when the player has won all the levels which it will then ask the player whether he wants to start the game all over again or not? We will also create a framework for the level manager class which we will further add in more features in the next chapter. First of all, we will modify the start scene class again to include in a win scene graphic.
Podcast.__init__: Keeping Up With The Python Community For Fun And Profit with Dan Bader
2018-12-03 03:28:36
Keeping up with the work being done in the Python community can be a full time job, which is why Dan Bader has made it his! In this episode he discusses how he went from working as a software engineer, to offering training, to now managing both the Real Python and PyCoders properties. He also explains his strategies for tracking and curating the content that he produces and discovers, how he thinks about building products, and what he has learned in the process of running his businesses.
Vasudev Ram: Tower of Hanoi program in Higher-Order Perl book, ported to Python
2018-12-03 01:47:44
Techiediaries - Django: CSS Grid Layout TutorialâStyling a Django Template
2018-12-03 00:00:00
Throughout this tutorial, we'll learn about CSS Grid Layout. We'll be using a Django template.
PyBites: PyBites Twitter Digest - Issue 37, 2018
2018-12-02 13:45:00
Submitted by @BryanKimani
gamingdirectional: Create a next level scene for pygame project
2018-12-02 11:00:46
In this article we will create a next level scene which will be displayed whenever the player has gained 30 points. Just like the previous chapter we are going to use back the start scene class as well as modify the game manager class and the overlap class First of all we will create the next scene surface and draw it on the game scene whenever the state of the game has changed to the next level...
Weekly Python StackOverflow Report: (cliv) stackoverflow python report
2018-12-01 21:40:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-12-01 21:40:29 GMT
Yasoob Khalid: Email Security & Privacy
2018-12-01 20:00:55
Hi everyone! I hope all of you are doing well. Things have been super exciting on my side. Just got done with a file system checker project in C for my Operating Systems class. It was mentally draining but equally rewarding. This blog post is not about Python but rather about Emails.
James Bennett: On degrees
2018-12-01 17:51:57
Lately thereâs been a recurring discussion on various social-media outlets about the relevance of academic degrees to a career in programming. Specifically: is a degree in computer science (or some other field perceived as related) a necessity for a career as a programmer? If not, is it still a good idea to have one?
Davy Wybiral: Experimenting with Electric Paint
2018-12-01 13:08:09
No <p> found.
Davy Wybiral: Getting Started with GPS Modules | Tracking Device | Tutorial
2018-12-01 13:07:31
No <p> found.
Talk Python to Me: #188 Async for the Pythonic web with Sanic
2018-12-01 08:00:00
No <p> found.
Python Bytes: #106 Fluent query APIs on Python collections
2018-12-01 08:00:00
No summary found!
gamingdirectional: Create a game over scene for pygame project
2018-12-01 03:45:49
In this article we are going to create a game over scene for the pygame project, we will use back the start scene class which we have created previously to render our game over scene by slightly modify it for the multi-scenes uses. Here is the modify version of the start scene class, as you can see we have passed in a state variable to the start scene classâs draw method which will be used...
Stack Abuse: Handling Unix Signals in Python
2018-11-30 14:53:00
UNIX/Linux systems offer special mechanisms to communicate between each individual process. One of these mechanisms are signals, and belong to the different methods of communication between processes (Inter Process Communication, abbreviated with IPC).
Shannon -jj Behrens: JJ's Mostly Adequate Summary of the Django Meetup: When *Not* To Use the ORM & Goodbye REST: Building GraphQL APIs with Django
2018-11-30 13:48:22
The Django meetup was at Prezi. They have a great space. They are big Django users.
Codementor: Subtleties of Python
2018-11-30 11:13:13
No <p> found.
Shannon -jj Behrens: PyCon Notes: PostgreSQL Proficiency for Python People
2018-11-30 11:12:11
No <p> found.
PyBites: 3 Cool Things You Can do With the dateutil Module
2018-11-30 11:00:00
In this short article I will show you how to use dateutil's parse, relativedelta and rrule to make it easier to work with datetimes in Python.
Reinout van Rees: Amsterdam Python meetup, november 2018
2018-11-30 06:46:00
My summary of the 28 november python meetup at the Byte office. I myself also gave a talk (about cookiecutter) but I obviously haven't made a summary of that. I'll try to summarize that one later :-)
PyPy Development: Funding for 64-bit Armv8-a support in PyPy
2018-11-29 20:50:18
Hello everyone
Python Engineering at Microsoft: Python in Visual Studio Code â November 2018 Release
2018-11-29 20:31:16
We are pleased to announce that the November 2018 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
Hynek Schlawack: Python Application Dependency Management in 2018
2018-11-29 17:00:00
We have more ways to manage dependencies in Python applications than ever. But how do they fare in production? Unfortunately this topic turned out to be quite polarizing and was at the center of a lot of heated debates. This is my attempt at an opinionated review through a DevOps lens.
Stack Abuse: Python Data Visualization with Matplotlib
2018-11-29 14:56:00
Visualizing data trends is one of the most important tasks in data science and machine learning. The choice of data mining and machine learning algorithms depends heavily on the patterns identified in the dataset during data visualization phase. In this article, we will see how we can perform different types of data visualizations in Python. We will use Python's Matplotlib library which is the de facto standard for data visualization in Python.
Catalin George Festila: Python Qt5 - submenu example.
2018-11-29 12:22:06
No <p> found.
PyCharm: PyCharm 2018.3.1 RC Out Now
2018-11-29 10:59:00
PyCharm 2018.3.1 Release Candidate is now available, with various bug fixes. Get it now from our Confluence page.
Codementor: The Python API for Juniper Networks
2018-11-29 10:41:35
No <p> found.
Erik Marsja: Explorative Data Analysis with Pandas, SciPy, and Seaborn
2018-11-29 08:59:08
In this post we are going to learn to explore data using Python, Pandas, and Seaborn. The data we are going to explore is data from a Wikipedia article. In this post we are actually going to learn how to parse data from a URL, exploring this data by grouping it and data visualization. More specifically, we will learn how to count missing values, group data to calculate the mean, and then visualize relationships between two variables, among other things.
gamingdirectional: Create a gameâs start scene for pygame project
2018-11-29 07:30:31
In this article we are going to create a start scene for our pygame project. The start scene itself looks really simple but the process to render the start scene will involve the modification of a few files. First of all, lets create the start scene class which will render a background and a play button on the game scene. When we click on that play button the game will start.
Moshe Zadka: Common Mistakes about Generational Garbage Collection
2018-11-29 03:00:00
(Thanks to Nelson Elhage and Saivickna Raveendran for their feedback on earlier drafts. All mistakes that remain are mine.)
Matt Layman: Deciphering Python: How to use Abstract Syntax Trees (AST) to understand code
2018-11-29 00:00:00
No <p> found.
Codementor: Learning Python: From Zero to Hero
2018-11-28 23:20:38
No <p> found.
Simple is Better Than Complex: Advanced Form Rendering with Django Crispy Forms
2018-11-28 19:07:00
[Django 2.1.3 / Python 3.6.5 / Bootstrap 4.1.3]
Galvanize: Computer Science Education Week Returns to Colorado
2018-11-28 17:40:52
Computer Science Education Week (CSED Week), founded in 2014, is an annual program dedicated to showing K-12 students the importance of computer science education. This year, in partnership with companies including Galvanize, Google, Twitter and Sphero, CSED Week will host more than 40 events for learners of all ages in Boulder, Colorado from Dec. 1-8, 2018.
RMOTR: Google Sheets with Python (live demo)
2018-11-28 17:40:29
TL;DR: You can interact with Google Spreadsheets (read, write, etc) from Python in a super simple way by using https://github.com/burnash/gspread Python library. Want to jump right into code? Give it a try yourself! đ
Django Weblog: Report from PyCon Zimbabwe 2018
2018-11-28 17:25:59
The 3rd edition of Pycon Zimbabwe was held from the 19th to the 20th of October, 2018 under the theme: âFor the community, by the communityâ. The conference was hosted at Cresta Oasis Hotel in Harare, Zimbabwe.
Continuum Analytics Blog: Understanding Conda and Pip
2018-11-28 16:56:24
Conda and pip are often considered as being nearly identical. Although some of the functionality of these two tools overlap, they were designed and should be used for different purposes. Pip is the Python Packaging Authorityâs recommended tool for installing packages from the Python Package Index, PyPI. Pip installs Python software packaged as wheels or âŠRead more â
Stack Abuse: Saving Text, JSON, and CSV to a File in Python
2018-11-28 15:02:00
Saving data to a file is one of the most common programming tasks you may come across in your developer life.
PyCharm: Let PyCharm Do Your Import Janitorial Work
2018-11-28 15:00:21
Whatâs something you do all the time in Python? Import modules from packages. Not just that, you also fiddle with the formatting to make the style nannies happy. And remove unused imports. And bunches of other janitorial tasks.
Stack Abuse: Search Algorithms in Python
2018-11-28 14:26:00
Searching for data stored in different data structures is a crucial part of pretty much every single application.
Real Python: Python Community Interview With Emily Morehouse
2018-11-28 14:00:00
Iâm very pleased to be joined this week by Emily Morehouse.
John Cook: Searching for Mersenne primes
2018-11-28 13:18:55
The nth Mersenne number is
Python Celery - Weekly Celery Tutorials and How-tos: Kubernetes for Python Developers: Part 1
2018-11-28 10:00:00
Kubernetes is an open-source container-orchestration system for automating deployment, scaling and management of containerised apps.
Codementor: AutoHotkey, Python style
2018-11-28 04:44:58
No <p> found.
Vladimir Iakolev: Measuring community opinion: subreddits reactions to a link
2018-11-28 00:55:00
As everyone knows a lot of subreddits are opinionated, so I thought that it might be interesting to measure the opinion of different subreddits. Not trying to start a holy war Iâve specifically decided to ignore r/worldnews and similar subreddits, and chose a semi-random topic â âApu reportedly being written out of The Simpsonsâ.
Matthew Rocklin: Support Python 2 with Cython
2018-11-28 00:00:00
Many popular Python packages are dropping support for Python 2 next month. This will be painful for several large institutions. Cython can provide a temporary fix by letting us compile a Python 3 codebase into something usable by Python 2 in many cases.
Django Weblog: The DSF Board elections - what about you?
2018-11-27 19:38:45
I'm standing down from my position on the Django Software Foundation Board, having served for three years as the DSF's Vice-President (it's a nice role to have - but not nearly as grand as it sounds).
PyCoderâs Weekly: Issue #344 (Nov. 27, 2018)
2018-11-27 19:30:00
[ Subscribe to đ PyCoderâs Weekly đ â Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
NumFOCUS: This #GivingTuesday, Weâre Saying âThank Youâ To Our Supporters
2018-11-27 19:03:22
The post This #GivingTuesday, Weâre Saying âThank Youâ To Our Supporters appeared first on NumFOCUS.
Rene Dudfield: đ±âđ â the first pygame 2 community game. Starting now! Are you in?
2018-11-27 19:03:09
No <p> found.
Semaphore Community: Continuous Deployment of a Python Flask Application with Docker and Semaphore
2018-11-27 16:12:31
This article is brought with †to you by Semaphore.
Semaphore Community: Dockerizing a Python Django Web Application
2018-11-27 16:12:22
This article is brought with †to you by Semaphore.
Mike Driscoll: Python 101: Episode #35 â The virtualenv Package
2018-11-27 15:27:54
In this screencast, we will learn about creating Python virtual environments using the popular virtualenv package.
Red Hat Developers: What, No Python in RHEL 8 Beta?
2018-11-27 15:00:04
TL;DR Of course we have Python! You just need to specify if you want Python 3 or 2 as we didnât want to set a default. Give yum install python3 or yum install python2 a try. Or, if you want to see what we recommend you install yum install @python36 or yum install @python27. Read on for why.
Anwesha Das: Upgraded my blog to Ghost 2.6
2018-11-27 14:57:13
I have been maintaining my blog. It is a self hosted Ghost blog, where I have my theme as Casper, the Ghost default. In the recent past, September 2018, Ghost has updated its version to 2.0. Now it is my time to update mine.
Stack Abuse: Asynchronous vs Synchronous Python Performance Analysis
2018-11-27 14:44:00
This article is the second part of a series on using Python for developing asynchronous web applications. The first part provides a more in-depth coverage of concurrency in Python and asyncio, as well as aiohttp.
Wallaroo Labs: Using Wallaroo with PostgreSQL
2018-11-27 12:00:35
No <p> found.
gamingdirectional: Create a score manager class for pygame project
2018-11-27 11:30:37
In this article we will create a score manager class to render the player score on the scene for our pygame project. At the moment we will only increase the score of the player each time the playerâs missile hits the enemy ship and deduct the player score each time the player gets hit by the enemy missile, in the future we will introduce more features into the score manager class but for now...
Rene Dudfield: pygame 2 update - the examples all work
2018-11-27 10:42:49
No <p> found.
Guido van Rossum: What to do with your computer science career
2018-11-27 09:28:33
No <p> found.
Matthew Rocklin: Anatomy of an OSS Institutional Visit
2018-11-27 00:00:00
I recently visited the UK Meteorology Office, a moderately large organization that serves the weather and climate forecasting needs of the UK (and several other nations). I was there with other open source colleagues including Joe Hamman and Ryan May from open source projects like Dask, Xarray, JupyterHub, MetPy, Cartopy, and the broader Pangeo community.
Trey Hunner: Python Cyber Monday Sales
2018-11-26 15:45:00
Iâm running a sale that ends in 24 hours, but Iâm not the only one. This post is a compilation of the different Cyber Monday deals Iâve found related to Python and Python learning.
Erik Marsja: Pandas Read CSV Tutorial
2018-11-26 15:31:05
In this tutorial we will learn how to work with comma separated (CSV) files in Python and Pandas. We will get an overview of how to use Pandas to load CSV to dataframes and how to write dataframes to CSV.
James Bennett: Truths programmers should know about case
2018-11-26 14:00:07
A couple weeks ago I gave a talk about usernames at North Bay Python. The content came mostly from things Iâve learned in roughly 12 years of maintaining django-registration, which has taught me more than I ever wanted to know about how complex even âsimpleâ things can be.
Real Python: Continuous Integration with Python: An Introduction
2018-11-26 14:00:00
When writing code on your own, the only priority is making it work. However, working in a team of professional software developers brings a plethora of challenges. One of those challenges is coordinating many people working on the same code.
Reuven Lerner: Last chance to save 40% on Python and Git courses
2018-11-26 11:22:31
Today (Monday) is the last day to benefit from my weekend sale, with 40% off of my books and courses! Just enter the coupon code âBF2018â for any product , and take 40% off.
Made With Mu: Contributor Focus: Zander Brown
2018-11-26 11:00:00
Mu is not a solo effort. Many folks have contributed to Mu, and I will be eternally grateful for their work. With the spirit of recognising the voluntary contributions of others in mind, Iâm going to write about some of our most prodigious programmers. First up is Zander Brown.
Guido van Rossum: What do do with your computer science career
2018-11-26 09:49:49
No <p> found.
gamingdirectional: Create an explosion manager and explosion class for pygame project
2018-11-26 08:05:29
In this article we will create an explosion manager as well as an explosion class to manage the on scene explosions but first of all lets watch the raw video below which shows the explosions on the game scene. http://gamingdirectional.com/wp-content/uploads/2018/11/2018-11-26-at-14-49-02.mp4 Before we create the above classes, we will create one single explosion sprite sheet which contains many...
Kushal Das: Building wheels and Debian packages for SecureDrop on Qubes OS
2018-11-26 07:01:00
For the last couple of months, the SecureDrop team is working on a new set of applications + system for the journalists, which are based on Qubes OS, and desktop application written particularly for Qubes. A major portion of the work is on the Qubes OS part, where we are setting up the right templateVMs and AppVMs on top of those templateVMs, setting up the qrexec services and right configuration to allow/deny services as required.
Mike Driscoll: PyDev of the Week: Reimar Bauer
2018-11-26 06:05:31
This week we welcome Reimar Bauer (@ReimarBauer) as our PyDev of the Week! Reimar is a core developer of the popular Python wiki package, MoinMoin. He has spoken at PyCON DE, FOSDEM and EuroPython about Python. Letâs take a few minutes to get to know him better!
Podcast.__init__: Using Calibre To Keep Your Digital Library In Order with Kovid Goyal
2018-11-26 02:21:38
Digital books are convenient and useful ways to have easy access to large volumes of information. Unfortunately, keeping track of them all can be difficult as you gain more books from different sources. Keeping your reading device synchronized with the material that you want to read is also challenging. In this episode Kovid Goyal explains how he created the Calibre digital library manager to solve these problems for himself, how it grew to be the most popular application for organizing ebooks, and how it works under the covers. Calibre is an incredibly useful piece of software with a lot of hidden complexity and a great story behind it.
Michael Foord: Selenium, jQuery and File uploads
2018-11-26 00:00:00
Ned Batchelder: Coverage.py 5.0a4: the sys.path to hell
2018-11-25 23:30:41
Another alpha of Coverage.py 5.0 is available: 5.0a4. This fixes a few problems with the new SQLite-based storage. Please give it a try, especially to experiment with dynamic contexts.
Test and Code: 54: Python 1994 - Paul Everitt
2018-11-25 19:30:00
Paul talks about the beginning years of Python. Talking about Python's beginnings is also talking about the Python community beginnings. Yes, it's reminiscing, but it's fun.
"Menno's Musings": Introduction to attrs
2018-11-25 08:55:26
I've just published a Jupyter Notebook I used to present an introduction to the excellent Python attrs package at the November 2018 Christchurch Python meetup.
John Cook: Ellipsoid distance on Earth
2018-11-25 00:58:02
Codementor: Sentiment analysis on Trump's tweets using Python đ
2018-11-24 17:21:43
No <p> found.
Bhishan Bhandari: Top 10 Most Subscribed Youtube Channel Visualization[2013-2018]
2018-11-24 16:23:00
Motion Visualization is intriguing and explains a lot in itself. I have put together an example visualization of the Top 10 Youtubers(by subscribers) from November 2013 to November 2018. I am not very informed of whether or not flash based visualizations are still relevant, but I found Google Motion Chart to have explained very well [âŠ]
Weekly Python StackOverflow Report: (cliii) stackoverflow python report
2018-11-24 10:03:00
No <p> found.
Davy Wybiral: Concurrency on the Internet of Things (Arduino, MicroPython, Espruino)
2018-11-24 09:41:48
No <p> found.
gamingdirectional: Create a pool object for player missile
2018-11-24 05:08:09
In this article we will create a pool object inside the player missile manager class which will then be used to recycle those player missile objects. Creating pool object for the player missile is a lot more complicated than creating pool object for the enemy missile because in order to use the player missile pool object we will need to amend a few classes such as the game manager class in the...
Not Invented Here: Python Argument Surprise
2018-11-23 15:11:07
Python function signatures are flexible, complex beasts, allowing for positional, keyword, variable, and variable keyword arguments (and parameters). This can be extremely useful, but sometimes the intersection between these features can be confusing or even surprising, especially on Python 2. What do you expect this to return?
Python Bytes: #105 Colorizing and Restoring Old Images with Deep Learning
2018-11-23 08:00:00
No summary found!
Simple is Better Than Complex: How to Implement Token Authentication using Django REST Framework
2018-11-22 21:16:00
In this tutorial you are going to learn how to implement Token-based authentication using Django REST Framework (DRF). The token authentication works by exchanging username and password for a token that will be used in all subsequent requests so to identify the user on the server side.
PyBites: How to Test Your Django App with Selenium and pytest
2018-11-22 21:10:00
In this article I will show you how to test a Django app with pytest and Selenium. We will test our CodeChalleng.es platform comparing the logged out homepage vs the logged in dashboard. We will navigate the DOM matching elements and more. Overall you should learn enough Selenium and pytest to start testing a web page including a login. Sounds exciting? Let's dive straight in!
Codementor: High-performance mathematical paradigms in Python
2018-11-22 12:10:16
No <p> found.
Codementor: How to handle switch case in Python.
2018-11-22 10:13:19
No <p> found.
Reuven Lerner: Black Friday sale â improve your Python + Git for 40% off!
2018-11-22 09:00:13
Yup â just like everyone else, Iâm having a Black Friday sale on all of my online books and courses. Just this weekend, you can use the coupon code BF2018 to improve your Python skills:
gamingdirectional: Create the pool object for Enemy Missile class
2018-11-22 04:12:45
In this article we will continue to create a new missile pool object which will be used to recycle the enemy missile object just like the pool object which will be used to recycle the enemy ship object in the previous article. Basically we will use back the previous object pool class which we have created earlier and then add in a new obtain missile method which takes in the x and y coordinate of...
Kushal Das: Source of colors in Qubes devices menu items
2018-11-22 03:57:00
Zero-with-Dot (Oleg ƻero): Interacting with custom libraries in Google Colaboratory
2018-11-21 23:00:00
Colaboratory, also known as Colab, is a great tool created by Google for individuals interested in hands-on experience with the recent AI development. It offers a free CPU/GPU quota and a preconfigured virtual machine instance set up for to run Tensorflow and Keras libraries using a Jupyter notebook instance. In one sentence, it is a perfect âgetting startedâ point for experimentation with neural networks for any part-time hobbist or computer nerd.
Django Weblog: DSF Board Election for 2019
2018-11-21 21:50:22
It's that time of year again where we elect the Django Software Foundation Board of Directors.
Continuum Analytics Blog: Deriving Business Value from Data Science Deployments
2018-11-21 20:23:28
By Gus Cavanaugh One of the biggest challenges facing organizations trying to derive value from data science and machine learning is deployment. In this post, weâll take a look at three common approaches to deploying data science projects, and how Anaconda Enterprise simplifies deployment and allows data scientists to focus on building better models that âŠRead more â
Trey Hunner: Black Friday Sale: 50% Off 52 weeks of Python Morsels
2018-11-21 19:00:00
I launched a weekly Python skill-building service earlier this year called Python Morsels. This week Iâm running my first sale, which will also likely be the biggest sale that I run on Python Morsels for the foreseeable future (I donât want to say forever, but probably forever).
PyCharm: PyCharm 2018.3 Out Now
2018-11-21 15:46:39
PyCharm 2018.3 is now available: Windows Subsystem for Linux (WSL) support, multiline TODOs, improved search everywhere, and more.
Stack Abuse: Lists vs Tuples in Python
2018-11-21 14:38:00
Lists and tuples are two of the most commonly used data structures in Python, with dictionary being the third. Lists and tuples have many similarities. Some of them have been enlisted below:
Real Python: Memory Management in Python
2018-11-21 14:00:00
Ever wonder how Python handles your data behind the scenes? How are your variables stored in memory? When do they get deleted?
gamingdirectional: Create a pool object for enemy ships
2018-11-21 12:32:39
In this article we will start to create a pool object which will recycle the enemy ship and then we will create a new object pool for the missiles on the next article. Before we can create a pool object we will need to create the Objectpool class first which has two important methods:- 1) Put the enemy ship to an object pool when it gets removed by the enemy list. 2) Return the ship again to the...
Mike Driscoll: Black Friday / Cyber Monday Sale 2018
2018-11-21 06:05:57
This week I am putting my 2 most recent self-published books on Sale starting today through November 26th.
Vladimir Iakolev: Analysing the trip to South America with a bit of image recognition
2018-11-21 01:30:00
Back in September, I had a three weeks trip to South America. While planning the trip I was using sort of data mining to select the most optimal flights and it worked well. To continue following the data-driven approach (more buzzwords), Iâve decided to analyze the data Iâve collected during the trip.
PythonClub - A Brazilian collaborative blog about Python: Algoritmos de Ordenação
2018-11-21 01:10:00
Fala pessoal, tudo bom?
PyCoderâs Weekly: Issue #343 (Nov. 20, 2018)
2018-11-20 19:30:00
[ Subscribe to đ PyCoderâs Weekly đ â Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
James Bennett: Core no more
2018-11-20 16:50:13
If youâre not the sort of person who closely follows the internals of Djangoâs development, you might not know thereâs a draft proposal to drastically change the projectâs governance. Itâs been getting discussion on GitHub and mailing lists, but I want to take some time today to walk through and explain what this proposal does and what problems itâs trying to solve. So. Letâs dive in.
Codementor: NAIMbot - Aim assistant based on machine learning
2018-11-20 14:48:14
No <p> found.
Mike Driscoll: Python 101: Episode #34 â The SQLAlchemy Package
2018-11-20 14:04:15
In this screencast, we learn about the popular SQLAlchemy package. SQLAlchemy is an Object Relational Mapper for Python that allows you to interface with databases in a âPythonicâ manner.
gamingdirectional: Create the Overlap class for Pygame project
2018-11-20 13:40:35
Hello there, sorry for a little bit late today because I am busy setting up my old website which is now ready for me to add in more articles into it, if you are interested in more programming articles then do visit this site because I am going to create a brand new laptop application project with python and if you are a python lover then go ahead and bookmark this site and visit it starting from...
Chris Moffitt: Building a Repeatable Data Analysis Process with Jupyter Notebooks
2018-11-20 13:00:00
Over the past couple of months, there has been an ongoing discussion about Jupyter Notebooks affectionately called the âNotebook Warsâ. The genesis of the discussion is Joel Grusâ presentation I Donât Like Notebooks and has been followed up with Tim Hopperâs response, aptly titled I Like Notebooks. There have been several follow-on posts on this topic including thoughtful analysis from Yihui Xie.
Talk Python to Me: #187 Secure all the things with HubbleStack
2018-11-20 08:00:00
No <p> found.
Semaphore Community: Generating Fake Data for Python Unit Tests with Faker
2018-11-20 07:51:33
This article is brought with †to you by Semaphore.
Kushal Das: PyPI and gpg signed packages
2018-11-20 06:22:00
Yesterday night, on #pypa IRC channel, asked about uploading detached gpg signatures for the packages. According to , twine did not upload the signature, even with passing -s as an argument. I tried to do the same in test.pypi.org, and at first, I felt the same, as the package page was not showing anything. As I started reading the source of twine to figure out what is going on, I found that it uploads the signature as part of the metadata of package. The JSON API actually showed that the release is signed. Later, and explained that we just have to add .asc at the end of the url of the package to download the detached signature.
NumFOCUS: NumFOCUS Funds Open Source Projects through Small Development Grants â Fall 2018
2018-11-20 00:24:12
The post NumFOCUS Funds Open Source Projects through Small Development Grants â Fall 2018 appeared first on NumFOCUS.
Simple is Better Than Complex: Launching our Community Forum
2018-11-19 17:00:00
This is a short post just to announce today Iâm releasing a community forum for the simpleisbetterthancomplex.com readers! And I want you to be part of it.
Python Software Foundation: PyPI Security and Accessibility Q1 2019 Request for Proposals period opens.
2018-11-19 16:03:57
No <p> found.
PyCharm: Webinar: âAutomating Build, Test and Release Workflows with toxâ with Oliver Bestwalter
2018-11-19 16:00:15
Pythonâs tox project is a critical tool for quality software production. Most of our users and customers know about it, but havenât made the time to learn it.
Codementor: Graceful Data Ingestion with SQLAlchemy and Pandas
2018-11-19 14:42:10
No <p> found.
Real Python: Interactive Data Visualization in Python With Bokeh
2018-11-19 14:00:00
Bokeh prides itself on being a library for interactive data visualization.
Test and Code: 53: Seven Databases in Seven Weeks - Luc Perkins
2018-11-19 06:30:00
Luc Perkins joins the show to talk about "Seven Databases in Seven Weeks: A guide to modern databases and the NoSQL movement."
gamingdirectional: Create Enemy Missile and Enemy Missile Manager
2018-11-19 06:13:06
In this article we will create two new classes, enemy missile class and the enemy missile manager class. The enemy missile manager class will be called during each game loop by the enemy manager class to create new enemy missile as well as to update the position of those missiles and draw them on the game scene. First of all, we will create the enemy missile class which will be used by the enemy...
Mike Driscoll: PyDev of the Week: Mike MĂŒller
2018-11-19 06:05:57
This week we welcome Mike MĂŒller (@pyacademy) as our PyDev of the Week. Mike is the creator of Python Academy and has been teaching Python for over 14 years. Mike has spoken at PyCon for several years and was featured on the Talk Python podcast two years ago. Letâs take a few moments to learn more about Mike!
Podcast.__init__: Entity Extraction, Document Processing, And Knowledge Graphs For Investigative Journalists with Friedrich Lindenberg
2018-11-19 00:28:52
Investigative reporters have a challenging task of identifying complex networks of people, places, and events gleaned from a mixed collection of sources. Turning those various documents, electronic records, and research into a searchable and actionable collection of facts is an interesting and difficult technical challenge. Friedrich Lindenberg created the Aleph project to address this issue and in this episode he explains how it works, why he built it, and how it is being used. He also discusses his hopes for the future of the project and other ways that the system could be used.
Matt Layman: Building SaaS with Python on Twitch
2018-11-19 00:00:00
No <p> found.
The Digital Cat: Clean architectures in Python: a step-by-step example
2018-11-18 20:00:00
In 2015 I was introduced by my friend Roberto Ciatti to the concept of Clean Architecture, as it is called by Robert Martin. The well-known Uncle Bob talks a lot about this concept at conferences and wrote some very interesting posts about it. What he calls "Clean Architecture" is a way of structuring a software system, a set of consideration (more than strict rules) about the different layers and the role of the actors in it.
Anwesha Das: Setting up Qubes OS mirror at dgplug.org
2018-11-18 19:05:11
I am trying to work on my sys-admin skills for a some time now. I was already maintaining my own blog, I was pondering to learn Ansible. DGPLUG was planning to create a new Qubes OS mirror. So I took the opportunity to learn Ansible and I set up a new server.
PyBites: PyBites Twitter Digest - Issue 36, 2018
2018-11-18 07:44:07
Registration for @pycon 2019 is open & once again we are selling the first 800 tickets at a discounted rate! Don't⊠https://t.co/ck27UnY2vv
Weekly Python StackOverflow Report: (clii) stackoverflow python report
2018-11-18 07:42:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-11-18 07:41:57 GMT
gamingdirectional: Create Enemy Manager Class and Enemy Class in a Pygame Project
2018-11-18 04:16:29
Hello again, today chapter will be very short but rich in content. As I have mentioned earlier, we have finished the stage one of the game creation process yesterday and today we have entered the stage two of our game creation process, which is to create the enemy, enemy missile, level and the exploration classes, we certainly are getting very close now to finish up this latest pygame project.
Shannon -jj Behrens: "How to Give a Talk" and "Building Video Games for Fun with PyGame"
2018-11-17 20:08:37
I gave two talks at BayPIGgies. Here are the slides:
Dan Stromberg: Python, Rust and C performance doing MD5
2018-11-17 19:37:03
Interestingly, CPython and Pypy came out on top, even beating gcc and clang.Granted, CPython and Pypy are probably calling the highly-optimized OpenSSL, but it's still noteworthy that sometimes Python can be pretty zippy.
Python Bytes: #104 API Evolution the Right Way
2018-11-17 08:00:00
No summary found!
gamingdirectional: Game Manager Class and the modify version of the main pygame file
2018-11-17 05:51:38
Finally I have finished linking everything together and get ready for the next stage. Here is the Game Manager class which is the only class we need in the main pygame project file. This class contains everything we need to control game objects, play background music and render the game graphics on the game scene. from Player import Player from Background import Background from MissileManager...
gamingdirectional: The modify version of the Pygame Missile Manager Class
2018-11-17 05:14:33
Before we go ahead and create the Game Manager class we will need to take out all the code which are related to the missile manager in the main python file as shown in the previous article and put them all under a single missile manager class. Here is the modify version of the missile manager class as compared with the previous version.. This class will take in both the scene as well as the player...
gamingdirectional: Create a background object class in Pygame
2018-11-17 04:17:34
In this article we will create the next pygame object class, which is the background object class that will render the background graphic on the game scene, just like the player class in the previous article, background class will take in a scene reference object which will be used by this background class to blit the background graphic on the game scene. It has a very simple draw method which...
gamingdirectional: Create a Player object in Pygame
2018-11-17 03:35:24
Hello, sorry for not posting any article yesterday because I am very busy with my offline business but today I have a whole day to write more articles and I am going to create three articles for today. First of all, do you people still remember I have mentioned that I will create one single Game Manager to manage all the game objects on the game scene in my previous article? Yes we are going to do...
Tiago Montes: A Sheet of Python
2018-11-16 19:33:25
After having introduced Python to so many developers of varying skill levels and experience, I felt a growing need for this: a single printed sheet with a quick-reference to the language. Iâm now sharing my first take on it, along with some context, thoughts, and possible challenges ahead.
Zato Blog: Making API servers start up faster
2018-11-16 17:39:48
This post describes a couple of new techniques that Zato 3.0 employs to make API servers start up faster.
Catalin George Festila: Python Qt5 - setStyleSheet example.
2018-11-16 13:18:42
No <p> found.
PyCharm: PyCharm 2018.3 RC 2
2018-11-16 12:00:30
Weâre putting the final touches on PyCharm 2018.3 to prepare for our release. You can get our second release candidate from our website
Talk Python to Me: #186 100 Days of Python in a Magical Universe
2018-11-16 08:00:00
No <p> found.
Kushal Das: Introducing rpm-macros-virtualenv 0.0.1
2018-11-16 04:03:00
Let me introduce rpm-macros-virtualenv 0.0.1 to you all.
Marcos Dione: pefan
2018-11-15 21:27:38
A few weeks ago I needed to do some line based manipulation that kinda went further of what you can easyly do with awk. My old-SysAdmin brain kicked in and the first though was, if you're going to use awk and sed, you might as well use perl. Thing is, I really can't remember when was the last time I wrote even a oneliner in perl, maybe 2011, in my last SysAdmin-like position.
NumFOCUS: SunPy Maps: Digitizing Images of the Sun from the 1970s
2018-11-15 20:53:50
The post SunPy Maps: Digitizing Images of the Sun from the 1970s appeared first on NumFOCUS.
Continuum Analytics Blog: Python Data Visualization 2018: Why So Many Libraries?
2018-11-15 19:16:04
This post is the first in a three-part series on the state of Python data visualization tools and the trends that emerged from SciPy 2018. By James A. Bednar At a special session of SciPy 2018 in Austin, representatives of a wide range of open-source Python visualization tools shared their visions for the future of âŠRead more â
Python Celery - Weekly Celery Tutorials and How-tos: Celery on Docker: From the Ground up
2018-11-15 18:00:00
Docker is hot. Docker is hotter than hot. Docker 1.0 was released in June 2014. Since then, it has been adopted at a remarkable rate. Over 37 billion images have been pulled from Docker Hub, the Docker image repository service. Docker is so popular because it makes it very easy to package and ship applications.Â
PyCharm: PyCharm 2018.1.6 and 2017.3.7
2018-11-15 16:37:02
Weâve fixed an issue in our custom Java Runtime Environment for older versions of PyCharm. If youâre using PyCharm 2017.3 or PyCharm 2018.1, please update to the new version.
gamingdirectional: Create player missile manager and player missile class in Pygame
2018-11-15 11:16:25
In this article we will create two classes that will assist the player object to launch missile, they are a player missile class which serves as the missile object and a missile manager class which will manage all the missiles that player has launched. We will tune up these classes later on when the project goes on but for now lets create these two simple classes first. First is the missile class.
PyPy Development: Guest Post: Implementing a Calculator REPL in RPython
2018-11-15 09:06:29
This is a tutorial style post that walks through using the RPython translation toolchain to create a REPL that executes basic math expressions.
Eli Bendersky: Type inference
2018-11-14 14:16:00
Type inference is a major feature of several programming languages, most notably languages from the ML family like Haskell. In this post I want to provide a brief overview of type inference, along with a simple Python implementation for a toy ML-like language.
Red Hat Developers: Python in RHEL 8
2018-11-14 14:01:05
Ten years ago, the developers of the Python programming language decided to clean things up and release a backwards-incompatible version, Python 3. They initially underestimated the impact of the changes, and the popularity of the language. Still, in the last decade, the vast majority of community projects has migrated to the new version, and major projects are now dropping support for Python 2.
Real Python: Python Community Interview With Kenneth Reitz
2018-11-14 14:00:00
This week, Iâm excited to be interviewing the prolific Kenneth Reitz!
PyCharm: PyCharm 2018.2.5
2018-11-14 10:32:03
PyCharm 2018.3 is almost ready for release, however, first weâd like to release some important fixes for PyCharm 2018.2. You can update to 2018.2.5 now: either on our website, within PyCharm (Help | Check for Updates), or using JetBrains ToolBox.
gamingdirectional: Detect boundary and respond to key press event in Pygame project
2018-11-14 07:27:41
Hello there, in today article we will look at two things in our new pygame project, 1) detect the boundary so the player object will stop at the boundary of the scene and not get passed it. 2) make the player object responds to key press event so it can go up, down, left and right whenever we have pressed the correct key on our keyboard. After this lesson we will look at another key press event in...
Mike Driscoll: Python 101 â Episode #33: The requests Package
2018-11-14 06:05:46
In this screencast, I introduce the popular requests package, which is a replacement for Pythonâs urllib.
PyCoderâs Weekly: Issue #342 (Nov. 13, 2018)
2018-11-13 20:30:00
Hi there!
Mike C. Fletcher: Lessons from Implementing from Scratch
2018-11-13 19:52:44
So the last two days I was sprinting at PyCon CA. My original intent was to investigate tools for formalizing experiments with machine learning and reinforcement learning in particular. What we started with (and in the end, ended with) was a kind of "implement reinforcement (Deep Q) learning from scratch" project, where we tried to reconstruct my memories of Deep Q as a simple stand-alone solution and then spent the rest of the time debugging the result.
Codementor: Quicksort tutorial: Python implementation with line by line explanation
2018-11-13 18:45:45
No <p> found.
Peter Bengtsson: hashin 0.14.0 with --update-all and a bunch of other features
2018-11-13 17:56:38
If you don't know it is, hashin is a Python command line tool for updating your requirements file's packages and their hashes for use with pip install. It takes the pain out of figuring out what hashes each package on PyPI has. It also takes the pain out of figuring out what version you can upgrade to.
Vasudev Ram: Quick-and-dirty IPC with Python, JSON and pyperclip
2018-11-13 16:46:30
Stack Abuse: Time Series Analysis with LSTM using Python's Keras Library
2018-11-13 14:28:00
Time series analysis refers to the analysis of change in the trend of the data over a period of time. Time series analysis has a variety of applications. One such application is the prediction of the future value of an item based on its past values. Future stock price prediction is probably the best example of such an application. In this article, we will see how we can perform time series analysis with the help of a recurrent neural network. We will be predicting the future stock prices of the Apple Company (AAPL), based on its stock prices of the past 5 years.
gamingdirectional: Pygame loads image and background graphic on game scene
2018-11-13 13:19:41
After a few days of rest, today I have continued my pygame project again and will keep on working on my new pygame projects without stopping anymore starting from today. Today I have created two game sprite classes to render the player and the background on the game scene. The player sprite class is almost the same as the background sprite class, the only reason I have created two game sprite...
pythonwise: direnv
2018-11-13 10:46:57
No <p> found.
PyBites: Automating PyBites Review Post Using Github API and collections.defaultdict
2018-11-13 09:00:00
In this post I share a quick script I produced last week to automate a portion of our review post. I used the Github API and the collections.defaultdict.
eGenix.com: PyDDF Python Herbst Sprint 2018
2018-11-13 08:00:00
The following text is in German, since we're announcing a Python sprint in DĂŒsseldorf, Germany.
Mike Driscoll: Jupyter Notebook 101 Released!
2018-11-13 06:05:54
My latest book, Jupyter Notebook 101 is now officially released.
Tryton News: Security Release for issue7766
2018-11-12 22:25:00
@ced wrote:
Codementor: Introducing a simple and intuitive Python API for UCI machine learning repository
2018-11-12 19:03:42
No <p> found.
Stack Abuse: Python GUI Development with Tkinter: Part 3
2018-11-12 16:25:18
This is the third installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the other parts to this series:
Real Python: How to Publish an Open-Source Python Package to PyPI
2018-11-12 14:00:00
Python is famous for coming with batteries included. Sophisticated capabilities are available in the standard library. You can find modules for working with sockets, parsing CSV, JSON, and XML files, and working with files and file paths.
Eli Bendersky: Unification
2018-11-12 13:49:00
In logic and computer science, unification is a process of automatically solvingequations between symbolic terms. Unification has several interestingapplications, notably in logic programming and type inference. In this post Iwant to present the basic unification algorithm with a complete implementation.
PyCon: PyCon 2019 Registration is Open!
2018-11-12 12:12:41
No <p> found.
Catalin George Festila: Python Qt5 - QCalendarWidget example.
2018-11-12 11:30:54
No <p> found.
Erik Marsja: How to use Pandas Sample to Select Rows and Columns
2018-11-12 11:01:09
In this tutorial we will learn how to use Pandas sample to randomly select rows and columns from a Pandas dataframe. There are some reasons for randomly sample our data; for instance, we may have a very large dataset and want to build our models on a smaller sample of the data. Other examples are when carrying out bootstrapping or cross-validation. Here we will learn how to; select rows at random, set a random seed, sample by group, using weights, and conditions, among other useful things.
Mike Driscoll: PyDev of the Week: Frank Vieira
2018-11-12 06:05:58
This week we welcome Frank Vieira as our PyDev of the Week. Frank is the creator of the Vibora package, a âfast, asynchronous and elegant Python web framework.â You can see what else Frank is up to over on his Github profile. Letâs take a few moments to get to know Frank better!
Ian Ozsvald: On receiving the Community Leadership Award at the NumFOCUS Summit 2018
2018-11-11 18:59:24
At the end of September I was honoured to receive the Community Leadership Award from NumFOCUS for my work building out the PyData community here in London and at associated events. This was awarded at the NumFOCUS 2018 Summit, I couldnât attend the New York event and James Powell gave my speech on my behalf (thanks James!).
Andre Roberge: User feedback is essential for improvements
2018-11-11 09:33:06
No <p> found.
Yasoob Khalid: Review: The History of Unix Video
2018-11-11 00:03:07
Hi everyone! If you have been following my blog for a while, you will know how much I love computers. I recently watched this video about the history of Unix and decided to write a short post about it. Itâs a one hour presented by Rob Pike who joined Bell labs and worked on Unix in the 70âs. I got to know about the video via Hacker News (you should definitely follow it if you donât!).
Weekly Python StackOverflow Report: (cli) stackoverflow python report
2018-11-10 17:23:00
No <p> found.
Catalin George Festila: Python Qt5 - QTabWidget example.
2018-11-10 12:41:48
No <p> found.
Stack Abuse: How to Create, Move, and Delete Files in Python
2018-11-09 16:55:00
Handling files is an entry-level and fundamental skill for any programmer. They're very commonly used to store application data, user configurations, videos, images, etc. There are a countless number of use-cases for files in software applications, so you'd be smart to make yourself deeply familiar with the tasks of manipulating files. These tasks could include (among others) creating, deleting, and moving files.
Continuum Analytics Blog: Choose Your Anaconda IDE Adventure: Jupyter, JupyterLab, or Apache Zeppelin
2018-11-09 15:57:58
As humans we are faced with multiple choices every day. Every person is different: some people prefer Firefox while others like Chrome; some people prefer Python while others like R. Here at Anaconda, we abstain from engaging in language or IDE wars, and firmly believe our users shouldnât have to compromise their preferences. Thatâs why âŠRead more â
A. Jesse Jiryu Davis: API Evolution the Right Way
2018-11-09 15:50:13
No <p> found.
PyCharm: PyCharm 2018.3 Release Candidate
2018-11-09 12:59:58
PyCharm 2018.3 is almost ready to be released, and thatâs why weâre happy to present the release candidate for PyCharm 2018.3. Download this version from our website
PyBites: Code Challenge 58 - Analyze Podcast Transcripts with NLTK - Part I
2018-11-09 08:40:00
There is an immense amount to be learned simply by tinkering with things. - Henry Ford
PyBites: Code Challenge 57 - Analyze Olympic Games Data With Pandas - Review
2018-11-09 08:30:00
In this article we review last week's Analyze Olympic Games Data With Pandas code challenge.
Talk Python to Me: #185 Creating a Python 3 Culture at Facebook
2018-11-09 08:00:00
No <p> found.
Catalin George Festila: Python Qt5 - default icons with QStyle.
2018-11-09 06:55:51
No <p> found.
Fabio Zadrozny: PyDev 7.0 (mypy, black, pipenv, faster debugger)
2018-11-09 05:17:42
No <p> found.
Brad Lucas: Updating Your Pip Requirements File
2018-11-09 05:00:00
While revisiting an old Python project you may come to realize that your requirements.txt file contains out of date versions. You could go through and research each library and get it's latest version number but may be discouraged if there too many.
Python Engineering at Microsoft: Data Science with Python in Visual Studio Code
2018-11-08 22:50:00
This post was written by Rong Lu, a Principal Program Manager working on Data Science tools for Visual Studio Code
Python Engineering at Microsoft: Python in Visual Studio Code â October 2018 Release
2018-11-08 22:35:35
We are pleased to announce that the October 2018 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
Wallaroo Labs: Python Python Python! Python 3 Comes to Wallaroo
2018-11-08 18:50:00
No <p> found.
Import Python: Issue 188 - Python This week
2018-11-08 18:34:36
No <p> found.
Rene Dudfield: Drawing data. With #flask, and #matplotlib.
2018-11-08 09:41:12
No <p> found.
gamingdirectional: Pygame Music player demo
2018-11-08 08:51:40
In this article we are going to play the background music with the help of the pygame.mixer_music module. We will first load the soundtrack then play it repeatedly. We can also play the background music with the help of pygame.mixer module which you can read the entire solution in this article but now we will use the pygame.mixer_music module to load and play the background soundtrack instead.
Python Bytes: #103 Getting to 10x (results for developers)
2018-11-08 08:00:00
No summary found!
Catalin George Festila: Python Qt5 - QFileDialog and QTextEdit example.
2018-11-08 05:12:22
No <p> found.
Wingware News: Wing Python IDE 6.1.2: November 8, 2018
2018-11-08 01:00:00
No <p> found.
Mike Driscoll: Python 101: Episode #32 â Static Code Analysis
2018-11-07 18:41:19
In this episode, we learn how we can use PyLine and PyFlakes to check our code for issues. Of course since this video was made, Flake8 and Python Black have become pretty popular, so you might want to check those out as well.
Python Anywhere: Always-on tasks
2018-11-07 18:35:53
Always-on tasks are a new feature we rolled out in our last system update. Essentially, they're a way youcan specify a program and tell us that you want us to keep it running all the time. If it exits for anyreason, we'll automatically restart it -- and even in extreme circumstances, for instance if the serverthat it's running on has a hardware failure, it will fail over to a working machine quickly.
Codementor: Deploy Private Github Python Packages on Heroku without Exposing Credentials in Code
2018-11-07 16:17:12
No <p> found.
Real Python: Python "while" Loops (Indefinite Iteration)
2018-11-07 14:00:00
Iteration means executing the same block of code over and over, potentially many times. A programming structure that implements iteration is called a loop.
PyCharm: PyCharm 2018.2.5 RC
2018-11-07 13:30:52
We have a couple of fixes for PyCharm 2018.2 which you can now try in the 2018.2.5 Release Candidate.
Catalin George Festila: Python Qt5 - QLCDNumber and QDial example.
2018-11-07 12:14:01
No <p> found.
Erik Marsja: Pandas Excel Tutorial: How to Read and Write Excel files
2018-11-07 11:01:57
In this tutorial we will learn how to work with Excel files and Python. It will provide an overview of how to use Pandas to load and write spreadsheets to Excel. In the first section, we will go through, with examples, how to read an Excel file, how to read specific columns from a spreadsheet, how to read multiple spreadsheets and combine them to one dataframe, how to read many Excel files, and, finally, how to convert data according to specific datatypes (e.g., using Pandas dtypes). When we have done this, we will continue by learning how to write Excel files; how to name the sheets and how to write to multiple sheets.
Moshe Zadka: The Conference That Was Almost Called "Pythaluma"
2018-11-07 08:00:00
As my friend Thursdaysaid in her excellent talk(sadly, not up as of this time)naming things is important.Avoiding in-jokes is,in general,a good idea.
gamingdirectional: Pygameâs Color class demo
2018-11-07 05:08:47
Today I have paid a visit to the Pygame document page to revise all the pygame classes one by one because I have already forgotten all of them. In order to create a game with Pygame I will need to get familiar with these classes again. In this article I will write a simple python class which extends the pygame.Color class to demonstrate the use of the pygame Color class. Since most of the time our...
PyCoderâs Weekly: Issue #341 (Nov. 6, 2018)
2018-11-06 20:30:00
[ Subscribe to đ PyCoderâs Weekly đ â Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
Stack Abuse: Applying Wrapper Methods in Python for Feature Selection
2018-11-06 14:28:00
In the previous article, we studied how we can use filter methods for feature selection for machine learning algorithms. Filter methods are handy when you want to select a generic set of features for all the machine learning models.
Python Celery - Weekly Celery Tutorials and How-tos: Quick Guide: Custom Celery Task Logger
2018-11-06 09:00:00
I previously wrote about how to customise your Celery log handlers. But there is another Celery logger, the celery.task logger. The celery.task logger is a special logger set up by the Celery worker. Its goal is to add task-related information to the log messages. It exposes two new parameters:
Mike Driscoll: The Ultimate Programmer Super Stack Bundle
2018-11-06 06:05:37
I recently had the opportunity to get my second book, Python 201: Intermediate Python added to a bundle of other interesting programming books.
Catalin George Festila: Python Qt5 - QColorDialog example.
2018-11-06 05:44:24
No <p> found.
Nigel Babu: Testing Ansible With Molecule
2018-11-06 00:44:07
My colleague was recently assigned a task to create tests for an ansible rolethat she works on. She pinged me for help and we got started in figuring outwhat to do.
Test and Code: 52: pyproject.toml : the future of Python packaging - Brett Cannon
2018-11-05 19:15:00
Brett Cannon discusses the changes afoot in Python packaging as a result of PEP 517, PEP 518, starting with "How did we get here?" and "Where are we going?"
Erik Marsja: Data Manipulation with Pandas: A Brief Tutorial
2018-11-05 19:01:56
Learn three data manipulation techniques with Pandas in this guest post by Harish Garg, a software developer and data analyst, and the author of Mastering Exploratory Analysis with pandas.
Real Python: Writing Comments in Python (Guide)
2018-11-05 14:00:00
When writing code in Python, itâs important to make sure that your code can be easily understood by others. Giving variables obvious names, defining explicit functions, and organizing your code are all great ways to do this.
Catalin George Festila: Python Qt5 - tray icon example.
2018-11-05 11:34:53
No <p> found.
Codementor: Top Data Science Hacks
2018-11-05 10:00:29
No <p> found.
Julien Danjou: The Best flake8 Extensions for your Python Project
2018-11-05 10:00:00
In the last blog post about coding style, we dissected what the state of the art was regarding coding style check in Python.
Bhishan Bhandari: Basic File Operations â Golang
2018-11-05 09:05:37
One of the most basic task when working on a server is the ability to effectively operate with the files and file system. Like many languages, Golang has convenient methods to work with files. The intentions of this post is to host a minimalist set of examples on working with files using Golang. Creating an [âŠ]
Tryton News: Translations updated every months
2018-11-05 07:00:04
@ced wrote:
Mike Driscoll: PyDev of the Week: Bernat Gabor
2018-11-05 06:05:27
This week we welcome Bernat Gabor (@gjbernat) as our PyDev of the Week! Bernat is a core developer of the tox automation project. You can check out his Github to see what other open source projects he is a part of. Letâs take a few moments to learn more about Bernat!
Ned Batchelder: Careful with negative assertions
2018-11-04 17:56:53
A cautionary tale about testing that things are unequal...
Django Weblog: DSF Individual membership - call for implementation proposals
2018-11-04 17:31:00
The DSF wishes to put in place a system for the nomination, approval and accession of Individual Members.
Codementor: Building a neighbour matrix with python
2018-11-04 16:02:50
No <p> found.
Peter Bengtsson: How to JSON schema validate 10x (or 100x) faster in Python
2018-11-04 15:57:47
This is perhaps insanely obvious but it was a measurement I had to do and it might help you too if you use python-jsonschema a lot too.
Codementor: Python Style Guide - Complete
2018-11-04 15:33:36
No <p> found.
Andrea Grandi: Why I mentor on Exercism.io
2018-11-04 13:00:00
Exercism (https://exercism.io) is a platform that has been created to help people improving their coding skills, thanks to the volunteers mentoring the students. There are tracks for almost all the popular languages and each track has coding tests that the students can download, solve offline using their preferred editor, and test the solution against the provided unit tests. Once the solution is ready to be reviewed (or even if it's not complete but the student needs help), it can be submitted to the website and it will go in a queue where the first available mentor will pick it and start mentoring.
Codementor: Monitoring a Dockerized Celery Cluster with Flower
2018-11-04 11:04:27
No summary found!
Simple is Better Than Complex: Django Authentication Video Tutorial
2018-11-04 10:00:00
In this tutorial series, we are going to explore Djangoâs authentication system by implementing sign up, login, logout,password change, password reset and protected views from non-authenticated users. This tutorial is organized in 7videos, one for each topic, ranging from 4 min to 15 min each.
Catalin George Festila: Python Qt5 - QtSql with QtOpenGL example.
2018-11-04 07:41:20
No <p> found.
PyBites: PyBites Twitter Digest - Issue 35, 2018
2018-11-04 04:43:40
đđ€ @mkennedy is the host of the most popular Python podcast, @TalkPython as well as a co-host on the @pythonbytes p⊠https://t.co/fMRTc1ndeP
Weekly Python StackOverflow Report: (cl) stackoverflow python report
2018-11-03 15:58:00
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-11-03 15:57:59 GMT
eGenix.com: Python Meeting DĂŒsseldorf - 2018-11-07
2018-11-03 08:00:00
The following text is in German, since we're announcing a regional user group meeting in DĂŒsseldorf, Germany.
Catalin George Festila: Python Qt5 - QtSql with QSQLITE example.
2018-11-03 04:44:17
No <p> found.
Codementor: I played and learned and built a McKenna Reddit Bot in Python #raspberrypi
2018-11-02 17:10:48
No <p> found.
Stack Abuse: Asynchronous Python for Web Development
2018-11-02 13:50:00
Asynchronous programming is well suited for tasks that include reading and writing files frequently or sending data back and forth from a server. Asynchronous programs perform I/O operations in a non-blocking fashion, meaning that they can perform other tasks while waiting for data to return from a client rather than waiting idly, wasting resources and time.
Codementor: Decorators in python. What? Why? When?
2018-11-02 12:33:17
No <p> found.
Made With Mu: Lesson Observation
2018-11-02 09:40:00
I recently had the great pleasure of visiting Wollaston Schoolto see Steve Foster use Mu in his classroom.Here he is in action, in perhaps the most âteacher-ishâ photograph youâll seefor a long time:
Marc Richter: Create your own Telegram bot with Django on Heroku â Part 9 â Creating a model for your messages
2018-11-02 07:34:36
This article was published at Create your own Telegram bot with Django on Heroku â Part 9 â Creating a model for your messages .If you are reading this on any other page, which is not some âplanetâ or aggregator, you are reading stolen content. Please read this article at its source, which is linked before to ensure to get the best reading experience; thank you! â€
Full Stack Python: Adding Okta Authentication to an Existing Flask Web App
2018-11-02 04:00:00
It can be a lot of work to piece together a full authentication systemif you have an existing Flask web application that you arecoding. Okta makes it much easierto drop-in a complete user authentication system without a lot ofadditional effort. In this tutorial we will take the Flask Git Dashboardproject as an example and add Okta to it.
Techiediaries - Django: useState React Hook by Example | Axios & Django [Part 2]
2018-11-02 00:00:00
useState() is an example built-in React hook that lets you use states in your functional components. This was not possible before React 16.7.
Anarcat: October 2018 report: LTS, Monkeysphere, Flatpak, Kubernetes, CD archival and calendar project
2018-11-01 20:12:23
This is my monthly Debian LTS report.
Django Weblog: Django bugfix release: 2.1.3
2018-11-01 13:36:38
Today we've issued the 2.1.3 bugfix release.
Stack Abuse: Overloading Functions and Operators in Python
2018-11-01 13:18:00
Overloading, in the context of programming, refers to the ability of a function or an operator to behave in different ways depending on the parameters that are passed to the function, or the operands that the operator acts on. In this article, we will see how we can perform function overloading and operator overloading in Python.
Codementor: Generators in Python
2018-11-01 13:15:29
No <p> found.
Dataquest: Python vs R: Head to Head Data Analysis
2018-11-01 13:00:00
There have been dozens of articles written comparing Python and R from a subjective standpoint. We'll add our own views at some point, but this article aims to look at the languages more objectively. We'll analyze a dataset side by side in Python and R, and show what code is needed in both languages to achieve the same result. This will let us understand the strengths and weaknesses of each language without the conjecture. At Dataquest, we teach both languages, and think both have a place in a data science toolkit.
PyCharm: PyCharm 2018.3 EAP 9
2018-11-01 12:41:45
Weâve entered the final phase of the Early Access Program (EAP) for PyCharm 2018.3, the ninth version is now available. Download this version from our website
Made With Mu: Mu and PyWeek: Traffic Flowmageddon
2018-11-01 12:30:00
Last week was PyWeek, where entrants have a week to makea game on a given theme using Python. Myself and my buddyAndrew Smith decided to form ateam called Code to Joy and writesomething using Mu andPyGameZero. At the start ofthe week the theme was revealed as âflowâ. We ended up creatingâTraffic Flowmageddonâ with gameplay like 80âs classicFrogger, a look similar to the90âs classic Grand Theft Autoand with a dash of Shaun of the Deadthrown in for some timely Halloween spice. The opening screen pretty much sumsup the character of the game:
Catalin George Festila: Python Qt5 - QtWebEngine example.
2018-11-01 10:44:07
No <p> found.
Rene Dudfield: Josh Bartlett â pygame Artist in Residence
2018-11-01 10:13:48
No <p> found.
Tryton News: Newsletter November 2018
2018-11-01 07:00:00
@ced wrote:
Techiediaries - Django: React 16.7 Hooks â with Axios and Django API [PART 1]
2018-11-01 00:00:00
React Hooks are a new feature recently released by the React team. It's included in React 16.7 which is in its Alpha version as of this writing.
Karim Elghamrawy: Python: Letâs Create a Simple HTTP Server (Tutorial)
2018-10-31 23:41:17
Web severs are everywhere. Heck you are interacting with one right now! No matter what type of software engineer you are, at some point in your career you will have to interact with web servers. May be you are building an API server for a backend service. Or may be you are just configuring a [...]
Erik Marsja: Repeated Measures ANOVA in Python using Statsmodels
2018-10-31 19:47:49
In this brief Python data analysis tutorial we will learn how to carry out a repeated measures ANOVA using Statsmodels. More specifically, we will learn how to use the AnovaRM class from statsmodels anova module.
Continuum Analytics Blog: Who You Gonna Call? Halloween Tips & Treats to Protect You from Ghosts, GremlinsâŠand Software Vulnerabilities
2018-10-31 19:26:34
By Michael Sarahan Happy Halloween, readers. At Anaconda, weâre not too scared about things that go bump in the night. Weâve examined the data and concluded that itâs just the cleaning staff upstairs. We are, however, kept awake by the ever-present concern of the security and experience of our users! Weâd like to take this âŠRead more â
Mike Driscoll: More typo-squatting Malware Found on PyPI
2018-10-31 14:49:30
Malware was recently discovered on the Python Packaging Index that targets Windows users. The package was called colourama and if it had been installed, would end up installing malware on your PC. It is basically hoping that you will misspell the popular colorama pacakge.
Real Python: Setting Up Python for Machine Learning on Windows
2018-10-31 14:00:00
Python has been largely used for numerical and scientific applications in the last years. However, to perform numerical computations in an efficient manner, Python relies on external libraries, sometimes implemented in other languages, such as the NumPy library, which is partly implemented using the Fortran language.
Roberto Alsina: DeVicenzo 2
2018-10-31 13:54:16
A long time ago I "wrote a web browser". Those there are some very heavy quotes.You may imagine me doing air quotes while I write it, maybe?
Codementor: Benefits of the Use of Machine Learning and AI in the Travel Industry
2018-10-31 13:28:55
No <p> found.
Mike Driscoll: Python 101: Episode #31 â Parsing XML with the lxml Package
2018-10-31 13:28:09
In this screencast, you will learn the basics of using the popular lxml (https://lxml.de/) package for parsing XML.
Tryton News: Security Release for issue7792
2018-10-31 13:00:01
@ced wrote:
Made With Mu: NÇ hÇo Mu! äœ ć„œç©!
2018-10-31 10:00:00
Thanks to the efforts of volunteer teachers, young Chinese students are usingMu to learn Python.
Python Bytes: #102 Structure of a Flask Project
2018-10-31 08:00:00
No summary found!
Dusty Phillips: Announcing: Python 3 Object-oriented Programming, 3rd Edition
2018-10-30 21:46:32
No <p> found.
Continuum Analytics Blog: Open Source Model Management Roundup: Polyaxon, Argo, and Seldon
2018-10-30 19:42:41
By Daniel Rodriguez One of the most common questions the Anaconda Enterprise team receives is something along the lines of: âBut really, how difficult is it to build this using open source tools?â This is certainly a fair question, as open source does provide a lot of functionality while offering a lower entry price than âŠRead more â
Test and Code: 51: Feature Testing
2018-10-30 15:30:00
Andy Knight joins me in discussing the concept of feature testing.
Stack Abuse: Applying Filter Methods in Python for Feature Selection
2018-10-30 13:47:00
Machine learning and deep learning algorithms learn from data, which consists of different types of features. The training time and performance of a machine learning algorithm depends heavily on the features in the dataset. Ideally, we should only retain those features in the dataset that actually help our machine learning model learn something.
EuroPython Society: EuroPython 2019: RFP First Round Response
2018-10-30 12:53:52
We are happy to announce that we have received 17 RFP submissions for EP2019 from various venues all across Europe.
PyBites: Code Challenge 57 - Analyze Olympic Games Data With Pandas
2018-10-30 11:10:00
Life is about facing new challenges - Kostya Tszyu
PyBites: Code Challenge 56 - Calculate the Duration of a Directory of Audio Files - Review
2018-10-30 10:45:00
In this article we review last week's Calculate the Duration of a Directory of Audio Files code challenge.
Python Software Foundation: PyPI Security and Accessibility Q1 2019 Request for Information period opens.
2018-10-30 09:53:44
No <p> found.
Made With Mu: Brian is in the Kitchen
2018-10-30 08:00:00
This second guest post, from Thierry Chantier,describes how the French Pythoncommunity is helping young programmers with Mu. Iâm especially pleased thatheâs submitted his blog in French. We love to celebrate the efforts of Mu usersall over the world!
Montreal Python User Group: Montréal-Python 73: Despotic Wagon
2018-10-30 04:00:00
Just in time for PyCon Canada, we are organizing an amazing evening with great local Pythonisthas. It is your chance to come to support them, see their talk in avant-premiĂšre and who knows maybe to give them some feedback.
Weekly Python Chat: pathlib in Python: why you should use it
2018-10-29 14:30:00
Python is great for working with files, but there are a lot of different functions and modules to memorize when you need to work with files and directories in Python.
Real Python: Python Community Interview With Michael Kennedy
2018-10-29 14:00:00
This week, our Python community interview is with none other than Michael Kennedy of Talk Python to Me fame.
PyCon: PyCon 2019 Reminders
2018-10-29 11:53:30
No <p> found.
Made With Mu: Python on Hardware Vlog, from Adafruit.
2018-10-29 11:00:00
If youâre a mutineering mutant into playful hacking of embedded hardware with
CircuitPython or MicroPython
then check out the new video newsletter
from Adafruit.
Mike Driscoll: PyDev of the Week: Anthony Sottile
2018-10-29 05:05:29
This week we welcome Anthony Sottile (@codewithanthony) as our PyDev of the Week! Anthony is one of the maintainers for the tox and pytest packages. He is also on the âdeadsnakesâ PPA team, which backports Python for certain EOL Linux distros. While you can discover a little about Anthony on his website, you will probably learn more from his Github profile.
Podcast.__init__: Bringing Python To The Spanish Language Community with Maricela Sanchez
2018-10-29 00:06:12
The Python Community is large and growing, however a majority of articles, books, and presentations are still in English. To increase the accessibility for Spanish language speakers, Maricela Sanchez helped to create the Charlas track at PyCon US, and is an organizer for Python Day Mexico. In this episode she shares her motivations for getting involved in community building, her experiences working on Python Day Mexico and PyCon Charlas, and the lessons that she has learned in the process.
Jaime Buelta: Package and deploy a Python module in PyPI with Poetry, tox and Travis
2018-10-28 18:39:45
No <p> found.
Zato Blog: zato-apitest 1.12 - API testing for humans
2018-10-28 10:11:10
Version 1.12 of
zato-apitest
has just been released. This version simplifies installation requirements and adds compatibility with PostgreSQL 10+ databases.
Kushal Das: Fedora 29 on Qubes OS
2018-10-28 05:47:00
I spent most of my life using Fedora as my primary
operating system on my desktop/laptops. I use CentOS on
my servers, sometimes even Fedora, and a few special cases, I use *BSD systems.
PyBites: PyBites Twitter Digest - Issue 34, 2018
2018-10-28 04:43:48
Python 3.6.7 and 3.7.1 released! https://t.co/jIVCXNPkiZ
Weekly Python StackOverflow Report: (cxlix) stackoverflow python report
2018-10-27 21:41:00
No <p> found.
BangPypers: Talks - October, 2018
2018-10-27 16:49:00
For October 2018's session, we had a session on âData Scienceâ . The venue was G0-JEK, Domlur and we had 3 speakers. All the sessions ran for around 40 minutes.
Ned Batchelder: Why warnings is mysterious
2018-10-27 16:04:51
I recently went through a process Iâve done many times before: I tried to
configure the Python warnings
module, and was mystified. I set the PYTHONWARNINGS environment variable,
and it doesnât do what it seems like it should. I read the docs again, I
think I understand what they are telling me, but the code isnât doing what
it seems like it should be doing. Frustrating.
Not Invented Here: Introducing nti.fakestatsd
2018-10-26 14:38:34
Lately at NextThought we've been much more focused on using
application level metrics to proactively monitor and understand the
run-time characteristics of our applications. Much of the open source
stack we are built on top of is already instrumented with the great
perfmetrics library. Because of this, when it was time to expand the
metrics we collected, perfmetrics was the obvious choice. However we
quickly ran into a problem. How should we test the metrics we
generated were actually emitted as the StatsD metrics we expected?
Python Software Foundation: Python Software Foundation Fellow Members for Q3 2018
2018-10-26 13:38:30
No <p> found.
Catalin George Festila: Python Qt5 - MP3 player example.
2018-10-26 11:04:37
No <p> found.
Catalin George Festila: Python Qt5 - webcam example.
2018-10-26 11:00:21
No <p> found.
Python Piedmont Triad User Group: PYPTUG Monthly Meeting (October): Altair, Ansible and more
2018-10-26 07:29:39
No <p> found.
Python Celery - Weekly Celery Tutorials and How-tos: Celery Execution Pools: What is it all about?
2018-10-26 06:00:00
Have you ever asked yourself what happens when you start a Celery worker? Ok, it might not have been on your mind. But you might have come across things like execution pool, concurrency settings, prefork, gevent, eventlet and solo. So, what is it all about? How does it all fit together? And how is it related to the mechanics of a Celery worker?
William Minchin: CName Plugin 1.2.1 for Pelican Released
2018-10-26 02:37:00
CName is a plugin for Pelican,
a static site generator written in Python.
Stack Abuse: Python GUI Development with Tkinter: Part 2
2018-10-25 14:29:53
This is the second installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the other parts to this series:
Test and Code: 50: Flaky Tests and How to Deal with Them
2018-10-25 07:15:00
Anthony Shaw joins Brian to discuss flaky tests and flaky test suites.
Mike Driscoll: Python 101: Episode #30 â The configobj Package
2018-10-25 01:06:13
In this episode you will learn how to use the configobj package. This is a 3rd party package that I think is better and easier to use than Pythonâs built-in configparser module.
Techiediaries - Django: Angular 7 Tutorial: Introducing Angular for Python Developers
2018-10-25 00:00:00
Angular 7 is out and we'll use it to continue with our front-end tutorial series designed for Python developers.
Stories in My Pocket: Pathlib: my new favorite module
2018-10-24 16:46:32
Though `pathlib` was introduced in python 3.4 to some praise, I didn't "get" it. Like many things in python, I needed some time to come around and tinker with it before I realized the power within. I can't remember when `pathlib` started "clicking" for me, but I'm sure it was an accidental rediscovering of it via the Dash documentation application. [dsh]{More on Dash in an upcoming post}