Hello,
Thanks for the answer.
I quite get the drift of your explanations. But my question was looking for
a specific practical answer.
As my codes involve a lot of mathematical formulae and some of them require
ultra-high precision, hence I was looking for an answer that either Fortran
Hi Michael,
Your question appears to be specifically about the ArcGIS library.
Unfortunately, I would assume very few of us have expertise on this
particular third-party mapping library; we're mostly a forum for
teaching basic Python programming. We can help on non-domain-specific
Python-learnin
I want to assemble a script to: 1) input a folder with shapefiles with
different coordinate systems, 2) allow the user through a toolbox script to
choose a desired coordinate system, and then 3) export all the shapefiles
with the new coordinate system to a new folder.
So the problem is I don't kno
On Sat, Apr 11, 2015 at 3:21 PM, Steven D'Aprano wrote:
> On Sun, Apr 12, 2015 at 05:09:43AM +1000, Steven D'Aprano wrote:
>
>> Almost correct, but not quite. range, like xrange in Python 2, is not a
>> generator, but a custom-made lazy sequence object.
>>
>> py> gen() # This actually is a genera
On Sun, Apr 12, 2015 at 05:09:43AM +1000, Steven D'Aprano wrote:
> Almost correct, but not quite. range, like xrange in Python 2, is not a
> generator, but a custom-made lazy sequence object.
>
> py> gen() # This actually is a generator.
>
> py> range(1, 10) # This is not.
> range(1, 10)
Oop
On 11/04/2015 20:02, Steven D'Aprano wrote:
On Sat, Apr 11, 2015 at 10:41:28AM -0700, Jim Mooney wrote:
Why does the first range convert to a list, but not the second?
p = list(range(1,20)), (range(40,59))
p
([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
range(40, 59)
On Sat, Apr 11, 2015 at 02:15:49PM -0400, Joel Goldstick wrote:
> On Sat, Apr 11, 2015 at 1:41 PM, Jim Mooney wrote:
> > Why does the first range convert to a list, but not the second?
> >
> p = list(range(1,20)), (range(40,59))
> p
> > ([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
On Sat, Apr 11, 2015 at 10:41:28AM -0700, Jim Mooney wrote:
> Why does the first range convert to a list, but not the second?
>
> >>> p = list(range(1,20)), (range(40,59))
> >>> p
> ([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
> range(40, 59))
Why would the second conver
Op 11-04-15 om 19:41 schreef Jim Mooney:
Why does the first range convert to a list, but not the second?
p = list(range(1,20)), (range(40,59))
p
([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
range(40, 59))
I'm not sure I understand correctly. This is what the top
On Sat, Apr 11, 2015 at 1:41 PM, Jim Mooney wrote:
> Why does the first range convert to a list, but not the second?
>
p = list(range(1,20)), (range(40,59))
p
> ([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
> range(40, 59))
>
Assuming you are using python 3.x ran
These days, most important scientific libraries are wrapped so that you
call call them directly from python. Google for "python bindings " and see if you get any hits. If you have a library
that doesn't have python bindings, you can probably make them. Start
reading here:
http://intermediate-and-
Why does the first range convert to a list, but not the second?
>>> p = list(range(1,20)), (range(40,59))
>>> p
([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
range(40, 59))
--
Jim
"Stop, Harold! That bagel has radishes!"
"Thank God, Mary - you've saved me again!"
__
On 11/04/15 13:32, Vick wrote:
"The vast majority of numerical codes in science, including positional
astronomy, are written in Fortran and C/C++.
True, because the vast majorioty of "scientific codes" (ie libraries)
were written many years ago and are still maintained in the languages
used
On Sat, Apr 11, 2015 at 08:35:08PM +0400, Vick wrote:
> Given that all scientists like to code in Fortran but does it mean that
> Python is inferior to it in terms of mathematical / scientific computation?
Scientists do not like to code in Fortran. Anybody who tells you that is
mistaken. If they
Hi,
Thanks for replying!
I understand as you said that since it was the very first language available
to them therefore scientists at large got stuck with it as I presume it
would have become the primary programming language example given in their
textbooks or study materials.
However your reply
Greetings Steven,
Much great advice snipped.
Is it possible (using U+1F600 through U+1F64F or otherwise) to offer
a standing ovation for such a relevant, thorough, competent and
well-written reply?
Thank you, as always,
-Martin
(You know, Steven, we had gotten so accustomed to your slapda
> On Apr 11, 2015, at 8:32 AM, Vick wrote:
>
[byte]
> However I recently talked to a guy online and he told me the following,
> which actually intrigued and surprised me:
>
> "The vast majority of numerical codes in science, including positional
> astronomy, are written in Fortran and C/C++.
Hi Vick, and welcome!
My replies to your questions are below, interleaved with your comments.
On Sat, Apr 11, 2015 at 04:32:38PM +0400, Vick wrote:
> However I recently talked to a guy online and he told me the following,
> which actually intrigued and surprised me:
>
> "The vast majority of nu
Hello
I've been using Python 27 on Windows for as long as I have used a computer
for intelligent purposes, viz. since 2000 I think, well the earlier versions
till the current version I'm using now. I used it primarily for mathematical
precision on numerical computations. I make my own codes.
19 matches
Mail list logo