Translations:Manual:Pywikibot/Cookbook/Introduction/45/en

When you run the script directly from command line (that's what we call directory mode), the condition will be true, and the $1 function will be called.