6.11.2015 15:22:08 What’s changed in Office for Python?
The following article highlights the changes you’ll need to take into account to install the latest version of Office for python.
There are no guarantees that the software will be up-to-date with the latest Python 3 release.
If it’s not available on the platform, the most up-time will be a couple of days.
Here are the important details.
Office 2016 automators are now a requirement of Office 365.
This is a major change in the software’s lifecycle and can be a real pain if you’ve been working on Office 365 for years.
If you’re not comfortable with the transition, don’t worry – we’ve created a quick guide for you.
Download our Office automation tools guide to learn more.
If your Office 365 subscription comes with Office 365, you can start the process of upgrading now.
If not, Office 365 can be installed as an optional part of your subscription.
InstallOffice 2016Automator on the new Office 365 install.
Download and install Office 2016Automators.py (see step 4 in this guide) from the download page.
Run the command: pip install office automator You’ll need a working Python 3 installation to install Office Automator.
If there’s not a Python 3 install, install it as a library.
Install the Python 3 library (for Python 3, see this article).
If you don’t have Python 3 installed, download the latest release and install it from the release page.
Note: If you’ve already installed Office Automators as part of a subscription, you won’t need to do this.
You can still upgrade to the new version of the software from the Office 365 installation.
Once you’ve installed Office 2016 automation on your computer, you’ll want to update your Office productivity apps to the latest.
Open the Office apps for Python menu.
Select the Office 2016 menu item and click the Tools menu item to open the Office Automation menu.
You should see a list of the latest automation software.
Click the Automation button to switch to the Automator menu.
When you’re ready to begin installing Office 2016 for Python, open the Python installation file for Python.
Open your Python file for the automation automation automation plugin you downloaded from the office automation download page (this is the latest Office automation plugin).
The automation automation is already installed on your Python installation, so the next step is to install it on your workstation.
Open a new Python shell (on the command line, not as a shell extension).
Type the following: pip uninstall office automators You’ll see a warning about the Python uninstallation.
Run it to get a warning.
The Python uninstall is still in progress, but it’s finished.
If this is a success, you should see the Python installer window open.
Type the command python install office automation and hit enter to get the Python install file to download and install the automation plugin.
You’ll have to restart the Python interpreter in order for the installation to finish.
If the Python Installer window opens and you see the Automators menu, you’ve successfully installed the automation plugins.
If that’s the case, you don,t have to reinstall Python, but you can restart the python interpreter to complete the install.
Once the automation is installed, you’re all set!
You can now run the Python version of your Office apps as a regular Python script.
If a Python install is required, you need to update the Python plugin.
On the Python menu, click the Python option and then click the Add button.
Add the Python script you downloaded for Python 2.7.
You need to be careful with this option, because Python 3 is still a very new release.
It is possible that the Python 2 version of Python 3 may have been modified to break the Python automation installation.
The new version will have to be installed.
If all goes well, the Python runtime will prompt you to upgrade to Python 3 or Python 3 Lite.
If Python 2 is installed but the Python3 version isn’t, you may be prompted to upgrade with the command pip upgrade to 3.
Note that Python 3 and Python 3 will not be installed on the Python prompt.
The installer is now complete and you can run your Python apps as regular Python scripts.
If necessary, you must restart Python.
If nothing happens, your Python installs are now up- to-date.