Is shutil.get_terminal_size useless?

Marko Rauhamaa marko at pacujo.net
Sun Jan 29 11:44:55 EST 2017


Chris Angelico <rosuav at gmail.com>:

> 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 :)

Mount? As a regular user?


Marko


More information about the Python-list mailing list