October 15th, 2019

Red Hat Developers: What’s new in Red Hat Dependency Analytics

Comments Off on Red Hat Developers: What’s new in Red Hat Dependency Analytics, Python, by admin.

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.

Red Hat Dependency Analytics helps your development team avoid security and licensing issues when building your applications. It plugs into the developer’s IDE, automatically analyzes your software composition, and provides recommendations to address security holes and licensing problems that your team may be missing.

Without further … Read the rest

October 15th, 2019

Real Python: The Python range() Function

Comments Off on Real Python: The Python range() Function, Python, by admin.

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?

By the end of this course, you’ll:

  • Understand how the Python range function works
  • Know how the implementations differ in Python 2 and Python 3
  • Have seen a number of hands-on range() examples
  • Be equipped to work around some of its limitations

Let’s get cracking!


[ Improve Read the rest

October 14th, 2019

Real Python: Cool New Features in Python 3.8

Comments Off on Real Python: Cool New Features in Python 3.8, Python, by admin.

The newest version of Python is released today! 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.

What does Python 3.8 bring to the table? The documentation gives a good overview of the new features. However, this article will go more in depth on some of the biggest changes, and … Read the rest

October 14th, 2019

Kushal Das: Unoon, a tool to monitor network connections from my system

Comments Off on Kushal Das: Unoon, a tool to monitor network connections from my system, Python, by admin.

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).

Such a tool can provide peace of mind in a few cases. A reverse shell is one
the big one, just in case if I manage to open any random malware (read
downloads) on my regular Linux system, I want to be notified about … Read the rest

October 13th, 2019

Mike Driscoll: Thousands of Scientific Papers May be Invalid Due to Misunderstanding Python

Comments Off on Mike Driscoll: Thousands of Scientific Papers May be Invalid Due to Misunderstanding Python, Python, by admin.

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.

This is being reported on by Vice, Slashdot and there’s an interesting discussion going on over on Reddit as well.

Some are reporting this as a glitch in Python, but glob has never guaranteed that is results were returned sorted. As always, I would recommend reading the documentation closely to fully

Read the rest

October 13th, 2019

TechBeamers Python: How to Convert Python String to Int and Back to String

Comments Off on TechBeamers Python: How to Convert Python String to Int and Back to String, Python, by admin.

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

October 12th, 2019

Learn PyQt: Plotting in PyQt5 — Using PyQtGraph to create interactive plots in your apps

Comments Off on Learn PyQt: Plotting in PyQt5 — Using PyQtGraph to create interactive plots in your apps, Python, by admin.

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.

While it is possible to embed matplotlib plots in PyQt the experience does not feel entirely native. For simple and highly interactive plots you

Read the rest

October 12th, 2019

PyCharm: Webinar Preview: “Sharing Props Using Type Information” tutorial step for React+TS+TDD

Comments Off on PyCharm: Webinar Preview: “Sharing Props Using Type Information” tutorial step for React+TS+TDD, Python, by admin.

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.

webinar2019_watch-the-recording-171

See the first blog post for some background on this webinar and its topic.

Spotlight: Sharing Props Using Type Information

Now we get to some fun stuff: Sharing Props Using Type Information.

When you have lots of small components, they share information from parent “smart” components to child “dumb” (or presentation) components. … Read the rest

October 11th, 2019

PyCharm: Webinar Preview: “Debugging During Testing” tutorial steps for React+TS+TDD

Comments Off on PyCharm: Webinar Preview: “Debugging During Testing” tutorial steps for React+TS+TDD, Python, by admin.

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.

webinar2019_watch-the-recording-171

See the first blog post for some background on this webinar and its topic.

Spotlight: Debugging During Testing

I often speak about “visual debugging” and “visual testing”, meaning, how IDEs can help put these intermediate concepts within reach using a visual UI.

For testing, sometimes our code has problems that require investigation with … Read the rest

October 11th, 2019

Stack Abuse: Autoencoders for Image Reconstruction in Python and Keras

Comments Off on Stack Abuse: Autoencoders for Image Reconstruction in Python and Keras, Python, by admin.

Introduction

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.

This wouldn’t be a problem for a single user. But imagine handling thousands, if not millions, of requests with large data at the same time. These streams of data have to be reduced somehow in order … Read the rest