newbie question (for loop)
BB, I am getting error on the following syntax while running in Ipython and spyder and I failed to figure out why for i in range(len(list)) Error for i in range(len(list)) ^ SyntaxError: invalid syntax where list is a list defined as a collection of words and it is OK prints fine. Kindly advise. Cheers Sachin Sachin Kumar Sharma Senior Geomodeler -- http://mail.python.org/mailman/listinfo/python-list
newbie question (latex Error in plotting)
Hi, After computation of few array, when I am using plot(x,y) command I get following error 'latex' is not recognized as an internal or external command, operable program or batch file. ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (532, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (19, 0)) I can view the output as and it is fine. I tried the same in Ipython and spyder, same error message. Any advice. Cheers Sachin ************ Sachin Kumar Sharma Senior Geomodeler -- http://mail.python.org/mailman/listinfo/python-list
how to install the PLY (Python Lex-Yacc) package in windows
BB, I downloaded PLY (Python Lex-Yacc)<http://www.dabeaz.com/ply/> package for a script use it for parsing and looking to install under windows. It has setup.py file, and the command mentioned for installation is Python setup.py install Doesn't work for windows. Any advice. Cheers Sachin ******** Sachin Kumar Sharma Senior Geomodeler -- http://mail.python.org/mailman/listinfo/python-list
Advise for numerical programming content (New python user)
Python Users, I am an average Fortran user. I am new to python and I am currently evaluating options and functionalities of numerical programming and related 2d and 3d graphic outputs with python. Kindly share your experience in scientific programming with python like how do you like it, comparison with Fortran and C++. Which version of python + numpy+scipy are compatible with each other or if any other numerical analysis package is available (I am working on windows environment.) Does graphic output like maps, histogram, crossplot, tornado charts is good enough with basic installation or needs some additional packages? Your feedback is valuable for me to start. Thanks & Regards Sachin **** Sachin Kumar Sharma Senior Geoscientist -- http://mail.python.org/mailman/listinfo/python-list
RE: Python use growing fast
Since this discussion is going on about the popularity of a programming language. I would like to know views regarding the best language for scientific programming especially in terms of user friendliness, resources available, graphics and robustness to handle large numerical and simulation problems. Thanks & regards Sachin **** Sachin Kumar Sharma Senior Geomodeler -Original Message- From: python-list-bounces+ssharma84=slb@python.org [mailto:python-list-bounces+ssharma84=slb@python.org] On Behalf Of Octavian Rasnita Sent: Tuesday, January 11, 2011 3:38 PM To: python-list@python.org Subject: Re: Python use growing fast From: "Gerry Reno" > On 01/10/2011 08:31 PM, Katie T wrote: >> On Mon, Jan 10, 2011 at 10:29 PM, John Nagle wrote: >> >>> On 1/10/2011 1:02 PM, MRAB wrote: >>> >>>> On 10/01/2011 20:29, Dan Stromberg wrote: >>>> >>>>> I invite folks to check out Tiobe's Language Popularity Rankings: >>>>> >>>>> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html >>>>> >>> That's somehow derived from web searches, not from any real data >>> source. Look how far down JavaScript is. >>> >> Any measure is arbitrary and subject to biases, what methodology would >> you prefer ? >> >> >> Katie >> > > Measuring the "Buzz" about a language is actually a pretty good way to > gauge its popularity. Well, not exactly. C and C++ are older than many other languages and probably many of the web pages that contain "programming C" are very old and don't reflect their current popularity. On the other hand, newer languages are more attractive for book publishers because they can sell more books about Ruby than about C, because for C there are already very many books written so there is a bigger intrest to promote the newer languages, not just because they are better, but because there are interests involved. Talking about interests, Java and DotNet are more popular than many other languages, but we all know why, and we also know why PHP has such a big success although it is a bad language, as we all know why Window has a bigger success than other operating systems... so the popularity contest is good, but for something else than we want to prove. A programming language popularity contest is like a beauty contest for finding the most intelligent girl. Octavian -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list