Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.078 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.01; 'linux,': 0.07; 'paths': 0.07; 'windows,': 0.09; 'subject:How': 0.10; 'gpg': 0.16; 'hard- code': 0.16; 'paths.': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'thu,': 0.19; 'python?': 0.22; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'subject:) ': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'font': 0.31; 'url:python': 0.33; 'skip:d 20': 0.34; 'subject:the': 0.34; "can't": 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'so,': 0.37; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'from:charset:utf-8': 0.61; 'simple': 0.61; 'jul': 0.74; 'subject:get': 0.81; '99.9%': 0.84; 'etc..': 0.84; 'subject:Platform': 0.84; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2fe7rNmJiJymrPZ3A/jyk2tDOrMSqmO0FGNpVIk53Kg=; b=mgoLb54rOW0Gq0B7fparWfTkn+bYL+KZ475om94qUTsDXDI9GeQ9AJRHCXj28sYc86 G++R5M2W6mlnV9YBJNFrSvrRe9ahEiIyvuqQ3O0Pu4T6R/SnGn03eYz9v5LLd84D63Z8 GZFfKlNe2bM3F/Smt06BJr2iDbtZLvggMecmhWIyOse7lJEoExUWAfKpYTB1CPXfBNEs XUul6km6Cw7x+hVhbzFaHiY1PO8ZFUzH2Y9d8miWGUtTzOFVvqrJ4DdGWGicTlJBIrVB 8aYp+fvyb5pgKugnIwH2oQfHl0uCP9axy72O2R8uqTAJmeuAauDuutmLk4wyIshKp5eg 08mA== MIME-Version: 1.0 X-Received: by 10.42.41.210 with SMTP id q18mr11442886ice.13.1373557701723; Thu, 11 Jul 2013 08:48:21 -0700 (PDT) In-Reply-To: <3d97de86-f690-40ad-aba8-972120af7ff3@googlegroups.com> References: <3d97de86-f690-40ad-aba8-972120af7ff3@googlegroups.com> Date: Thu, 11 Jul 2013 17:48:21 +0200 Subject: Re: How do I get the OS System Font Directory(Cross-Platform) in python? From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373557706 news.xs4all.nl 16003 [2001:888:2000:d::a6]:43624 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50457 On Thu, Jul 11, 2013 at 5:32 PM, Metallicow 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 | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html