Re: PyCon Australia 2011: Schedule Announced

2011-07-14 Thread Laura Creighton
ct you from your conference, but sometime I would like to have an email. Thanks very much, Laura Creighton -- http://mail.python.org/mailman/listinfo/python-list

After 40 years ... Knuth vol 4 is to be published!!

2005-02-06 Thread Laura Creighton
"More than forty years in the making, the long-anticipated Volume 4 of The Art of Computer Programming is about to make its debuta. in parts. Rather than waiting for the complete book, Dr. Knuth and Addison-Wesley are publishing it in installments ("fascicles") a la Charles Dickens. See http://www

Re: ANN: Wing IDE 2.0.1 released

2004-12-07 Thread Laura Creighton
Congratulations! Laura -- http://mail.python.org/mailman/listinfo/python-list

Re: What is a function parameter =[] for?

2015-11-24 Thread Laura Creighton
In a message of Wed, 25 Nov 2015 11:39:54 +1100, "Steven D'Aprano" writes: >I'm not sure what value [ha, see what I did there?!] there is in inventing >two new words for things that we already have standard terms for. Done correctly, you can get clarity. >"Referent" is just a funny way of saying

Re: Istalling python

2015-11-25 Thread Laura Creighton
In a message of Wed, 25 Nov 2015 04:22:54 +, ARONA KANAGARATHNA via Python- list writes: >I tried to install this software python 3.4.3 to my pc which run windows Xp >32. i could installed but it doesnot run.it gives this message >"python35-32/python.exe isnot a valid win32 app.Please help me

Re: Late-binding of function defaults (was Re: What is a function parameter =[] for?)

2015-11-25 Thread Laura Creighton
In a message of Wed, 25 Nov 2015 07:13:41 -0800, Ned Batchelder writes: >That's because it's a programming language, and very very little about >programming languages is obvious. The best we can hope for is "familiar," >and even then, familiar to who? High school algebra students will at >first b

Re: Multiplication [was Re: Late-binding of function defaults]

2015-11-25 Thread Laura Creighton
In a message of Thu, 26 Nov 2015 05:09:13 +1100, "Steven D'Aprano" writes: >On Thu, 26 Nov 2015 02:59 am, Laura Creighton wrote: > >> The great sticking point for the children I am teaching is >> '*' means multiplication. You can really see that s

Re: Help needed with compiling python

2015-11-25 Thread Laura Creighton
In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof writes: > >My system python was all-ready damaged: that is why I wanted to build >myself. Your Suse system probably wants to use python for something. If your system python is damaged, you badly need to fix that, using the system p

Re: Python on windows 10

2015-11-26 Thread Laura Creighton
e so we have proceed. If 'python' isn't the command you need to use to get python3.5 perhaps py -3.5 -m idlelib will work. But the idea is we want to catch idle failing, so we can figure out what is going on. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: read 4D binary data

2015-11-26 Thread Laura Creighton
In a message of Thu, 26 Nov 2015 15:15:43 -0200, jorge.conr...@cptec.inpe.br wr ites: >Hi, > > >I'm startig in Python and I have a 4D binary data. The dimension of my >data is: > >67 > longitude points >41 > latitude points >10 > pressure levels points >33 > time points > > >How ca

Re: Help with this program???

2015-11-27 Thread Laura Creighton
In a message of Fri, 27 Nov 2015 01:43:53 -0800, justin bloomer via Python-list writes: >Your program should contain a function that: >1. Seeks input from the user (via the keyboard); >2. To build a list of student exam results; >3. For each student their name (first and last), student number, and

Re: python response slow when running external DLL

2015-11-27 Thread Laura Creighton
In a message of Fri, 27 Nov 2015 13:20:03 +0100, Peter Otten writes: >A cleaner solution can indeed involve threads; you might adapt the approach >from (Python 2 code). But it is probably better to use threading http://code.activestate.com/recipes/82

Re: What is a function parameter =[] for?

2015-11-27 Thread Laura Creighton
In a message of Fri, 27 Nov 2015 23:57:29 +1100, "Steven D'Aprano" writes: >On Fri, 27 Nov 2015 01:56 pm, MRAB wrote: > >> On 2015-11-27 02:44, Steven D'Aprano wrote: > >>> The PyPy implementation has to take special actions to preserve the ID >>> across object recreations. That is what I mean by "

Re: Python 3 virtualenvs

2015-11-27 Thread Laura Creighton
In a message of Sat, 28 Nov 2015 00:37:21 +, D.M. Procida writes: >I have a new installation of Debian Jessie, with Python 2.7 and 3.4 >installed. > >I want to use Python 3.4 by default for most things, so I want >virtualenv to create Python 3.4 virtualenvs unless I ask it to >otherwise. > >It

Re: Faviourite improvements in Python 3.5 (was: Python 3 virtualenvs)

2015-11-27 Thread Laura Creighton
In a message of Sat, 28 Nov 2015 12:42:30 +1100, Ben Finney writes: >Laura Creighton writes: > >> […] python3.5 which I infinitely prefer over 3.4. > >That's strong language :-) > >Laura – and anyone else – what in your opinion are the best improvements >brough

Re: python response slow when running external DLL

2015-11-28 Thread Laura Creighton
In a message of Sat, 28 Nov 2015 11:13:38 +0100, Peter Otten writes: >jf...@ms4.hinet.net wrote: >> Using thread is obviously more logical. I think my mistake was the "while >> busy: pass" loop which makes no sense because it blocks the main thread, >> just as the time.sleep() does. That's why in

Re: askopenfilename()

2015-11-28 Thread Laura Creighton
Maybe Wei Li Jiang's hack will work for you? http://stackoverflow.com/questions/3375227/how-to-give-tkinter-file-dialog-focus But then see if it works under MacOS. I fear it will not. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Find relative url in mixed text/html

2015-11-28 Thread Laura Creighton
In a message of Sun, 29 Nov 2015 00:25:07 +0800, Rob Hills writes: >All that said, I'd be interested to see specific (and hopefully >unbiased) info about phpBB's failings... People I know of who run different bb software say that the spammers really prefer phpBB. So keeping it spam free is about

Re: Does Python allow variables to be passed into function for dynamic screen scraping?

2015-11-28 Thread Laura Creighton
In a message of Sat, 28 Nov 2015 14:03:10 -0800, ryguy7272 writes: >I'm looking at this URL. >https://en.wikipedia.org/wiki/Wikipedia:Unusual_place_names > >If I hit F12 I can see tags such as these: >And so on and so forth. > >I'm wondering if someone can share a script, or a function, that will

Re: Does Python allow variables to be passed into function for dynamic screen scraping?

2015-11-28 Thread Laura Creighton
In a message of Sat, 28 Nov 2015 14:37:26 -0800, ryguy7272 writes: >On Saturday, November 28, 2015 at 5:28:55 PM UTC-5, Laura Creighton wrote: >> In a message of Sat, 28 Nov 2015 14:03:10 -0800, ryguy7272 writes: >> >I'm looking at this URL. >> &

Re: Python 3 virtualenvs

2015-11-29 Thread Laura Creighton
In a message of Sun, 29 Nov 2015 13:19:46 +0100, Lele Gaifax writes: >Jon Ribbens writes: > >> On 2015-11-28, D.M. Procida >> wrote: >>> >>> Is something else required? >> >> Debian's package management is mysterious and apparently bizarre >> and frankly in respect to Python, not very good. > >I

Re: Python 3 virtualenvs

2015-11-29 Thread Laura Creighton
In a message of Sun, 29 Nov 2015 13:23:19 +, Jon Ribbens writes: >I don't know if, in future, pyvenv will be the way to go and >virtualenv will be deprecated, but either way we do not appear >to be there yet. pyenv is going away. python -m venv is the preferred way to get a venv https://bugs

Re: What use is this class?

2015-11-29 Thread Laura Creighton
In a message of Sun, 29 Nov 2015 13:36:58 -0800, fl writes: >Hi, > >When I search around tutorial about None, I came across this link: > >http://jaredgrubb.blogspot.ca/2009/04/python-is-none-vs-none.html > >I don't understand what use of this class example: > > > class Zero(): # a class that i

Re: How can I count word frequency in a web site?

2015-11-29 Thread Laura Creighton
In a message of Sun, 29 Nov 2015 21:31:49 -0500, Cem Karan writes: >You might want to look into Beautiful Soup >(https://pypi.python.org/pypi/beautifulsoup4), which is an HTML >screen-scraping tool. I've never used it, but I've heard good things about it. > >Good luck, >Cem Karan http://coderev

Re: Caret key quits idle on pt keyboard

2015-11-30 Thread Laura Creighton
In a message of Tue, 01 Dec 2015 02:57:15 +1100, Chris Angelico writes: >On Tue, Dec 1, 2015 at 2:10 AM, Random832 wrote: >> On 2015-11-30, Chris Angelico wrote: >>> Hmm. This could be part of the known issues with Tk (on which Idle >>> depends) and non-BMP characters, but a caret should be safe.

Re: Python 3 virtualenvs

2015-11-30 Thread Laura Creighton
In a message of Mon, 30 Nov 2015 09:32:27 -0700, Carl Meyer writes: >Hi Laura, >I don't know what you mean by this. Venv is intended to do _exactly_ >what virtualenv does, only better. Unless by "what virtualenv does" you >mean "also support Python 2." That is exactly what I mean. >> I think it

Re: Python 3 virtualenvs

2015-11-30 Thread Laura Creighton
In a message of Mon, 30 Nov 2015 10:28:46 -0700, Carl Meyer writes: >So I agree that for now you should be sticking with virtualenv (I use it >too), but I hope you'll take another look at venv a few years down the >road, if you find yourself in a situation where all the interpreters you >need are

python domain in China. This showed up on Python list

2015-12-01 Thread Laura Creighton
I think we have just dodged a bullet, let us now go thank the nice people who sent us this and figure out how we should secure the domain. Laura --- Forwarded Message Return-Path: Date: Tue, 1 Dec 2015 15:12:58 +0800 From: "Ian Liu" To: Subject: python CN domain and keyword Message-ID: <

Re: python domain in China. This showed up on Python list

2015-12-01 Thread Laura Creighton
In a message of Tue, 01 Dec 2015 02:51:21 -0800, Chris Rebert writes: >I hate to break it to you, but this seems to be just another of those >come-ons spammed out by various scummy businesses that trawl WHOIS >databases for people to scam into buying extra/unnecessary domain >names. Google "chinese

Re: Installation Problem

2015-12-02 Thread Laura Creighton
fferent versions but with no luck. Before >you ask I have already completely removed the program. > >Looking forward to your reply What Operating System? If it is Windows XP, that is your problem. Python 3.5 is not supported on Windows XP. Either stick with 3.4 or upgrade your OS to

Re: Installation Problem

2015-12-02 Thread Laura Creighton
In a message of Wed, 02 Dec 2015 13:30:38 +, Mark Lawrence writes: >0) before asking search for "python installation problem" just in case >you're not the first person to have this issue. That is not a good idea, there are so many different hits for that. The first one I get is this: http://s

Re: Installation Problem

2015-12-02 Thread Laura Creighton
In a message of Wed, 02 Dec 2015 14:42:48 +, Mark Lawrence writes: >On 02/12/2015 13:59, Laura Creighton wrote: >> In a message of Wed, 02 Dec 2015 13:30:38 +, Mark Lawrence writes: >>> 0) before asking search for "python installation problem" just in case >

Re: Is Microsoft Windows secretly downloading childporn to your computer ?!

2015-12-02 Thread Laura Creighton
In a message of Wed, 02 Dec 2015 08:36:24 -0800, Keith Thompson writes: >"We must do something. This is something. Therefore, we must do this." >-- Antony Jay and Jonathan Lynn, "Yes Minister" This is one of my favourite quotes of all time. Unfortunately, you have it slightly wrong. The q

Re: python message

2015-12-02 Thread Laura Creighton
In a message of Wed, 02 Dec 2015 15:53:08 -0200, jorge.conr...@cptec.inpe.br wr ites: > > > >Hi, > > >I'm a new user of Pyhton and I run my code lenetcdf1.py and I plot the >figure but I had this message: > > >/usr/lib64/python2.7/site-packages/matplotlib/collections.py:590: >FutureWarning: eleme

Re: stuff and nonsense

2015-12-02 Thread Laura Creighton
In a message of Wed, 02 Dec 2015 22:51:13 +, Denis McMahon writes: >On Wed, 02 Dec 2015 11:32:25 -0600, Ian Kelly wrote: > >> In what way is discussion of a tangential topic feeding the troll? Said >> troll is not even participating in the discussion. > >Reposting / responding / following up wi

Re: Does Python 2.7 do Open Office

2015-12-02 Thread Laura Creighton
In a message of Wed, 02 Dec 2015 18:50:34 -0500, Seymore4Head writes: >I have a text file I would like to search through but I have tried it >before. I don't remember why they are not compatible together, but I >wanted to ask to make sure. > >I know I can convert the file to plain text but it woul

Re: filter a list of strings

2015-12-03 Thread Laura Creighton
In a message of Thu, 03 Dec 2015 10:27:19 +0100, c.bu...@posteo.jp writes: >Thank you for your suggestion. This will help a lot. > >On 2015-12-03 08:32 Jussi Piitulainen wrote: >> list = [ item for item in list >> if ( 'Banana' not in item and >> 'Car' not in item ) ] > >I o

Re: getting fileinput to do errors='ignore' or 'replace'?

2015-12-03 Thread Laura Creighton
In a message of Thu, 03 Dec 2015 15:12:15 +, Adam Funk writes: >I'm having trouble with some input files that are almost all proper >UTF-8 but with a couple of troublesome characters mixed in, which I'd >like to ignore instead of throwing ValueError. I've found the >openhook for the encoding >

Idle, tk and MacOS

2015-12-03 Thread Laura Creighton
This in to webmaster. Somebody got an error message about their Tcl/Tk when they started using IDLE. They went to https://www.python.org/download/mac/tcltk/ and, yes indeed, their tk is 8.5.9, their OS is 10.8.5 so they have a problem. They downloaded the patch from ActiveState, and did _somet

Re: getting fileinput to do errors='ignore' or 'replace'?

2015-12-03 Thread Laura Creighton
In a message of Thu, 03 Dec 2015 19:17:51 +, Adam Funk writes: >On 2015-12-03, Laura Creighton wrote: > >> In a message of Thu, 03 Dec 2015 15:12:15 +, Adam Funk writes: >>>I'm having trouble with some input files that are almost all proper >>>UTF

Re: Idle, tk and MacOS

2015-12-03 Thread Laura Creighton
In a message of Thu, 03 Dec 2015 20:34:10 +0100, Laura Creighton writes: >This in to webmaster. Somebody got an error message about their >Tcl/Tk when they started using IDLE. > >They went to https://www.python.org/download/mac/tcltk/ >and, yes indeed, their tk is 8.5.9, their

Re: python 3.5.0rc1 problem opening IDLE in windows

2015-12-04 Thread Laura Creighton
ely >Nick "Mac" McElwaine Go to a console window and type python -m idlelib See if you get a useful traceback, and post it here. (If idle just works, tell us that, instead.) Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: problem

2015-12-04 Thread Laura Creighton
ur OS is too old. Python 3.5 is not supported. Stick with 3.4 or upgrade your OS. If something else, you need to install the available service packs. For instance, if you are running Windows 7, https://www.microsoft.com/en-us/download/details.aspx?id=5842 is where you get service pack 1. Lau

Re: Python 3.5 not work in Windows XP

2015-12-06 Thread Laura Creighton
r not runs (with message 'Access >denied)' Yes, when 3.5.1 we will make that a lot clearer. Windows XP is not supported for 3.5 (and later). Either stick with 3.4 or upgrade your OS to something more recent. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: Issue

2015-12-06 Thread Laura Creighton
In a message of Sun, 06 Dec 2015 15:48:18 +, James Gilliver writes: >Hi! >I have recently installed Python 3.5.0 but cannot open the application! Could >you help me resolve this issue? >Thanks,James > >-- >https://mail.python.org/mailman/listinfo/pytho

Re: issues

2015-12-06 Thread Laura Creighton
In a message of Fri, 04 Dec 2015 22:44:53 +, Anna Szaharcsuk via Python-lis t writes: >Hello there, > >I was trying to install PyCharm, but didn't worked and needed interpreter. >the computer advised to install the python for windows. > >Can you help me, please, PyCharm stillnot working...allwa

Re: Message-IDs on Usenet gateway

2015-12-06 Thread Laura Creighton
In a message of Sun, 06 Dec 2015 15:51:54 -0500, Random832 writes: >Something weird is going on. On google groups, this message has >a different Message-ID: > I think it is this problem. Start here. https://mail.python.org/pipermail/mailman-developers/2015-November/025225.html Laura -- https://

Re: Problems using celery and pyelasticsearch

2015-12-06 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 02:37:15 +0100, nonami writes: >Does anyone have any idea what could be going on or how I can further >inspect running tasks. Not sure this will help, but it might ... https://www.caktusgroup.com/blog/2013/10/30/using-strace-debug-stuck-celery-tasks/ Laura --

Re: define the area plot

2015-12-07 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 10:51:10 -0200, jorge.conr...@cptec.inpe.br wr ites: > > >Hi, > >I'm changing from the IDL to PYTHON. I would like know how can I define >the size of the window plot in Python. On IDL I define the size of area >plot by: > > >window,1,xsize=1000,ysize=1000 > > >It

Re: install issue

2015-12-07 Thread Laura Creighton
e things are still not working perfectly on that front, but that's the problem. You need to either stick with 3.4 or upgrade your OS. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: Packages installing problem

2015-12-07 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 00:32:37 +, lalith writes: >Dear sir. > >I was using Python2.7 and i move to Python3.5. >I face big trouble with installing software packages, i need in my >development. > >Lalith >-- >https://mail.python.org/mailman/listinfo/python-list Do you want to instal

Re: python 3.5: upgrading smart_open package

2015-12-07 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 22:45:44 +0530, Anupam Mediratta writes: >Hello, > >I have to use python 3.5 in my use case and one of the packages I use >(gensim), in turn uses smart_open (https://github.com/piskvorky/smart_open/) > >smart_open depends on boto and boto fails on my machine running

Re: Python Script - Windows Task Scheduler - Logging

2015-12-08 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 23:53:10 +, Raheel Rao writes: >Hello there,I created a python script that connects to an ftp and downloads >files to a specifed folder and logs each event in a log file. This script >works perfectly fine as i want it to however when i put this in a task >sch

Re: manually build a unittest/doctest object.

2015-12-08 Thread Laura Creighton
In a message of Tue, 08 Dec 2015 07:04:39 -0700, Vincent Davis writes: >On Tue, Dec 8, 2015 at 2:06 AM, Peter Otten <__pete...@web.de> wrote: > >> But why would you want to do that? > > >Thanks Peter, I want to do that because I want to test jupyter notebooks. >​The notebook is in JSON and I can ge

Re: Problem

2015-12-08 Thread Laura Creighton
rachi* >*Masters in Health care Biotechnology (ASAB) NUST, Islamabad* >*Pakistan.* What OS version are you running? Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem

2015-12-08 Thread Laura Creighton
In a message of Tue, 08 Dec 2015 16:11:53 +0100, Fabien writes: >On 12/08/2015 04:03 PM, Namrah Anwar wrote: >> Dear Administration, >> >> I am Namrah Anwar writing to you from Pakistan. I downloaded Python version >> 3.5.1 and 2.7 and after installation at first, upon opening again it asked >(snip

Problem with sqlite3 and Decimal (fwd)

2015-12-11 Thread Laura Creighton
>From python-list. Very weird. Another reason not to use sqlite3 --- Forwarded Message To: python-list@python.org From: "Frank Millman" Subject: Problem with sqlite3 and Decimal Date: Fri, 11 Dec 2015 11:21:53 +0200 Lines: 71 Hi all I need to store Decimal objects in a sqlite3 database, us

Re: python script for dwonload free anything?

2015-12-11 Thread Laura Creighton
In a message of Fri, 11 Dec 2015 06:29:33 -0800, hienm...@gmail.com writes: >i want create script for download free 3d model from nonecg.com like >https://github.com/nishad/udemy-dl-windows , this script download free udemy >video lesson. Anyone can tell e, how to create script like that? >-- >h

Re: 2to3 translation problem

2015-12-12 Thread Laura Creighton
In a message of Sat, 12 Dec 2015 16:31:54 +, Tony van der Hoff writes: >On 12/12/15 15:09, Mark Lawrence wrote: >> On 12/12/2015 14:42, Tony van der Hoff wrote: >>> Debian Jessie, python 2.7; python 3.4 >>> >>> I have an application, using pygame for graphics, that works fine under >>> python2.

Re: 2to3 translation problem

2015-12-12 Thread Laura Creighton
In a message of Sat, 12 Dec 2015 17:59:52 +0100, Peter Otten writes: >Tony van der Hoff wrote: > >> On 12/12/15 15:09, Mark Lawrence wrote: >>> On 12/12/2015 14:42, Tony van der Hoff wrote: Debian Jessie, python 2.7; python 3.4 I have an application, using pygame for graphics, that w

Re: 2to3 translation problem

2015-12-12 Thread Laura Creighton
In a message of Sun, 13 Dec 2015 04:50:43 +1100, Chris Angelico writes: >On Sun, Dec 13, 2015 at 4:30 AM, Tony van der Hoff wrote: >> Thanks, Laura, and others who have replied. You're right; python-3-pygame >> exists in unstable, but has not yet made it to jessie, even in backports. >> >> So, I'l

Re: 2to3 translation problem

2015-12-12 Thread Laura Creighton
In a message of Sat, 12 Dec 2015 20:24:10 +, Tony van der Hoff writes: >On 12/12/15 17:54, Laura Creighton wrote: >> In a message of Sun, 13 Dec 2015 04:50:43 +1100, Chris Angelico writes: >>> On Sun, Dec 13, 2015 at 4:30 AM, Tony van der Hoff >>> wrote: >>

Re: Why doesn't response pydoc on my Python 2.7?

2015-12-12 Thread Laura Creighton
In a message of Sat, 12 Dec 2015 15:01:54 -0800, Robert writes: >Hi, > >I want to use pydoc as some online tutorial shows, but it cannot run as >below. What is wrong? > > >Thanks, > > > > import pydoc pydoc > pydoc sys >SyntaxError: invalid syntax import sys pydoc sys >Syn

Re: codecs.StreamRecoder not doing what I expected.

2015-12-13 Thread Laura Creighton
In a message of Sun, 13 Dec 2015 01:35:45 -0500, "D'Arcy J.M. Cain" writes: >When I try to print it to the web page it fails because the \xe9 >character is not valid ASCII. However, my default encoding is utf-8. >Other web pages on the same server display fine. > >I have the following in the Apach

Re: Weird list conversion

2015-12-13 Thread Laura Creighton
In a message of Sun, 13 Dec 2015 11:45:19 -0800, high5stor...@gmail.com writes: >Hi all, > > f = open("stairs.bin", "rb") > data = list(f.read(16)) > print data > >returns > >['=', '\x04', '\x00', '\x05', '\x00', '\x01', '\x00', '\x00', '\x00', '\x00', >'\x00', '\x00', '\x00', '\x0

Re: cannot open file with non-ASCII filename

2015-12-14 Thread Laura Creighton
In a message of Mon, 14 Dec 2015 13:34:56 -0500, Terry Reedy writes: >On 12/14/2015 11:24 AM, Ulli Horlacher wrote: >> With Python 2.7.11 on Windows 7 my users cannot open/read files with >> non-ASCII filenames. > >Right. They should either restrict themselves to ascii (or possibly >latin-1) file

Re: cannot open file with non-ASCII filename

2015-12-14 Thread Laura Creighton
In a message of Mon, 14 Dec 2015 23:41:21 +0100, "Thomas 'PointedEars' Lahn" wr ites: >Why do you have to use msvcrt? > >I would use curses for user input, but: > >,- >,-

Re: cannot open file with non-ASCII filename

2015-12-14 Thread Laura Creighton
In a message of Mon, 14 Dec 2015 17:55:04 -0600, eryk sun writes: >On Mon, Dec 14, 2015 at 4:17 PM, Ulli Horlacher > wrote: >> >> ImportError: No module named pyreadline >> >> Is it a python 3.x module? >> >> I am limited to Python 2.7 > >pyreadline is available for 2.7-3.5 on PyPI. Anyway, I tried

Re: cannot open file with non-ASCII filename

2015-12-15 Thread Laura Creighton
In a message of Tue, 15 Dec 2015 08:26:37 +, Ulli Horlacher writes: >Laura Creighton wrote: > >> PyPy wrote its own pyreadline. >> You can get it here. https://bitbucket.org/pypy/pyrepl > >As far as I can see, it has no getkey function. >My users do not hit ENTER af

Re: subprocess.call with non-ASCII arguments?

2015-12-15 Thread Laura Creighton
In a message of Tue, 15 Dec 2015 14:25:50 +, Ulli Horlacher writes: >(My first posting seems to got lost) > >I want to create a zip file within a Python 2.7 program on windows. > >My code: > > cmd = ['7za.exe','a','-tzip',archive] + files > status = subprocess.call(cmd) > >leads to: > > File

Re: Library function to encode data to multipart/form-data format?

2015-12-21 Thread Laura Creighton
In a message of Mon, 21 Dec 2015 17:51:00 +, Grant Edwards writes: >Is there a standard library function that can be used to encode data >into multipart/form-data format? IIRC, I looked for this once before >and didn't find anything in the library. > >[I don't want to actually send an HTTP PO

me, my arm, my availability ...

2016-01-13 Thread Laura Creighton
I fell recently. Ought to be nothing, but a small chip of bone, either an existing one or one I just made is nicely wedged in the joint taking away a whole lot of the ability of my arm to rotate in the elbow joint. Or hold my arm in a position that is usual for typing. Plus, now that the sprai

Re: me, my arm, my availability ...

2016-01-13 Thread Laura Creighton
In a message of Wed, 13 Jan 2016 16:41:57 -0500, "David H. Lipman" writes: >From: "Laura Creighton" > >> >> I fell recently. Ought to be nothing, but a small chip of bone, either an > >Due to the side-effects of the prescription drugs you were given,

tabs and the Python3 console

2015-02-10 Thread Laura Creighton
complex( BrokenPipeError(continue ... Do I need a python3 enabled with readline support, or something? Thanks very much, Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: tabs and the Python3 console

2015-02-10 Thread Laura Creighton
In a message of Tue, 10 Feb 2015 16:50:54 +0100, Vincent Vande Vyvre writes: >Le 10/02/2015 15:36, Laura Creighton a écrit : >> I have the debian version of python3 installed here. >> >> Python 3.4.2 (default, Nov 13 2014, 07:01:52) >> [GCC 4.9.2] on linux >> Type

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

2015-02-10 Thread Laura Creighton
I'm using this: http://michel.staelens.pagesperso-orange.fr/clavier/index_GB.htm# to get cyrillic. Not sure the other alternatives will get you what you want -- my keyboard is rather well loaded with accented letters from the get-go. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

2015-02-10 Thread Laura Creighton
In a message of Tue, 10 Feb 2015 15:29:00 -0600, Tim Chase writes: >While it's not exactly a hold-down-get-a-menu, I opt for changing my >(otherwise-useless) caps-lock key to an X compose key: > > $ setxkbmap -option compose:caps > >I can then hit caps-lock followed by what are generally intuitive

Re: function inclusion problem

2015-02-10 Thread Laura Creighton
In a message of Tue, 10 Feb 2015 15:38:02 -0800, vlyamt...@gmail.com writes: >I defined function Fatalln in "mydef.py" and it works fine if i call it from >"mydef.py", but when i try to call it from "test.py" in the same folder: >import mydef >... >Fatalln "my test" >i have NameError: name 'Fatall

Re: function inclusion problem

2015-02-10 Thread Laura Creighton
In a message of Wed, 11 Feb 2015 01:06:00 +0100, Laura Creighton writes: >In a message of Tue, 10 Feb 2015 15:38:02 -0800, vlyamt...@gmail.com writes: >>I defined function Fatalln in "mydef.py" and it works fine if i call it from >>"mydef.py", but when i try to

Re: Wildly OT: pop-up virtual keyboard for Mac or Linux?

2015-02-11 Thread Laura Creighton
In a message of Wed, 11 Feb 2015 11:23:10 -0600, Skip Montanaro writes: >Thanks for all the ideas. As I'm an Emacs user (since Gosmacs in the >early 80s), I will likely focus my attention there first. While the >xkbmap/Xmodmap path seems like it would also work on Linux, I'm >guessing Apple wouldn'

Re: Python 2.7.9, 3.4.2 won't verify SSL cert for "verisign.com"

2015-02-17 Thread Laura Creighton
I've seen something like this: The requests module http://docs.python-requests.org/en/latest/ ships with its own set of certificates "cacert.pem" and ignores the system wide ones -- so, for instance, adding certificates to /etc/ssl/certs on your debian or ubuntu system won't work. I edited it by

Re: Python 2.7.9, 3.4.2 won't verify SSL cert for "verisign.com"

2015-02-17 Thread Laura Creighton
Possibly this bug? https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1014640 Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7.9, 3.4.2 won't verify SSL cert for "verisign.com"

2015-02-17 Thread Laura Creighton
I am away on a consulting gig, so I really only have my laptop to test on. Python 2.7.8 (default, Nov 18 2014, 14:57:17) debian version jessie/sid SSL test, with OpenSSL version OpenSSL 1.0.1j 15 Oct 2014. Connection to "verisign.com" failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify fa

Re: python implementation of a new integer encoding algorithm.

2015-02-18 Thread Laura Creighton
n't we all benefitted? But, right now, you are, alas for you, about 45 years too late for the ideas you are sprouting. I had similar ones about 30 years too late and, well, they only worked for me for about 3-5 years. Sucks to be you, friend -- you needed to be your grandfather, I fear. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: can python handle CHIME .spt files?

2015-02-18 Thread Laura Creighton
son enjoys programming. If you want to write him and ask him more questions, his contact page is at http://www.dalkescientific.com/contact.html He's very friendly, as well as being a very good friend of mine. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: can python handle CHIME .spt files?

2015-02-18 Thread Laura Creighton
In a message of Wed, 18 Feb 2015 21:23:50 -0800, Ethan Furman writes: >On 02/18/2015 08:57 PM, Laura Creighton wrote: > >> I went and asked your question to Andrew Dalke, who is an expert >> in such things. > >Did you happen to ask him about PyMol? Just curious. ;) >

Re: can python handle CHIME .spt files (fwd)

2015-02-19 Thread Laura Creighton
; On Feb 19, 2015, at 8:05 AM, Laura Creighton wrote: > Now discussion has moved to > http://www.pymol.org/ > > Do you know if that will do the job? Or anything else about it? I do not know. My knowledge of that field is rather dated now. The best I can find in a quick search is a

Re: How to design a search engine in Python?

2015-02-22 Thread Laura Creighton
tic I feel that would give me a >solid background to work around the problem. > >Regards, >Subhabrata. You may find the API docs surrounding rdelbru.github.io/SIREn/ of interest then. Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

Re: Design thought for callbacks

2015-02-22 Thread Laura Creighton
somebody, I got confused with the indent level wrote: >> They force the use of the much slower cycle-detecting GC, rather than >> the quick and efficient CPython refcounter. Somebody has misunderstood something here. When it comes to efficient garbage collectors, refcounting is a turtle. The CP

Re: Design thought for callbacks

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 07:16:14 -0500, Cem Karan writes: >This was PRECISELY the situation I was thinking about. My hope was >to make the callback mechanism slightly less surprising by allowing >the user to track them, releasing them when they aren't needed >without having to figure out

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 12:45:03 +, Dave Farrance writes: >Maybe there's not enough people like me that have really felt the need for >the speed. Or maybe it's simply the accident of the historical >development path that's set-in-stone an interpreter rather than a JIT. >Anybody got a

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 15:36:42 +, Dave Farrance writes: >Laura Creighton wrote: > >>I don't understand 'an interpreter rather than a JIT'. PyPy has a >>JIT, that sort of is the whole point. > >Yes. I meant that from my end-user, non-softw

Re: id() and is operator

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 09:53:33 -0800, LJ writes: >Hi everyone. Quick question here. Lets suppose if have the following numpy >array: > >b=np.array([[0]*2]*3) > >and then: > id(b[0]) >4582 id(b[1]) >45857512 id(b[2]) >4582 > >Please correct me if I am wrong, but ac

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 11:02:29 -0800, Paul Rubin writes: >Laura Creighton writes: >> Because one thing we do know is that people who are completely and >> utterly ignorant about whether having multiple cores will improve >> their code still want to use a language t

Re: id() and is operator

2015-02-22 Thread Laura Creighton
Ooops, I missed the numpy, so I thought that it was the contents of the array that was causing the problem. My very bad. Apologies. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
Good news -- it seems to be working fine with PyPy. https://travis-ci.org/hugovk/Pillow/builds for me, not extensively tested, it just seems to be working. I have several pypy's floating around here, each within its own virtualenv. If you aren't familiar with virtualenv, read all about it here:

Re: Future of Pypy?

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 12:14:45 -0800, Paul Rubin writes: >Laura Creighton writes: >> The GIL isn't going away from PyPy any time real soon, alas. > >I thought the GIL's main purpose was to avoid having to lock all the >CPython refcount updates, so if PyPy

Re: Design thought for callbacks

2015-02-22 Thread Laura Creighton
In a message of Sun, 22 Feb 2015 17:09:01 -0500, Cem Karan writes: >Documentation is a given; it MUST be there. That said, documenting >something, but still making it surprising, is a bad idea. For >example, several people have been strongly against using a WeakSet to >hold callbacks because the

Re: Future of Pypy?

2015-02-23 Thread Laura Creighton
Arrgh! I forgot to warn you that you need a very recent version of virtualenv to work with PyPy. I am very sorry about that. Glad to see that things are working now. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Python shell: Arrow keys not working in PuTTY

2015-02-24 Thread Laura Creighton
In a message of Tue, 24 Feb 2015 11:18:38 +, David Aldrich writes: >> >> BUT do *not* run `make install` as that will overwrite your system >> >> Python and Bad Things will happen. Instead, run `make altinstall`. > >Thanks for all the warnings. We did use `make altinstall`, so all is ok. > >Rec

  1   2   3   4   5   6   7   >