Alex Fernandez <[email protected]> writes: >> Why not: >> >> python -m module-name >> Searches sys.path for the named module and runs the correspond‐ >> ing .py file as a script. >> >> ? >> >> and in the elyxer.py module: >> >> # Run main, if called from the command line:: >> >> if __name__ == '__main__': >> main() > > Looks excellent! I will give it a try, probably this weekend.
It looks like a very good idea indeed. JMarc
