Is shutil.get_terminal_size useless?

Chris Angelico rosuav at gmail.com
Sun Jan 29 11:32:41 EST 2017


On Mon, Jan 30, 2017 at 3:28 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Grant Edwards <grant.b.edwards at gmail.com>:
>>> On 2017年01月29日, Marko Rauhamaa <marko at pacujo.net> wrote:
>>> I *have* been longing for a serial console in linux distros.
>>>> Well, all it takes is a tweak to the bootloader to add a kernel
>> "command-line" parameter...
>> Can you give me a short Python script that effects the tweak to an ISO
> image? I need to run the script as a regular user.

It'd start by mounting it somewhere, and finish by building a new ISO
with mkisofs, so a shell script would be more appropriate :)
ChrisA


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /