thanks, now I am facing new error now.
Error:Traceback (most recent call last):
File "eposDatadownload.py", line 28, in <module>
if not os.path_exist(save_path):
AttributeError: module 'os' has no attribute 'path_exist'
tried with os.path_exists also.this path is already exits, if I am commenting that,getting below error Error:Traceback (most recent call last):
File "eposDatadownload.py", line 30, in <module>
with open(os.path.join_path(save_path,filename), 'wb') as fp:
AttributeError: module 'posixpath' has no attribute 'join_path'
whereas I am not getting error while checking indivisuallyPython 3.6.0 (default, Jan 22 2018, 15:43:08) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> save_path = '/home/anna/scripts/ohfdata/downloads' >>> print(os.path.exists(save_path)) True