I need to consume a .NET web service in a Python client

2007-01-12 Thread mohit
Hello,

I am a .NET developer experimenting with Python.
I need to consume a .NET web service in a Python client. how do I go
about it?
which libraries do i need?
pointers to help me get started would be much appreciated.
I am just a newbie to the Python world so please be bear with my novice
queries.

thanks in advance,
Mohit

-- 
http://mail.python.org/mailman/listinfo/python-list


How to call ltm function using rpy package in python

2013-01-08 Thread Mohit Khanna
I am trying the following code--

from rpy import *
r.library("ltm")

dat= #some data frame or matrix
r.ltm(r('dat~z1'))

error coming is---
RPy_RException: Error in eval(expr, envir, enclos) : object 'dat' not found

Please tell me the right way to call ltm function using rpy library
-- 
http://mail.python.org/mailman/listinfo/python-list


Operator Overloading Basics

2006-08-28 Thread Mohit Bhatt








Hello,

I just started out with python(
couple of weeks).

I have a query regarding Operator
Overloading

 

class c1:

    def
__init__(self,value):

    self.data
= "">

    def
__add__ (self,operand2):

    self.data
+= operand2

 

obj1 = c1(1)

obj1 + 10 # this works just fine

10 + obj1 # throws exception

 

Exception Details

Traceback (most
recent call last):

  File
"", line 1, in -toplevel-

   
10+ obj1

TypeError:
unsupported operand type(s) for +: 'int' and 'instance'

 

    Q.
What do I have to do to make the following line work?

 

            10
+ obj1

 

Thanks and regards

Mohit

 

    






-- 
http://mail.python.org/mailman/listinfo/python-list

RE: Operator Overloading Basics

2006-08-28 Thread Mohit Bhatt

Thanks a lot Fredrik and Tim for your help.

Cheers,
Mohit 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: hello

2008-12-03 Thread Mohit Ranka
Hi,
   Apologies for the previous email.  Some hacker/spammer hacked my
email password, and sent email using it.

Thanks and regards,
Mohit Ranka
--
http://mail.python.org/mailman/listinfo/python-list


Login to website using urllib2

2008-09-18 Thread Mohit Ranka
Hi All,
 I am trying to fetch HTML content from a website that has
different version of pages for "logged" users and "guseuests" users. I need
to fetch the "logged" user pages. The problem is, even with the use of basic
authentication, I am getting "guest" user page with urllib2.urlopen. The
code can be seen here.

http://pastebin.com/m7301084a

Any suggestions/pointers/solutions?

Thanks and regards,
Mohit Ranka.
--
http://mail.python.org/mailman/listinfo/python-list

Re: Error in initialization of IDLE.

2017-06-07 Thread Mohit Soni via Python-list


Sent from Yahoo Mail on Android
  I have python 3.5.2 installed and recently I installed python 3.6 and after 
installing the problem seems to occur.
Whenever I start IDLE it shows an error message like "IDLE can't create a sub 
process or windows firewall might be blocking it"
I did a fresh installation of both versions separately (almost all the 
combinations) but nothing concluded.
It's pissing me off since 2 days. Please help me out!!
Thank you!  
-- 
https://mail.python.org/mailman/listinfo/python-list