Hi, First make sure that you have a valid virtual environment - it's the easiest way to run python code. When that is working, you can just write : "python django-admin.py startproject mySite" - your problem is that .py files have been associated with notepad ++, and therefore it opens the file to edit. But by adding python before, you will run the code instead.
Regards, Andréas 2016-10-05 10:42 GMT+02:00 Garin morel <[email protected]>: > I would like to start web designing using django! but Whenever i type " > django-admin.py startproject mySite" in cmd this code popup through > notepad, Then what should I do? > > #!c:\users\crepin\envs\myproject\scripts\python.exe > from django.core import management > > if __name__ == "__main__": > management.execute_from_command_line() > > > <https://lh3.googleusercontent.com/-yTCW9LSw8kw/V_S8TDBuqGI/AAAAAAAAAKU/lKI3ytvkpHkECD8hTBV9h-4Uh0ljP3CDACLcB/s1600/cool.png> > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/cbd1eff0-1332-42cb-ad1e-3d86f18610cf%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/cbd1eff0-1332-42cb-ad1e-3d86f18610cf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALXYUb%3D5sf9rPxPMYBnvDWAhoAyUd3c0F2Tzq%2BjkfzzGsDmRJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

