Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread dieter
Mark Lawrence writes: > ... > So I most humbly suggest, as I may have hinted at once or twice > earlier in this thread, that people either put up or shut up. In another of your contributions to this thread, you spoke of another alternative: "do a bit of begging". That is what some of us are doing

Re: How we can send mail with attachment in Python?

2015-07-20 Thread dieter
Kevin Peterson writes: > How we can send mail with attachment in Python? Is it any prerequisite for it? You look at the "email" package to build the message and the "smtplib" package to send the message - both are part of Python's runtime library and documented in its documentation. Note that y

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Devin Jeanpierre
I think you're missing the line where I said all the relevant conversation happened in IRC, and that you should refer to logs. On Sun, Jul 19, 2015 at 11:25 PM, Terry Reedy wrote: > On 7/19/2015 9:20 PM, Devin Jeanpierre wrote: > >> Search your logs for https://bugs.python.org/issue17094 >> http:

Re:New to python

2015-07-20 Thread Arthi Vigneshwari
Hi, Am interested to learn python!Can you please guide me how to start with python which will help in my selenium automation? Regards, Arthi -- https://mail.python.org/mailman/listinfo/python-list

Procedure for downloading and Installing Python 2.7 Modules

2015-07-20 Thread W. D. Allen
Would like to locate and install numpy, scipy and matplotlib with Wing 101 for Python 2.7 Just beginning to use Python 2.7 for engineering work. Any guidance would be appreciated. Thanks, WDA balle...@gmail.com end -- https://mail.python.org/mailman/listinfo/python-list

Re: New to python

2015-07-20 Thread David Palao
2015-07-20 7:20 GMT+02:00 Arthi Vigneshwari : > Hi, > Am interested to learn python!Can you please guide me how to start with > python which will help in my selenium automation? > > Regards, > Arthi > > -- > https://mail.python.org/mailman/listinfo/python-list > Hi, If you enter "learning python

Re: New to python

2015-07-20 Thread Arthi Vigneshwari
Hey David, Yeah,I had an overall look at https://www.python.org/about/gettingstarted/! Let me dig deep into the websites you shared me with! Thanks, Arthi On Mon, Jul 20, 2015 at 1:19 PM, David Palao wrote: > 2015-07-20 7:20 GMT+02:00 Arthi Vigneshwari : > > Hi, > > Am intereste

File Upload in Restful Flask

2015-07-20 Thread subhabrata . banerji
Dear Group, I am trying to learn Rest framework through Restful Flask. My initial exercises went fine with https://flask-restful.readthedocs.org/en/0.3.3/quickstart.html Now I want to upload file through Restful Flask. I tried to check the web for reference. I got these urls, (i) http://doc

Generating type annotations by tracing execution runs

2015-07-20 Thread Michael Williamson
Hello, I've knocked together a quick proof-of-concept that allows type annotations to be automatically added to Python source code by running it: https://github.com/mwilliamson/farthing As the code, such as a test suite, runs, the types of arguments and return values (for functions in the fi

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Mark Lawrence
On 20/07/2015 03:16, Rustom Mody wrote: On Monday, July 20, 2015 at 7:16:50 AM UTC+5:30, Mark Lawrence wrote: On 20/07/2015 02:20, Devin Jeanpierre wrote: I don't like how this is being redirected to "surely you misunderstood" or "I don't believe you". The fact that some core devs are hostile

Re: File Upload in Restful Flask

2015-07-20 Thread Simmo
On 20/07/2015 11:13, subhabrata.bane...@gmail.com wrote: Dear Group, I am trying to learn Rest framework through Restful Flask. My initial exercises went fine with https://flask-restful.readthedocs.org/en/0.3.3/quickstart.html Now I want to upload file through Restful Flask. I tried to check t

Does the Class UserGroup (issue 11588) exist for python 2.7 ?

2015-07-20 Thread CARANNANTE, MARTINE
Hi Could you tell me if the Class UserGroup (method add_usage_group to support inclusive groups) exist for python 2.7 ? The patch that I found on internet is only for python 3. Thanks in advance for your answer Best regards Martine Carannante -- https://mail.python.org/mailman/listinfo/pyth

Re: File Upload in Restful Flask

2015-07-20 Thread subhabrata . banerji
On Monday, July 20, 2015 at 4:40:09 PM UTC+5:30, Simmo wrote: > On 20/07/2015 11:13, wrote: > > Dear Group, > > > > I am trying to learn Rest framework through Restful Flask. > > My initial exercises went fine with > > https://flask-restful.readthedocs.org/en/0.3.3/quickstart.html > > > > Now I wa

Re: Does the Class UserGroup (issue 11588) exist for python 2.7 ?

2015-07-20 Thread Mark Lawrence
On 20/07/2015 12:27, CARANNANTE, MARTINE wrote: Hi Could you tell me if the Class UserGroup (method add_usage_group to support inclusive groups) exist for python 2.7 ? The patch that I found on internet is only for python 3. Thanks in advance for your answer Best regards *Martine Carannante * A

Re: File Upload in Restful Flask

2015-07-20 Thread Simmo
On 20/07/2015 12:57, subhabrata.bane...@gmail.com wrote: On Monday, July 20, 2015 at 4:40:09 PM UTC+5:30, Simmo wrote: On 20/07/2015 11:13, wrote: Dear Group, I am trying to learn Rest framework through Restful Flask. My initial exercises went fine with https://flask-restful.readthedocs.org/e

Fast 12 bit to 16 bit sample conversion?

2015-07-20 Thread Peter Heitzer
I am currently writing a python script to extract samples from old Roland 12 bit sample disks and save them as 16 bit wav files. The samples are layouted as follows 0 [S0 bit 11..4] [S0 bit 3..0|S1 bit 3..0] [S1 bit 11..4] 3 [S2 bit 11..4] [S2 bit 3..0|S3 bit 3..0] [S3 bit 11..4] In other words

Re: File Upload in Restful Flask

2015-07-20 Thread subhabrata . banerji
On Monday, July 20, 2015 at 6:39:29 PM UTC+5:30, Simmo wrote: > On 20/07/2015 12:57, wrote: > > On Monday, July 20, 2015 at 4:40:09 PM UTC+5:30, Simmo wrote: > >> On 20/07/2015 11:13, wrote: > >>> Dear Group, > >>> > >>> I am trying to learn Rest framework through Restful Flask. > >>> My initial ex

Re: Fast 12 bit to 16 bit sample conversion?

2015-07-20 Thread MRAB
On 2015-07-20 14:10, Peter Heitzer wrote: I am currently writing a python script to extract samples from old Roland 12 bit sample disks and save them as 16 bit wav files. The samples are layouted as follows 0 [S0 bit 11..4] [S0 bit 3..0|S1 bit 3..0] [S1 bit 11..4] 3 [S2 bit 11..4] [S2 bit 3..0

Re: Fast 12 bit to 16 bit sample conversion?

2015-07-20 Thread edmondo . giovannozzi
Il giorno lunedì 20 luglio 2015 15:10:22 UTC+2, Peter Heitzer ha scritto: > I am currently writing a python script to extract samples from old Roland 12 > bit sample > disks and save them as 16 bit wav files. > > The samples are layouted as follows > > 0 [S0 bit 11..4] [S0 bit 3..0|S1 bit 3..0]

Re: Fast 12 bit to 16 bit sample conversion?

2015-07-20 Thread Peter Heitzer
MRAB wrote: >On 2015-07-20 14:10, Peter Heitzer wrote: >> I am currently writing a python script to extract samples from old Roland 12 >> bit sample >> disks and save them as 16 bit wav files. >> >> The samples are layouted as follows >> >> 0 [S0 bit 11..4] [S0 bit 3..0|S1 bit 3..0] [S1 bit 11..4

Re: how to play

2015-07-20 Thread sohcahtoa82
On Sunday, July 19, 2015 at 12:04:26 PM UTC-7, Aron Barsam wrote: > i have trouble trying to play python please can you respond soon  ... > play python http://i.imgur.com/x2KwTbw.jpg -- https://mail.python.org/mailman/listinfo/python-list

Re: Does the Class UserGroup (issue 11588) exist for python 2.7 ?

2015-07-20 Thread Chris Angelico
On Mon, Jul 20, 2015 at 10:15 PM, Mark Lawrence wrote: > On 20/07/2015 12:27, CARANNANTE, MARTINE wrote: >> >> Hi >> Could you tell me if the Class UserGroup (method add_usage_group to >> support inclusive groups) exist for python 2.7 ? >> The patch that I found on internet is only for python 3. >

Re: Generating type annotations by tracing execution runs

2015-07-20 Thread Chris Angelico
On Mon, Jul 20, 2015 at 7:59 PM, Michael Williamson wrote: > I've knocked together a quick proof-of-concept that allows type > annotations to be automatically added to Python source code by running > it: > > https://github.com/mwilliamson/farthing > > As the code, such as a test suite, runs, t

Re: Generating type annotations by tracing execution runs

2015-07-20 Thread Paul Rubin
Chris Angelico writes: >> As the code, such as a test suite, runs, the types of arguments and >> return values... > Sounds to me like a type inference system. Can be pretty handy in some > codebases. I haven't tried it out yet but it sounds more like the type extraction part of a JIT compiler, i.

Re: how to play

2015-07-20 Thread Ian Kelly
On Mon, Jul 20, 2015 at 10:29 AM, Aron Barsam wrote: > what is an 0S comand line? What OS are you using? In Windows it's a program called Command Prompt. In Mac OS X it's an application called Terminal. In Linux it's usually called something like Terminal or xterm. However, if you don't know how

linux os.rename() not an actual rename?

2015-07-20 Thread Jason H
I have a server process that looks (watches via inotify) for files to be moved (renamed) into a particular directory from elsewhere on the same filesystem. We do this because it is an atomic operation, and our server process can see the modify events of the file being written before it is close

Re: linux os.rename() not an actual rename?

2015-07-20 Thread Jon Ribbens
On 2015-07-20, Jason H wrote: > I have a server process that looks (watches via inotify) for files > to be moved (renamed) into a particular directory from elsewhere on > the same filesystem. We do this because it is an atomic operation, > and our server process can see the modify events of the f

Re: linux os.rename() not an actual rename?

2015-07-20 Thread Marko Rauhamaa
"Jason H" : > I have a server process that looks (watches via inotify) for files to > be moved (renamed) into a particular directory from elsewhere on the > same filesystem. We do this because it is an atomic operation, and our > server process can see the modify events of the file being written >

Re: linux os.rename() not an actual rename?

2015-07-20 Thread Christian Heimes
On 2015-07-20 20:50, Marko Rauhamaa wrote: > "Jason H" : > >> I have a server process that looks (watches via inotify) for files to >> be moved (renamed) into a particular directory from elsewhere on the >> same filesystem. We do this because it is an atomic operation, and our >> server process ca

Re: linux os.rename() not an actual rename?

2015-07-20 Thread Jason H
> From: "Christian Heimes" > On 2015-07-20 20:50, Marko Rauhamaa wrote: > > "Jason H" : > > > >> I have a server process that looks (watches via inotify) for files to > >> be moved (renamed) into a particular directory from elsewhere on the > >> same filesystem. We do this because it is an atomic

Re: Procedure for downloading and Installing Python 2.7 Modules

2015-07-20 Thread Mark Lawrence
On 19/07/2015 23:14, W. D. Allen wrote: Would like to locate and install numpy, scipy and matplotlib with Wing 101 for Python 2.7 Just beginning to use Python 2.7 for engineering work. Any guidance would be appreciated. Thanks, WDA balle...@gmail.com end Just use pip from the command line

Re: Procedure for downloading and Installing Python 2.7 Modules

2015-07-20 Thread Steven D'Aprano
On Mon, 20 Jul 2015 08:14 am, W. D. Allen wrote: > Would like to locate and install numpy, scipy and matplotlib > with Wing 101 for Python 2.7 Wing is an IDE, that is, a fancy editor. As far as I know, you shouldn't have to take any special steps to get numpy etc. working with Wing, you just ins

Re: Fast 12 bit to 16 bit sample conversion?

2015-07-20 Thread Mark Lawrence
On 20/07/2015 14:10, Peter Heitzer wrote: I am currently writing a python script to extract samples from old Roland 12 bit sample disks and save them as 16 bit wav files. The samples are layouted as follows 0 [S0 bit 11..4] [S0 bit 3..0|S1 bit 3..0] [S1 bit 11..4] 3 [S2 bit 11..4] [S2 bit 3..0

Can I copy/paste Python code?

2015-07-20 Thread ryguy7272
I'm trying to copy some Python code from a PDF book that I'm reading. I want to test out the code, and I can copy it, but when I paste it into the Shell, everything is all screwed up because of the indentation. Every time I paste in any kind of code, it seems like everything is immediately left

Re: Can I copy/paste Python code?

2015-07-20 Thread Chris Angelico
On Tue, Jul 21, 2015 at 12:49 PM, ryguy7272 wrote: > I'm trying to copy some Python code from a PDF book that I'm reading. I want > to test out the code, and I can copy it, but when I paste it into the Shell, > everything is all screwed up because of the indentation. Every time I paste > in an

Re: Can't Install Pandas

2015-07-20 Thread ryguy7272
On Sunday, July 19, 2015 at 11:05:46 PM UTC-4, ryguy7272 wrote: > Hello experts. I odwnloaded Pandas, and put it here. > C:\Python34\Scripts\pandas-0.16.2 > > Then, I ran this in what most people call the c-prompt, but I call it the > 'Python 3.4.3 Shell' > "C:\Python34\Scripts\pandas-0.16.2>" "

Re: Can't Install Pandas

2015-07-20 Thread Chris Angelico
On Tue, Jul 21, 2015 at 12:51 PM, ryguy7272 wrote: > On Sunday, July 19, 2015 at 11:05:46 PM UTC-4, ryguy7272 wrote: >> Hello experts. I odwnloaded Pandas, and put it here. >> C:\Python34\Scripts\pandas-0.16.2 >> >> Then, I ran this in what most people call the c-prompt, but I call it the >> 'Py

Is there a way to install ALL Python packages?

2015-07-20 Thread ryguy7272
I'd like to install ALL Python packages on my machine. Even if it takes up 4-5GB, or more, I'd like to get everything, and then use it when I need it. Now, I'd like to import packages, like numpy and pandas, but nothing will install. I figure, if I can just install everything, I can simply us

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Rick Johnson
On Sunday, July 19, 2015 at 9:17:11 PM UTC-5, Rustom Mody wrote: > List of python committers: > - > 11081 Guido van Rossum > [snip: long list] Thanks for posting this list of names. I had put in a pyFOIA request for this data a few years ago, but to my surprise, was flat

Re: Is there a way to install ALL Python packages?

2015-07-20 Thread Chris Angelico
On Tue, Jul 21, 2015 at 12:57 PM, ryguy7272 wrote: > I'd like to install ALL Python packages on my machine. Even if it takes up > 4-5GB, or more, I'd like to get everything, and then use it when I need it. > Now, I'd like to import packages, like numpy and pandas, but nothing will > install.

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Rustom Mody
On Tuesday, July 21, 2015 at 8:34:30 AM UTC+5:30, Rick Johnson wrote: > On Sunday, July 19, 2015 at 9:17:11 PM UTC-5, Rustom Mody wrote: > > > > List of python committers: > > - > > 11081 Guido van Rossum > > [snip: long list] > > Thanks for posting this list of names. I

Re: Is there a way to install ALL Python packages?

2015-07-20 Thread Rustom Mody
On Tuesday, July 21, 2015 at 8:47:29 AM UTC+5:30, Chris Angelico wrote: > On Tue, Jul 21, 2015 at 12:57 PM, ryguy7272 wrote: > > I'd like to install ALL Python packages on my machine. Even if it takes up > > 4-5GB, or more, I'd like to get everything, and then use it when I need it. > > Now, I

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Chris Angelico
On Tue, Jul 21, 2015 at 1:15 PM, Rustom Mody wrote: > [Chris already showed that this list is inaccurate -- probably related > to hg not having sighoff distinct from commit like git] It's also the manner of workflow. If you want to accept patches and have them acknowledged to their original autho

Re: Devanagari int literals [was Re: Should non-security 2.7 bugs be fixed?]

2015-07-20 Thread Rustom Mody
On Sunday, July 19, 2015 at 10:15:37 AM UTC+5:30, Steven D'Aprano wrote: > > JFTR: My kids (um... students) have just managed to add devanagari > > numerals to python. > > ie we can now do > > > १ + २ > > 3 > > That is actually quite awesome, and I would support a new feature that set > the

Re: Is there a way to install ALL Python packages?

2015-07-20 Thread Michael Torrie
On 07/20/2015 08:57 PM, ryguy7272 wrote: > I'd like to install ALL Python packages on my machine. Even if it > takes up 4-5GB, or more, I'd like to get everything, and then use it > when I need it. Now, I'd like to import packages, like numpy and > pandas, but nothing will install. I figure, if

Re: Can I copy/paste Python code?

2015-07-20 Thread Parul Mogra
Hi, You could probably get the work done via the following script: https://pypi.python.org/pypi/PythonTidy/ On Mon, Jul 20, 2015 at 7:49 PM, ryguy7272 wrote: > I'm trying to copy some Python code from a PDF book that I'm reading. I > want to test out the code, and I can copy it, but when I p

Re: Devanagari int literals [was Re: Should non-security 2.7 bugs be fixed?]

2015-07-20 Thread Chris Angelico
On Tue, Jul 21, 2015 at 1:30 PM, Rustom Mody wrote: > BTW my boys have just mailed me their latest: > 九.九九 > > 9.99 > > Can some unicode/Chinese literate person inform me whether > that ideograph is equivalent to roman '9' or roman 'nine'? I'm not Chinese-literate, but I know how to dig up i

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Rick Johnson
On Monday, July 20, 2015 at 12:59:53 AM UTC-5, Steven D'Aprano wrote: > > Not quite; one is @yahoo.co.uk, and the other is @gmail.com. > > Ah, so they are. You're right, I was wrong, they're not > the same email address. But still, accusations of sock- > puppetry from a change in email provider is

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Rick Johnson
On Monday, July 20, 2015 at 1:30:03 AM UTC-5, dieter wrote: > Experience like this (in another project) causes me to be > very reluctant to become a core contributor (in the sense > of actively fixing things in the core). You need a lot of > knowledge (coding conventions, test setup, change > work

Re: Is there a way to install ALL Python packages?

2015-07-20 Thread Terry Reedy
On 7/20/2015 10:57 PM, ryguy7272 wrote: I'd like to install ALL Python packages on my machine. There is no official list of Python packages to upload all of. Even if it takes up 4-5GB, or more, I'd like to get everything, There are 1 packages on Pypi, and perhaps an equal number elsewh

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Terry Reedy
On 7/20/2015 11:33 PM, Chris Angelico wrote: It's also the manner of workflow. If you want to accept patches and have them acknowledged to their original authors, the patches need to carry metadata identifying the authors. Notice how the patch files start straight in with content. There's no au

Re: Is there a way to install ALL Python packages?

2015-07-20 Thread Chris Angelico
On Tue, Jul 21, 2015 at 1:24 PM, Rustom Mody wrote: > Dear Sir, > > This is to inform you we have just received your application which is being > duly considered. > > Office of Bofh Thank you for your consideration. I shall endeavour to provide satisfaction, unless you reject my application, in

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Rick Johnson
On Monday, July 20, 2015 at 1:47:00 AM UTC-5, dieter wrote: > Thinking of myself, I am not sure. Ensuring the quality of > a "distribution" goes far beyond a single bug fix. While I > usually are ready to share a bug fix I have found, I am > reluctant to get involved in the complete quality > ensur

Re: Should non-security 2.7 bugs be fixed?

2015-07-20 Thread Terry Reedy
On 7/19/2015 6:19 PM, Terry Reedy wrote: I, and others, have already made some changes to eliminate differences that are unnecessary, at least for 2.7 versus 3.3+ or now 3.4+. I just got smacked in the face by a difference I had not run into before. I added about 10 lines to a test file is a

Re: Devanagari int literals [was Re: Should non-security 2.7 bugs be fixed?]

2015-07-20 Thread Rustom Mody
On Tuesday, July 21, 2015 at 9:13:49 AM UTC+5:30, Chris Angelico wrote: > On Tue, Jul 21, 2015 at 1:30 PM, Rustom Mody wrote: > > BTW my boys have just mailed me their latest: > > > 九.九九 > > > > 9.99 > > > > Can some unicode/Chinese literate person inform me whether > > that ideograph is equiv