Re: [Kicad-developers] Mac paths help?
Regarding the console; you might want to reopen https://bugs.launchpad.net/kicad/+bug/1379352. Den 14/06/2015 05.04 skrev "Adam Wolf" : > 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 > 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@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp >> > > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] 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 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@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] Mac paths help?
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@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp