Skip to content

Latest commit

 

History

History
305 lines (229 loc) · 30 KB

python-top-story.md

File metadata and controls

305 lines (229 loc) · 30 KB

drawing

The Python TypeError: 'int'object is not interable is a common error that can be caused by using a loop without the range() method. It can be easily fixed.

I will start this lesson by talking about some basics of the python type system and the introduce the concept of META-CLASSES afterwards.

Python Is beginner-friendly, has a strong ecosystem, and is a popular choice for AI, research, and automation. Here's how to teach yourself python online.

Welcome to the first post of Django Package Series. In this tutorial, you will learn how to add tagging functionality to your models.

Over the few months I have been in the process of building a Data Science online school initially focusing on a rigorous introductory course covering modules ranging from linear algebra to SQL and programming. Without turning this into a 'marketing shill'.

the versatility of asyncio program is examined by looking at a very specific problem:Assume that there is a task list and each task is being worked on. When one or more tasks complete, another task or tasks should start.

Wanna start a beginner Python project? Let's create a Password Generator Python Project which is super quick & super fun!

Python provides built-in functions to perform file operations, such as creating, reading, and writing into text files.

In this tutorial, we will create a real-time streaming dashboard using QuestDB, Celery, Redis, Plotly, and Dash.

Learn about functional programming, pure functions, map(), filter(), zip(), reduce() concepts

We'll take a look at the algorithm behind Unix's compress utility. We'll implement Lempel Ziv Welch and learn all about it.

web scraping is practiced by businesses that create their marketing and development strategies based on the vast amount of web data

print() function and input() function makes the program more interactive with the user.

To understand what PyTorch is, how it works, and its ability to catalyze technological advancements. It’s important first to understand the answer to the question, “What is PyTorch?”

Many people, including me, use a combination of libraries to work on the images, such as: OpenCV itself, Dlib, Pillow etc. But this is a very confusing and problematic process. Dlib installation, for example, can be extremely complex and frustrating.

In this article, we are going to build a simple Ethereum wallet from scratch using Python. During the process, we will use some cryptography and try to interact with the Ethereum blockchain. In part 1, we will generate a key pair which is compatible with the Ethereum protocol, obtain the Ethereum address from the public key and encrypt the private key using a password.

Why something so simple keeps bothering us?

Detailed examples on how to return the middle node, given the head of a singly linked list.

In Python, the ord() function accepts a single unit of character and returns the equivalent Unicode of the passed argument

Reversing a list is a common requirement in any programming language. In this tutorial, we will learn the effective way to reverse a list in Python.

Let's learn about Caches, Caching Operations, Cache Eviction Policies, Implementation of Cache Eviction Policies, Distributed Caching and Caching In Python

Building a Serverless Data Pipeline to Analyze Meetup data

You can use Python for general software development, data science and math. But to find out whether Python fits your app take a look at benefits and use cases. 

In programming, conditions are what gives a language the power to showcase intelligence, by controlling the flow of a program.

Let’s start this journey of programming with gaining some knowledge on the Python programming language.

Getting input from the user is what makes a program more interactive with the user.

Hello guys , in this blog post I have organized 40 Python projects that you might be interested trying out ranging from webscraping to to natural language processing.

A detailed overview of an AI subfield called Natural Language Processing or NLP and how to learn NLP.

We can get the file size in Python using OS module and Pathlib module. The other methods we can use are os.path.getsize(), os.stat(), and path.stat().st_mode.

Python is an interpreted, high-level, powerful general-purpose programming language. You may ask, Python’s a snake right? and Why is this programming language named after it? Well, you are in the right place to discover the answer! and I’ll also answer the why, what, and how regarding Python programming.

In this post, I discuss the algorithms of a nested loop, hash join, and merge join in Python.

UI designer Jessica Williamson redesigns the Python logo and receives 7000 upvotes on Reddit.

Automating My Manual Scalping Trading Strategy

In this article we will get familiar with several amazing Python libraries being used by the best software teams. With the exception of HTTPX (which is in beta), the libraries listed below are being actively developed & maintained and are backed by a strong community.

Living in the era of the digital transformation, fast and constant changes, it’s a true challenge for web developers and business holders not to lose sight of all these continuous shifts. If you’re connected with web development, then this article is what you should read to the bottom. Here we’ll highlight the web development hits 2020 which you’d focus on this year and beyond to provide keen and tough competition in the industry.

Python's simplicity permeates it all, and tests are not an exception. I left behind -temporarily- my JUnit and Mockito days by pytest and unittest.

A list is a sequence in python. The dictionary meaning of list is “a number of connected items or names written or printed consecutively”. There is no much difference in its dictionary meaning and its uses in Python while writing a program.

The machines have been trying to learn to recognize and identify the photos they have seen for years. In 2013, it succeeded in reaching the human level. Machine learning systems have provided simple output from a complex input. It can detect almost all details of a photos and display users exactly want they want.

You wrote a Python script that trains and evaluates your machine learning model. Now, you would like to automatically tune hyperparameters to improve its performance?

What's up Hackers!

You don't need a whole music cloud service to get music recommendations

10 Ways to refactor Python code to make it more Pythonic

Magic Methods are the special methods which gives us the ability to access built in syntactical features such as ‘<’, ‘>’, ‘==’, ‘+’ etc..

Welcome to the first post of Upwork Series. In this series, we are going to work on gig requirements posted on UpWork.

Last winter, I dived into speech recognition. If you recall, I used the SpeechRecognition library in Python (from PyAudio to be more specific).\

How to create a dictionary with ordered and read-only items, returning default value with non-existent key, grouping multiple dictionaries into a single map and much more

A couple of days ago I started thinking if I had to start learning machine learning and data science all over again where would I start?

If you’ve decided to adopt Python for your software development, it’s crucial to know whether Python has a good chance to remain important to the industry in the years ahead. 

You read it right. It's all about implementation. Today, we will talk about the different implementations of Python. A heads up on the different kinds, be it Cpython, Brython, you name it.

In this article, we’ll build a Python Flask app that uses Pinecone — a similarity search service — to create our very own article recommendation engine.

Dummy data is randomly generated data that can be substituted for live data. Whether you are a Developer, Software Engineer, or Data Scientist, sometimes you need dummy data to test what you have built, it can be a web app, mobile app, or machine learning model.

In this article, I demonstrate how you can setup and maintain a python friendly development environment from within Atom.  Ideally, a developer wants to reduce the amount of window/application switching as much as possible and create repeatable workflows. 

As you know, Python is a very popular language and already takes 1st place in the TIOBE rating. And in the classical understanding of Python, in 90% of cases, CPython is meant. It is a reference implementation of the interpreter under the guidance of Guido van Rossum. Version 3.10 is current as of November 14, 2021. By now, Python means only version 3, but before this version appeared, mentions of version 2 can still be found. Now version 2 is not supported and most companies are removing the remnants of the code from version 2. by porting the code to version 3. As of January 1, 2020, Python 2 is no longer supported [https://www.python.org/doc/sunset-python-2/]. And this is quite understandable since, after the release of Python 3 in 2006, developers had to support 2 versions at the same time, which is laborious.

…and why it is Python.

Be kind.

Python was created by Guido van Rossum and originally released in 1990. The original scope of the language was focused on code readability with significant use of whitespace, language constructs, and an object-oriented approach.

Explore more on functions through arguments, parameters, and return statements.

In this tutorial, you'll learn how to build your own Programming language!

In this article, we are going to explain the growing importance of developing mobile app using Python along with its popular frameworks, features & advantages.

To become a Senior Java Developer, I’ve been learning Java for many years and still I’m not gonna stop learning as actual coding never stops teaching. I’ve also been teaching it for over seven years now. Just fancy how many mistakes I’ve already made myself and how many I’ve watched my students doing. I am pretty sure now I know a hundred wrong ways of learning to code (as well as dozens of the right ones).

Data types are one of the building blocks of python. And You can do a lot of things with data types!

Operators are used to doing operations on any given data stored inside variables. In Python, there are 7 types of operators. Arithmetic, bitwise, and more.

When I was first starting with Django, one of the most challenging obstacles I faced was deploying my application. In this tutorial, I will show you guys how to deploy your Django applications to PythonAnywhere and hopefully help you avoid the pitfalls I made.

Working with tables by join in Pandas: how to load tables in Pandas, merging data in tables, left join, right join, outer join, inner join.

Kenneth talks about the top issues Python developers face while scaling applications, shares his thoughts on async / await paradig

Introduction

A switch case statement in a computer Programming Language is a powerful tool that gives the programmer total control over the flow of the program according to the outcomes of an expression or a variable. Switch cases are particularly used to execute a different block of codes in relation to the results of expression during the program run time.

Web data extraction or web scraping in 2020 is the only way to get desired data if owners of a web site don't grant access to their users through API.

In this post I am going to show you how to build your own answer finding system with Python. Basically, this automation can find the answer of multiple-choice question from the picture.

I recently revisited three old posts on Django class-based views that I wrote for this blog, updating them to Django 3.0 (you can find them here and noticed once again that the code base uses mixin classes to increase code reuse. I also realised that mixins are not very popular in Python, so I decided to explore them, brushing up my knowledge of the OOP theory in the meanwhile.

While this post seeks to break down the concept of a generator, it is assumed that there is comfortability with the basics of programming or in this case Python programming. Thanks!

"I really do think [nbdev] is a huge step forward for programming environments": Chris Lattner, inventor of Swift, LLVM, and Swift Playgrounds.

This article is to teach Python beginners and developers some key concepts used in Python that aren't taught from the get-go.

Classification algorithms learn how to assign class labels to examples (observations or data points), although their decisions can appear opaque.