I want to have a file which contains the path variable (my system's python path here will be F:/Python/python.exe) which is mentioned on the top of every python file stored in the www folder of wamp in Windows. Then I want to import that file to all the other files so that I don't need to mention the path on top of the file every time. Is this possible?
I have tried creating a function and creating a variable that stored the variable but obviously that can't be done. So how to create such a file which can be imported in other files. Or is there any other solution for what I want to achieve?
You can try this way 
Maybe this can help you to solve the problem

Create a file main.py
In that particular file do all the import statements

This will reduce the repentance of the import statements 
From your file:
from main import *
How to create a file containing path and import that file into another python file in the so that the path does not need to be explicitly mentioed?