Press ESC to close

Automation

Create Discord Bot Python

In this blog, I’m going to show you how to build your chatbot in Discord. The reason why you would want to build one for yourself is that it can process all the information it receives and in turn, you can return a response to only certain users or all of them with the same response. We are going to use the discord.py Python library, a free-to-use library designed for retrieving data from the popular text and voice chat service known as Discord. Without further ado, let’s get into building it: Steps to create Discord bot Python 1. Create Discord…

Automate Reddit Posts using Python

Reddit is a social news aggregation, web content rating, and discussion website. It is a popular target for bots because of its large user base and open nature. Bots are used for a variety of purposes, including automated answering of simple questions. In this tutorial, I will show you how to automate Reddit posts using Python. This Reddit bot will pull all the comments from a subreddit and reply to it with something that we will define. This is a very simple Reddit bot and is just to get you started on creating a Reddit bot using python. I will…

How to send multiple Twilio SMS?

When you create an application, as a security measure to verify the phone number you use SMS services, or sometimes you may want to promote a discount offer where you want to send multiple messages. In order to do that you have to create a service that’ll send messages to your customers. There are a lot of services available that you can use to send SMS like Zapier, Twilio, Vonage, etc. In this tutorial, we’ll see how to send multiple Twilio SMS. But before that let us understand what Twilio is? What is Twilio? Twilio is a cloud communication platform…

Create News Aggregator Site using Python

There is power in presenting related info together, especially when that information comes from sites you already know, trust and use… Don’t you think? Content aggregation is the process of gathering together different content into one place so the user can find everything they need without having to look around for it. It’s a better option than scrolling endlessly through many different websites and trying to weed out the relevant info. In this article, you are going to learn how to create a simple, customized news aggregator site using python from scratch. We will walk through a simple tutorial that…

Instagram bot – posting images, auto like, and bulk follow

Instagram has become a platform that people use to connect and share their pictures, videos, and stories. People use Instagram for gaining popularity and for promoting their businesses as well as for marketing purposes. In today’s article, we will learn about the Instagram bot. We will be doing some tasks like posting pictures, auto liking, and bulk following using an Instagram bot. You can build this as a small project so that it will help you build big projects in the future. What is an Instagram bot? The Instagram bot is essentially a computer program that allows you to automate…

First few steps to learn Machine Learning

Machine Learning is a branch of artificial intelligence (AI) that allows computers to learn automatically, from provided datasets, and improve over time without the need for comprehensive programming. Machine learning algorithms are able to detect patterns in data and learn from them, allowing them to make their own predictions based on what they’ve seen before. All this happens quite naturally through the computer processing huge amounts of information and observing how this influences future predictions. Computers have been using machine learning algorithms for many years now – probably even since you started using any kind of modern technology as your…

How to send emails Asynchronously using Python, Django, and Celery?

Celery is a distributed task queue that allows you to run tasks from your Python app or script. It allows you to run your tasks asynchronously.  It means you don’t have to wait for this function. In this tutorial, we’re going to learn about How to send emails Asynchronously? You can execute your script by simply sending it to Celery and it will run your script on demand. It usually needs a broker for transferring the tasks in this article we will use RabbitMQ. The process of celery goes like this: Client -> Django -> Rabbitmq -> Celery Django is…

How to Secure Files using Python?

In this article, we will learn how to encrypt and decrypt files using Python with the help of a cryptography library. In other words, you can say that in this tutorial you’ll learn how to secure files using Python? We are living in a modern world where data/information transfer is very easy and easy to access. But, secure data transfer is also important, that’s why security of the data stays one of the biggest concerns. Encrypt: encryption is a process of transforming plain text into something meaningless that will look random(ciphertext).Decrypt: decryption is a process of transforming encrypted files back…

How to use AWS Boto in Python (AWS S3 SDK)?

AWS S3 is one of the most popular services provided by AWS. The S3 stands for Simple Storage Service and lets you fetch or upload any amount of data from any place. It provides access to highly scalable, reliable, fast, and cost-efficient data storage. There are many applications of AWS S3 for example you would want to store CSVs, images, XML, or any other file on AWS S3 rather than any other web host because it’s a very cost-effective and reliable method. To upload any file on AWS S3, you can use AWS Boto in Python. Boto3 or Boto is…

Tweet Blog Posts Automatically on Twitter using Python

In this tutorial, I am gonna show you how you can create a script that will scrape the data from your blog’s sitemap and tweet blog posts on Twitter automatically. So there are a lot of paid services that offer this feature like HootSuite. What if you could do the same for free?  The web scraper will scrape data like the URL of the post, title of the article, and one-liner description of that blog post. Most of the data we can fetch from the sitemap of our website. What is Sitemap and How to find it? Let me explain…