Re: I can not install matplotlib, numpy, scipy, and pandas.

2016-01-06 Thread Miki Tebeka
> When I enter into the command window "pip install matplotlib", it reads this > below (this is not the full version of it): > ... Installing scientific packages can be a pain. I recommend you take a look at https://www.continuum.io/downloads -- https://mail.python.org/mailman/listinfo/python-l

Re: How to union nested Sets / A single set from nested sets?

2016-01-06 Thread Joel Goldstick
On Wed, Jan 6, 2016 at 11:59 PM, Grobu wrote: > On 04/01/16 03:40, mviljamaa wrote: > >> I'm forming sets by set.adding to sets and this leads to sets such as: >> >> Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(['b', 'c'])]) >> >> Is there way union these to a single set, i.e. get

Re: How to union nested Sets / A single set from nested sets?

2016-01-06 Thread Grobu
On 04/01/16 03:40, mviljamaa wrote: I'm forming sets by set.adding to sets and this leads to sets such as: Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(['b', 'c'])]) Is there way union these to a single set, i.e. get Set(['a', 'b', 'c']) ? There's a built-in "union" method fo

Re: Fast pythonic way to process a huge integer list

2016-01-06 Thread Cameron Simpson
On 06Jan2016 18:36, high5stor...@gmail.com wrote: I have a list of 163.840 integers. What is a fast & pythonic way to process this list in 1,280 chunks of 128 integers? The depends. When you say "list", is it already a _python_ list? Or do you just mean that the intergers are in a file or som

Re: Fast pythonic way to process a huge integer list

2016-01-06 Thread Tim Chase
On 2016-01-06 18:36, high5stor...@gmail.com wrote: > I have a list of 163.840 integers. What is a fast & pythonic way to > process this list in 1,280 chunks of 128 integers? That's a modest list, far from huge. You have lots of options, but the following seems the most pythonic to me: # I don'

Re: Fast pythonic way to process a huge integer list

2016-01-06 Thread Terry Reedy
On 1/6/2016 9:36 PM, high5stor...@gmail.com wrote: I have a list of 163.840 integers. What is a fast & pythonic way to process this list in 1,280 chunks of 128 integers? What have you tried that did not work? This is really pretty simple, but the detail depend on the meaning of 'process a c

Fast pythonic way to process a huge integer list

2016-01-06 Thread high5storage
I have a list of 163.840 integers. What is a fast & pythonic way to process this list in 1,280 chunks of 128 integers? -- https://mail.python.org/mailman/listinfo/python-list

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Sorry you were right the path is in: /vars/folders not /private/var/folders. -- https://mail.python.org/mailman/listinfo/python-list

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Thanks William and John, So the full path that scipy is using is: /private/var/folders/w4/wrnzszgd41d7064lx64nc10hgn/T/ I can't recall specifically adding the /var directory under /private. William - do you know how I can make scipy write temporary files in a non SIP folder? Thanks so muc

Re: imshow keeps crashhing

2016-01-06 Thread William Ray Wing
> On Jan 6, 2016, at 6:10 PM, darren.mcaf...@gmail.com wrote: > > Thanks for the quick reply! > > So scipy is making temporary files in /private/vars/folders/w4/ name>/ Is this a typo or did you really mean /private/vars? That is, did your create a “vars” directory under /private at some poi

Re: imshow keeps crashhing

2016-01-06 Thread John Gordon
In darren.mcaf...@gmail.com writes: > So scipy is making temporary files in > /private/vars/folders/w4// Are there any unusual characters in ? That's usually more of a Windows issue, but I'm grasping at straws here :-) > 1. When in the correct folder within Terminal, on the command line I can

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Thanks for the quick reply! So scipy is making temporary files in /private/vars/folders/w4// 1. When in the correct folder within Terminal, on the command line I can do: open And it will open it in Preivew. 2. However, when opening Preview first, it is impossible (for me) to navigate to

Re: imshow keeps crashhing

2016-01-06 Thread John Gordon
In darren.mcaf...@gmail.com writes: > Hi John, > I am on a mac and have set the following: > SCIPY_PIL_IMAGE_VIEWER=/Applications/Preview.app/Contents/MacOS/Preview > And when using imshow(), sure enough Preview attempts to open the fie, > but it throws the following error: The file "tmp1zuvo

Re: imshow keeps crashhing

2016-01-06 Thread darren . mcaffee
Hi John, I am on a mac and have set the following: SCIPY_PIL_IMAGE_VIEWER=/Applications/Preview.app/Contents/MacOS/Preview And when using imshow(), sure enough Preview attempts to open the fie, but it throws the following error: The file "tmp1zuvo7wn.png" couldn't be opened because you don't h

Re: python unit test framework sample code

2016-01-06 Thread Terry Reedy
On 1/6/2016 8:45 AM, Ganesh Pal wrote: Hello Team, I have written a small program using python unit test framework . I need your guidance to find out 1. If I have used the fixtures and classes properly ( first oop program) :) ) 2. why does unittest2.SkipTest not print the message when the failu

Re: trying to install

2016-01-06 Thread Terry Reedy
On 1/4/2016 2:00 PM, Montone_Dennis wrote: I am using Windows 7 and when I try to runt IDLE I get the following error. "The program can't start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your computer." Do you have any suggestions for me? Download and install the required .dll.

Re: ouvrir python

2016-01-06 Thread Paul Rubin
"Jacques Rosier" writes: > J’ai téléchargé Python 351. Il est dans la liste des applications de > mon ordi (Lenovo; Windows 10). Mais impossible de l’ouvrir. Que faire? Téléchargéz .exe installer https://www.python.org/ftp/python/3.5.1/python-3.5.1-amd64.exe puis cliquez l'.exe pour marcher.

Re: How to union nested Sets / A single set from nested sets?

2016-01-06 Thread Rustom Mody
On Wednesday, January 6, 2016 at 6:48:28 PM UTC+5:30, mviljamaa wrote: > I'm forming sets by set.adding to sets and this leads to sets such as: > > Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(['b', > 'c'])]) > > Is there way union these to a single set, i.e. get > > Set(['a', 'b

Re: ouvrir python

2016-01-06 Thread Laurent Pointal
Vincent Vande Vyvre wrote: > Le 04/01/2016 10:10, Jacques Rosier a écrit : >> J’ai téléchargé Python 351. Il est dans la liste des applications de mon >> ordi (Lenovo; Windows 10). Mais impossible de l’ouvrir. Que faire? > Cette liste de diffusion est anglophone, je te recommande de poster sur > c

Re: How to union nested Sets / A single set from nested sets?

2016-01-06 Thread Oscar Benjamin
On 4 January 2016 at 02:40, mviljamaa wrote: > I'm forming sets by set.adding to sets and this leads to sets such as: > > Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(['b', 'c'])]) > > Is there way union these to a single set, i.e. get > > Set(['a', 'b', 'c']) Where are you getting

Re: I can not install matplotlib, numpy, scipy, and pandas.

2016-01-06 Thread Chris Warrick
On 5 January 2016 at 07:57, Omar Ray via Python-list wrote: > I have version 3.5 of Python for Windows. I have MS Visual C++ and also MS > Visual Studio 2015. > > When I enter into the command window "pip install matplotlib", it reads this > below (this is not the full version of it): > > [snip]

Re: insert many numbers to a list, a second method.

2016-01-06 Thread Peter Otten
飛飛 wrote: > l = list(range(0,12)) > numbers = [5,3,2,7] #insert numbers at 5th position. > list1 = list(range(5,9)) > list2 = list(range(0,5)) > list2.extend(numbers) # > for i in list1: > l.insert(i,list2[i]) > print(l)--> l = [0, 1, 2, 3, 4, 5, 3, 2, 7, 5, 6, 7, 8,

python unit test framework sample code

2016-01-06 Thread Ganesh Pal
Hello Team, I have written a small program using python unit test framework . I need your guidance to find out 1. If I have used the fixtures and classes properly ( first oop program) :) ) 2. why does unittest2.SkipTest not print the message when the failures are encountered ? 3. Also sys.stderr

Re: How to union nested Sets / A single set from nested sets?

2016-01-06 Thread Peter Otten
mviljamaa wrote: > I'm forming sets by set.adding to sets and this leads to sets such as: > > Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(['b', > 'c'])]) > > Is there way union these to a single set, i.e. get > > Set(['a', 'b', 'c']) > > ? 1 What version of Python are you work

Re: ouvrir python

2016-01-06 Thread Vincent Vande Vyvre
Le 04/01/2016 10:10, Jacques Rosier a écrit : J’ai téléchargé Python 351. Il est dans la liste des applications de mon ordi (Lenovo; Windows 10). Mais impossible de l’ouvrir. Que faire? Cette liste de diffusion est anglophone, je te recommande de poster sur ce forum: http://www.developpez.net

insert many numbers to a list, a second method.

2016-01-06 Thread 飛飛
l = list(range(0,12)) numbers = [5,3,2,7] #insert numbers at 5th position. list1 = list(range(5,9)) list2 = list(range(0,5)) list2.extend(numbers) # for i in list1: l.insert(i,list2[i]) print(l)--> l = [0, 1, 2, 3, 4, 5, 3, 2, 7, 5,

unable to run python 3.5.1

2016-01-06 Thread Kufre Akata
Dear All, Kindly be informed that I downloaded the new python 3.5.1 (32-bit) to install in my machine, after the download and set-up, each time I clicked on the icon to launch the program, it will give me 3 options - modify, repair and uninstall. I needed to launch python and use it to program..

trying to install

2016-01-06 Thread Montone_Dennis
I am using Windows 7 and when I try to runt IDLE I get the following error. "The program can't start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your computer." Do you have any suggestions for me? -- https://mail.python.org/mailman/listinfo/python-list

I can not install matplotlib, numpy, scipy, and pandas.

2016-01-06 Thread Omar Ray via Python-list
I have version 3.5 of Python for Windows. I have MS Visual C++ and also MS Visual Studio 2015. When I enter into the command window "pip install matplotlib", it reads this below (this is not the full version of it): Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporati

ouvrir python

2016-01-06 Thread Jacques Rosier
J’ai téléchargé Python 351. Il est dans la liste des applications de mon ordi (Lenovo; Windows 10). Mais impossible de l’ouvrir. Que faire? -- https://mail.python.org/mailman/listinfo/python-list

How to union nested Sets / A single set from nested sets?

2016-01-06 Thread mviljamaa
I'm forming sets by set.adding to sets and this leads to sets such as: Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(['b', 'c'])]) Is there way union these to a single set, i.e. get Set(['a', 'b', 'c']) ? -- https://mail.python.org/mailman/listinfo/python-list

Python and OpenSSL FIPS module

2016-01-06 Thread security veteran
Hi, I was wondering does anyone have successful experiences integrating OpenSSL FIPS modules with Python 2.x? Is there any catch we need to be careful about in integrating Python with OpenSSL FIPS modules? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

برنامج

2016-01-06 Thread haniemmahmoodebraheim
برنامج Ashampoo WinOptimizer 12.00.41 http://q.gs/9dVa5 Any Video Converter Ultimate 5.8.8 http://q.gs/9dVa5 كورس الشبكات المتميز CCNA 200-120 Routing & Switching http://q.gs/9dVa5 Mozilla Firefox 43.0.4 RC http://q.gs/9dVa5 ALLPlayer 6.5.0 Final http://q.gs/9dVa5 أقوى برنامج لتعديل وقص ودمج مقا

برنامج

2016-01-06 Thread haniemmahmoodebraheim
برنامج Ashampoo WinOptimizer 12.00.41 http://q.gs/9dVa5 Any Video Converter Ultimate 5.8.8 http://q.gs/9dVa5 كورس الشبكات المتميز CCNA 200-120 Routing & Switching http://q.gs/9dVa5 Mozilla Firefox 43.0.4 RC http://q.gs/9dVa5 ALLPlayer 6.5.0 Final http://q.gs/9dVa5 أقوى برنامج لتعديل وقص ودمج مقا