Python tutorials

Python Basics: Paperback Now Available!

After years of writing, reviewing, and testing, we’re delighted to announce that Python Basics: A Practical Introduction to Python 3 is now available in paperback! It’s been rewarding to hear how readers have been using this book to supercharge their learning. After receiving so much community feedback, we’re confident that you’ll build a strong foundation for your Python journey with this book: You’ll not only cover the core concepts you really need to know, but you’ll also learn them in […]

Read more

Speed Up Text Pre Processing Using TextHero Python Library

Introduction     Natural Language Processing, typically abbreviated as NLP, is a branch of artificial intelligence that manages the connection among PCs and people utilizing the regular language. A definitive target of NLP is to peruse, unravel, comprehend, and figure out the human dialects in a way that is significant. Most NLP strategies depend on AI to get significance from human dialects. NLP involves applying calculations to recognize and separate the characteristic language decides to such an extent that the […]

Read more

A Simple Guide to Metrics for Calculating String Similarity

Introduction One of the applications of Natural Language Processing is auto-correction and spellings checks. All of us have encountered this that if we type an incorrect or typo in the Google search engine, then the engine automatically corrects it and suggests the right word in its place. How does the engine do that? How does it know what word we wanted to write or ask? That is what we will be covering in this article. The methods available to check […]

Read more

Don’t leak your Docker image’s build secrets

In January 2021 CodeCov suffered from a security breach. The mechanism: The [malicious] actor gained access because of an error in Codecov’s Docker image creation process that allowed the actor to extract the credential required to modify our Bash Uploader script. It’s unclear from the description what specific kind of secret was involved, but as you can see leaking secrets can be a significant problem. You want to ensure your secrets don’t end up getting leaked in your image! In […]

Read more

Python Community Interview With Moshe Zadka

This week, I’m joined by Moshe Zadka, a senior site reliability engineer at SurveyMonkey. Moshe is a core developer for the Twisted framework and a Real Python author. In this interview, we discuss a variety of topics, including the Twisted framework, Python for DevOps, writing Python books, and tai chi. Ricky: Thanks for joining me, Moshe. I’d like to start with the same questions I do with all my interview guests: how did you get into programming, and when did […]

Read more

Learn Text Classification With Python and Keras

Imagine you could know the mood of the people on the Internet. Maybe you are not interested in its entirety, but only if people are today happy on your favorite social media platform. After this course, you’ll be equipped to do this. While doing this, you will get a grasp of current advancements of (deep) neural networks and how they can be applied to text. Reading the mood from text with machine learning is called sentiment analysis, and it is […]

Read more

Deploying a Python Flask Example Application Using Heroku

Welcome! Today we’re going to start building a Flask app that calculates word-frequency pairs based on the text from a given URL. This is a full-stack tutorial. Updates: 02/08/2020: Upgraded to Python version 3.8.1, and use python -m venv instead of pyvenv. 03/22/2016: Upgraded to Python version 3.5.1, and added autoenv version 1.0.0. 02/22/2015: Added Python 3 support. Part One: Set up a local development environment and then deploy both a staging and a production environment on Heroku. (current) Part […]

Read more

A Guide to Feature Engineering in NLP

Overview Feature engineering in NLP is understanding the context of the text. In this blog, we will look at some of the common feature engineering in NLP. We will compare the results of a classification task with and without doing feature engineering   Table of Content Introduction NLP task overview List of features with code Implementation Results comparison with and without doing feature engineering Conclusion Introduction   “If 80 percent of our work is data preparation, then ensuring data quality […]

Read more

Build a Python Directory Tree Generator for the Command Line

Creating applications with a user-friendly command-line interface (CLI) is a useful skill for a Python developer. With this skill, you can create tools to automate and speed up tasks in your working environment. In this tutorial, you’ll build a Python directory tree generator tool for your command line. The application will take a directory path as an argument at the command line and display a directory tree diagram on your screen. It’ll also provide other options to tweak the output. […]

Read more

Start Managing Multiple Python Versions With pyenv

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 versions of Python doesn’t have to be confusing if you use pyenv. This course will provide you with […]

Read more
1 125 126 127 128 129 185