Re: Using pipe in a system call

2015-10-08 Thread Ian Kelly
On Thu, Oct 8, 2015 at 4:03 PM, Cecil Westerhof wrote: > I want to do the following Bash command in Python: > sqlite3 spreekwoorden.sqlite "SELECT spreekwoord FROM spreekwoorden;" | > sort > spreekwoorden2.txt > > The following does this in Python: > sqlite_pipe = Popen( > ( >

Using pipe in a system call

2015-10-08 Thread Cecil Westerhof
I want to do the following Bash command in Python: sqlite3 spreekwoorden.sqlite "SELECT spreekwoord FROM spreekwoorden;" | sort > spreekwoorden2.txt The following does this in Python: sqlite_pipe = Popen( ( 'sqlite3', 'spreekwoorden.sqlite', 'SE

Re: Installation problem

2015-10-08 Thread Oscar Benjamin
On Thu, 8 Oct 2015 22:41 eryksun wrote: > On 10/8/15, Oscar Benjamin wrote: > > On Thu, 8 Oct 2015 22:30 eryksun wrote: > > > > The new installer for 3.5 doesn't create an "App Paths" key for > > "python.exe" like the old installer used to do (see the old > > Tools/msi/msi.py). Without that, un

Re: Installation problem

2015-10-08 Thread eryksun
On 10/8/15, Oscar Benjamin wrote: > On Thu, 8 Oct 2015 22:30 eryksun wrote: > > The new installer for 3.5 doesn't create an "App Paths" key for > "python.exe" like the old installer used to do (see the old > Tools/msi/msi.py). Without that, unless python.exe is in the search > PATH, "Win+R -> pyt

Re: Installation problem

2015-10-08 Thread Oscar Benjamin
On Thu, 8 Oct 2015 22:30 eryksun wrote: On 10/8/15, Tim Golden wrote: > > What happens if you do [Windows] + R (ie Start > Run), enter "python" > and click OK? The new installer for 3.5 doesn't create an "App Paths" key for "python.exe" like the old installer used to do (see the old Tools/msi/m

Re: Installation problem

2015-10-08 Thread eryksun
On 10/8/15, Tim Golden wrote: > > What happens if you do [Windows] + R (ie Start > Run), enter "python" > and click OK? The new installer for 3.5 doesn't create an "App Paths" key for "python.exe" like the old installer used to do (see the old Tools/msi/msi.py). Without that, unless python.exe is

Re: Installation problem

2015-10-08 Thread Mark Lawrence
On 08/10/2015 16:27, Laura Creighton wrote: In a message of Thu, 08 Oct 2015 15:49:56 +0100, Tim Golden writes: On 08/10/2015 14:25, MICHAEL wrote: Hello, Please forgive a new user's ignorance. I am trying to install Python 3.5.0 on my laptop (Windows 10). The default installation directory i

Re: Planet Scipy blog

2015-10-08 Thread Oscar Benjamin
On Thu, 8 Oct 2015 15:29 Laura Creighton wrote: In a message of Thu, 08 Oct 2015 15:10:21 +0100, Mark Lawrence writes: >On 08/10/2015 14:39, beliavsky--- via Python-list wrote: >> There used to be a blog about SciPy at https :// planet.scipy.

Re: Access a class in another python script

2015-10-08 Thread DBS
On Wednesday, October 7, 2015 at 11:46:05 PM UTC-7, Terry Reedy wrote: > On 10/8/2015 2:24 AM, DBS wrote: > > I'm using Python 3.5 and have two python scripts where one needs > > access to a class in the other script for authentication purposes. > > Any python .py file can be either run as a main

Re: Hiding code from intruders, a different slant on an old question

2015-10-08 Thread Ian Kelly
On Thu, Oct 8, 2015 at 9:46 AM, alister wrote: > Oh please > the Caesar cypher was mentioned as a simplification for the purpose of > demonstration. > it was not intended to be even a remotely serious suggestion > > which I am sure at least Denis understood when he posted his tongue in > cheek rep

Re: Installation problem

2015-10-08 Thread Laura Creighton
In a message of Thu, 08 Oct 2015 16:34:15 +0100, Tim Golden writes: >On 08/10/2015 16:27, Laura Creighton wrote: >> In a message of Thu, 08 Oct 2015 15:49:56 +0100, Tim Golden writes: >>> On 08/10/2015 14:25, MICHAEL wrote: Hello, Please forgive a new user's ignorance. I am

Re: Hiding code from intruders, a different slant on an old question

2015-10-08 Thread alister
On Thu, 08 Oct 2015 08:44:43 -0600, Ian Kelly wrote: > On Wed, Oct 7, 2015 at 6:01 PM, Dennis Lee Bieber > wrote: >> On Wed, 7 Oct 2015 13:05:07 + (UTC), alister >> declaimed the following: >> >> >>>With a simple Cesar the method is "shift the alphabet by 'X' characters >>>and X is the key >

Re: Installation problem

2015-10-08 Thread Tim Golden
On 08/10/2015 16:27, Laura Creighton wrote: > In a message of Thu, 08 Oct 2015 15:49:56 +0100, Tim Golden writes: >> On 08/10/2015 14:25, MICHAEL wrote: >>> Hello, >>> >>> Please forgive a new user's ignorance. >>> >>> I am trying to install Python 3.5.0 on my laptop (Windows 10). The >>> default i

Re: Installation problem

2015-10-08 Thread Laura Creighton
In a message of Thu, 08 Oct 2015 15:49:56 +0100, Tim Golden writes: >On 08/10/2015 14:25, MICHAEL wrote: >> Hello, >> >> Please forgive a new user's ignorance. >> >> I am trying to install Python 3.5.0 on my laptop (Windows 10). The >> default installation directory is shown as c:\Users\(my user

Re: Installation problem

2015-10-08 Thread Chris Angelico
On Fri, Oct 9, 2015 at 12:25 AM, MICHAEL wrote: > Scattered files include: > python.exe (in Open Office) > python27.dll (in CHIRP) > pythoncom27.dll (in CHIRP) > python33.dll (in HamRadio\WSJT) > python25.dll (in "Koan c:\Program Files(x86)\Cyberlink) > > I assume these various .dll files are used

Re: Installation problem

2015-10-08 Thread Tim Golden
On 08/10/2015 14:25, MICHAEL wrote: > Hello, > > Please forgive a new user's ignorance. > > I am trying to install Python 3.5.0 on my laptop (Windows 10). The > default installation directory is shown as c:\Users\(my user > name)\AppData\Local\Programs\Python\Python35-32. However, if I select > C

Re: Hiding code from intruders, a different slant on an old question

2015-10-08 Thread Ian Kelly
On Wed, Oct 7, 2015 at 6:01 PM, Dennis Lee Bieber wrote: > On Wed, 7 Oct 2015 13:05:07 + (UTC), alister > declaimed the following: > > >>With a simple Cesar the method is "shift the alphabet by 'X' characters >>and X is the key >> >>if the key is unknown then the attacker still has to brute f

Re: Installation problem

2015-10-08 Thread paul.hermeneutic
On Oct 8, 2015 7:31 AM, "MICHAEL" wrote: > > Hello, > > Please forgive a new user's ignorance. > > I am trying to install Python 3.5.0 on my laptop (Windows 10). The default installation directory is shown as c:\Users\(my user name)\AppData\Local\Programs\Python\Python35-32. However, if I select C

Re: Planet Scipy blog

2015-10-08 Thread Laura Creighton
In a message of Thu, 08 Oct 2015 15:10:21 +0100, Mark Lawrence writes: >On 08/10/2015 14:39, beliavsky--- via Python-list wrote: >> There used to be a blog about SciPy at https://planet.scipy.org/ , >> discussing the applications of Python to scientific computing. Now there is >> a static page ab

Re: Planet Scipy blog

2015-10-08 Thread Mark Lawrence
On 08/10/2015 14:39, beliavsky--- via Python-list wrote: There used to be a blog about SciPy at https://planet.scipy.org/ , discussing the applications of Python to scientific computing. Now there is a static page about "MPI for Python". What happened? Presumably http://www.scipy.org/ -- My

When tornado 4.3 will be available at pypi?

2015-10-08 Thread Nagy László Zsolt
I would like to use async/await. The tornado latest documentation says it is possible with tornado 4.3 and later: http://tornadokevinlee.readthedocs.org/en/latest/guide/coroutines.html However, it is not available yet. c:\Python\Projects>pip3 install tornado -U Requirement already up-to-date: to

ANN: Wing IDE 5.1.8 released

2015-10-08 Thread Wingware
Hi, Wingware has released version 5.1.8 of Wing IDE, our cross-platform integrated development environment for the Python programming language. Wing IDE features a professional code editor with vi, emacs, visual studio, and other key bindings, auto-completion, call tips, context-sensitive au

Re: Installation problem

2015-10-08 Thread Tim Golden
On 08/10/2015 14:25, MICHAEL wrote: > Hello, > > Please forgive a new user's ignorance. > > I am trying to install Python 3.5.0 on my laptop (Windows 10). The > default installation directory is shown as c:\Users\(my user > name)\AppData\Local\Programs\Python\Python35-32. However, if I select > C

Planet Scipy blog

2015-10-08 Thread beliavsky--- via Python-list
There used to be a blog about SciPy at https://planet.scipy.org/ , discussing the applications of Python to scientific computing. Now there is a static page about "MPI for Python". What happened? -- https://mail.python.org/mailman/listinfo/python-list

Installation problem

2015-10-08 Thread MICHAEL
Hello, Please forgive a new user's ignorance. I am trying to install Python 3.5.0 on my laptop (Windows 10). The default installation directory is shown as c:\Users\(my user name)\AppData\Local\Programs\Python\Python35-32. However, if I select Custom Install then the default installation dir

Re: Hiding code from intruders, a different slant on an old question

2015-10-08 Thread cl
Dennis Lee Bieber wrote: > On Wed, 7 Oct 2015 13:05:07 + (UTC), alister > declaimed the following: > > > >With a simple Cesar the method is "shift the alphabet by 'X' characters > >and X is the key > > > >if the key is unknown then the attacker still has to brute force the > >method (admi

Re: change data in large excel file(more than 240 000 rows on sheet)

2015-10-08 Thread Laura Creighton
You need to use the optimised reader. https://openpyxl.readthedocs.org/en/latest/optimized.html Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: reg multiple login python

2015-10-08 Thread harirammanohar159
On Thursday, 1 October 2015 12:35:01 UTC+5:30, hariramm...@gmail.com wrote: > Hi All, > > Is there anyway i can login to remote servers at once and do the activity, i > can do one by one using for loop.. > > Thanks in advance. if its a command i can launch a detached process for each request,

Re: change data in large excel file(more than 240 000 rows on sheet)

2015-10-08 Thread gall . pavgal . gall
thanks Guys! xlrd it's cool, but i need change existing file, which contains some sheets with large data...) So, if i use xlwt(i.e. create new excel document), i will lose data from other sheets. I tried use openpyxl, but got error : Traceback (most recent call last): File "D:/WebPython/oneMor

libevent-python

2015-10-08 Thread chenc...@inhand.com.cn
hi: I use libevent-python package currently. I read the file eventmodule.c, but I can not understand the function: static EventObject *EventBase_CreateEvent(EventBaseObject *self, PyObject *args, PyObject *kwargs) { EventObject *newEvent = NULL; newEvent = (EventObject *)Event_Ne

Re: python3.5 + reportlab + windows again

2015-10-08 Thread Robin Becker
On 06/10/2015 16:31, Robin Becker wrote: . well it seems someone can build these extensions properly. I used Christoph Gohlke's reportlab build and although there are 3 failures in the latest tests I don't see any crashes etc etc and all the failures are explainable. Last thing I saw fro

Re: Is there a Windows Python SIG?

2015-10-08 Thread Laura Creighton
In a message of Thu, 08 Oct 2015 00:15:26 -0500, Anthony Papillion writes: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA512 > >Over the next few months, I'll be working on a project using Python on >Microsoft Windows. While I'm doing this project, I'd also like to contribute >in any way I can