Thanks James...
On Fri, Oct 24, 2008 at 8:01 AM, James Mills
<[EMAIL PROTECTED]>wrote:
> On Fri, Oct 24, 2008 at 12:55 PM, Usman Ajmal <[EMAIL PROTECTED]>
> wrote:
> > An interpreter which Python also uses, translates and checks for errors
> in
> > code, one
Assalamalaikum
An interpreter which Python also uses, translates and checks for errors in
code, one line at a time.
Question: Does interpreter also executes the translated code?
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Tim. That rstrip('\r\n') worked. :)
On Wed, Sep 17, 2008 at 10:45 AM, Tim Chase
<[EMAIL PROTECTED]>wrote:
> Is there any function for reading a file while ignoring *\n* occuring in
>>> the file?
>>>
>>
>> can you be a bit more precise? are we talking about text files or binary
>> files?
sentence = this is python list\nwhere we get support\nfrom geeks
On Wed, Sep 17, 2008 at 10:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> Usman Ajmal wrote:
>
> Is there any function for reading a file while ignoring *\n* occuring in
>> the file?
>>
>
> can y
Hi.,
Is there any function for reading a file while ignoring *\n* occuring in the
file?
--
http://mail.python.org/mailman/listinfo/python-list
ks by the way marco and Toivonen for trying to help :)
On Mon, Sep 15, 2008 at 1:06 PM, Marco Bizzarri <[EMAIL PROTECTED]>wrote:
> On Mon, Sep 15, 2008 at 8:23 AM, Usman Ajmal <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a M2Crypto.RSA.RSA instance that contain m
usr/lib/python2.5/xmlrpclib.py", line 1191, in request
headers
xmlrpclib.ProtocolError:
On Sat, Sep 13, 2008 at 12:37 PM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> Usman Ajmal wrote:
>
> Problem is that when i start client (while the server is already running),
>>
Problem is that when i start client (while the server is already running), i
get an error i.e.
Error 500 Internal Server Error
On Sat, Sep 13, 2008 at 3:58 PM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> Usman Ajmal wrote:
>
> Where exactly should i call ServerProxy? Following is t
MLRPCServer(("localhost", 8000))
server.register_instance(AuthenticationFunctions())
server.serve_forever()
On Sat, Sep 13, 2008 at 8:44 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> Usman Ajmal wrote:
>
> Please explain the arguments of send_request. What exactly are the
>> connection, ha
Please explain the arguments of send_request. What exactly are the
connection, handler and request_body? It will be really helpful if you give
an example of how do i call send_request
On Thu, Sep 11, 2008 at 7:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> Usman Ajmal wrote:
>
&
I am getting an Internal Server Error 500 when i run my client code. I am
trying to call a function at the server side which for now only returns a
string. Meanwhile this calling i also set the header of HTTP request.
Following are my client and server code. Am i doing something wrong?
#-
Thanks for ur help. But now i am getting an error
xmlrpclib.ProtocolError:
Here is my code at http://privatepaste.com/d81Kut9AFj
Any idea what wrong am i doing?
On Thu, Sep 11, 2008 at 7:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> Usman Ajmal wrote:
>
> And i also fount
Hi everyone,
I am trying to call a function named system.auth at the server side running
at localhost:8080 but at the same time i want to set the http header. I
found that header can be set by
h.putheader("AUTHORIZATION",
"Basic %s"%encodestring("%s:%s" % (ustring,text_ucert)))
#us
I think it is a right place to ask my query...
I wrote the following code for signing and verifying some message using
Public-Private Key Encyption but it has a problem. It is giving me a 'Bad
Signature' error at line 27. I don't know what wrong am i doing as to me the
signature is looking fine. I
14 matches
Mail list logo