Back
Let's say I want to create a file exam.py, I tried the following code:
edit exam.py
But it's not working. Can anyone suggest to me an alternative code that will help me to create a new python file, using the cmd line in Windows?
Try following code:
TYPE CON>exam.py
If you want to terminate, click Ctrl+C or Ctrl+Z, Enter (Ctrl+z=EOF)
Want to learn more about Python? Come and Join:- python certification course
For more details, do check out..
31k questions
32.8k answers
501 comments
693 users