How to setup Python on the Server

How to setup Python on the Server

This article explains how to set up the ServiceDesk plus server to run python scripts.

1. The first step is to install python on the application server and you can download it from here. Any version above 3.4.1 should work fine. Start the setup and follow the onscreen instructions to complete the installation.

A quick suggestion here would be to choose an easily accessible installation path when the option is presented during the setup process.

2. The next step is to make sure that the python installation location is added to the Environmental variable called 'Path' on the server.

Let us say, Python is installed in C:\Python34 on the server. Then make sure the following locations are added to the Path variable.

C:\Python34 and C:\Python34\Scripts

Once this is done, you should be able to access the Python Interpreter by typing 'Python' or 'Py' from Run or from a Command prompt.

3. Many of the scripts make API calls to perform various actions and a python library called 'requests' is used to handle this. This is not bundled with the default python package and has to installed separately. More information about this library and the installation instructions can be found here.

Refer to the below video for a short guide to install and set up a python on a windows server.

          • Related Articles

          • Script to add worklog using custom schedule

            What is a Custom Schedule? Custom Schedules are actions scheduled on a specific date and time with or without repeat frequency. The actions are specified in a customized script file. Any data from ServiceDesk Plus can be sent to the script through ...
          • Python script to update request status

            This article consists of a python script to update the request status based on a criteria set in Custom trigger. For installation and setup of PYTHON, please refer the below link, ...
          • Python script to automate FCR

            Please find the attached Python script on this link  to automate FCR via custom trigger when the request is created and resolved by the same technician. The link contains two Python scripts with the name (this script can be used when MSP is ...
          • Script: Send reminders to technicians when there is no update for 2 hours

            Prerequisites: 1. Python Installation Steps : 2. :  This package consists of all the functions that are used to handle the standard requirements of ...
          • SDP - SDP MSP Integration using Custom Triggers

            This article helps users to integrate ManageEngine ServiceDesk Plus (SDP) - ServiceDesk Plus MSP (SDP MSP) using Custom triggers and Custom Schedules feature.  This is compatible with SDP Build - 11113 and SDP MSP Build - 10507 This will help the MSP ...