thanks Rob. Quite clear. Guess I'll watch the count for a couple days. Fritz
On Oct 28, 1:48 pm, Rob McBroom <[email protected]> wrote: > On Oct 28, 2011, at 12:47 PM, metropical wrote: > > > When I type "python scan_mnemonics.py", I get "no such file..." > > I have dl'd the script to a folder. Do I need to point to it or paste > > it after the command line? > > OK, so when you open Terminal, you’re usually in your home directory to start > (/Users/whatever/). You can confirm this by running `pwd`. > > If you saved the file to your Downloads folder (for example), you can either > go into that folder first > > cd Downloads > python scan_mnemonics.py > > or reference the file from where you currently are > > python Downloads/scan_mnemonics.py > > or what might be easiest… type `python ` (including the space) and then just > drag the file from a Finder window and drop in on the Terminal window. > > > As the raw script that you have sent, will it show me all mnemonics by > > default or only if edited to show specifics? > > It’ll only show the ones you enter on line 10. If you want to see them *all*, > change line 13 from > > for qsab in lookfor: > > to > > for qsab in mnemonics['abbreviation']: > > -- > Rob McBroom > <http://www.skurfer.com/>
