On 22/02/18 06:27, Larry Martell wrote:
I want to use the atws package
(https://atws.readthedocs.io/readme.html). I am using python 2.7.6 on
ubuntu-trusty-64 3.13.0-87-generic. I get this error when importing
the package:
import atws
Traceback (most recent call last):
File "", line 1, in
On Thu, Feb 22, 2018 at 5:27 PM, Larry Martell wrote:
> I want to use the atws package
> (https://atws.readthedocs.io/readme.html). I am using python 2.7.6 on
> ubuntu-trusty-64 3.13.0-87-generic. I get this error when importing
> the package:
>
import atws
> Traceback (most recent call last)
I want to use the atws package
(https://atws.readthedocs.io/readme.html). I am using python 2.7.6 on
ubuntu-trusty-64 3.13.0-87-generic. I get this error when importing
the package:
>>> import atws
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-pack
One is the BDFL
http://www.computerhistory.org/press/2018-fellow-honorees.html
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Feb 21, 2018 at 10:11 AM, Johannes Findeisen wrote:
> Don't know which Python version is included in Kivy Launcher and believe
> it is 2.7. but it think Kivy will go over to Python 3.* in the near
> future.
>
Well... after an insane number of attempts, most of which were at
least partiall
On Tue, Feb 20, 2018 at 10:09 PM, Chris Angelico wrote:
> On Wed, Feb 21, 2018 at 6:39 AM, Geldenhuys, J, Prof
> wrote:
>> I think your case illustrates the Python/Mathematica issue well: you found
>> a job for which Mathematica was not the perfect tool and you used Python.
>> At the end of
I like pyinstaller. It's one-file exe creation is pretty good. You can give it
a try.
Original Message
On 21 Feb 2018, 23:00, MGHSM wrote:
> Am 21.02.18 um 18:30 schrieb MGHSM: > Thomas Heller himself says he's
> "retiring" from py2exe in
> https://sourceforge.net/p/py2exe/ma
Am 21.02.18 um 18:30 schrieb MGHSM:
Thomas Heller himself says he's "retiring" from py2exe in
https://sourceforge.net/p/py2exe/mailman/message/36033869/
Is there any suitable replacement with similar or better capabilities?
There is PyInstaller, which works on all major OS:
http://www.pyinst
Thomas Heller himself says he's "retiring" from py2exe in
https://sourceforge.net/p/py2exe/mailman/message/36033869/
Is there any suitable replacement with similar or better capabilities?
Is there any desires to continue the project?
--
https://mail.python.org/mailman/listinfo/python-list
On 21/02/2018 15:54, ast wrote:
Le 21/02/2018 à 15:02, bartc a écrit :
On 21/02/2018 13:27, ast wrote:
Time efficient or space efficient?
space efficient
If the latter, how many floats are we talking about?
10^9
OK. My experiment of writing the same 64-bit float a billion times to a
On 2018-02-18 22:55, Paul Rubin wrote:
Steven D'Aprano writes:
"positive odd integers greater than 10 but less than 15003 divisible by
17 except for 850, 867 and 1394; or primes that aren't Mersenne
primes"
It *could* be a type, if your type system was sufficiently flexible to
allow you to
On 2018-02-18 22:55, Paul Rubin wrote:
Steven D'Aprano writes:
"positive odd integers greater than 10 but less than 15003 divisible by
17 except for 850, 867 and 1394; or primes that aren't Mersenne
primes"
It *could* be a type, if your type system was sufficiently flexible to
allow you to
Le 21/02/2018 à 14:27, ast a écrit :
struct.pack() as advised works fine.
Exemple:
>>> import struct
>>> struct.pack(">d", -0.0)
b'\x80\x00\x00\x00\x00\x00\x00\x00'
before I read your answers I found a way
with pickle
>>> import pickle
>>> pickle.dumps(-0.0)[3:-1]
b'\x80\x00\x00\x00\x00\x00\x0
Le 21/02/2018 à 15:02, bartc a écrit :
On 21/02/2018 13:27, ast wrote:
Time efficient or space efficient?
space efficient
If the latter, how many floats are we talking about?
10^9
--
https://mail.python.org/mailman/listinfo/python-list
ast wrote:
>Hello
>I would like to write a huge file of double precision
>floats, 8 bytes each, using IEEE754 standard. Since
>the file is big, it has to be done in an efficient
>way.
>I tried pickle module but unfortunately it writes
>12 bytes per float instead of just 8.
>Is there a way to wr
ast wrote:
> Is there a way to write a float with only 8 bytes ?
If you want to write the values one-by-one convert them to bytes with
struct.pack() and then write the result.
To write many values at once use array.array.tofile() or
numpy.array.tofile().
--
https://mail.python.org/mailman/l
On 21/02/2018 13:27, ast wrote:
Hello
I would like to write a huge file of double precision
floats, 8 bytes each, using IEEE754 standard. Since
the file is big, it has to be done in an efficient
way.
Time efficient or space efficient?
If the latter, how many floats are we talking about?
I t
Hello
I would like to write a huge file of double precision
floats, 8 bytes each, using IEEE754 standard. Since
the file is big, it has to be done in an efficient
way.
I tried pickle module but unfortunately it writes
12 bytes per float instead of just 8.
Example:
import pickle
f = open("data
On 2/20/18 3:51 PM, Chris Angelico wrote:
On Wed, Feb 21, 2018 at 7:42 AM, Rick Johnson
wrote:
On Tuesday, February 20, 2018 at 2:18:31 PM UTC-6, MRAB wrote:
The point he was making is that if you store a person's age, you'd have
to update it every year. It's far better to store the date of b
On 21-02-18 11:31, Terry Reedy wrote:
> On 2/21/2018 3:15 AM, Antoon Pardon wrote:
>> On 21-02-18 06:18, Terry Reedy wrote:
>>> On 2/20/2018 8:38 AM, Antoon Pardon wrote:
>>>
People praise the dynamic nature of Python here on this list and then
often enough seem to recoil when they see a
On Saturday, February 17, 2018 at 12:28:29 PM UTC+1, Ben Bacarisse wrote:
> Marko Rauhamaa writes:
>
> > Many people think static typing is key to high quality. I tend to think
> > the reverse is true: the boilerplate of static typing hampers
> > expressivity so much that, on the net, quality suf
Le 2018-02-21 à 05:27, Chris Angelico a écrit :
"""If you find that your production code is too slow because you’re
using mutual recursion between nine different languages, blame Dan Luu
for this terrible idea."""
I have... NEVER gone as far as nine. That takes the cake. In fact, I
don't reca
On 2/21/2018 3:15 AM, Antoon Pardon wrote:
On 21-02-18 06:18, Terry Reedy wrote:
On 2/20/2018 8:38 AM, Antoon Pardon wrote:
People praise the dynamic nature of Python here on this list and then
often enough seem to recoil when they see a piece of code really using
that dynamism.
...
When ma
On Wed, Feb 21, 2018 at 9:04 PM, Steven D'Aprano
wrote:
> On Wed, 21 Feb 2018 04:13:56 -0500, Etienne Robillard wrote:
>
>> Hi,
>>
>> Would it be possible to build a Python to Julia code generator??
>>
>> i'm interested to learn Julia and would love to have the capacity to
>> embed or run native P
I found this: https://github.com/JuliaPy/PyCall.jl
Looks pretty awesome already! :-)
Thx
E
Le 2018-02-21 à 05:04, Steven D'Aprano a écrit :
On Wed, 21 Feb 2018 04:13:56 -0500, Etienne Robillard wrote:
Hi,
Would it be possible to build a Python to Julia code generator??
i'm interested to l
On Wed, 21 Feb 2018 04:13:56 -0500, Etienne Robillard wrote:
> Hi,
>
> Would it be possible to build a Python to Julia code generator??
>
> i'm interested to learn Julia and would love to have the capacity to
> embed or run native Python code in Julia..
http://blog.leahhanson.us/post/julia/juli
Hi,
Would it be possible to build a Python to Julia code generator??
i'm interested to learn Julia and would love to have the capacity to
embed or run native Python code in Julia..
Thx
Etienne
--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/
--
https://mail.python.or
On 21-02-18 06:18, Terry Reedy wrote:
> On 2/20/2018 8:38 AM, Antoon Pardon wrote:
>
>> People praise the dynamic nature of Python here on this list and then
>> often enough seem to recoil when they see a piece of code really using
>> that dynamism.
>
> ...
>
> When makes people recoil is abusing d
On 21-02-18 05:13, Steven D'Aprano wrote:
> On Tue, 20 Feb 2018 10:17:12 -0700, Ian Kelly wrote:
>
>> On Tue, Feb 20, 2018 at 8:38 AM, Steven D'Aprano
>> wrote:
>>> On Tue, 20 Feb 2018 15:23:44 +0100, Antoon Pardon wrote:
>>>
> Okay. Now create a constraint on a name in C++ such that it can on
On 20-02-18 16:38, Steven D'Aprano wrote:
> On Tue, 20 Feb 2018 15:23:44 +0100, Antoon Pardon wrote:
>
>>> Okay. Now create a constraint on a name in C++ such that it can only
>>> accept integers representing A.D. years which, on the Gregorian
>>> calendar, are leap years. (Using a dedicated intege
30 matches
Mail list logo