Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'amounts': 0.07; 'debugger': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tune': 0.09; 'windows,': 0.09; 'language,': 0.12; 'windows': 0.15; '"with"': 0.16; '[it': 0.16; 'finds': 0.16; 'fluent': 0.16; 'ignoring': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:son': 0.16; 'win7': 0.16; 'command': 0.22; 'machine': 0.22; 'specify': 0.24; 'url:home': 0.24; 'fine': 0.24; 'environment': 0.24; "i've": 0.25; 'equivalent': 0.26; 'header:X -Complaints-To:1': 0.27; "i'm": 0.30; 'included': 0.31; 'invoke': 0.31; 'probably': 0.32; 'regular': 0.32; 'open': 0.33; 'linux': 0.33; 'fri,': 0.33; 'mac': 0.33; 'could': 0.34; 'basic': 0.35; 'there': 0.35; 'useful': 0.36; 'charset:us-ascii': 0.36; 'convention': 0.38; 'jason': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'rather': 0.38; 'ability': 0.39; 'stock': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'commands': 0.60; 'real': 0.63; 'more': 0.64; 'different': 0.65; 'containing': 0.69; 'sector': 0.72; 'gotten': 0.74; 'subject:wants': 0.74; 'actually,': 0.84; 'coupled': 0.84; 'sectors': 0.91; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: My son wants me to teach him Python Date: Fri, 14 Jun 2013 20:12:12 -0400 Organization: > Bestiaria Support Staff < References: <637daa98-9a0e-46ab-bb9a-f5638b7c0038@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-223-233.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371255144 news.xs4all.nl 15896 [2001:888:2000:d::a6]:53338 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48229 On Fri, 14 Jun 2013 02:28:29 -0400, Jason Swails declaimed the following in gmane.comp.python.general: > One of my favorite parts about the Mac over windows, actually, is that I > can open up a console. Coupled with MacPorts or some other equivalent > package manager, I have what amounts to a working Linux environment > (almost). The "open" command is particularly useful (equivalent to > double-clicking, with the ability to specify "-a " to invoke > a right-click->select program->[scan through program list]->click much more > easily. > While Windows cmd.exe is rather limited (I think my TRSDOS 6 machine had a more powerful batch language, ignoring the regular command line [it had a basic debugger that included the ability to do pure sector I/O on the floppy drives -- including commands to write the directory sectors which used a different sector type mark]) -- PowerShell has been available as a download on WinXP and standard on Win7 [PS 3 is a download for Win7, stock on real Win8]. While I'm not fluent in it, there are some commands I've gotten rather engrained... get-childitem -recurse -filter "*.ad*" | select-string -pattern "with" finds all the Ada (GNAT convention .ads/.adb) files containing "with" statements. And pattern probably is a regex so I could fine tune it to just the package withs by using a start of line marker... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/