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 <[email protected]> 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 <[email protected]> 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 > [email protected] > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/QCFJ6D2264KQHQ2NV2DCIHEXYE4EES5N/ > Code of Conduct: http://python.org/psf/codeofconduct/ > >
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/AGI3MOY4XVNJGT36TIURHFBYF47EZ4ZR/ Code of Conduct: http://python.org/psf/codeofconduct/
