How do I get the OS System Font Directory(Cross-Platform) in python?

Chris “Kwpolska” Warrick kwpolska at gmail.com
Thu Jul 11 17:48:21 CEST 2013


On Thu, Jul 11, 2013 at 5:32 PM, Metallicow <metaliobovinus at gmail.com> wrote:
> How do I get the OS System Font Directory(Cross-Platform) in python?
>
> Need a simple script for
> Windows, Linux, Mac, etc..
>
> Or using wxPython.
>
> I can't seem to find anything that works, and I don't want to hard-code paths.
> --
> http://mail.python.org/mailman/listinfo/python-list

Why do you want the paths to the fonts?  You do not need them 99.9% of
the time.  So, what *exactly* are you trying to accomplish?
--
Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail                | always bottom-post
http://asciiribbon.org        | http://caliburn.nl/topposting.html



More information about the Python-list mailing list