When I tried to run the code on VisualCode this error message appered how can it be fix. Traceback (most recent call last): File "c:\Users\Student\Downloads\Python\Final Project.py", line 116, in main() ^^^^^^ File "c:\Users\Student\Downloads\Python\Final Project.py", line 75, in main usernames, passwords, balances = read_user_information() ^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\Student\Downloads\Python\Final Project.py", line 6, in read_user_information with open("UserInformation.txt", "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'UserInformation.txt' PS C:\Users\Francisco>
When I tried to run the code on VisualCode this error message appered how can it be fix. Traceback (most recent call last): File "c:\Users\Student\Downloads\Python\Final Project.py", line 116, in main() ^^^^^^ File "c:\Users\Student\Downloads\Python\Final Project.py", line 75, in main usernames, passwords, balances = read_user_information() ^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\Student\Downloads\Python\Final Project.py", line 6, in read_user_information with open("UserInformation.txt", "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'UserInformation.txt' PS C:\Users\Francisco>
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 1MQ3
Related questions
Question
When I tried to run the code on VisualCode this error message appered how can it be fix.
Traceback (most recent call last):
File "c:\Users\Student\Downloads\Python\Final Project.py", line 116, in <module>
main()
^^^^^^
File "c:\Users\Student\Downloads\Python\Final Project.py", line 75, in main
usernames, passwords, balances = read_user_information()
^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Student\Downloads\Python\Final Project.py", line 6, in read_user_information
with open("UserInformation.txt", "r") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'UserInformation.txt'
PS C:\Users\Francisco>
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning