HI, I am trying to use python 3.10-1 on windows but, When I try to open
python, it crashes. Anaconda also does not work. When I try to use the
powershell, it gives me an error message saying that this is not recognized
as a valid cmdlet. Please help.
--
https://mail.python.org/mailman/listinfo/pyt
I’ve just begun a serious study of using Python as an aspiring programmer/data
scientist.
Can someone please walk me through how to download Python, SO THAT I will be
able to import numpy?
Thanks,
Derek
Sent from Mail for Windows 10
--
https://mail.python.org/mailman/listinfo/python-list
Gmail and the Gmail Digest only ever show the 0.9.4 tag - not sure if this
a big issue or not (but I know I would like to the 1.0.0 tag to be proudly
displayed!)
On Friday, 3 June 2016 03:57:35 UTC+2, Chris Withers wrote:
>
> Ugh, and once again, this time with a corrected title...
>
>
> On 02
arge values of N and get an accurate answer? How does the
math module calculate the vale of e?
Thanks,
Derek
On Mon, Apr 25, 2016 at 6:49 AM Oscar Benjamin
wrote:
> On 25 April 2016 at 08:39, Gregory Ewing
> wrote:
> > Derek Klinge wrote:
> >>
> >> Also, it seems
e able to get the
value of n used to generate that value e. If there is some other way to do
that, I'd be happy to try it out.
Thanks,
Derek
Derek
On Sun, Apr 24, 2016 at 8:12 PM, Derek Klinge wrote:
> Actually, I'm not trying to speed it up, just be able to handle a large
place I had to multiply my value of N by approximately
10 (I found that the new N required was always < 10N +10).
Derek
On Sun, Apr 24, 2016 at 4:45 PM, Derek Klinge wrote:
> Actually, I'm not trying to speed it up, just be able to handle a large
> number of n.
> (Thank you Ch
Doesn't range(n) create a list n long?
On Sun, Apr 24, 2016 at 10:21 AM Chris Angelico wrote:
> On Mon, Apr 25, 2016 at 3:02 AM, Derek Klinge
> wrote:
> > My problem is this: my attempt at Euler's Method involves creating a
> list of
> > numbers that is n long. Is
eGuess = 1
thisE = EulersNumber(1)
while x <= abs(PowerOfTen):
thisE = EulerStepWithGuess(10**(-1*x),theGuess)
theGuess = thisE.eulerSteps * 10
x += 1
return thisE
On Sun, Apr 24, 2016 at 10:02 AM Derek Klinge wrote:
> Sorry about the code indentation, I was using Pythonista (iOS), and
eding the
answers back into itself to get the new answer. I know this will be
computationally time intensive, but how do I minimize memory usage (limit
the size of my list)? I also may be misunderstanding the problem, in which
case I am open to looking at it from a different perspective.
Thanks,
Dere
umber(n)
print('n={} \te= {} \tdelta(e)={}'.format(n,e.e,abs(e.e-math.e)))
return e
def EulersNumberToAccuracy(PowerOfTen):
x = 1
theGuess = 1
thisE = EulersNumber(1)
while x <= abs(PowerOfTen):
thisE = EulerStepWithGuess(10**(-1*x),theGuess)
theGuess = thisE.eulerSteps * 10
x += 1
retu
Hello,
I seem to have a problem because it seems Tkinter assumes relative paths for
TCL_LIBRARY and TK_LIBRARY.
I am working with the homebrew group to get python27 to install nicely with a
custom installation of tk and tcl
(https://github.com/mxcl/homebrew/pull/16626). However, this breaks
ndle mouse clicks and screen
blitting the way PyGame does.
--Derek Simkowiak
http://derek.simkowiak.net
On 10/04/2011 07:53 AM, Alec Taylor wrote:
Sounds like a job for Processing...
On Tue, Oct 4, 2011 at 8:56 PM, Adam Funk wrote:
I'd like to create a window with a "pause" bu
/How was her project received at school?/
She got an "Outstanding" blue ribbon award. The teachers were
impressed.
(It was only a mandatory school project; it was not part of a
regional competition or anything fancy like that.)
--Derek
On 09/30/2011 09:40 AM, Irm
enCV. I don't
know if this will work under Windows.
The source code to my script is available online; I recommend
downloading it and playing with it. Also, check out the OpenCV Python
documentation.
Thanks,
Derek
On 09/30/2011 07:06 AM, Ricardo Mansilla wrote:
On Thursday 29 Sept
on the web page: "I’m
convinced that Python is the best language currently available for
teaching kids how to program."
I also use Python professionally, and it's worked out great every time.
There's no job Python can't handle.
Thanks,
Derek Simkowiak
On Sun, Aug 30, 2009 at 05:43:42PM +, OKB (not okblacke) wrote:
> Derek Martin wrote:
>
> > If Python is to say that objects have values,
> > then the object can not *be* the value that it has, because that is a
> > paradoxical self-reference. It's an object, not
On Sun, Aug 30, 2009 at 04:26:54AM -0700, Carl Banks wrote:
> On Aug 30, 12:33 am, Derek Martin wrote:
> [snip rant]
I was not ranting. I was explaining a perspective.
> > THAT is why Python's behavior with regard to numerical objects is
> > not intuitive, and frankly bi
ngs look like something familiar, but behave differently, they are
naturally unintuitive.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpMl4G8ABoo7.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
ython work will be.
While I did genuinely find the behavior bizarre when I encountered it,
and honestly still do, I learned it quickly and moved past it. I'm
not suggesting that it be changed, and I don't feel particularly
strongly that it even should change. It's not so much the l
that they are just an abstraction on top of
current, as noted before). Python's model breaks down at that point;
it is not so with most other types of objects... their values remain
objects. And *that* is inconsistent. The same is true of character
data as for numeric data. And that, I
7;s right. BIZZARE.
Of course, none of this is real. In the end, it's all just a bunch of
wires that either have current or don't. It's only how *WE* organize
and think about that current that gives it any meaning. So you're
free to think about it any way you like.
--
Derek
On Mon, Aug 24, 2009 at 04:40:14PM -0300, Gabriel Genellina wrote:
> En Mon, 24 Aug 2009 14:40:24 -0300, Derek Martin
> escribió:
>
> >Why is it so hard for you to accept that intelligent people can
> >disagree with you, and that what's right for you might be bad for
&g
On Mon, Aug 24, 2009 at 05:03:28PM +, Steven D'Aprano wrote:
> On Mon, 24 Aug 2009 11:21:46 -0500, Derek Martin wrote:
> > since the old syntax is prevalent both within and without the
> > Python community, making the change is, was, and always will be a
> > bad id
, just
> like trailing zeroes after the decimal point:
>
> 9 = 09 = 009 = 9.0 = 9.00 = 0009.000 etc.
Dude, seriously. No one ever *uses* leading zeros in the context of
mathematics except in 2nd grade math class.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE7
On Mon, Aug 24, 2009 at 08:31:13AM -0700, Carl Banks wrote:
> On Aug 24, 6:56 am, Derek Martin wrote:
> > I think hard-coding dates is more uncommon than using octal. ;-)
> > [It unquestionably is, for me personally.]
>
> You just don't get it, do you?
I think
e (e.g. virtually anything that came out of
Microsoft). [That's just my opinion, of course... but shared by many.
:)] I don't think that happened by mere accident. That's not to say
they were perfect, but those guys had their proverbial $#!t together.
--
Derek D. Martin
http://www.
On Mon, Aug 24, 2009 at 08:56:48AM -0500, Derek Martin wrote:
> On Sun, Aug 23, 2009 at 01:13:32PM +, Matthew Woodcraft wrote:
> > A more common case is dates.
>
> I suppose this is true, but [...]
> I tend to also discount this example, because when we write dates
&g
rogramming. The
changing of this syntax seems like much ado about nothing to me, and
as such is annoying, consider that I use it very often.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpJdmZ75Hu7Q.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Aug 23, 2009 at 06:13:31AM +, Steven D'Aprano wrote:
> On Sat, 22 Aug 2009 22:19:01 -0500, Derek Martin wrote:
> > On Sat, Aug 22, 2009 at 02:55:51AM +, Steven D'Aprano wrote:
> >> And the great thing is that now you get to teach yourself to sto
sent octal).
Including Python, for some 20 years or so.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpf8DJDYdSjx.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
write 0o12 instead of 012.
Computer languages are not write-only, excepting maybe Perl. ;-)
Writing 0o12 presents no hardship; but I assert, with at least some
support from others here, that *reading* it does.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp2DtXpzfNjd.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
— and we continue to think of them
> as decimal numbers regardless. Having the language syntax opposed to
> that is
...consistent with virtually every other popular programming language.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpaLprG9uUPz.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
a few of the other
seemingly arbitrary changes in 3.x) is annoying, but Python is still
one of the best languages to code in for any multitude of problems.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpqtjVMR59uV.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
hout a community for the sake of avoiding a minor
inconvenience of the n00b is DUMB.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp5360ytwKYC.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Aug 18, 2009 at 03:10:15PM -0500, Derek Martin wrote:
> I have some simple threaded code... If I run this
> with an arg of 1 (start one thread), it pegs one cpu, as I would
> expect. If I run it with an arg of 2 (start 2 threads), it uses both
> CPUs, but utilization of both
(i,))
thread_list.append(x)
i+=1
while True:
pass
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgphh3xk5mOZY.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
general direction to start looking, and I do not have expect
installed on the system.
Any ideas would be wonderful!
R/S --
-
Derek Tracy
trac...@gmail.com
-
--
http://mail.python.org/mailman/listinfo/python-list
fferent model than what
they are used to. Often this happens, but too often not without
someone also letting the OP know what a mindless jerk he is...
*This* is the "common understanding" which I'd hoped could be
reached... But you were right... it's very difficult for pe
Forgive my indulgence, I find this rather academic discussion kind of
interesting, as it turns out.
On Sun, Jan 04, 2009 at 10:55:09PM -0600, Derek Martin wrote:
> > You can't argue that one semantic or another is more intuitive
> > without offering evidence.
>
> I think
On Sun, Jan 04, 2009 at 09:56:33PM -0600, Grant Edwards wrote:
> On 2009-01-05, Derek Martin wrote:
> > On Sat, Jan 03, 2009 at 11:38:46AM -0600, Grant Edwards wrote:
> >> One presumes that Mr. Martin finds anything different from his
> >> first computer language to be
raditional assignment model, and despite your
protestations of lack of proof, I'm pretty sure you agree. ;-)
Ultimately, none of this really matters, as perhaps my point is that
Python *is different* from what A LOT of folks learning it have
already seen (if anything), and it&
assignment model of Python is to understand.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp7GzFxWB35W.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jan 03, 2009 at 10:15:51AM +, Marc 'BlackJack' Rintsch wrote:
> On Fri, 02 Jan 2009 04:39:15 -0600, Derek Martin wrote:
>
> > On Tue, Dec 30, 2008 at 02:21:29PM +, John O'Hagan wrote:
> > What the Python community often overlooks, when this discuss
t of identity in
mathematics precisely because it is unnecessary: 1 is always 1, by
definition. But that is the definition of "is"... :)
But the discussion is bordering on philosophy, and I will resign from
it at this point, having previously made the points I intended to.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpAiEkpMH3gD.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
an experienced
programmer 10 minutes to understand variable assignment. :) [Note
that I'm including the semantics for passing arguments to functions as
part of "assignment" for purposes of this discussion.]
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpkihamKsYya.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Jan 02, 2009 at 11:43:30AM -0500, Steve Holden wrote:
> Derek Martin wrote:
> > What the Python community often overlooks, when this discussion again
> > rears its ugly head (as it seems to every other hour or so), is that
> > its assignment model is BIZARRE, as
and sensible.
It's small wonder that neophytes try to cram Python behaviors into
terms and computing concepts they already understand from learning
other languages, and that they fail to do so. What's mystifying is
that when Pythonistas reply to their messages, they universally seem
con
This is also false, it even has its own operator (which requires
Unicode to display): ≡
Still, the point you're trying to make is right: this stuff is hard to
talk about, and the model actually encourages the use of ambiguous or
even contradictory explanations.
--
Derek D. Martin
http://www.
r that it has (and needs) no intrinsic-value.
>
> To me, that seems just as silly as arguing that zero is not a number, or
> that white pixels are "nothing" and black pixels are "something". Or
> maybe they should be the other way around?
>
> None is No
>
> This definition looks a bit circular to me ;)
Why, because it has the word "value" in the definition? It's not
circular. The thing being defined is "value of an object". The word
"value" has a pre-existing well-understood natural language definiti
the value of x==y does indeed depend
on the behavior of the methods.
> I think the value of x is "a thing which claims to be equal to
> everything on Tuesdays, and equal to nothing every other day".
That isn't its *VALUE* -- it's its *IDENTITY*. My weight is not my
ide
sentation of the date when printed, and a numeric value
(or some other time object) when used in other expressions, both from
a philisophical and practical standpoint.
Furthermore it falls down semantically; an object has parts that are
not part of its value, and therefore the value and the objec
iven expression or context.
If you like, you could think of the value of an object as the set of
all possible values to which the object may evaluate in every possible
context, given a particular state of the object.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75
imple as:
cmd = "whatever your shell command is"
os.system(cmd)
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpjESdNVsDLA.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
's not "built in"
like it is in Windows). X works as a client-server model, and you
need to make sure X authentication is handled properly. Depending on
what you are doing, this can be either very easy, or very complicated.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID:
n two: one process manages the GUI, and the second is a back-end
process that plays the MIDI. Your GUI can even launch the back end,
which will inherit the priority of the GUI, after which the GUI can
reduce its own priority (the priority of the back end will not be
affected by the change)...
--
's a semantic argument, but John's semantics are fine. A library is
code intended to be consumed by developers. The developers *are* the
users of the library. *End users* use applications, not libraries.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpug97
d thing was, I remembered it actually working. And it had... In
between testing the two cases, I'd accidentally deleted the module and
had to recreate it. The first time no bug, second time, well,
resutled in this thread. I'm chalking the whole thing up to coding
when not sufficiently a
just trying to preempt the pound of attitude that often
goes with the ounce of answers. But if the choice is between no
answer, and an answer that barely manages to avoid calling me an idiot
(especially over coding style), I'd rather have no answer.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp1spA6WQhn4.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
uot;it" is "its" with no
apostrophe. This was the only thing of value which you contributed,
though really, using that is way overkill for my needs. If I've
written bad code, by all means, please correct it. If I've written
code in a style that you happen not to like, please
ouldn't see the
parameter msg, which was passed via the call. Most unexpected, and
definitely undesirable.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp4DKmvYHFbt.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
python
# vim:ts=4:sw=4:expandtab
Though of course, using this kind of mechanism quickly becomes gross
if everyone is using a different editor, and they all support a
similar but different mechanism for doing so.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpWonPLlq6C1.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
n parsing, setting the
environment variables appropriately. A child process, in general, can
not insert environment variables into the environment of its parent.
If what you're trying to do isn't covered by the above, then I think
you'll need to try to explain it better.
--
Derek D. Mart
.
Please explain why it doesn't.
The most likely cause of the behavior you are seeing is the deadlock I
described, above. Using select() (i.e. using communicate()) should
generally fix about half the cases... The rest would be fixed by
redirecting STDIN of the child (or at least the Java p
On Mon, Sep 29, 2008 at 04:12:13AM -0700, [EMAIL PROTECTED] wrote:
> Derek Martin:
> >Unless you're doing lots and lots of these in your application,<
>
> I don't agree. That's library code, so it has to be efficient and
> flexible, because it's designed
ou optimized,
I think you're better off leaving the optimizations out, for the sake
of code clarity.
At the very least, if you're going to write complicated optimizations,
you ought to have explained what you were doing in comments... :)
--
Derek D. Martin
http://www.pizzashack.org/
GPG
[0]
>>> find_needle_in_haystack([1,2,3], ["a","b",1,2,3,"9"])
>>>
[2]
>>> find_needle_in_haystack([1,2,3], ["a","b",1,2,3,"9","q",1,2,3])
>>>
[2, 7]
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpNKYFN6mu45.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
Sorry for the noise, my recent posts seem to have been eaten by the
list management software, as far as I can tell. Just testing if
that's still the case.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgp611hi0GmSx.pgp
Description: PGP signature
--
On Wed, Sep 03, 2008 at 03:16:00PM -0700, Dennis Lee Bieber wrote:
> On Wed, 3 Sep 2008 03:09:18 -0400, Derek Martin <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
> >
> > struct run {
> > int speed;
> > direction_type di
On Wed, Sep 03, 2008 at 06:40:10AM +, Marc 'BlackJack' Rintsch wrote:
> On Tue, 02 Sep 2008 19:54:12 -0400, Derek Martin wrote:
>
> >> And if they model an action there must be some way to activate the
> >> action
> >
> > That's a reasonab
On Wed, Sep 03, 2008 at 12:20:18AM -0400, Miles wrote:
> Derek Martin wrote:
> > On Tue, Sep 02, 2008 at 10:55:54PM +, Marc 'BlackJack' Rintsch wrote:
> >> but the instances of `Popen` are no actions. There's no way to
> >> "execute" a `Pop
On Wed, Sep 03, 2008 at 12:20:18AM -0400, Miles wrote:
> Derek Martin wrote:
> > On Tue, Sep 02, 2008 at 10:55:54PM +, Marc 'BlackJack' Rintsch wrote:
> >> but the instances of `Popen` are no actions. There's no way to
> >> "execute" a `Pop
On Tue, Sep 02, 2008 at 10:55:54PM +, Marc 'BlackJack' Rintsch wrote:
> On Tue, 02 Sep 2008 18:15:07 -0400, Derek Martin wrote:
>
> >> Classes represent "things", and class names should be nouns.
> >
> > Is that a law?
>
> It's a com
on, but it is only that: an opinion. Yet some of you
state your case as if it is incontrovertable fact. I've given a good
case as to why it IS a good name (one which I genuinely support), and
disagree as you may, none of the points any of you have made
invalidate or even wea
folks felt the need to quote "open", indicating
that clearly they knew that no process is being "opened" by the
function call. You start processes, you don't open them. This should
have been a clue to the BSD manual page writer that they had the sense
wrong; it's ver
p.com/en/B9106-90010/popen.3S.html
http://www.faqs.org/docs/artu/ch07s02.html
The Linux man page unfortunately copies (verbatim) the FreeBSD man
page, which gets it wrong. You can not open a process, but you can
definitely open a pipe.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpmN360qDTwf.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
s/provides. As such, "Popen" is a better name to describe this
object than "subprocess" would be.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpR91MGDIrTx.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
think you miss a
>
> grep -v grep
Indeed not. The brackets around the 'h' (which make it a character
class, or range if you prefer) prevent the regex from matching itself.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpsslNfAlrcv.pgp
Descriptio
On Fri, Aug 29, 2008 at 07:37:50PM +, Steven D'Aprano wrote:
> On Fri, 29 Aug 2008 14:46:53 -0400, Derek Martin wrote:
>
> > On Fri, Aug 29, 2008 at 07:28:40PM +0100, [EMAIL PROTECTED] wrote:
> >> dirListFinal = []
> >> for item in dirList:
> >&
On Fri, Aug 29, 2008 at 07:28:40PM +0100, [EMAIL PROTECTED] wrote:
> dirListFinal = []
> for item in dirList:
>print item
>if item.endswith('\\') == True:
if item[-1] == '\\':
--
Derek D. Martin
http://www.pizzas
On Wed, Aug 27, 2008 at 01:25:49AM -0300, Gabriel Genellina wrote:
> En Tue, 26 Aug 2008 07:52:21 -0300, Robert Rawlins
> >How can I get a list of available locales?
>
> I'd like to know how to retrieve that too...
On a Linux system (and likely most modern Unix systems): l
you are...
If you only want to learn to program to solve your own problems, then
it doesn't really matter. The only reason to learn additional
languages is if you find a case where what you've learned doesn't
solve your problem, or the solution is a lot harder than it should be.
l to see how it does what it does.
But, if I were you, I'd just download something like swatch, and be
done with it. :)
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpgsg6JnEM88.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 21, 2008 at 05:17:41AM +, Marc 'BlackJack' Rintsch wrote:
> On Wed, 20 Aug 2008 18:46:42 -0400, Derek Martin wrote:
>
> > How so? What could be easier than "rm -rf directory"?
>
> C:\>rm -rf directory
Yeah, except the application spe
a == 0 or b == 0:
return True
return (abs(a) == a) == (abs(b) == b)
The first version *almost* works for the duplicitous zero:
>>> sign(-0, 1)
True
>>> sign(0, 1)
True
>>> sign(0, -1)
False
Close, but no cigar.
--
Derek D. Martin
http://www.pizzashack.org/
uot;rm -rf directory"?
> If anyone can point me to some documentation I would be more than
> grateful.
I'd be happy to, but I can't imagine what sort of documentation would
help you. It sounds like what you want to do, basically, is write a
program to read commands from stdin
e.
Instead of just running xterm, you can run "xterm -e 'cmd foo bar'"
where cmd is the program to run and foo and bar are its arguments.
The problem is that as soon as the program exits, xterm will exit
also.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75
Apple started using it that way. And it does
not change the fact that you (and others like you) are being stubborn
by refusing to accept that simple truth. If you're unable to see that
by now, I don't imagine there's anything I can do to help you, so I
give up trying to convince you. [...and there was much rejoicing.]
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpjvVEriGABi.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
he philosophy behind its design. THIS DOES
NOT RENDER WRONG OTHER TERMS OR USAGES. It merely augments the
already rich natural language we have to describe what we do.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpdANC3vBRJ5.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
wo good reason to keep it the way it is,
>which are simplicity (no special case) and consistency (no special
>case).
Clearly a lot of people find that it is less simple TO USE. The point
of computers is to make hard things easier... if there is a task that
is annoying, or tedious, o
o see what was used.
It's bad programming, but the world is full of bad programmers, and we
don't always have the choice not to use their code. Isn't one of
Python's goals to minimize opportunities for bad programming?
Providing a keyword equivalent to self and removing
def __init__():
@.increment = 2
def bar(a)
return a + @.increment
I'm sure all the Pythonistas will hate this idea though... ;-) To be
honest, it smacks a little of Perl's magic variables, which I actually
hate with a passion. This is the only p
aningful names, with fairly obvious and
well-understood exceptions.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpEV6qhBweow.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
t sell PCs. Apple's personal
computer is NOT a PC, and never was, and never will be. It's an
Apple.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpM3T8xzDRmR.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
ign mentioning PCs is
less than 10 years old (though I can't quickly find any references as
to the date). The popularization of the term PC to refer to
Intel-compatible machines running Microsoft OSes PREDATES APPLE'S AD
CAMPAIGN BY OVER 10 YEARS.
Therefore none of your points are val
your whining and get used to the idea that THE REST OF
THE WORLD uses PC to mean a Windows box.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
pgpWskQ7X4hnX.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jul 19, 2008 at 02:56:07AM -0700, Lie wrote:
> On Jul 19, 6:14 am, Derek Martin <[EMAIL PROTECTED]> wrote:
> > On Fri, Jul 18, 2008 at 03:46:13PM -0700, Joel Teichroeb wrote:
> > Much like the English word "bank" (and numerous others), the term "PC&qu
On Fri, Jul 18, 2008 at 10:34:41PM -0700, Dennis Lee Bieber wrote:
> On Fri, 18 Jul 2008 19:14:43 -0400, Derek Martin <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
> > On Fri, Jul 18, 2008 at 03:46:13PM -0700, Joel Teichroeb wrote:
> > >
uot;bank" (and numerous others), the term "PC"
has come to have several meanings, one of which is the above. You may
not like it, but we're pretty much stuck with the term, so you may as
well get used to it.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
On Fri, Jul 18, 2008 at 05:28:32PM -0400, Derek Martin wrote:
> def control(i, j):
> print i,j
> if not (i < 5 or j < 10):
Rather, if not (i < 5 and j < 10):
> return
> else:
> control(some_increment_function(i), other_incre
1 - 100 of 179 matches
Mail list logo