A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Oct 10 10:33:04 2016 | |
@author: abhik | |
Stack Implementation | |
""" | |
class Stack(object): | |
def __init__(self,limit=10): | |
self.stk=[] | |
self.limit=limit |
#include<stdio.h> | |
#include<stdlib.h> | |
struct tree{ | |
int data; | |
struct tree *left; | |
struct tree *right; | |
}; | |
struct tree *head = NULL; | |
struct tree *newTree(int input){ | |
struct tree *temp = (struct tree *)malloc(sizeof(struct tree)); |
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Feb 20 14:02:08 2017 | |
@author: Abhik | |
""" | |
import os | |
import cv2 | |
import numpy as np | |
from PIL import Image |