Useing the processor clock, or get time in Femptoseconds

2011-01-30 Thread Garland Fulton
Does anyone have any suggestions? -- http://mail.python.org/mailman/listinfo/python-list

Re: Error invalid syntax while statement

2011-01-07 Thread Garland Fulton
On Fri, Jan 7, 2011 at 8:55 PM, Chris Rebert wrote: > On Fri, Jan 7, 2011 at 9:46 PM, Garland Fulton > wrote: > > > 1 #!/bin/bash/python > > > What is > > wrong with my shebang line? > > Its path is invalid (unless you're using a *very* wei

Re: Error invalid syntax while statement

2011-01-07 Thread Garland Fulton
On Fri, Jan 7, 2011 at 8:28 PM, Ned Deily wrote: > In article > , > Garland Fulton wrote: > > I don't understand what I'm doing wrong i've tried several different > cases > > for what i am doing here. Will someone please point my error out. >

Error invalid syntax while statement

2011-01-07 Thread Garland Fulton
I don't understand what I'm doing wrong i've tried several different cases for what i am doing here. Will someone please point my error out. Thank you. 1 #!/bin/bash/python 2 import math 3 try: 4 x = int(input("Enter your number: ")) 5 if( 0 > x | x > 2147483647): 6 r

Re: Searching Python-list

2011-01-06 Thread Garland
ou by Garland via Google Reader: Re: Searching Python-list via gmane.comp.python.general by Alice Bevan–McGregor on 1/6/11 On 2011-01-05 17:31:13 -0800, Slie said: Grab a Usenet news reader (such as Thunderbird or Unison), point it at: nntps://news.gmane.org/gmane.comp.python.general I can r

Re: Google Chart API, HTTP POST request format.

2011-01-05 Thread Garland Fulton
On Wed, Jan 5, 2011 at 7:26 PM, Tim Harig wrote: > On 2011-01-06, Slie wrote: > [reformated to <80 columns per RFC 1855 guidelines] > > I have read several examples on python post requests but I'm not sure > > mine needs to be that complicated. > > >From the HTML example on the page you posted:

Re: Google Chart API, HTTP POST request format.

2011-01-05 Thread Garland Fulton
On Wed, Jan 5, 2011 at 7:52 PM, Chris Rebert wrote: > On Wed, Jan 5, 2011 at 7:36 PM, Slie wrote: > > > > http://code.google.com/apis/chart/docs/post_requests.html > > > > Google will return a chart in your browser from a URL that you have > built. If your URL is bigger then 2K characters it wil

Re: Google Chart API, HTTP POST request format.

2011-01-05 Thread Garland Fulton
Thank you for showing me the POST request, I will defiantly learn a lot from that. On Wed, Jan 5, 2011 at 7:26 PM, Tim Harig wrote: > On 2011-01-06, Slie wrote: > [reformated to <80 columns per RFC 1855 guidelines] > > I have read several examples on python post requests but I'm not sure > > mi

Re: Google Chart API, HTTP POST request format.

2011-01-05 Thread Garland Fulton
I tried to use "pygooglechart.py" and I have been trying to get it set up all day actually along with several other graphing API's. I just found out that there is a problem with numpy and python 3.1 that is why I moved from the API's. Should I change version just for these library's? Should I be

Re: Arrays

2010-11-29 Thread Garland Fulton
At the top of the last post I didn't understand how I was supposed to have my e mail headers or my quotes formatted. I also would like to change the header to my e mail thread. To I appolpgize and thank you for clearing up my thinking. I just got done with a java class and I should have paid mo

Arrays

2010-11-23 Thread Garland Fulton
Is there a way I can define an Array of and unknown size so I can add and remove to or from it? Are arrays immutable? -- http://mail.python.org/mailman/listinfo/python-list

Unpacking problem

2007-03-01 Thread Chris Garland
What's wrong here? >>> from struct import unpack I can unpack an unsigned char >>> unpack('B','\x90') (144,) I can unpack a short >>> unpack('h','\x06\x00') (6,) But an unsigned char & a short give me this >>> unpack('Bh','\x90\x06\x00') Traceback (most recent call last): File "", line 1, in

Re: SOAP - Beginner Desperately looking for Help

2005-11-26 Thread Rodney Garland
Thanks :-) "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> I wanted to attach these - however, taht didn't work for NNTP, so I mail >> them to you. > > Didn't work - my mail server won't let me send these to you. So you're on > your own here. Shouldn't be too

SOAP - Beginner Desperately looking for Help

2005-11-26 Thread Rodney Garland
Hi All, I am a relative beginner to Python and am looking for help with sending and XML message and getting back a return file. The server is: https://node.deq.state.or.us/node/node.asmx I have have successfully sent and recieved using the PING, AUTHENTICATE (send in username and password and