← Back to team overview

kicad-developers team mailing list archive

Re: Mac paths help?

 

Hi Chris,

The python console is ... quirky in the Mac build as well.

I was not able to enter this into the console.  Any character that shares a
hotkey, like o, for example, doesn't get taken by the console.

I am not sure if there is a workaround--I have been focusing on other parts
lately.

Adam Wolf

On Sat, Jun 13, 2015 at 8:03 PM, Chris Pavlina <pavlina.chris@xxxxxxxxx>
wrote:

> Hi all,
>
> I'm looking into prepopulating the list of BOM plugins in eeschema, and
> further possibly cleaning up resource file access in general. Can I get
> someone who's using kicad on Mac to run this script in the pcbnew Python
> console to help me out a bit?
>
> import wx; sp = wx.StandardPaths.Get()
>
> for i in dir(sp):
>     if not i.startswith("Get"):
>         continue
>     try:
>         print("%s:\t%s" % (i, getattr(sp, i)()))
>     except Exception:
>         pass
>
> You might have to copy and paste it in two blocks as split above...the
> console's a bit quirky for me.
>
> Thanks!
>
> --
> Chris
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References