python -m django --version

25 views
Skip to first unread message

Basavaraj Halgali

unread,
Aug 22, 2018, 7:32:57 AM8/22/18
to Django users
Hi 

What is usage of -m command in this command line "python -m django --version".

Regards,
Basav

Jason

unread,
Aug 22, 2018, 8:08:52 AM8/22/18
to Django users
basic python command line arg.  you can see it when executing `python --help` in the terminal.

-m mod : run library module as a script (terminates option list)

Franklin Sarmiento

unread,
Aug 22, 2018, 9:11:02 AM8/22/18
to django...@googlegroups.com
hi Basavaraj, you can use the command

$ python -V

for more commands you can use

$ python --help

I hope this helps you

____________________________________________________
Franklin Sarmiento
Full-stack developer
Twitter: @franklinitiel
linkedin: Franklin Sarmiento ( frankl...@gmail.com )
Teléfono(s): +57 320 490.79.64 / +58 426 273.8103 ( whatsapp )



El mié., 22 ago. 2018 a las 7:09, Jason (<jjohn...@gmail.com>) escribió:
basic python command line arg.  you can see it when executing `python --help` in the terminal.

-m mod : run library module as a script (terminates option list)

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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/dc9934d9-fe77-4b5d-bd25-03fd52e9c5f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages