Skip to content Skip to sidebar Skip to footer
Showing posts with the label Filenames

Python Stdin Filename

I'm trying to get the filename thats given in the command line. For example: python3 ritwc.py … Read more Python Stdin Filename

Command-line Arguments As Bytes Instead Of Strings In Python3

I'm writing a python3 program, that gets the names of files to process from command-line argume… Read more Command-line Arguments As Bytes Instead Of Strings In Python3

Opening A File With An Accented Character In Its Name, In Python 2 On Windows

In a directory in Windows I have 2 files, both of them with an accented character in its name: t1û.… Read more Opening A File With An Accented Character In Its Name, In Python 2 On Windows

Automatically Open Files Given As Command Line Arguments In Python

I have a lot of Perl scripts that looks something like the following. What it does is that it will … Read more Automatically Open Files Given As Command Line Arguments In Python