This is my collection of Python Programs.
For python tutorials, visit my website:
http://www.omkarpathak.in
Omkar Pathak,
Pune, Maharashtra, India.
- Selection Sort
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Counting Sort
- Bucket Sort
- Shell Sort
- Heap Sort
- Class Definition
- Instance Methods
- Instance Attributes
- Constructor (init)
- Inheritance
- Multiple Inheritance
- Private Variables
- Magic Methods
- Simple Binary Tree
- Binary Search Tree
- Depth First Traversal
- Breadth First Traversal
- Count Leaf Nodes
- Building Tree from Preorder and Inorder
- Print all the paths to leaf nodes
- Create Multiple Folders
- Count files
- Get File sizes
- Find if a file exists
- Folder organization
- Get Dictionary Meaning
- Sending Mail
- Counting Number of Words
- Birthday Reminder
- Script to download tutorial from tutorials point
- Variable Scope
- List Methods
- Closures
- More on Closures
- Decorators
- More on Decorators
- List Comprehensions
- Address Book With Add, Modify, Search.
- OS Module
- Logging
- JSON Module
- Argument Parser
- CSV Module
- Pickle Module
- Hashing Finding a Hash of a file.
- Cipher Text Encrypting and decrypting a message based on some key specified by the user.
- Factorial Finding the factorial of a number using recursion.
- Fibonacci Finding the fibonaaci series upto a certain number using recursion.
- Count Characters Count the number(frequency) of Characters in a given sentence or string.
- Pattern Implementation of various Patterns using Python.
- LCM Finding the LCM using Python.
- Palindrome Check whether the given string is palindrome or not.
- Isogram Word or Phrase without a repeating letter
- Pangram A sentence containing every letter of the alphabet
- Anagram Rearranging of words or phrase to produce a new word or phrase, using all the original letters exactly once
- Perfect Number Check if the given number is a perfect number
- Pascal Triangle Implementation of Pascal Triangle