Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48229
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: My son wants me to teach him Python |
| Date | 2013-06-14 20:12 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | <Pine.LNX.4.64.1306131844240.11512@tau.ceti.pl> <mailman.3219.1371154780.3114.python-list@python.org> <637daa98-9a0e-46ab-bb9a-f5638b7c0038@googlegroups.com> <CAEk9e3oVoiWn6K-vUHpi4kVJbHWBVUt96rowoEj3gH+F5s6rxA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3342.1371255144.3114.python-list@python.org> (permalink) |
On Fri, 14 Jun 2013 02:28:29 -0400, Jason Swails
<jason.swails@gmail.com> 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 <program name>" 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/
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: My son wants me to teach him Python Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-13 21:18 +0100
Re: My son wants me to teach him Python Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-13 20:33 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-14 14:02 +1000
Re: My son wants me to teach him Python Anssi Saari <as@sci.fi> - 2013-06-14 15:02 +0300
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-15 03:12 +1000
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-14 14:05 +1000
Re: My son wants me to teach him Python Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-16 12:04 -0700
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-17 07:52 +1000
Re: My son wants me to teach him Python Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-16 15:33 -0700
Re: My son wants me to teach him Python Alister <alister.ware@ntlworld.com> - 2013-06-17 21:11 +0000
Re: My son wants me to teach him Python Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-14 06:11 +0100
Re: My son wants me to teach him Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-14 06:13 +0000
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-14 17:21 +1000
Re: My son wants me to teach him Python Tim Chase <python.list@tim.thechases.com> - 2013-06-14 05:41 -0500
Re: My son wants me to teach him Python Alister <alister.ware@ntlworld.com> - 2013-06-14 15:35 +0000
Re: My son wants me to teach him Python Neil Cerutti <neilc@norwich.edu> - 2013-06-14 16:01 +0000
Re: My son wants me to teach him Python Chris Angelico <rosuav@gmail.com> - 2013-06-15 03:14 +1000
Re: My son wants me to teach him Python Jason Swails <jason.swails@gmail.com> - 2013-06-14 13:03 -0400
Re: My son wants me to teach him Python Jason Swails <jason.swails@gmail.com> - 2013-06-14 02:28 -0400
Re: My son wants me to teach him Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-14 20:12 -0400
csiph-web