How to remove spaces while writing in INI file- Python
问题 I am using a file and i have one section named DIR in which it contain the paths. EX: [DIR] DirTo=D:\Ashish\Jab Tak hai Jaan DirBackup = D:\Parser\ERICSSON_CSCORE_STANDARD_VMS\Backup ErrorDir = D:\Parser\ERICSSON_CSCORE_STANDARD_VMS\Error CombinerDir = D:\Parser\ERICSSON_CSCORE_STANDARD_VMS\Combiner DirFrom=D:\Parser\ERICSSON_CSCORE_STANDARD_VMS\In PidFileDIR = D:\Parser\ERICSSON_CSCORE_STANDARD_VMS\Pid LogDir = D:\Parser\ERICSSON_CSCORE_STANDARD_VMS\Log TempDir = D:\Parser\ERICSSON_CSCORE