Is shutil.get_terminal_size useless?

Grant Edwards grant.b.edwards at gmail.com
Sun Jan 29 11:56:28 EST 2017


On 2017-01-29, Marko Rauhamaa <marko at pacujo.net> wrote:
> 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?

https://linux.die.net/man/8/isoinfo

-- 
Grant





More information about the Python-list mailing list