Create a DeviceConfig.py class under configurationfiles package. In this class we need to create variables and assign the data which we can use in other classes this makes it more reusable.
DeviceConfig.py
platformVersion = "10.0" pName = "Android"
In the similar way we will define all the variables and assign the values in the device config file.