Archive for the ‘Python’ Category

August 20th, 2019

Real Python: Python Histogram Plotting: NumPy, Matplotlib, Pandas & Seaborn

Comments Off on Real Python: Python Histogram Plotting: NumPy, Matplotlib, Pandas & Seaborn, Python, by admin.

In this course, you’ll be equipped to make production-quality, presentation-ready Python histogram plots with a range of choices and features.

If you have introductory to intermediate knowledge in Python and statistics, then you can use this article as a one-stop shop for building and plotting histograms in Python using libraries from its scientific stack, including NumPy, Matplotlib, Pandas, and Seaborn.

A histogram is a great tool for quickly assessing a probability distribution that is intuitively understood by almost any audience. … Read the rest

August 20th, 2019

PSF GSoC students blogs: Weekly Check-in #13 : ( 16 Aug – 22 Aug )

Comments Off on PSF GSoC students blogs: Weekly Check-in #13 : ( 16 Aug – 22 Aug ), Python, by admin.

What did you do this week?

  • I worked on getting Travis to push releases automatically to PyPI, adding a new `ROBOTSTXT_USER_AGENT` setting in Scrapy, and improvements to SitemapSpider.

What is coming up next?

  • I am going to work on the final PSF blog post in which I will focus on my experience of GSoC 2019 working with my awesome mentors, and Scrapy.
  • Next, I will write a final report for third evaluation of Google Summer of Code.
  • Next up, I
Read the rest

August 19th, 2019

Real Python: How to Make a Discord Bot in Python

Comments Off on Real Python: How to Make a Discord Bot in Python, Python, by admin.

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.

By the end of this article you’ll learn:

  • What Discord is and why it’s so valuable
  • How to make a Discord bot through the Developer
Read the rest

August 19th, 2019

Stack Abuse: Debugging Python Applications with the PDB Module

Comments Off on Stack Abuse: Debugging Python Applications with the PDB Module, Python, by admin.

Introduction

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.

In this article, we will be covering the most commonly used functionalities of … Read the rest

August 17th, 2019

TechBeamers Python: Python Filter()

Comments Off on TechBeamers Python: Python Filter(), Python, by admin.

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

August 17th, 2019

Codementor: Creating a Docker Swarm Stack with Terraform (Terrascript Python), Persistent Volumes and Dynamic HAProxy.

Comments Off on Codementor: Creating a Docker Swarm Stack with Terraform (Terrascript Python), Persistent Volumes and Dynamic HAProxy., Python, by admin.

This article demonstrate how to create a Docker Swarm cluster with Volume, Firewall, DNS and Load Balance using terraform wrapped by a python script.… Read the rest

August 16th, 2019

Stack Abuse: Basics of Memory Management in Python

Comments Off on Stack Abuse: Basics of Memory Management in Python, Python, by admin.

Introduction

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.

In Python, the memory manager is responsible for these kinds of tasks by periodically running to clean up, allocate, and manage the memory. Unlike C, Java, and other programming languages, Python manages objects by using reference counting. This … Read the rest

August 16th, 2019

PyCharm: PyCharm 2019.2.1 RC

Comments Off on PyCharm: PyCharm 2019.2.1 RC, Python, by admin.

PyCharm 2019.2.1 release candidate is available now!

Fixed in this Version

  • An issue that caused debugger functions like “Step into” to not work properly in our latest release was solved.
  • AltGr keymaps for certain characters that were not working are now fixed.

Further Improvements

  • New SQL completion suggestions of join conditions based on column or table name match and auto-inject SQL by literals.
  • Some JavaScript and Vue.js inspection issues were resolved.
  • And more, check out our release notes for more
Read the rest

August 15th, 2019

Continuum Analytics Blog: 4 Machine Learning Use Cases in the Automotive Sector

Comments Off on Continuum Analytics Blog: 4 Machine Learning Use Cases in the Automotive Sector, Python, by admin.

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…

The post 4 Machine Learning Use Cases in the Automotive Sector appeared first on Anaconda.… Read the rest

August 15th, 2019

Kushal Das: git checkout to previous branch

Comments Off on Kushal Das: git checkout to previous branch, Python, by admin.

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.

git checkout -

Here is a small … Read the rest