Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dictionary
#3
Hi
thank you for your help
if it is possible run code
because I faced with error
PS C:\Users\2016\Desktop\amoozesh python> & C:/Users/2016/AppData/Local/Programs/Python/Python37/python.exe "c:/Users/2016/Desktop/amoozesh python/.vscode/n.py
Traceback (most recent call last):
File "c:/Users/2016/Desktop/amoozesh python/.vscode/n.py", line 14, in <module>
result = [dict(zip(keys, values)) for values in zip(*file_lines)]
File "c:/Users/2016/Desktop/amoozesh python/.vscode/n.py", line 14, in <listcomp>
result = [dict(zip(keys, values)) for values in zip(*file_lines)]
File "c:/Users/2016/Desktop/amoozesh python/.vscode/n.py", line 2, in yield_file
with open(file_path, 'r') as reader:
FileNotFoundError: [Errno 2] No such file or directory: 'n.text'
PS C:\Users\2016\Desktop\amoozesh python>
Reply


Messages In This Thread
dictionary - by coral_raha - May-21-2021, 08:39 AM
RE: dictionary - by Yoriz - May-21-2021, 10:30 AM
RE: dictionary - by coral_raha - May-22-2021, 07:39 AM
RE: dictionary - by ibreeden - May-22-2021, 08:23 AM
RE: dictionary - by coral_raha - May-22-2021, 12:21 PM
RE: dictionary - by Yoriz - May-22-2021, 12:59 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020