Re: python newbie

2014-06-18 Thread Jim Gibson
, Post Python code here or provide a link to code posted elsewhere for additional help. Good luck. -- Jim Gibson -- https://mail.python.org/mailman/listinfo/python-list

Re: querry on queue ( thread safe ) multithreading

2014-03-11 Thread Jim Gibson
after each HTTP request. That makes my program more considerate of other people's resources and a better web citizen. It is also much easier to program. -- Jim Gibson -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] Usage of U+00B6 PILCROW SIGN

2014-02-04 Thread Jim Gibson
on the left? -- Jim Gibson -- https://mail.python.org/mailman/listinfo/python-list

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread Jim Gibson
). I have done this in the past, but not recently. This should work for Python (os.system(gnuplot gnuplot.cmd) or Perl (system(gnuplot gnuplot.cmd) with suitable commands to execute external programs. -- Jim Gibson -- https://mail.python.org/mailman/listinfo/python-list

Re: Python on a MacBook Pro (not my machine)

2013-10-28 Thread Jim Gibson
/ http://www.barebones.com/products/textwrangler/ http://code.google.com/p/macvim/ -- Jim Gibson -- https://mail.python.org/mailman/listinfo/python-list

Re: finding data from two different files.

2013-10-18 Thread Jim Gibson
Interestingly, somebody named Om Prakash Singh asked the identical question on the perl beginners list, except with the word perl substituted for python. Is this a homework problem? Are you unsure about which language to use? Are you comparison shopping? -- Jim Gibson -- https://mail.python.org/mailman

Re: Mathematica 7 compares to other languages

2008-12-11 Thread Jim Gibson
be interesting also to have javascript... and perhaps erlang, OCaml/F#, Haskell too. Perl: sub normal { my $sum = 0; $sum += $_ ** 2 for @_; my $length = sqrt($sum); return map { $_/$length } @_; } -- Jim Gibson -- http://mail.python.org/mailman/listinfo/python-list

Re: A Sort Optimization Technique: decorate-sort-dedecorate

2006-08-28 Thread Jim Gibson
, it is more efficient to pre-compute a set of keys, one for each object to be sorted. That need be done only N times. The sort can then use these pre-computed keys to sort the objects. See, for example: http://en.wikipedia.org/wiki/Schwartzian_transform -- Jim Gibson Posted Via Usenet.com Premium