1). Refer to TIBCO Enterprise Administrator User's Guide -->Python Scripting -->Setting up Python Scripting.
2). For BW 6 operations, refer to the sample Python script (Filename: BW.py) attached to this KB.
NOTE: Test the script first on a test environment before running on a production environment.