Publications by PyShark
Generate QR Code using Python
This article will explore how to generate QR code in Python and some useful creation features from pyqrcode library.Table of ContentsIntroductionCreate a simple QR code imageQR code parametersMore QR code examplesConclusionIntroductionQR codes recently became more popular than ever before, yet few people know that the first iterations of QR codes...
5965 sym Python (528 sym/9 pcs) 8 img
Check if a String is a Palindrome in Python
One of the most popular simple coding questions to solve is to check whether a string is a palindrome or not.Table of contentsIntroductionMethod 1: SlicingMethod 2: Iterative approachConclusionIntroductionWhat is a palindrome? A palindrome is a word (or a sequence of characters) which reads the same backward and forward.Here are a few examples: r...
2592 sym Python (363 sym/6 pcs)
Test Internet Speed using Python
In this article we will discuss how to test internet speed using Python using the speedtest-cli library.Table of ContentsIntroductionInstalling the required libraryDescription of methodsTesting internet speedConclusionIntroductionThe internet connections in our homes and offices differ by internet service providers (ISPs), allowable traffic limit...
5092 sym Python (1468 sym/15 pcs)
Google Sheets API using Python
In this article we will discuss how to access and edit Google Sheets using Python.Table of ContentsIntroductionCreating a sample Google Sheets documentCreating Google API credentialsOpening a Google sheet using PythonSelecting/creating/deleting a worksheet using PythonEditing data in a Google sheet using PythonConclusionIntroductionAccessing data...
12162 sym Python (1727 sym/27 pcs) 20 img
Encrypt and Decrypt Files using Python
In this article we will discuss how to encrypt and decrypt files using Python.Table of ContentsIntroductionCreating a keyLoading a keyEncrypting a fileDecrypting a fileComplete Object-Oriented Programming ExampleConclusionIntroductionIn the evolving world of data and information transfer, security of the file contents remain to be one of the grea...
4635 sym Python (1970 sym/9 pcs)
Extract Links from a Web Page using Python
In this article we will discuss how to extract links from a URL using Python.Table of ContentsIntroductionGet HTML content from URLFinding and extracting links from HTMLComplete Object-Oriented Programming ExampleConclusionIntroductionURL extractors are a very popular tool for everyone involved in the digital space, from marketers to SEO professi...
3341 sym
Get Domain Name Information using Python
In this article we will discuss how to get domain name information using Python.Table of ContentsIntroductionChecking the domain name registrationGetting domain name informationConclusionIntroductionA domain name is a representation of an IP address of a resource. When you decide to visit https://pyshark.com/ you are going to an IP address of the...
3791 sym Python (1239 sym/11 pcs)
Translate Text using Python
In this article we will discuss how to translate text with Google Translate API using Python.Table of contentsIntroductionBasic usageSpecifying source and destination languagesConclusionIntroductionWe all used an online translator or looked up a word in a dictionary. There are multiple online translators available and they are very well maintaine...
3891 sym Python (1948 sym/12 pcs)
Convert Text to Speech using Python
In this article we will discuss how to convert text to speech using Python.Table of contentsIntroductionBasic text to speech conversionChanging voiceChanging speech rateChanging volumeSaving speech as mp3 fileConclusionIntroductionThe text-to-speech (TTS) conversion along with speech synthesis became increasingly popular with the growth of progra...
5165 sym Python (690 sym/10 pcs)
Cosine Similarity Explained using Python
In this article we will discuss cosine similarity with examples of its application to product matching in Python.Table of Contents:IntroductionCosine Similarity (Overview)Product Similarity using Python (Example)ConclusionIntroductionA lot of interesting cases and projects in the recommendation engines field heavily relies on correctly identifyin...
7023 sym Python (478 sym/5 pcs) 2 img