I present to you the playlist of OOP videos with everything you need to learn about Object Oriented Python programming. Let me know your feedback about this playlist. Contents: Class variable, methods & data member Abstraction Encapsulation/Interface Composition Inheritance/Derivation/Hierarchy MRO Generalization/Specialization Polymorphism Introspection/Reflection Magic Functions Built-in Functions Private/protected attributes. Delegation Metaclasses https://www.youtube.com/playlist?list=PLmIOJy35OTG9Ar0_o1FlVv5OWxc48UTHq
Category: Web developement
Everything i know about Threads
I am going to cover a huge concept here. How python code executes Multitasking Process based multitask (Multiprocessing) Thread based multitask (Multi-threading) GIL (Global Interpreter Lock) Green Thread Thread based programming is hard. There are no two ways about it. Every time one thinks he or she understands everything there is to know about how … Continue reading Everything i know about Threads
Access Specifiers/ Private-Protected in Python OOP
By default all methods and attributes in a python class are public. That means They can be accessed by the class members and by the module which contains it's import. There is no inbuilt syntax available for private, protected, friend, protected friend attribute in python, but you can do necessary changes to your variables to … Continue reading Access Specifiers/ Private-Protected in Python OOP
Lambda Expressions and Comprehensions
LAMBDA Lambda is an anonymous functions which will mainly help you in writing other single line functions. It's very powerful tool, and if you are able to harness it's power you can do things that other can't. Let me give you a brief idea about it. >>> a = lambda x, y: (x+y)*y -(x+y) >>> … Continue reading Lambda Expressions and Comprehensions
Map Reduce Filter Python
There are 3 unique functions defined in python to help the dev write some really good code. Mainly Map, Reduce & Filter. I will also discuss about Lambda and some other techniques in the next blogs. MAP It's a very special functions that maps a sequence to a method and create a new sequence. To be specific it takes … Continue reading Map Reduce Filter Python
Multiple Inheritance.. Beauty of Python
The beauty of python is unlike java it supports multiple inheritance. In python version 2.2 the algorithm was simple enough: a depth-first left-to-right search to obtain the attributes to use with derived class. Unlike other python algorithm that overrides names as they are found, multiple inheritance takes first name that is found. Because of this … Continue reading Multiple Inheritance.. Beauty of Python
Customized email with django
I struggled a lot for sending a good customized template in an email from my code. I used many email sending utility and i was able to send emails successfully from my code. But they didn't really look very good. It was just some email with some text in it. So Used one of the … Continue reading Customized email with django
Harness the Power of Python
Hi Everyone. I would like to introduce my Youtube channel named Code Box for better and good coding practice and learning. I have started uploading Videos to my channel. First Playlist is for getting started with python learning. I will me uploading 5 videos to the playlist and i am aiming to cover the following … Continue reading Harness the Power of Python
Python 2, Python 3 or both ?
Python programs are generally expected to run slower than Java programs, but they also take much less time to develop. Python programs are typically 3-5 times shorter than equivalent Java programs. It is often 5-10 times shorter than equivalent C++ code! Anecdotal evidence suggests that one Python programmer can finish in two months what two … Continue reading Python 2, Python 3 or both ?
Host Multiple projects on same server and same port with different domain name with apache.
This Particular blog is about hosting multiple application with different domains on the same server machine with apache. And guess what both are running on same port 😀 I came across many ways of hosting multiple applications on a server. I tried running them on different In every way i got what i needed but … Continue reading Host Multiple projects on same server and same port with different domain name with apache.