This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients docs@python, ncoghlan, xtreak
Date 2018-06-17.05:44:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529214286.39.0.56676864532.issue33095@psf.upfronthosting.co.za>
In-reply-to
Content
There are four parts where I could see sys.path manipulation being mentioned while running scripts : 

-c option (https://docs.python.org/3/using/cmdline.html#cmdoption-c)
-m option (https://docs.python.org/3/using/cmdline.html#cmdoption-m)
-  (input option) 
<script> (running as script)

For some reason I am not able to hyperlink to - and <script> parts since they are not a command line option but a method to execute code. I could sys.path references in windows (https://docs.python.org/3/using/windows.html#finding-modules) where `._pth` file is mentioned to completely override sys.path. 

I am new to adding documentation so add in if it needs a simple reference or explain the option which I feel redundant and useful at the same time kind of missing the point of cross-referencing. I am attaching a patch for `-m` and <script> option. Feel free to add comments and if I am missing something.

Thanks
History
Date User Action Args
2018-06-17 05:44:46xtreaksetrecipients: + xtreak, ncoghlan, docs@python
2018-06-17 05:44:46xtreaksetmessageid: <1529214286.39.0.56676864532.issue33095@psf.upfronthosting.co.za>
2018-06-17 05:44:46xtreaklinkissue33095 messages
2018-06-17 05:44:46xtreakcreate