Re: How keep Python 3 moving forward

2014-05-24 Thread wxjmfauth
Le vendredi 23 mai 2014 22:16:10 UTC+2, Mark Lawrence a écrit : > An article by Brett Cannon that I thought might be of interest > > http://nothingbutsnark.svbtle.com/my-view-on-the-current-state-of-python-3 > > > > -- > > My fellow Pythonistas, ask not what our language can do for you, ask

Re: How keep Python 3 moving forward

2014-05-24 Thread blindanagram
On 24/05/2014 08:13, wxjmfa...@gmail.com wrote: > Le vendredi 23 mai 2014 22:16:10 UTC+2, Mark Lawrence a écrit : >> An article by Brett Cannon that I thought might be of interest >> >> http://nothingbutsnark.svbtle.com/my-view-on-the-current-state-of-python-3 >> >> >> >> -- >> >> My fellow Pytho

Re: Parallel python in the cloud

2014-05-24 Thread Robert Kern
On 2014-05-24 07:46, Charles Gagnon wrote: We were happily using PiCloud for several long calculations and we very happy with with it. With their realtime cores, we could take really large calculations set and run through fairly quickly. Now that PiCloud is going away, we ran a few tests on Mu

Re: How keep Python 3 moving forward

2014-05-24 Thread Marko Rauhamaa
blindanagram : >> Quote: >> """ And with Python 3.4 I really have not heard anyone complain that >> they wouldn't like to use Python 3 instead of Python 2. """ >> >> Or the devs do not wish to listen. >> >> Python 3 will never work. > > It works for me. Instead of focusing on bringing legacy li

Re: How keep Python 3 moving forward

2014-05-24 Thread Rustom Mody
On Saturday, May 24, 2014 3:29:01 PM UTC+5:30, Marko Rauhamaa wrote: > > > > Instead of focusing on bringing legacy libraries to Python3 (for which > there never seems to be a critical need), Python3 needs a brand new > killer module/application/library that is only available on Python3. > I t

Re: How keep Python 3 moving forward

2014-05-24 Thread Grant Edwards
On 2014-05-24, wxjmfa...@gmail.com wrote: > Python 3 will never work. Neither will color TV. All that phase detection stuff and that shadow-mask thing? And airplanes? Bah! Completely ridiculous. -- Grant -- https://mail.python.org/mailman/listinfo/python-list

Re: Loading modules from files through C++

2014-05-24 Thread Roland Plüss
> # CODE # > PyModuleDef moduledef = { PyModuleDef_HEAD_INIT, NULL, NULL, 0, NULL, > NULL, NULL, NULL, NULL }; > > moduledef.m_name = "MyModule"; > moduledef.m_doc = "MyModule"; > pModule = PyModule_Create( &moduledef ); > PyState_AddModule( pModule, &moduledef ); > > PyRun_SimpleString( "print( gl

Re: How keep Python 3 moving forward

2014-05-24 Thread Devin Jeanpierre
On Sat, May 24, 2014 at 2:59 AM, Marko Rauhamaa wrote: > blindanagram : > Instead of focusing on bringing legacy libraries to Python3 (for which > there never seems to be a critical need), Python3 needs a brand new > killer module/application/library that is only available on Python3. > > Asyncio

Re: How keep Python 3 moving forward

2014-05-24 Thread Travis Griggs
Sent from my iPhone > On May 24, 2014, at 7:35, blindanagram wrote: > >> On 24/05/2014 08:13, wxjmfa...@gmail.com wrote: >> Le vendredi 23 mai 2014 22:16:10 UTC+2, Mark Lawrence a écrit : >>> An article by Brett Cannon that I thought might be of interest >>> >>> http://nothingbutsnark.svbtle

Re: How keep Python 3 moving forward

2014-05-24 Thread Ethan Furman
On 05/24/2014 09:03 AM, Devin Jeanpierre wrote: On Sat, May 24, 2014 at 2:59 AM, Marko Rauhamaa wrote: >> Instead of focusing on bringing legacy libraries to Python3 (for which there never seems to be a critical need), Python3 needs a brand new killer module/application/library that is only ava

Re: How keep Python 3 moving forward

2014-05-24 Thread Stefan Behnel
Devin Jeanpierre, 24.05.2014 18:03: > On Sat, May 24, 2014 at 2:59 AM, Marko Rauhamaa wrote: >> blindanagram: >> Instead of focusing on bringing legacy libraries to Python3 (for which >> there never seems to be a critical need), Python3 needs a brand new >> killer module/application/library that is

Re: How keep Python 3 moving forward

2014-05-24 Thread Marko Rauhamaa
Devin Jeanpierre : > If you want to migrate to Python 3, help that library forward, rather > than trying to make some bespoke replacement you think will be a > killer app. Few people have Python 3 as an objective. What I'm saying is that if Python 3 had something everybody wants and nothing else

Re: How keep Python 3 moving forward

2014-05-24 Thread Mark Lawrence
On 24/05/2014 20:49, Marko Rauhamaa wrote: Devin Jeanpierre : If you want to migrate to Python 3, help that library forward, rather than trying to make some bespoke replacement you think will be a killer app. Few people have Python 3 as an objective. What I'm saying is that if Python 3 had so

is there a list/group for beginners?

2014-05-24 Thread Deb Wyatt
Hello.  I am a total python newbie and would like to ask questions but all my questions seem so stinkin' elementary compared to the posts I've read so far.  Is there a beginning python list anywhere?  I have searched and searched.  Meanwhile I will continue to read the messages here to cram as

Re: is there a list/group for beginners?

2014-05-24 Thread Mark Lawrence
On 24/05/2014 20:51, Deb Wyatt wrote: Hello. I am a total python newbie and would like to ask questions but all my questions seem so stinkin' elementary compared to the posts I've read so far. Is there a beginning python list anywhere? I have searched and searched. Meanwhile I will continue t

Numpy Array of Sets

2014-05-24 Thread Luis José Novoa
Hi All, Hope you're doing great. One quick question. I am defining an array of sets using numpy as: a=array([set([])]*3) Now, if I want to add an element to the set in, lets say, a[0], and I use the .add(4) operation, which results in: array([set([4]), set([4]), set([4])], dtype=object) whi

Run pip

2014-05-24 Thread Igor Korot
Hi, ALL, I'm running Windows XP SP3 with python 2.7. According to https://pip.pypa.io/en/latest/installing.html all I need is to download get-pip.py and then run "python get-pip.py". However, after that running pip does not do anything. It says "pip is not recognized as an internal command". My

Re: Numpy Array of Sets

2014-05-24 Thread Robert Kern
On 2014-05-24 23:05, Luis José Novoa wrote: Hi All, Hope you're doing great. One quick question. I am defining an array of sets using numpy as: a=array([set([])]*3) Now, if I want to add an element to the set in, lets say, a[0], and I use the .add(4) operation, which results in: array([set(

Re: Numpy Array of Sets

2014-05-24 Thread Wolfgang Maier
On 25.05.2014 00:14, Robert Kern wrote: On 2014-05-24 23:05, Luis José Novoa wrote: Hi All, Hope you're doing great. One quick question. I am defining an array of sets using numpy as: a=array([set([])]*3) Has nothing to do with numpy, but the problem is exclusively with your innermost expr

Re: Run pip

2014-05-24 Thread Mark Lawrence
On 24/05/2014 23:12, Igor Korot wrote: Hi, ALL, I'm running Windows XP SP3 with python 2.7. According to https://pip.pypa.io/en/latest/installing.html all I need is to download get-pip.py and then run "python get-pip.py". However, after that running pip does not do anything. It says "pip is not

Re: Run pip

2014-05-24 Thread Igor Korot
Mark, On Sat, May 24, 2014 at 3:34 PM, Mark Lawrence wrote: > On 24/05/2014 23:12, Igor Korot wrote: >> >> Hi, ALL, >> I'm running Windows XP SP3 with python 2.7. >> >> According to https://pip.pypa.io/en/latest/installing.html all I need >> is to download get-pip.py and then run "python get-pip.

Re: is there a list/group for beginners?

2014-05-24 Thread Chris Angelico
On Sun, May 25, 2014 at 5:51 AM, Deb Wyatt wrote: > > Hello. I am a total python newbie and would like to ask questions but all my > questions seem so stinkin' elementary compared to the posts I've read so far. > Is there a beginning python list anywhere? I have searched and searched. > Mea

Re: Run pip

2014-05-24 Thread Mark Lawrence
On 24/05/2014 23:47, Igor Korot wrote: Mark, On Sat, May 24, 2014 at 3:34 PM, Mark Lawrence wrote: On 24/05/2014 23:12, Igor Korot wrote: Hi, ALL, I'm running Windows XP SP3 with python 2.7. According to https://pip.pypa.io/en/latest/installing.html all I need is to download get-pip.py and

Re: How keep Python 3 moving forward

2014-05-24 Thread Terry Reedy
On 5/24/2014 3:49 PM, Marko Rauhamaa wrote: Few people have Python 3 as an objective. What I'm saying is that if Python 3 had something everybody wants and nothing else provides, the people will come, even the legacy libraries will be ported then. I cannot think of anything beyond the core tha

Make Python Compilable, convert to Python source to Go

2014-05-24 Thread bookaa bookaa
Make Python Compilable This tool can be called 'Python to GoLang', which translate Python source to Golang source. And then you can compile the Go files to executable binary. (btw: Go is a new C-like compilable language, open source). Generally, people consider Python as a script language. It h

Re: Make Python Compilable, convert to Python source to Go

2014-05-24 Thread Chris Angelico
On Sun, May 25, 2014 at 1:06 PM, bookaa bookaa wrote: > This tool can be called 'Python to GoLang', which translate Python source to > Golang source. And then you can compile the Go files to executable binary. > (btw: Go is a new C-like compilable language, open source). > Sounds like you're wr

Re: How keep Python 3 moving forward

2014-05-24 Thread wxjmfauth
Le dimanche 25 mai 2014 02:27:11 UTC+2, Terry Reedy a écrit : > On 5/24/2014 3:49 PM, Marko Rauhamaa wrote: > > > > > Few people have Python 3 as an objective. What I'm saying is that if > > > Python 3 had something everybody wants and nothing else provides, the > > > people will come, even th