skrf.util.get_extn

skrf.util.get_extn(filename)

Get the extension from a filename.

The extension is defined as everything passed the last ‘.’. Returns None if it aint got one

Parameters :

filename : string

the filename

Returns :

ext : string, None

either the extension (not including ‘.’) or None if there isnt one

Previous topic

skrf.util.get_fid

Next topic

io (skrf.io)

This Page