File: pymailgui-products/unzipped/docetc/obsolete/obsolete--go-one.py

# file go-one.py: run by click, shortcut, command-line
"""
=====================================================================
Example of starting PyMailGUI for a specific account without 
typing an account name manually in the console.  Change 'train'
in the following to match the 'XXX' in your account's MailConfigs
file 'mailconfig_XXX.py'.  Combine this scheme with password-file
paths in your mailconfig file to eliminate typed inputs altogether.
You can also use the base config file for a single or main account
selected on Enter press (see UserGuide.html for details).
=====================================================================
"""
import os
os.popen('Launch_PyMailGUI.py', mode='w').write('train')    # train -> your acct



[Home page] Books Code Blog Python Author Train Find ©M.Lutz