Python Programming#
This is Uthcode’s python programming section, which illustrates how to do various programing tasks using python.
Algorithm#
This is an implementation of a well known CS algorithm.
- Binary Representation
- Binary Search
- Cellular Automata
- Checking String Text Or Binary
- Eratosthenes method to find primes
- Fibonacci Series
- Factorial of a number - 2
- Representing a Graph
- Towers of Hanoi
- Insertion Sort
- Integer to Roman
- Locate
- Maxsort - Selection Sort in reverse
- Mergesort
- Npuzzle
- Pyex Multiprocessing
- Pyex2 Multiprocessing
- Scrmable
- Spell Corrector
- File Splitter
- Syllablecount
- Toss Coins
- Traversal
- Tree Traversal
- Trie
Design#
These programs demonstrate software design ascepts. These can be pretty deep as, “why” it is done so is not obvious, but the program usually demonstrates how it is done.
- Args Kwargs
- Ast Example1
- Atexit
- caseinsensitivedict
- Closure Example 1
- Closure1
- Context Manager
- contextmanager
- Contextmanager ex
- Decorator
- Example Iterable
- Func Args
- Sending value to a Generator
- Getattribute Example
- Getattribute Example - Override access one attribute
- Partial function - Hextobin
- Inheritance
- Iterator - Dictionary
- Object Size
- Difference between type and object
- Python3 metaclass
- Restrict an attribute access
- Simple Closure
- Ellipses in Python
- Sorted Loop
- Stack Inspection
- Struct Example
- Total Ordering
- Traceit
Networking#
This program demonstrates networking and socket calls. Anything to do with servers and clients.
- All Networking Interfaces
- All Ipaddress of your system
- Gethostbyname
- Email 1
- Email 2
- Email - Multipart Mime
- Fetch RFC
- Socket Client
- Socket Example1
- Socket Example2
- Socket Example3
- Socket Example4
- Twisted Parallel1
- Twisted Parallel2
- Twisted1
- Twisted2
- Twisted3
- Twisted4
- Twisted5
- Udp Time
- Udp Connection -1
- Udp Example - 2
Software_engineering#
This is how software is built in real world. If your software needs to make money, you will need to take care of these aspects.
- Copy Files Unicode
- Createtempfiles
- Doctest Example
- Encoding Unicode XML HTML
- Exceptions Testing
- Fcntl 1
- Fctrl2
- Fortune Card
- Html Formatter
- Html Writer
- Ideone Post
- Logging1
- Logging2
- Logging3
- Logging4
- Logging5
- Multiprocessing
- OS Exercise 1
- Provide Warnings
- Ptags
- Run Under Strace
- Runningtime
- Runningtime Intaddition
- Runningtime Intvsfloat
- Simple Subprocess
- Simple Threading1
- Sqlite3
- Stringio
- Subprocess1
- Subprocess2
- Subprocess3
- Subprocess4
- Subprocess5
- Test Codec01
- Test Codec02
- Test Codec03
- Test Dedent
- Threading2
- Time Converter
- Tkintertimer
- Twitter Phidget
- Xmlr Pc Client
- Xmlr Pc Server
- Reading a Specific Line From a File
- Count Lines in a Large File
- Process each word in a sentence
- Using Random Access Input Output
- Reading Data from Zip File
- Min Cost Path
Text Manipulation#
This category demonstrates text manipulation. It reads input and applies simple text manipulation and provides the output. Many programs fall into this category.