Hi. Thanks for asking. In .BAT files we could write some Windows Shell commands before python code and python interpreter would ignore them.
Em dom, 15 de mai de 2022 19:14, Eric V. Smith <e...@trueblade.com> escreveu: > Hi, Rafael. > > Can you give a use case where you’d find this helpful? > > Thanks. > > -- > Eric > > On May 14, 2022, at 1:15 PM, Rafael Nunes <nunes.raf...@gmail.com> wrote: > > > Hi. > What about improving the -x switch by passing the number of lines to > ignore? > Ex: -x (default=1 line) > -x n (Python will ignore first n lines of file). > > I think it will allow us to execute some Windows commands before running > python. Install modules, etc... > > Thanks in advance. > > -- > > > Rafael Nunes > nunes.raf...@gmail.com > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/QCFJ6D2264KQHQ2NV2DCIHEXYE4EES5N/ > Code of Conduct: http://python.org/psf/codeofconduct/ > >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/AGI3MOY4XVNJGT36TIURHFBYF47EZ4ZR/ Code of Conduct: http://python.org/psf/codeofconduct/