ifnamemain.com was born out of years of discovery, learning - and importantly tinkering - with all things programming, science and software. It provides a place for me to brain-dump code-snippets, note down tutorials and direct people to other great projects. In part, it allows me to create a record of my programming ventures but hopefully it will also provide a useful resource to others.

So, the name. ifnamemain is a reflection of my passion for all things Python. For those who are not familiar with the language, the statement:

if __name__ == "__main__":

provides the entry point to a Python script when executed, analogous to int main(void) in C.


I'm Marc Robinson, a computational physicist and software developer from the UK. I have an interest in all things science and software - and in particular where the two meet.


Projects & Apps:

Contributed Projects:


For any questions, comments or feedback please feel free to contact me at: