I am working on my python code in which I cannot figure out how to use a variable named 'x1' in the following line -
'''
import sys
x_1 = 'file_name'
sys.path.insert(0, r'C:\Users\user\Desktop\file2')
from x_1 import main
main()
'''
The place where I want to use the variable is in the place -> from x1 import main
It is giving an error that the module is not found. Please help me insert a variable in the place.