Hi Kennedy,
What is Mysite.py?
You should run
$ python manage.py runserver
You run this from the directory where manage.py is located.
On Tue 26. Nov 2019 at 20:47, kennedy musyoki <kennedymusyoki8@gmail.com> wrote:
--I am new in Django and programming as well, I am to run the following code in cd but getting the error below, please adviseC:\Users\Kennedy>py Mysite.py runserverC:\Users\Kennedy\AppData\Local\Programs\Python\Python38\python.exe: can't open file 'Mysite.py': [Errno 2] No such file or directory
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/540c87a7-3dca-48b8-86f1-bfaac650e3d2%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABQ7qCniOyjgZe_6%3DLoWg5F%3D_YvVVPZFNzbDm%3DRZZ9YHhO9kHA%40mail.gmail.com.
No comments:
Post a Comment