How to Extract Text From Videos using Python
Speech recognition is an interesting task that allows you to recognize the text behind the audio. With the use of voice recognition, we can...
Python Property
Python has a great concept called property, which makes the life of an object oriented programmer much simpler. Before defining and going into details...
Python Objects and Class
Python is an object oriented programming language. Unlike procedure oriented programming, in which the main emphasis is on functions, object oriented programming stress on...
Python Operator Overloading
Python operators work for built-in classes. But same operator behaves differently with different types. For example, the + operator will, perform arithmetic addition on...
Python Generators
There was a lot of overhead in building an iterator in Python; we had to implement a class with__iter__() and __next__() method, keep track...
Python Condition
Python if...elif...else and Nested if
 Decision making is required when we want to execute a code only if a certain condition is satisfied. The if…elif…else statement...
Python while Loop
The while loop in Python is used to iterate over a block of code as long as the test expression (condition) is true. We...
Python Loop
The for loop in Python is used to iterate over a sequence (list, tuple, string) or other iterable objects. Iterating over a sequence is...
Python Identifier and Keywords
Keywords
Keywords are the reserved words in Python. We cannot use a keyword as variable name, function name or any other identifier. They are used...
List of Keywords in Python
List of Keywords in Python
Keywords in Python programming language
False
class
finally
is
return
None
continue
for
lambda
try
True
def
from
nonlocal
while
and
del
global
not
with
as
elif
if
or
yield
assert
else
import
pass
break
except
in
raise
The above keywords may get altered in different versions of Python. Some extra might get added...
Building an FTP Password Cracker In Python
Python is probably the most widely used scripting language for hackers. This is primarily because it has some built-in modules and libraries that make...
Simple Encryption and Decryption Python
Simple example of encryption text
simple encryption.py
# Sample Python/Pygame Programs
# http://simpson.edu/computer-science/
plain_text = "This is a test. ABC abc"
encrypted_text = ""
for c in plain_text:
...
Search Twitter’s Tweeted Tweet By Python
Overview
Twitter's API is REST-based and will return results as either XML or JSON, as well as both RSS and ATOM feed formats. Public timelines...
Replace String in Python
Often you'll have a string (str object), where you will want to modify the contents by replacing one piece of text with another. In...