Blog Archives

A Simple Guide for Python Packaging – Small Things about Python

Posted on March 2, 2017. Filed under: Uncategorized | Tags: , , , |

A Simple Guide for Python Packaging – Small Things about Python Code reuse is a very common need. It saves you time for writing the same code multiple times, enables leveraging other smart people’s work to make new things happen. Even just for one project, it helps organize code in a modular way so you […]

Read Full Post | Make a Comment ( Comments Off on A Simple Guide for Python Packaging – Small Things about Python )

Write Emacs Commands Using Perl, Python, Ruby, …

Posted on September 5, 2016. Filed under: Uncategorized | Tags: , , , , , |

Write Emacs Commands Using Perl, Python, Ruby, … Write a script in your favorite language and make it into a emacs command!

Read Full Post | Make a Comment ( Comments Off on Write Emacs Commands Using Perl, Python, Ruby, … )

The best ever explanation of Decorators in Python

Posted on August 12, 2016. Filed under: Uncategorized | Tags: , , , , |

The best ever explanation of Decorators in Python I have checked like a dozen explanations for Python Decorators. Some of them are good. But this Stack Overflow answer just beats them all. Such an awesome answer. It is a bit long as it has built the theory step by step.

Read Full Post | Make a Comment ( Comments Off on The best ever explanation of Decorators in Python )

Python 101: An Intro to Benchmarking your code

Posted on May 30, 2016. Filed under: Uncategorized | Tags: , , , , , |

Python 101: An Intro to Benchmarking your code What does it mean to benchmark ones code? The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of thing is for optimization. You will run into situations where […]

Read Full Post | Make a Comment ( Comments Off on Python 101: An Intro to Benchmarking your code )

The Travelling Salesperson Problem

Posted on April 16, 2016. Filed under: Uncategorized | Tags: , , , , |

The Travelling Salesperson Problem

Read Full Post | Make a Comment ( Comments Off on The Travelling Salesperson Problem )

When is Cheryl’s Birthday?

Posted on April 16, 2016. Filed under: Uncategorized | Tags: , , , |

When is Cheryl’s Birthday?

Read Full Post | Make a Comment ( Comments Off on When is Cheryl’s Birthday? )

(How to Write a (Lisp) Interpreter (in Python))

Posted on April 16, 2016. Filed under: Uncategorized | Tags: , , |

(How to Write a (Lisp) Interpreter (in Python))

Read Full Post | Make a Comment ( Comments Off on (How to Write a (Lisp) Interpreter (in Python)) )

A Concrete Introduction to Probability (using Python)

Posted on March 21, 2016. Filed under: Uncategorized | Tags: , , , |

A Concrete Introduction to Probability In this notebook, we cover the basics of probability theory, and show how to implement the theory in Python 3.

Read Full Post | Make a Comment ( Comments Off on A Concrete Introduction to Probability (using Python) )

Starting the Learn Python Tutorial Project : Django Tutorial

Posted on February 1, 2016. Filed under: Uncategorized | Tags: , , , , , |

Starting the Learn Python Tutorial Project : Django Tutorial

Read Full Post | Make a Comment ( Comments Off on Starting the Learn Python Tutorial Project : Django Tutorial )

Understanding Python Decorators in 12 Easy Steps!

Posted on September 14, 2015. Filed under: Uncategorized | Tags: , |

Understanding Python Decorators in 12 Easy Steps! As a Python instructor, understanding decorators is a topic I find students consistently struggle with upon first exposure. That’s because decorators are hard to understand! Getting decorators requires understanding several functional programming concepts as well as feeling comfortable with some unique features of Python’s function definition and function […]

Read Full Post | Make a Comment ( Comments Off on Understanding Python Decorators in 12 Easy Steps! )

« Previous Entries Next Entries »

Liked it here?
Why not try sites on the blogroll...