April 19th, 2019

Low Kian Seong: The Human in Devops

Comments Off on Low Kian Seong: The Human in Devops, Python, by admin.

What was significant this week ?

This week a mild epiphany came to me right after a somewhat heated and tense meeting with a team of developers plus project owner of a web project. They were angry and they were not afraid to show it. They were somewhat miffed about the fact that the head wrote them an email pretty much forcing them to participate to make our DevOps initiative a success. All kinds of expletive words were running through … Read the rest

April 19th, 2019

Codementor: Why Django Is The Popular Python Framework Among Web Developers?

Comments Off on Codementor: Why Django Is The Popular Python Framework Among Web Developers?, Python, by admin.

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.… Read the rest

April 18th, 2019

PyPy Development: PyPy 7.1.1 Bug Fix Release

Comments Off on PyPy Development: PyPy 7.1.1 Bug Fix Release, Python, by admin.
The PyPy team is proud to release a bug-fix release version 7.1.1 of PyPy, which
includes two different interpreters:
  • PyPy2.7, which is an interpreter supporting the syntax and the features of
    Python 2.
  • PyPy3.6-beta: the second official release of PyPy to support 3.6
    features.

The interpreters are based on much the same codebase, thus the double
release.

This bugfix fixes bugs related to large lists, dictionaries, and sets, some corner cases with unicode, and PEP 3118 memory views of ctype

Read the rest

April 18th, 2019

Codementor: Generators in Python

Comments Off on Codementor: Generators in Python, Python, by admin.

Basic generator functionality explained… Read the rest

April 17th, 2019

Real Python: How to Work With a PDF in Python

Comments Off on Real Python: How to Work With a PDF in Python, Python, by admin.

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.

PyPDF2 is a pure-Python package that you can use for many different types of PDF operations.

By the end Read the rest

April 17th, 2019

codingdirectional: Sum the factorial of a list object with python

Comments Off on codingdirectional: Sum the factorial of a list object with python, Python, by admin.

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,

sum_factorial([6, 4, 2]) //will return 746

Because of the complexity of the question we will need to create two methods, the first one will accept the list input and then the second one will do the real factorial … Read the rest

April 16th, 2019

NumFOCUS: NumFOCUS Hires Executive Operations Administrator

Comments Off on NumFOCUS: NumFOCUS Hires Executive Operations Administrator, Python, by admin.

The post NumFOCUS Hires Executive Operations Administrator appeared first on NumFOCUS.… Read the rest

April 16th, 2019

Real Python: Hands-on Python 3 Concurrency With the asyncio Module

Comments Off on Real Python: Hands-on Python 3 Concurrency With the asyncio Module, Python, by admin.

Learn how to speed up your Python 3 programs using concurrency and the new asyncio module in the standard library.

First, you’ll explore the key terms of parallel programming. Next, you’ll see step-by-step how to leverage concurrency and parallelism in your own programs, all the way to building a complete HTTP downloader example app using asyncio and aiohttp.


[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox Read the rest

April 15th, 2019

Stack Abuse: Python for NLP: Introduction to the TextBlob Library

Comments Off on Stack Abuse: Python for NLP: Introduction to the TextBlob Library, Python, by admin.

Introduction

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.

In this article, we will explore TextBlob, which is another extremely powerful NLP library for Python. TextBlob is built upon NLTK and provides an easy to use interface to the NLTK library. We will … Read the rest

April 15th, 2019

Peter Bengtsson: Whatsdeployed rewritten in React

Comments Off on Peter Bengtsson: Whatsdeployed rewritten in React, Python, by admin.

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.

We also took the opportunity to rewrite some of the ways that URLs are handled. It used to be that a “short link” would redirect. For example … Read the rest