An article in The Sun last week outlined how you can get up and running with a complete office automation system in Python using a few different software packages.
It also explained how to use the Python toolset to automate the process.
But the article didn’t include a lot of information about how to get the job done, so we’re going to dive into that now.
The Sun article covers the basics of what you’ll need to get started, but if you want more detail on how to automate a single part of an office system, read this article.
A simple checklist to get you started: Start a job with a simple Python script and set the right parameters (if you’re not already familiar with Python) Follow these simple steps to get your system up and working (assuming you’ve installed a couple of Python packages, like numpy, pandas, and scikit-learn) Get your script working on your local machine with a couple simple commands (using a Python shell) Add your office and remote machine to a local repository using a command like git clone [email protected]:peterbarnett/office-automation.git (where the “github” is a short domain name) Start the office automation process by typing python setup.py and running the script in a terminal window: office automation.py Now you can access your new automated office with Python.
And that’s it!
Now you’re ready to get to work.
This process should be pretty straightforward if you follow the instructions here, but in some cases you might want to make some changes to the script so that it works in a different environment.
In that case, you can run it from the command line using a shortcut, or by using the -s flag, as follows: office-autosplit.py -s [email protected]_repository.git