October 18th, 2018

Stack Abuse: Getting User Input in Python

Comments Off on Stack Abuse: Getting User Input in Python, Python, by admin.

Introduction

The way in which information is obtained and handled is one of the most important aspects in the ethos of any programming language, more so for the information supplied and obtained from the user.

Python, while comparatively slow in this regard when compared to other programming languages like C or Java, contains robust tools to obtain, analyze, and process data obtained directly from the end user.

This article briefly explains how different Python functions can be used to obtain … Read the rest

October 18th, 2018

PyCharm: PyCharm 2018.3 EAP 7

Comments Off on PyCharm: PyCharm 2018.3 EAP 7, Python, by admin.

PyCharm 2018.3 EAP 7 is out! Get it now from the JetBrains website.

In this EAP we have introduced a host of new features as well as fixed bugs for various subsystems.

Read the Release Notes

New in This Version

WSL Support

py_wsl_interpreter

We have some great news for Windows users, PyCharm now supports Windows Subsystem for Linux (WSL). With support for WSL, you can select a WSL-based Python interpreter in PyCharm’s project interpreter settings and then run and debug Read the rest

October 17th, 2018

Stack Abuse: Python Dictionary Tutorial

Comments Off on Stack Abuse: Python Dictionary Tutorial, Python, by admin.

Introduction

Python comes with a variety of built-in data structures, capable of storing different types of data. A Python dictionary is one such data structure that can store data in the form of key-value pairs. The values in a Python dictionary can be accessed using the keys. In this article, we will be discussing the Python dictionary in detail.

Creating a Dictionary

To create … Read the rest

October 17th, 2018

Real Python: Python, Boto3, and AWS S3: Demystified

Comments Off on Real Python: Python, Boto3, and AWS S3: Demystified, Python, by admin.

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.

Boto3 is the name of the Python SDK for AWS. It allows you to directly create, update, and delete AWS resources from your Python scripts.… Read the rest

October 16th, 2018

Stack Abuse: A Brief Introduction to matplotlib for Data Visualization

Comments Off on Stack Abuse: A Brief Introduction to matplotlib for Data Visualization, Python, by admin.

Introduction

Python has a wide variety of useful packages for machine learning and statistical analysis such as TensorFlow, NumPy, scikit-learn, Pandas, and more. One package that is essential to most data science projects is matplotlib.

Available for any Python distribution, it can be installed on Python 3 with pip. Other methods are also available, check https://matplotlib.org/ for more details.

Installation

If you use an OS with a terminal, the following command would install matplotlib … Read the rest

October 16th, 2018

A. Jesse Jiryu Davis: Recap: PyGotham 2018 Speaker Coaching

Comments Off on A. Jesse Jiryu Davis: Recap: PyGotham 2018 Speaker Coaching, Python, by admin.

With your help, we raised money for twelve PyGotham speakers to receive free training from opera singer and speaking coach Melissa Collom. Most of the speakers were new to the conference scene; Melissa helped them focus on their value to the audience, clarify their ideas, and speak with confidence and charisma. In a survey, nearly all speakers said the session was “very beneficial” and made them “much more likely” to propose conference talks again.… Read the rest

October 15th, 2018

Test and Code: 49: tox – Oliver Bestwalter

Comments Off on Test and Code: 49: tox – Oliver Bestwalter, Python, by admin.

tox is a simple yet powerful tool that is used by many Python projects.

tox is not just a tool to help you test a Python project against multiple versions of Python. In this interview, Oliver and Brian just scratch the surface of this simple yet powerful automation tool.

This is from the tox documentation:

tox is a generic virtualenv management and test command line tool you can use for:

  • checking your package installs correctly with different Python versions and
Read the rest

October 15th, 2018

PyCharm: Support framework of a strong relationship. 30% off PyCharm and 100% to Django

Comments Off on PyCharm: Support framework of a strong relationship. 30% off PyCharm and 100% to Django, Python, by admin.

In summer 2017, JetBrains PyCharm partnered with the Django Software Foundation for the second year in a row to generate a big boost to the Django fundraising campaign. The campaign was a huge success. We raised a total of $66,094 USD for the Django Software Foundation!

This year we really hope to repeat this success of the previous year. For the next three weeks, buy a new individual license for PyCharm Professional Edition at 30% OFF, and all the money Read the rest

October 14th, 2018

Stefan Behnel: What’s new in Cython 0.29?

Comments Off on Stefan Behnel: What’s new in Cython 0.29?, Python, by admin.

I’m happy to announce the release of Cython 0.29.
In case you didn’t hear about Cython before, it’s the most widely used statically optimising Python compiler out there.
It translates Python (2/3) code to C, and makes it as easy as Python itself to tune the code all the way down into fast native code.
This time, we added several new features that help with speeding up and parallelising regular Python code to escape from the limitations of the GIL.

Read the rest

October 14th, 2018

Zato Blog: Managing live WebSocket API clients

Comments Off on Zato Blog: Managing live WebSocket API clients, Python, by admin.

Zato-based
WebSockets
are a great choice for high-performance
API integrations. WebSockets have minimal overhead, which, coupled with their ability to
invoke
services in a synchronous manner, means that large numbers of clients can easily connect to Zato API servers.

Introduction

The crucial distinction between WebSockets and typical REST-based APIs is that clients based on the former protocol always establish long-running TCP connections
and, once connected, the overhead they incur is practically negligible.

With a great number of clients a … Read the rest