Re: How to pass a method as argument?

2021-10-01 Thread Anil Anvesh
On Friday, October 1, 2021 at 6:04:34 AM UTC+5:30, Mats Wichmann wrote: > On 9/29/21 23:11, Anil Anvesh wrote: > > I want to write a python calculator program that has different methods to > > add, subtract, multiply which takes 2 parameters. I need to have an execute > &g

How to pass a method as argument?

2021-09-30 Thread Anil Anvesh
I want to write a python calculator program that has different methods to add, subtract, multiply which takes 2 parameters. I need to have an execute method when passed with 3 parameters, should call respective method and perform the operation. How can I achieve that? class calc(): def __

Re: Send Msg To Specific Tcp Client from Tcp Server Python

2016-08-10 Thread Anil reddy reddy M
On Thursday, August 11, 2016 at 11:36:47 AM UTC+5:30, dieter wrote: > Anil reddy reddy M writes: > > > I was written a simple tcp server in python, which is nicely communicating > > with multiple tcp clients. My Tcp Server can accept multiple clients at > > time, each c

Send Msg To Specific Tcp Client from Tcp Server Python

2016-08-10 Thread Anil reddy reddy M
I was written a simple tcp server in python, which is nicely communicating with multiple tcp clients. My Tcp Server can accept multiple clients at time, each client as a new thread. I want send message to specific tcp client after some time. I can client Address from connction, addr = socket.a

Python Schduling

2015-07-21 Thread Madduri Anil kumar
Hello Experts, I am new to Python Programming.I have to work on Python. I have a requirement to scheduling the script for every one hour. could you please let me know which packages will be more helpful for Scheduling. if you post any samples it would be more helpful. Thanks & Regards, Anilkumar.

Need help in Python automation

2014-03-21 Thread Anil Kumar A
not connecting the box and executing commands. I am running the script inside switch. Please give some clue to start my automation. Thanks! Anil Kumar A - -- https://mail.python.org/mailman/listinfo/python-list

File extension

2007-03-16 Thread Anil Kumar
file before and change it to .py. Any Help would be greatly Appreciated. Thanks & Regards, Anil -- http://mail.python.org/mailman/listinfo/python-list

python global variable error

2007-03-16 Thread ANIL KARADAĞ
hi, i made a program in python but received global name error. the program code; serverhost = '127.0.0.1' serverport = 2000 BUFSIZ = 1024 addr = (serverhost,serverport) if str(sys.argv).find("-s") == -1: cs = socket(AF_INET, SOCK_STREAM,0) # create a TCP socket cs.c

Reloading the already imported module

2007-01-11 Thread anil . pundoor
ery time i need to get a fresh xml_param_mapping. So how to relaod the already imported module?? regards Anil -- http://mail.python.org/mailman/listinfo/python-list

Tix Note Book

2006-03-05 Thread anil . pundoor
hi am using Tix notebook and i have two frames in that. am adding some widgets in to both of the frames. now i want to delete all of the widgets in one of the frame. i dont want to delete the frame, but its childres. so how can i get the sub widgets within that frame. Thanks in advance Anil

Deleting items from Tix Tree

2006-02-28 Thread anil . pundoor
, line 320, in __getattr__ raise AttributeError, name AttributeError: delete can some one help me thanks Anil -- http://mail.python.org/mailman/listinfo/python-list

Multicolumn in Tix scrolledListBox

2006-02-28 Thread anil . pundoor
hi iam using Tix ScrolledListBox widget. is there any option so that i can disply the items in multiple colums thanks Anil -- http://mail.python.org/mailman/listinfo/python-list

Multicolumn in Tix scrolledListBox

2006-02-28 Thread anil . pundoor
hi iam using Tix ScrolledListBox widget. is there any option so that i can disply the items in multiple colums thanks Anil -- http://mail.python.org/mailman/listinfo/python-list

bwidget problem

2005-10-03 Thread anil . pundoor
hi i tried installing the bwidget lib . but while running the demo script am getting following error. python sam.py Traceback (most recent call last): File "sam.py", line 1, in ? import bwidget, Tkinter, sys, os File "/usr/local/lib/python2.2/site-packages/bwidget/__init__.py", line 149, i

Re: Bwidget for tkinter

2005-10-03 Thread anil . pundoor
thanks u man. i am new to tk inter. i tried installing the lib. but while running the demo script am getting following error. python sam.py Traceback (most recent call last): File "sam.py", line 1, in ? import bwidget, Tkinter, sys, os File "/usr/local/lib/python2.2/site-packages/bwidget/_

Bwidget for tkinter

2005-10-02 Thread anil . pundoor
hi can i use the bwidgets in tkinter? if so from where can i download the bwidget for tk inter. and i want to know the installation procedure -- http://mail.python.org/mailman/listinfo/python-list

Re: Parse XML using Python

2004-12-09 Thread Anil
William Park wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > > I wanted to write a script that will read the below file: > > > > > > . > > > > > > > > .. > > > > .. > > > > > > > > .. > > > > .. > > > > .. > > > > . > > . > > > > . > > > > > > > > .. > > > > > > > > .. > > >

Re: Parse XML using Python

2004-12-09 Thread Anil
Thomas Guettler wrote: > Am Wed, 08 Dec 2004 23:25:49 -0800 schrieb anilby: > > > Hi, > > > > I wanted to write a script that will read the below file: > > Hi, > > Here is an example how to use sax: > > http://pyxml.sourceforge.net/topics/howto/node12.html > > Thomas > > -- > Thomas Güttler, http