Re: [Tutor] Python Help

2015-06-24 Thread Alan Gauld
On 24/06/15 20:25, Nirav Patel via Tutor wrote: > ... research using a program called VisIt. One simple thing I am trying to do is using python to call a command that processes all the files that > exist within the directory by having visit access the files. I have started to code below, but

[Tutor] Python Help

2015-06-24 Thread Nirav Patel via Tutor
Hi, my name is Nirav.  I have a question about my code. I am a student at a university that does research using a program called VisIt. We use VisIt to help our learning in computational fluid dynamics and using the information, we study the turbulence of scramjets.  One simple thing I am trying

Re: [Tutor] FW: query

2015-06-24 Thread Alan Gauld
On 24/06/15 13:58, abhijeet...@yahoo.in wrote: Hey guys can anybody tell me what's wrong with this code: The code is below? Please in future 1) start a new thread with a new post, do not hijack somebody else's query. It messes up the archive and threaded mail/newsreaders 2) Use plain text fo

Re: [Tutor] FW: query

2015-06-24 Thread Emile van Sebille
On 6/24/2015 5:58 AM, abhijeet...@yahoo.in wrote: Hey guys can anybody tell me what's wrong with this code: The code is below? Actually the point is that when we put "34h4" type of value it's an valueerror but here no handling is been performed by the python ??? while 1: number=int(input("

Re: [Tutor] FW: query

2015-06-24 Thread abhijeet560
Hey guys can anybody tell me what's wrong with this code: The code is below?Actually the point is that when we put "34h4" type of value it's an valueerror but here no handling is been performed by the python ??? while 1:    number=int(input("Enter the number which u want to check for odd and eve