Tag: python

Compile python file to bytecode

A simple way to compile a python script into its bytecode version for increased speed of execution


Python packages location

A quick way to find out where the python interpreter looks for its packages


Python execfile

Python3 has removed the execfile() function, so here's a simple definition to use as a replacement


Python Iterables

Sample code for making a python object iterable


Page 1