What do you mean with “integrate Python with Galileo”? Python is already in Galileo, you can write scripts and run them in Galileo.
Once you already have the Python script you can run it using the following command:
Please let me know if this information has answered your question.
But I don`t know how to run commands as I am using Arduino-1.5.3 software in Windows not in Linux. Can you please tell me how to do it in Windows.
Also if possible please provide some links that might be helpful to me. Thank You.
To use Python with Galileo you have to access the internal Linux terminal in Galileo. The terminal can be accessible through the serial port. Please check this document where you will find more details about the serial port and the cable you need: Intel® Galileo Boards and Kits — Console Serial Cables
This other document will help you to know how to access the Linux terminal: Intel® Galileo Boards and Kits — How to Connect the Intel® Galileo Board to Linux*. That guide is for Galileo Gen1 but the process is the same. The only difference is the cable you use.
The Python scripts should be written using the Linux terminal so you don't need the Arduino IDE for that. To write a file in the terminal you can use Vi. Vi is a text editor. If you are not familiar with it, here is a guide that you might find helpful: A Beginner’s Guide to Editing Text Files With Vi
Once you have your script you can run it using the following command:
Go ahead and check the links I mentioned above. If you have further questions don't hesitate to post them here.