[Python-ideas] Improving -x switch on CLI interface

2022-05-14 Thread Rafael Nunes
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

[Python-ideas] Fwd: Re: Heterogeneous numeric data in statistics library

2022-05-14 Thread Christopher Barker
accidentally sent off list. -CHB -- Forwarded message - From: Christopher Barker Date: Fri, May 13, 2022 at 8:14 PM Subject: Re: [Python-ideas] Re: Heterogeneous numeric data in statistics library To: Cameron Simpson On Thu, May 12, 2022 at 5:06 PM Cameron Simpson - a rule

[Python-ideas] Re: Heterogeneous numeric data in statistics library

2022-05-14 Thread Christopher Barker
> > > >I was going to suggest the same thing: type casting can have > >non-obvious effects, so explicit is better than implicit in this case. > > Aye. Did you mean to send this just to me and not the list? > nope -- I know i"m in the minority but i really wish lists had reply-to set to the list.

[Python-ideas] Re: `importlib.resources` access whole directories as resources

2022-05-14 Thread Ray Chen
An example is when an API asks for a folder that contains a set of images, and reads each image one by one. Having a folder is also useful for globbing and selecting certain files. ___ Python-ideas mailing list -- [email protected] To unsubscribe se

[Python-ideas] Re: `importlib.resources` access whole directories as resources

2022-05-14 Thread Ray Chen
How would I go about doing it myself then? ___ 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://