Python Memory Management: Understanding Names vs Objects

In Python, names and objects are distinct; unlike in C/C++, where a variable directly links to memory, Python's variable names function as bindings to objects. Reassigning a name creates a new binding without overwriting the old object. This separation clarifies Python's behavior, such as in parameter passing and variable assignments.

How to run an external program from a python script

This is a demonstration how a python script can be used to automate the running of an external program which takes data file as input. The data file can be spread over differnet folders in the machine. The script goes to the data file location, extracts the name of each file in the folder and then passes the data file to the external binary.