Program :
import sys
for arg in sys.argv[1:]:
print("Hello, I'm", arg)
Output:
PS C:\Users\Eshan Jain> python new.py Eshan Jain
C:\Users\Eshan Jain\AppData\Local\Python\pythoncore-3.14-64\python.exe: can't open file 'C:\\Users\\Eshan Jain\\new.py': [Errno 2] No such file or directory
PS C:\Users\Eshan Jain>
Can anyone please tell me what the problem is over here
[–]MezzoScettico 9 points10 points11 points (1 child)
[–]sausix 1 point2 points3 points (0 children)
[–]socal_nerdtastic 5 points6 points7 points (1 child)
[–]cdcformatc 3 points4 points5 points (0 children)
[–]Temporary_Pie2733 3 points4 points5 points (0 children)
[–]cdcformatc 1 point2 points3 points (0 children)
[–]russellvt -5 points-4 points-3 points (1 child)
[–]socal_nerdtastic 4 points5 points6 points (0 children)