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,

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: 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

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: 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: 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-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 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: 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: 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: 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: 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: 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 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 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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.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: 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: 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

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 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 >

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: 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: 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: 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: 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: 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: 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
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: 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

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 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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 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: 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: 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: 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: 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: 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: 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: 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: 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: Persistent api-ms-win-crt-runtime-i1-1-0.dll start up error

2015-11-24 Thread Laura Creighton
In a message of Tue, 24 Nov 2015 10:56:32 +0200, tolga.karabiyiko...@ankara.edu .tr writes: >Hi all; > >Yesterday just downloaded python-3.5.0-amd64 on windows10 running >laptop- running flawless. > >But my trouble is with my office desktop Windows Vista. Considering the >processor diference, thi

Re: pip does not work anymore

2015-11-23 Thread Laura Creighton
In a message of Mon, 23 Nov 2015 08:48:54 +0100, Cecil Westerhof writes: >When I try to install something with pip2 I get: >Traceback (most recent call last): > File "/usr/bin/pip2", line 9, in >load_entry_point('pip==7.1.2', 'console_scripts', 'pip2')() > File "/usr/lib/pyth

Re: Problem to read from array

2015-11-21 Thread Laura Creighton
In a message of Sat, 21 Nov 2015 15:22:55 +0100, Laura Creighton writes: >At this point you might get a bit frustrated. Python is happily telling >you that you don't have a newarray[0][0] which is hardly news to you who >was trying to initialise the thing. My bad. I was th

Re: Problem to read from array

2015-11-21 Thread Laura Creighton
In Python we don't write while loops that often. instead we do: for i in range(NumberOfColumns): for j in range(NumberOfRows): do_something() But for the particular case that you are after, constructing lists, we have something even neater -- list comprehensions. So you might write:

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

2015-11-19 Thread Laura Creighton
In a message of Thu, 19 Nov 2015 16:36:17 -0800, Ned Batchelder writes: >On Thursday, November 19, 2015 at 7:28:44 PM UTC-5, Steven D'Aprano wrote: >> On Fri, 20 Nov 2015 05:50 am, BartC wrote: >> >> >> > I said that Python's "=" does a very shallow copy. And I stated that in >> > A=B, something

Re: Dabbling in web development

2015-11-19 Thread Laura Creighton
In a message of Fri, 20 Nov 2015 01:07:24 +0200, Marko Rauhamaa writes: >Laura Creighton : > >> There are lots of other choices than Django. >> >> see: https://wiki.python.org/moin/WebFrameworks/ > >However, are there any good web applications? I have seen some

Re: Dabbling in web development

2015-11-19 Thread Laura Creighton
In a message of Fri, 20 Nov 2015 10:09:01 +1100, Chris Angelico writes: >On Fri, Nov 20, 2015 at 9:53 AM, Laura Creighton wrote: >> It is not the case that 'serious website developers use heavyweight >> systems like Django' --- lots and lots of serious developers use &

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

2015-11-19 Thread Laura Creighton
Arrgh! I got Ned Batchelder's email wrong. Forgot the t. (for somebody whose irc nick is nedbat. ) sending this to him again. warning any repliers that the mail address is wrong apologies, Laura --- Forwarded Message From: Laura Creighton Subject: Re: Late-binding of fun

Re: Dabbling in web development

2015-11-19 Thread Laura Creighton
In a message of Thu, 19 Nov 2015 13:53:09 -0800, bSneddon writes: >I know there are a plethora of web frameworks out there for Python and to be serious about website developement I should learn on like Django. Really thought, I just want to dabble and do some easy stuff. Does anyone have any

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

2015-11-19 Thread Laura Creighton
In a message of Thu, 19 Nov 2015 22:57:10 +0200, Marko Rauhamaa writes: >Laura Creighton : > >> My experience says that the people who are confused want lists to >> behave like tuples. period. i.e. they don't want lists to be mutable. > >I think it's simpler than

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

2015-11-19 Thread Laura Creighton
In a message of Fri, 20 Nov 2015 06:46:42 +1100, Chris Angelico writes: >Would this satisfy the people who get confused about "=[]"? > >ChrisA My experience says that the people who are confused want lists to behave like tuples. period. i.e. they don't want lists to be mutable. Which means wh

Re: PubMed / Entrez

2015-11-19 Thread Laura Creighton
In a message of Thu, 19 Nov 2015 09:17:35 +0100, c.bu...@posteo.jp writes: >I am looking for a way to use the PubMed (medical research search >engine) API (aka Entrez) with Python3. > >Does anyone know packages for that? https://pypi.python.org/pypi/Bio_Eutils/1.63 Or just get BioPython and use t

Re: Public key encryption example.

2015-11-19 Thread Laura Creighton
In a message of Wed, 18 Nov 2015 16:18:28 -0700, Vincent Davis writes: >This might be a "Let me Google that for you question", I tried. >I am looking for the "simplest" example of sending(encrypting) and >receiving(decrypting) using public key encryption. I am think of something >along the lines of

Re: How to create a folder using IMAPLib?

2015-11-18 Thread Laura Creighton
In a message of Thu, 19 Nov 2015 07:35:36 +1100, Chris Angelico writes: >On Thu, Nov 19, 2015 at 7:01 AM, Anthony Papillion > wrote: >> I'm writing a program to help migrate mail from one host to another >> with a few special circumstances. I'm able to get a list off of the >> source IMAP server us

Re: Mapping between python packages and distro packages?

2015-11-18 Thread Laura Creighton
In a message of Wed, 18 Nov 2015 17:44:51 +1100, Chris Angelico writes: >I don't know how the program would detect it, but I'd be thinking "the >one where 'sudo apt-get install PACKAGENAME' gets the same code that >'pip install THING' gets". In a lot of cases, PACKAGENAME will simply >be python-TH

Re: find which Python libraries are most influential in scientific research

2015-11-13 Thread Laura Creighton
In a message of Sat, 14 Nov 2015 00:38:41 -0500, Terry Reedy writes: >On 11/13/2015 10:58 PM, Ian Kelly wrote: >> On Nov 9, 2015 7:41 PM, "Heather Piwowar" wrote: >>> >>> Today's scientists often turn to Python to run analysis, simulation, and >> other sciency tasks. >>> >>> That makes us wonder:

Re: Problems using struct pack/unpack in files, and reading them.

2015-11-13 Thread Laura Creighton
I forgot to add. You get this wretched error message if your data is shorter than expected, and you ask struct to read more than you have, as well. most annoying. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Problems using struct pack/unpack in files, and reading them.

2015-11-13 Thread Laura Creighton
In a message of Fri, 13 Nov 2015 14:20:45 -0500, kent nyberg writes: >Hi there, >Im deeply sorry for yet another question to this list. I have come across a >problem to which google seems not >to eager to supply the anwser. > >The problem is the following. >First I do this: > >def setup_drive():

Re: More tkinter Madness

2015-11-13 Thread Laura Creighton
In a message of Fri, 13 Nov 2015 13:14:08 -0600, Tim Daneliuk writes: >On 11/13/2015 12:32 AM, Christian Gollwitzer wrote: >> Apfelkiste:Sources chris$ > >Well, I get window and when I do this: > >pack [button .b -text Hello -command exit] > >Nothing appears. > >tkinter appears borked > >I have rei

Re: Matplotlib error: Value Error: x and y must have same first dimension

2015-11-13 Thread Laura Creighton
In a message of Fri, 13 Nov 2015 14:04:01 +, Oscar Benjamin writes: >On 13 November 2015 at 08:34, Laura Creighton wrote: >> In a message of Thu, 12 Nov 2015 17:54:28 -0800, Abhishek writes: >>>I am trying to run some Python code for the last few hours. How can I >&g

Re:

2015-11-13 Thread Laura Creighton
In a message of Fri, 13 Nov 2015 14:47:12 +0530, Animesh Srivastava writes: >Whenever i install python 3.5.0 compiler >It gives me error 0x07b >Can u please resolve it >-- >https://mail.python.org/mailman/listinfo/python-list Maybe this is your problem http://www.bitdefender.com/support/how-t

Re: Matplotlib error: Value Error: x and y must have same first dimension

2015-11-13 Thread Laura Creighton
In a message of Thu, 12 Nov 2015 17:54:28 -0800, Abhishek writes: >I am trying to run some Python code for the last few hours. How can I achieve >the effect of "dot divide" from Matlab, in the following code? I am having >trouble working with list comprehension and numpy arrays and getting the >

Re: Python Trouble

2015-11-12 Thread Laura Creighton
In a message of Wed, 11 Nov 2015 20:01:46 +, Kaif Mahmood writes: >I downloaded the recent version of Python and after it downloaded I tried IDLE. But when I tried to load it, it didn’t load and just acted as if nothing happened. All of the other features work fine, it’s just IDLE not worki

Re: Python.exe is not a valid Win32 application error message

2015-11-12 Thread Laura Creighton
In a message of Wed, 11 Nov 2015 08:28:11 -0700, Michael Torrie writes: >The Python website is looking very professional and polished these days. > But we still don't have a simple message on the download page telling >people Windows XP is no longer supported. Given the number of people >posting l

Re: Getting response by email reply message

2015-11-10 Thread Laura Creighton
In a message of Tue, 10 Nov 2015 11:23:21 +0100, Laura Creighton writes: >Their is no demand for 'yes/no answers' -- you can typically vote for s/Their/There/ ... >the whole thing way, way, way to heavy-weight for most purposes. s/to/too/ also s/heavy-weight/heavyweight/ depen

Re: Question about math.pi is mutable

2015-11-10 Thread Laura Creighton
In a message of Tue, 10 Nov 2015 17:10:09 +1100, Ben Finney writes: >Steven D'Aprano writes: > >> Ben, I fear that you are not paying attention to me :-) > >Possibly, though I also think there's miscommunication in this thread. > >You speak of “compile time” and “run time”. You also speak of what

Re: Getting response by email reply message

2015-11-10 Thread Laura Creighton
In a message of Mon, 09 Nov 2015 23:09:50 -0800, zljubi...@gmail.com writes: >> If what you really need is a voting application, you can look at >> https://github.com/mdipierro/evote which the PSF uses for its elections. > >It is not a voting application (I will have more than yes/no answers). >I

Re: Getting response by email reply message

2015-11-09 Thread Laura Creighton
In a message of Mon, 09 Nov 2015 13:45:32 -0800, zljubi...@gmail.com writes: >> I'm assuming this is a website. If so, why not use a form with a checkbox? > >One of ideas is to put two url's in the email, one for yes and the other one >for no. > >I am also thinking about reading/parsing the reply

Re: Question about math.pi is mutable

2015-11-09 Thread Laura Creighton
In a message of Tue, 10 Nov 2015 06:45:40 +1100, Ben Finney writes: >So the remaining space of code that is safe for the proposed >optimisation is trivially small. Why bother with such optimisations, if >the only code that can benefit is *already* small and simple? You have things backwards. The r

Re:

2015-11-09 Thread Laura Creighton
d a lot more information about what it was that 'didn't work' before we can help you. Also, you might find it easier to write to a Spanish Languge Python mailing list, like this one. https://lists.es.python.org/listinfo/general Laura Creighton -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   >