Getting and/or setting network interface parameters on OS X

2015-08-07 Thread Shekhar Chandra
Looking for a Python 2.7 module through which I can fetch the below details for all available network interfaces on a OS X device : Gateways DNS server DHCP server WINS server IP address DNS suffix I also want to set them for a specific interface. -- https://mail.python.org/mailman/listinfo/pyt

[no subject]

2015-04-22 Thread Chandra Prashad mishra
sir how can i improve my basic knowledge about programming.can u give me some hint...just give me way -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-03-23 Thread Chandra Prashad mishra
I want to know hint about web development... can any one get me... -- https://mail.python.org/mailman/listinfo/python-list

Re: Is automatic reload of a module available in Python?

2010-02-18 Thread R (Chandra) Chandrasekhar
I grasped it and tried it out, I found it very effective and time-saving. Thank you very much Arnaud. -- Chandra -- http://mail.python.org/mailman/listinfo/python-list

Is automatic reload of a module available in Python?

2010-02-17 Thread R (Chandra) Chandrasekhar
reter? 2. Is there a better way of developing a program? Thank you. Chandra -- http://mail.python.org/mailman/listinfo/python-list

Re: Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar
Alf P. Steinbach wrote: * R (Chandra) Chandrasekhar: width = 5 height = 30 colors = ['#abcdef]', '#456789'] filename = "/tmp/image.png" # I want to get the equivalent of variable interpolation in Perl # so that the command # # convert -size 5x30 gradient:#abcdef

Re: Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar
Peter Otten wrote: import subprocess def convert(width=5, height=30, colors=['#abcdef', '#456789'], filename="tmp/image with space in its name.png"): lookup = locals() assert all("\n" not in str(s) for s in lookup.values()) subprocess.call("""\ convert -size {width}x{heig

Re: Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar
is is the first time I have seen something like this. Thank you very much. Chandra -- http://mail.python.org/mailman/listinfo/python-list

Executing a command from within python using the subprocess module

2010-02-15 Thread R (Chandra) Chandrasekhar
ll; # the remaining values are arguments. # The command has been confirmed to execute correctly. --- Thanks in advance. Chandra -- http://mail.python.org/mailman/listinfo/python-list

Re: Sorting a list of lists

2010-02-13 Thread R (Chandra) Chandrasekhar
e") into a message. Thank you both. It appears that the problem was in the way the data were being read in from a file, than in the sorting itself. Once I fixed that, the results are as expected. Chandra -- http://mail.python.org/mailman/listinfo/python-list

Sorting a list of lists

2010-02-12 Thread R (Chandra) Chandrasekhar
TIA Chandra -- http://mail.python.org/mailman/listinfo/python-list

Dynamic variable names

2010-02-07 Thread R (Chandra) Chandrasekhar
how many colours there would be in advance, I need to generate the colour_n names on the fly. So, my two questions are: 1. How do I do this properly in python? 2. If there is a better scheme than what I have outlined, can someone please point me to a Web link? Thank you. Chandra -- http

Re: Writing a string.ishex function

2010-01-14 Thread chandra
t after declaring from ishex import ishex Is there a more elegant way to integrate this function and make it available to other python scripts using the import mechanism? Thanks. Chandra -- http://mail.python.org/mailman/listinfo/python-list

Writing a string.ishex function

2010-01-14 Thread chandra
Folks, I am new to Python and could not find a function along the lines of string.ishex in Python. There is however, a string.hexdigits constant in the string module. I thought I would enhance the existing modlue but am unsure how I should go about it. Specifically, I have attempted this much: ---

Fw: error in importing scipy

2008-02-13 Thread Mani Chandra
--- On Wed, 13/2/08, Mani Chandra <[EMAIL PROTECTED]> wrote: > From: Mani Chandra <[EMAIL PROTECTED]> > Subject: error in importing scipy > To: [EMAIL PROTECTED] > Date: Wednesday, 13 February, 2008, 9:30 PM > Hi > I get the following error while importing scip

Re: Python not finding modules

2008-02-13 Thread Mani Chandra
Hey, Thanks for replying. But what about the module whose path I included manually. That didn't work too!Is it like packages that are made for python2.4 do not work for 2.5? Also are folders recursively included? Thanks Mani chandra --- On Wed, 13/2/08, Guilherme Polo <[EMAIL P

Python not finding modules

2008-02-13 Thread Mani Chandra
Hey! I installed a few python modules through the freebsd ports, but when I try to import them in the interpreter it says "module xxx not found". This seems to happen for some modules and not for the others. ex:- I installed psyco and parallel python which seem to be found but then scipy, PI

Re: How to execute a python script in .NET application

2006-10-09 Thread Chandra
Thanks all of them, i used the command line process (executing the script in cmd shell) method for executing python script. Regards, Chandra Gerard Flanagan wrote: > Chandra wrote: > > > Hi, > > > > Is there a way to execute a python script(file) in ASP.NET applicati

How to execute a python script in .NET application

2006-10-06 Thread Chandra
Hi, Is there a way to execute a python script(file) in ASP.NET application (programmatically)?? Regards, Chandra -- http://mail.python.org/mailman/listinfo/python-list

simple array question

2005-11-17 Thread purna chandra
Hello, I have a simple question.Hoping not to take much of your valuable time...:-). I am trying to get the data from a string, and am wondering if I get http://groups.google.com/intl/en/googlegroups/tour/index.html from the array : array('c', '\x00=http://groups.google.com/intl/en/googlegroup

DispatchWithEvents not working for SQLDMO.Backup

2005-09-28 Thread Chandra
thEvents using IExplorer and it's working, so I think the installation is correct. Is there anyone facing the same problem? Thanks, Chandra -- http://mail.python.org/mailman/listinfo/python-list

Outlook-Python Issue

2005-05-07 Thread Vijay Chandra Sekhar Parepalli
Hi there,     Can any one please help in getting me Python-Outlook programming issue clarified.   I just wanted to do the following using Python: 1)Open a New Oulook Mail Window 2) Fill the field: to-email address and Write some body to it.(I DON’t want to send it automatically

RE: Array programming

2005-05-07 Thread Vijay Chandra Sekhar Parepalli
Thank you, Sakesun. -Original Message- From: Sakesun Roykiattisak [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 12:17 PM To: V.C.Sekhar Cc: python-list@python.org Subject: Re: Array programming V.C.Sekhar wrote: >Hi there, > I couldnt get to do the following task using Pyth