e. Why does the urlsplit() function
work on my old station, but here I'm getting a tuple cannot find
error. I understand from looking at the docs that tuples cannot have
operations done onto them as they are immutable and sans index, but
there has to be a way to dive into the http address and pars
Thanks all, I did a massive make sure everything is indents and not
spaces across all of my files and now things are running much more
smoothly. I appreciate the responses.
--melih
On Jan 31, 4:49 pm, [EMAIL PROTECTED] wrote:
> Melih> Has anyone seen this error before and been able to solve i
Has anyone seen this error before and been able to solve it? I can't
seem to find anything that leads to a solution. I found this post
http://zope.org/Collectors/Zope/1809, but can't really understand it.
I've attached my code below to see if anything looks funny. It happens
at the very last return
In fact what you're describing is exactly what I needed. I ended up
finding a way to execute the javascript using Rhino and then capturing
the
result. Not exactly what I wanted to do, but once I found it out, it
works.
Melih Onvural
On Jan 30, 2:57 pm, John Nagle <[EMAIL PROTECTED
Thanks, let me check out this route, and then I'll post the results.
Melih Onvural
On Jan 29, 4:04 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On 29 Jan 2007 12:44:07 -0800, Melih Onvural <[EMAIL PROTECTED]> wrote:
>
> >I need to execute some javascript an
e:
print e
but the result is the javascript function and not the calculated
value. Is there anyway to get the javascript to execute first, and
then return to me the value? thanks in advance,
Melih Onvural
--
http://mail.python.org/mailman/listinfo/python-list
characters and push them to their integer value. Thanks for the
help and the advice on writing in Python. Definitely learning to do
things right is the goal here.
Also, the ord function worked. Thanks.
Melih
John Machin wrote:
> Melih Onvural wrote:
> > This is the error message
esult[counter] = int(i);
ValueError: invalid literal for int(): i
and here is the full code:
def strord(url):
counter=0;
for i in url:
result[counter] = int(i);
counter += 1;
return result;
Thanks
Pontus Ekberg wrote:
> Melih Onvural wrote:
>
> > Group,
>
Group,
I'm trying to get a very basic cast from a string to an integer
working. Here is what I'm doing:
for i in url:
result[counter] = int(i)
counter += 1;
return result;
anything that I'm doing drastically wrong? Mac OS 10.4, MacPython
upgraded to 2.4. Thanks for any help,
Melih
-