Re: Windows 10 pip2.7.exe uninstall fails

2015-10-29 Thread Mark Lawrence
On 28/10/2015 12:22, Robin Becker wrote: A message box is displayed:- "This app can't run on your PC To find a version for your PC, check with the software publisher". Close the message box and:- "Access is denied." Searching hasn't thrown up a single reference to uninstall errors l

Re: Most space-efficient way to store log entries

2015-10-29 Thread Cameron Simpson
On 30Oct2015 00:35, Marc Aymerich wrote: Usually I use my home router (which has an attached HDD) for downloading movies and stuff (big files) from the WAN... it has a 800Mhz mips cpu... anyway my experience with it is that: rsync tops at ~400Kbps Rsync is not a maximally efficient file trans

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Terry Reedy
On 10/29/2015 1:14 PM, Laura Creighton wrote: Alas, it is a 'won't fix' for python.org. Maybe Activestate or Continuum.io will support XP with their 3.5 packages, It would be an unpleasant task at best. CPython does not work with xp because is uses shiny new system features that first appea

Re: Most space-efficient way to store log entries

2015-10-29 Thread Marc Aymerich
On Thu, Oct 29, 2015 at 11:57 PM, Laura Creighton wrote: > In a message of Fri, 30 Oct 2015 09:47:42 +1100, Cameron Simpson writes: >>Another post suggests that the OP is transferring log info in UDP packets and >>hopes to keep the state within a maximum packet size, hence his desire for >>compact

Re: Most space-efficient way to store log entries

2015-10-29 Thread Cameron Simpson
On 29Oct2015 23:16, Laura Creighton wrote: In a message of Fri, 30 Oct 2015 08:28:07 +1100, Cameron Simpson writes: On 29Oct2015 09:15, Laura Creighton wrote: Did the OP say he wanted to keep his compressed logfiles on a local disk? What if he wants to send them across the internet to some o

Re: Most space-efficient way to store log entries

2015-10-29 Thread Laura Creighton
In a message of Fri, 30 Oct 2015 09:47:42 +1100, Cameron Simpson writes: >Another post suggests that the OP is transferring log info in UDP packets and >hopes to keep the state within a maximum packet size, hence his desire for >compact representation. I suspect that personally I'd be going for s

Re: Most space-efficient way to store log entries

2015-10-29 Thread Laura Creighton
In a message of Fri, 30 Oct 2015 08:28:07 +1100, Cameron Simpson writes: >On 29Oct2015 09:15, Laura Creighton wrote: >>Did the OP say he wanted to keep his compressed logfiles on a >>local disk? What if he wants to send them across the internet >>to some other machine and would like the transfer

Re: Most space-efficient way to store log entries

2015-10-29 Thread Cameron Simpson
On 29Oct2015 09:15, Laura Creighton wrote: Did the OP say he wanted to keep his compressed logfiles on a local disk? What if he wants to send them across the internet to some other machine and would like the transfer to happen as quickly as possible? Then he's still better off keeping them un

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Laura Creighton
In a message of Thu, 29 Oct 2015 19:21:14 +0100, Gisle Vanem writes: >Wouldn't it be more elegant of Python (and it's installer) >to put a '-subsystem:console,5.02' in the link flags? >And then detect Win-XP later on and refuse a further install? > >-- >--gv >-- >https://mail.python.org/mailman/l

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Gisle Vanem
Mark Lawrence wrote: CPython's Windows support now follows this lifecycle. A new feature release X.Y.0 will support all Windows releases whose extended support phase is not yet expired. Subsequent bug fix releases will support the same Windows releases as the original feature release (even if th

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Mark Lawrence
On 29/10/2015 17:28, Tim Golden wrote: On 29/10/2015 16:14, Steffen Herzfeldt wrote: I just wanted to let you know that your program just doesn't work on WinXP. I guess you just think "Linux is better anyway" to which i agree until it comes to games requiring directx, but that doesn't change the

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Tim Golden
On 29/10/2015 16:14, Steffen Herzfeldt wrote: I just wanted to let you know that your program just doesn't work on WinXP. I guess you just think "Linux is better anyway" to which i agree until it comes to games requiring directx, but that doesn't change the fact that the installer was labeled as

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Laura Creighton
In a message of Fri, 30 Oct 2015 03:36:36 +1100, Chris Angelico writes: >I don't know what you mean by "natively", but I play a number of >DirectX games on my Debian Linux. Give it a try! You might find that >it all works perfectly. Or, if you develop games, you might not http://www.pcworld.c

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Laura Creighton
In a message of Thu, 29 Oct 2015 17:14:25 +0100, "Steffen Herzfeldt" writes: >Hi, >today i downloaded python3.5.0 x86 (win32) installer. >after the programm installed the files into its standard directory without >asking me if i wanted it in a different position, i tried running a program >that was

Re: python.exe is not a valid win32 executable

2015-10-29 Thread Chris Angelico
On Fri, Oct 30, 2015 at 3:14 AM, Steffen Herzfeldt wrote: > Hi, > today i downloaded python3.5.0 x86 (win32) installer. > after the programm installed the files into its standard directory without > asking me if i wanted it in a different position, i tried running a program > that was written for

Re: How to implement an async message bus

2015-10-29 Thread Nagy László Zsolt
try: return await waiter finally: # TODO: Use a context manager to add and remove the keys. for key in keys: self._waiters[key].discard(waiter) if handle: handle.cancel() def notify(s

python.exe is not a valid win32 executable

2015-10-29 Thread Steffen Herzfeldt
Hi, today i downloaded python3.5.0 x86 (win32) installer. after the programm installed the files into its standard directory without asking me if i wanted it in a different position, i tried running a program that was written for python 3.3.x the response of my system was an error message "pytho

Re: Most space-efficient way to store log entries

2015-10-29 Thread Marc Aymerich
On Thu, Oct 29, 2015 at 11:52 AM, Chris Angelico wrote: > On Thu, Oct 29, 2015 at 9:35 PM, Marc Aymerich wrote: >> 1) Each node on the cluster needs to keep track of *all* the changes >> that ever ocurred. So far, each node is storing each change as >> individual lines on a file (the "historical

RE: Problem working with subprocess.check_call

2015-10-29 Thread David Aldrich
Thanks for all your answers. David -- https://mail.python.org/mailman/listinfo/python-list

Re: Most space-efficient way to store log entries

2015-10-29 Thread Chris Angelico
On Thu, Oct 29, 2015 at 9:35 PM, Marc Aymerich wrote: > 1) Each node on the cluster needs to keep track of *all* the changes > that ever ocurred. So far, each node is storing each change as > individual lines on a file (the "historical state log" I was referring > to, the concept is very similar t

Re: Most space-efficient way to store log entries

2015-10-29 Thread Marc Aymerich
On Wed, Oct 28, 2015 at 11:30 PM, Marc Aymerich wrote: > Hi, > I'm writting an application that saves historical state in a log file. > I want to be really efficient in terms of used bytes. > > What I'm doing now is: > > 1) First use zlib.compress > 2) And then remove all new lines using binascii.

Re: UNABLE TO GET IDLE TO RUN

2015-10-29 Thread Terry Reedy
On 10/29/2015 3:53 AM, Laura Creighton wrote: I think that it would be useful if IDLE spit out a warning: User code is compiled and executed by builtin compile and exec, so it would have to be python (exec) that emit a warning. Warning: local file /u/lac/junk/string.py shadows module named

Re: Problem working with subprocess.check_call

2015-10-29 Thread Laura Creighton
In a message of Thu, 29 Oct 2015 11:11:17 +0100, Laura Creighton writes: >In a message of Thu, 29 Oct 2015 09:52:56 +, David Aldrich writes: >>Hi >> >>I am working on Linux with Python 3.4. >> >>I want to do a bash diff on two text files and show just the first 20 lines >>of diff's output. So

Re: Problem working with subprocess.check_call

2015-10-29 Thread Peter Otten
David Aldrich wrote: > I am working on Linux with Python 3.4. > > I want to do a bash diff on two text files and show just the first 20 > lines of diff's output. So I tried: > cmd = 'head -20 <(diff ' + file1 + ' ' + file2 + ')' subprocess.check_call(cmd, shell=True) > > The command

Re: Problem working with subprocess.check_call

2015-10-29 Thread Laura Creighton
In a message of Thu, 29 Oct 2015 09:52:56 +, David Aldrich writes: >Hi > >I am working on Linux with Python 3.4. > >I want to do a bash diff on two text files and show just the first 20 lines of >diff's output. So I tried: > cmd = 'head -20 <(diff ' + file1 + ' ' + file2 + ')' subpr

Re: Problem working with subprocess.check_call

2015-10-29 Thread Pete Dowdell
On 29/10/15 16:52, David Aldrich wrote: Hi I am working on Linux with Python 3.4. I want to do a bash diff on two text files and show just the first 20 lines of diff’s output. So I tried: >>> cmd = 'head -20 <(diff ' + file1 + ' ' + file2 + ')' >>> subprocess.check_call(cmd, shell=True)

RE: Problem working with subprocess.check_call

2015-10-29 Thread David Aldrich
> Try this > subprocess.check_call(["bash", "-O", "extglob", "-c", cmd]) That worked. Thanks very much! David -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem working with subprocess.check_call

2015-10-29 Thread INADA Naoki
On Thu, Oct 29, 2015 at 6:52 PM, David Aldrich wrote: > Hi > > > > I am working on Linux with Python 3.4. > > > > I want to do a bash diff on two text files and show just the first 20 > lines of diff’s output. So I tried: > > > > >>> cmd = 'head -20 <(diff ' + file1 + ' ' + file2 + ')' > > >>> s

Problem working with subprocess.check_call

2015-10-29 Thread David Aldrich
Hi I am working on Linux with Python 3.4. I want to do a bash diff on two text files and show just the first 20 lines of diff's output. So I tried: >>> cmd = 'head -20 <(diff ' + file1 + ' ' + file2 + ')' >>> subprocess.check_call(cmd, shell=True) The command contained in cmd works ok from th

RE: system error - api-ms-win-crt-runtime-l1-1-0.dll

2015-10-29 Thread Nagu Koppula
Hi Laura, Thanks for your quick response and help! It is windows 7 and it is working after I downloaded the Microsoft's Universal CRT. Regards, Nagu -Original Message- From: Laura Creighton [mailto:l...@openend.se] Sent: Thursday, October 29, 2015 4:34 PM To: Nagu Koppula Cc

Re: system error - api-ms-win-crt-runtime-l1-1-0.dll

2015-10-29 Thread Laura Creighton
1. If you are running XP, you cannot run Python 3.5. XP is not supported. You need to get a newer OS. 2. Otherwise, the api-ms-win-crt-runtime-l1-1-0-dll is Microsofts Universal CRT. You don't have one. You need to install it. Get it here: http://www.microsoft.com/en-us/download/detail

Re: Most space-efficient way to store log entries

2015-10-29 Thread Laura Creighton
Did the OP say he wanted to keep his compressed logfiles on a local disk? What if he wants to send them across the internet to some other machine and would like the transfer to happen as quickly as possible? Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: UNABLE TO GET IDLE TO RUN

2015-10-29 Thread Laura Creighton
I think that it would be useful if IDLE spit out a warning: Warning: local file /u/lac/junk/string.py shadows module named string in the Standard Library Laura -- https://mail.python.org/mailman/listinfo/python-list