X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=print-filename.py;h=d5413976761bfc625c54d780de2e8654b6d2c8b6;hb=080d6169f03836330b355e5304e51122d7956c11;hp=234d0a3741b88a77e9fa8c33ea6facb15e3e7f6e;hpb=829a09494a1675180999fea2f675508e832489c4;p=xsetbg.git diff --git a/print-filename.py b/print-filename.py index 234d0a3..d541397 100755 --- a/print-filename.py +++ b/print-filename.py @@ -1,7 +1,7 @@ -#! /usr/bin/env python -"""Print background filename +#! /usr/bin/env python3 +"""print(background filename) -Print the filename of the current or previous background image. +print(the filename of the current or previous background image.) This file is a part of XSetBg. @@ -58,4 +58,4 @@ index, output_encoding = get_args() filename = xsetbg_db.select('last_shown IS NOT NULL', orderBy='-last_shown')[index].full_name -print filename.encode(output_encoding) +print(filename.encode(output_encoding))