Re: ftplib strange behaviour

2004-12-31 Thread Kartic
connection after a certain connection time, in the middle of a download! That is the best I can help you out with the information. Have a happy New Year. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Any Python XML Data Binding Utilities Avaiable?

2004-12-31 Thread Kartic
above did not handle multiple occurances of elements well (or may be it was me!), for example for multiple accounts in a download XML config file I created, only got one account instance instead of 3. Hope this helps. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem remotely shutting down a windows computer with python

2005-01-02 Thread Kartic
/sysinfo/base/initiatesystemshutdown.asp Looks like this is the documented outcome. You could alternatively try setting a little XML-RPC app to invoke 'shutdown -s' on the remote PC from your PC (e.g. using Twisted Python). Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: [Twisted-Python] Problem with Echoserver (TCP), Help!

2005-01-02 Thread Kartic
the server before the client. Do you have some firewall software installed that prevents the client from connecting to the server? Thanks --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Image capture

2005-01-05 Thread Kartic
Catalin, Some explanation about what you are tring to do will be of immense help. Did you want to capture some other Windows object from Python or do you want to capture a Python GUI application from Python? I might be able to help out, but please send more details. Thank you, --Kartic

Re: get the IP address of a host

2005-01-05 Thread Kartic
socket.gethostbyaddr(socket.gethostname()) will return a tuple containing fully qualified hostname, alternative hostnames, ip addresses (>1 if multihomed). Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: get the IP address of a host

2005-01-05 Thread Kartic
or socket.gethostbyname(socket.gethostname()) -- http://mail.python.org/mailman/listinfo/python-list

Re: Image capture

2005-01-05 Thread Kartic
Hi Catalin, Here are the modifications to your code. I am emailing you the complete file back to your email address. Please note that you need PIL (Python Imaging Library) to grab the window. I included a step to save the image, but you can do whatever you want with it. Thanks, --Kartic

Re: smtp question

2005-01-05 Thread Kartic
ail module - http://python.org/doc/2.4/lib/module-email.html ? It is elegant and easy to use. Thank you, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com.client problem

2005-01-05 Thread Kartic
e excelobj = None del sheetobj del wbkobj del excelobj 4. At the end of my scripts, I do the following during the development stage: ActiveComConn = pythoncom._GetInterfaceCount() print 'Done! Active Com Connections :',ActiveComConn # Print count of Active COM connections. Thank you

Re: Another PythonWin Excel question

2005-01-05 Thread Kartic
p the Add method for the Worksheets collection. VBA will show the code completion, with all the arguments for the method call. Try the same for any of the methods. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Another PythonWin Excel question

2005-01-05 Thread Kartic
Sorry, I was thinking of the move() method. Move() takes the after= argument. See this link for usage. (The left nav bar has all other method of the worksheets collection, so bookmark this page :-) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrtskhowtoaddnewwor

Re: navigating/changing directories

2005-01-06 Thread Kartic
different/directory after the script completes. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: navigating/changing directories

2005-01-06 Thread Kartic
Hmmm... I take it back... that is not working! I think it changes the path only during execution time. -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows XP Installation

2005-01-08 Thread Kartic
/) Good luck and python your way! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python application extending, plugins

2005-01-09 Thread Kartic
s python code before you load it into your application's namespace. Cheers! --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: use a file as a database, access rights

2005-01-09 Thread Kartic
ed in your application (e.g. only the creator of a record and his/her superiors can edit it, all others view it) Please send more details to receive useful recommendations. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: use a file as a database, access rights

2005-01-09 Thread Kartic
Steve Holden wrote: > Sounds to me like you need to add a rights layer to gadfly. Aha...I did not consider that possibility. I have not gone indepth into Gadfly...is that a straigtforward thing to implement? -- http://mail.python.org/mailman/listinfo/python-list

Re: path to python file given module

2005-01-09 Thread Kartic
Try this:; >>> import filegen >>> import inspect >>> print inspect.getsourcefile(filegen.SomeClass) 'C:\\Python23\\Lib\\site-packages\\filegen\filegen.py' Cheers, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: path to python file given module

2005-01-09 Thread Kartic
That is because your module in not in a standard location that python can find it in. It is not that inspect.getsourcefile() is not working. Actually if you try reloading your filegen module after the os.chdir(), you will see that import fails. If you copy your filegen directory to the site-packag

Re: Importing Problem on Windows

2005-01-10 Thread Kartic
on in your windows machine. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: python guy ide

2005-01-11 Thread Kartic
tax checking using pycheck and has good debug capabilities. From what I have seen, I like SPE quite a bit (except for my wx programs hanging). SPE - http://spe.pycs.net/ DrPython - http://drpython.sourceforge.net/ WingIDE - http://www.wingide.com/ You can google for Python IDE and see what comes up.

Re: encryption/decryption help

2005-01-12 Thread Kartic
reversible. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Free python server.

2005-01-13 Thread Kartic
service, space is very limited but should more than serve your needs now. --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Free python server.

2005-01-13 Thread Kartic
And yes, they have python installed... -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Sqlite with Python under Windows

2005-01-14 Thread Kartic
other the python-sqlite module itself. Good choice on selecting Sqlite..I love it and hope you will enjoy it too! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Print a string in binary format

2005-01-20 Thread Kartic
3!"!!8!!3!%!*!)i!)!!!3!!&Hl!3!$!!#%!!!3!*! %%!!!%!#3"K!!N!Z3!-%!!-J!N!5J!J"B1!#3'[!5!!!F!*!M8!)!!-`!N!33!!$ F!J#3'LjdCAKdrVm3`!3!N!iJ!!"J,Q4KG'%!!!"mb`%!!0! (... Big Snip ...) Or how about this? >>> f = open('C:/windows/

Re: Print a string in binary format

2005-01-20 Thread Kartic
at this cookbook entry: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/219300 Defines lambdas to convert integer to binary. The one you probably want is - >>> bstr = lambda n, l=16: n<0 and binarystr((2L<>1).lstrip('0')+str(n&1) or '0' >

Re: Tarfile module error

2005-01-21 Thread Kartic
27; >>> NewBackupFilename 'c:skpdc01Backups\\2005-01-21 12-26-21.373000.tar.bz2' >>> TarFileBackup = tarfile.open(NewBackupFilename, 'w:bz2') >>> # Works! I changed your DirBackup to 'C:\skpdc01\Backups' Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Import from database

2005-01-24 Thread Kartic
imported) Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Import from database

2005-01-25 Thread Kartic
Steve, Hmmm... Yes, I see what you are saying. Could you post your create table statement so that I can create a db and play around with dbimport? Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: FTP Server

2005-01-26 Thread Kartic
simpler but not asynchronous, I found this at the Vault called pyFTPDrop, which is aimed at *NIX. http://www.mythi.cx/python/pyFTPdrop.py / Thank you, --Kartic PS: I am sure Medusa is fairly straightforward too, but I have no experience with it. -- http://mail.python.org/mailman/listinfo/python

Re: import hook, overwrite import?

2005-01-26 Thread Kartic
accessing the import internals. There is also a simple example in this section. Is this is what you are looking for? Thanks, --Kartic PS: This about how much I know...the more I find out, I will share :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Help With Python

2005-01-26 Thread Kartic
t;Spam, " * 115)] Since you are starting off, please read and follow the tuturial that available with your Python installation or on the Python.org site at http://docs.python.org/tut/tut.html Thank you, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.Image: Couldn't add an image to the image list.

2005-01-26 Thread Kartic
for you. Thank you, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with win32net on Windows 2K

2005-01-27 Thread Kartic
hon24\Lib\site-packages\wi n32;C:\Python24\Lib\site-packages\win32\lib;C:\Python24\Lib\site-packages\Python win;C:\WorkArea\Python / Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: An mysql-python tutorial?

2005-01-28 Thread Kartic
ages at IBM.com but I dont know if they have articles covering mysql. HTH! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with loading textfiles into dictionaries.

2005-01-30 Thread Kartic
itefile = file('sitelist', 'r+', 1) while True: siteline = sitefile.readline() if len(siteline) == 0: break site_rawlist = siteline.split() sitelist[site_rawlist[0]] = site_rawlist[1:] Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with loading textfiles into dictionaries.

2005-01-30 Thread Kartic
Kartic said the following on 1/30/2005 8:21 PM: [EMAIL PROTECTED] said the following on 1/30/2005 7:43 PM: Hi - It looks like your code encountered a blank line when you got this error. You should move "if len(siteline) == 0" part right after your readline. The way you have done it r

Re: "Mail receiver server"

2005-01-31 Thread Kartic
em object if subject.startswith('reboot'): os.system('shutdown -r') # reboot the Server For more information, please read the email module in the Python Module Docs. Hope that will help you get started! Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Suggesion for an undergrad final year project in Python

2005-02-01 Thread Kartic
within for answers :-) That way you will reinforce your theory and learn Python as well. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Building Python with Tcl/Tk on Cygwin_NT-5.1

2005-02-01 Thread Kartic
tock Python install that comes with Cygwin; it is tkinter enabled and works just fine? (unless you have a compelling reason to install from source) Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
ted. http://docs.python.org/tut/tut.html Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
and it is called a "List" in Python parlance. -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
Tom, It has to be iMatrix.append(k), not iMatrix[index] = k. Python will give an error - list assignment index out of range - for that. Just curious - what book are you following? -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you do arrays

2005-02-01 Thread Kartic
allocate your list. iMatrix = [''] * size # where size is an integer and this will give you a list of size empty elements. If you do this, do not use iMatrix.append(). Use the array notation like you have in you code currently. Thanks -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding user's home dir

2005-02-02 Thread Kartic
ms and tell me what you got? I'd like to know what it returns on different operating systems because I'm developing a multiplatform software. Thank you all. Neat! Works fine on Freebsd 5.3, Python 2.4 Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: errors

2005-02-03 Thread Kartic
e). It might also do you some good to join mod_python mailing list if you are going to use it regularly. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE history, Python IDE, and Interactive Python with Vim

2005-02-03 Thread Kartic
s pdb if debug is on. IPython is nifty but I am just getting a feel for it. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-03 Thread Kartic
or the layout kill the browser. CSS is the way to go. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Kartic
HTML tables. And with CSS, since you style the various HTML tags, you can create different "skins" for your site too. This is definitely OT, like you said, but if you are interested, please contact me directly. I don't pretend to be a CSS expert but I can help you as much as I can. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread in python

2005-02-04 Thread Kartic
arted. Also, there are good recipes in ASPN - http://aspn.activestate.com/ASPN/Cookbook/Python?kwd=Threads And last but not least, the chapter on Threads in Python Standard Library by Fredrik Lundh - http://effbot.org/zone/books.htm Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread in python

2005-02-04 Thread Kartic
Ah! I forgot about this link the slideshow is very informative. -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting strings to dates

2005-02-04 Thread Kartic
py> import time py> date_str = time.strftime('%Y-%m-%d', time.localtime()) py> date_str '2005-02-04' py> time.strptime(date_str, '%Y-%m-%d') (2005, 2, 4, 0, 0, 0, 4, 35, -1) That work? -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie: Syntax error

2005-02-04 Thread Kartic
hould use 'elif' for subsequent conditions after 'if'.) Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Possibly OT: Controlling winamp with Python

2005-02-04 Thread Kartic
Winamp plugin that would achieve this for you? Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python versus Perl ?

2005-02-06 Thread Kartic
hat you asked this question as part of due diligence. These are the factors I can point out. If I have missed something or misquoted, gurus out there can correct me. Hope that helped! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with Python for Windows extensions

2005-09-04 Thread Kartic
False, False) This finds 'Contosa' and replaces all occurances with 'Fabricam'. For a full explanation about the arguments to Execute, look it up in the VBA Help. Thanks, -Kartic The Great 'KK' uttered these words on 9/3/2005 11:14 AM: > the code below is taken

Re: Python compiled?

2005-09-05 Thread Kartic
programs into .exe files that can be executed on any Win32 machine. So you can develop the code using the python interpreter and deploy it using either of these. I have used py2exe and nsis installer to create setup versions of my applications and it deployment is really smooth, just like any c

Re: Problems with Python for Windows extensions

2005-09-07 Thread Kartic
The Great 'KK' uttered these words on 9/7/2005 7:57 AM: > Hello, > I guess you could reproduce my problem, Kartic. I have tried the one u > suggested, but sadly it didn't work for me. I think the COM of pywin is > quite tricky, or it might be a bug. I have some friends w

Re: FTP status problems. (Again)

2005-09-17 Thread Kartic
ftp = ftplib.FTP("ftp.sadpanda.cjb.cc") ftp.login("sadpanda","s4dp4nd4b1g") file = "/FrenchBrochure.pages.zip.gz" ftp.storbinary("STOR " + file, ProgressFile(file, "rb"), 1024) ftp.quit() Thanks, -K

Re: FTP status problems. (Again)

2005-09-17 Thread Kartic
Hello, > file = "/FrenchBrochure.pages.zip" > ftp.storbinary("STOR " + file, ProgressFile(file, "rb"), 1024) You are using file = "/FrenchBrochure.pages.zip" (sorry I did not notice earlier). You can not use file as variable name like you have, as it represents a file object in pyt

Re: FTP status problems. (Again)

2005-09-17 Thread Kartic
t name: filename = "/FrenchBrochure.pages.zip" target = "FrenchBrochure.pages.zip" ftp.storbinary("STOR " + target, ProgressFile(filename, "rb"), 1024) Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: socket question

2005-02-07 Thread Kartic
tside? That is the only possibility I can think of that prevents a non-local client from connecting. Also, please do a netstat -a on the machine running the server and see the IP addresses to which the listening port is bound. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Kartic
ules that my app uses. I don't know if any other option is possible. Do my stated options cover the possibilities and if so, which of these are the correct legal one that I would follow? Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: python connect to server using SSH protocol

2005-02-08 Thread Kartic
urse, you have the usual popen() functions that you can use to invoke SSH. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python mail filter

2005-02-08 Thread Kartic
process and also receive the email into a user account, you have to list the recipients in your .forward file. If you want to process the email through your script and _then_ send it to a user, I think the only way would be to send the email from your script to next intended recipient. Thank you, -

Re: Python mail filter

2005-02-08 Thread Kartic
I just read your requirement of a pass through... Writing the email back into sys.stdout from your script might do the trick of passing it through to the original intended recipient. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and version control

2005-02-09 Thread Kartic
I use PVCS for version control and use IDLE or Vim (depending on my mood :-)) to write the programs. So far I have had no issues, works pretty well. Somehow, and it is just me, I don't care much for version control integrated with the IDE. Thanks, -Kartic -- http://mail.python.org/ma

Re: Help: retrieving e-mail from yahoo pop server. what's wrong?

2005-02-09 Thread Kartic
work? Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Help: retrieving e-mail from yahoo pop server. what's wrong?

2005-02-09 Thread Kartic
Andre said the following on 2/9/2005 7:28 PM: Thank, Kartic I actually tried doing it with several other accounts, notably mail.com and netscape.com When i do it with netscape the dialog goes like the following: The username and password are naturally valid, but something else is wrong. Do you

Re: Python UPS / FedEx Shipping Module

2005-02-12 Thread Kartic
ch to download. Thanks! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Trouble using telentlib

2005-02-12 Thread Kartic
uot;) tn.write("tail -f /tmp/logfile.txt\n") telnet_resp.append(tn.read_until("$ ")) tn.write("exit\n") telnet_resp.append(tn.read_all() ) tn.close() telnet_out = open(OUTPUT, 'a') telnet_out.write('\n'.join(telnet_resp)) telnet_out.close() Alternatively, if your box has FTP access, you can FTP the log file to a CStringIO file and operate on it. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: win32 extension install hiccup

2005-02-13 Thread Kartic
MM said the following on 2/13/2005 4:50 PM: Hi, I downloaded the latest win32all build 202 and tried to install under win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run script pywin32-preinstall.py'. I checked the directories and there was no sign of this file (preinstall.py

Re: problem with tutor mailing

2005-02-16 Thread Kartic
ou will get a lot of other ideas from the other fine people on this list. HTH! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Using 'in' with a Dict

2005-02-16 Thread Kartic
>>> exec(exec2) sweet >>> exec(exec1) sweet >>> exec1.co_varnames ('m',) >>> exec2.co_varnames ('m', 'has_key') >>> The code generated with the has_key() version is slightly large (3 bytes) than the one with the membership test. The co_varnames for the two code objects vary, as the second one has the has_key method also, which the other version does not. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with tutor mailing

2005-02-16 Thread Kartic
mail delivery completely, but that means you will not get any answers related to your questions either. Believe me, it is not a bad idea or an inconvenience to receive other emails on the list; you will learn a thing or two! Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: searching pdf files for certain info

2005-02-22 Thread Kartic
. You can download for your OS from: http://www.foolabs.com/xpdf/download.html Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: reading only new messages in imaplib

2005-02-23 Thread Kartic
*'-' conn.close() Please also go thru the IMAP RFC to learn more about the flags field and the IMAP protocol in general. If you're developing something serious using IMAP, it will be very beneficial to you to understand the protocol. http://www.imap.org/papers/biblio.html Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: email-adress

2005-02-24 Thread Kartic
can choose whether or not to receive emails). Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Working FTP server based on Twisted framework.

2005-02-24 Thread Kartic
http://twisted.sourceforge.net/TwistedDocs-1.1.0/man/mktap-man.html (ftp is explained) If you have no reason to use Twisted, may be you can take a look at http://www.mythi.cx/python/pyFTPdrop.py but this is for UNIXish operating systems. HTH! -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Modules for Various Internet Protocols?

2005-02-24 Thread Kartic
Efrat Regev wrote: > Hello, > > I was wondering whether there are any Python modules for various > Internet protocols, e.g., is there something similar to > Erfat...yes...batteries included! http://docs.python.org/lib/internet.html Thanks, -Kartic -- http://mail.pyt

Re: Python Online Programming Contest

2005-02-24 Thread Kartic
Will Stuyvesant said the following on 2/24/2005 5:10 PM: [Varun] For details about samhita http://www.samhita.info/ "The Madras Institute of Technology (MIT)" it says there. The MIT acronym is taken already guys.. Will - It is a local acronym! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Online Programming Contest

2005-02-24 Thread Kartic
Harlin Seritt said the following on 2/24/2005 8:30 PM: Actually MIT is an abbreviation and not an acronym in the true sense of the word :) Yes...I was caught unawares by the previous poster. But in a strange way I was using the abbreviation MIT to talk about the acronym MIT (M* Institute of Tech

Re: wxpython tutorials

2005-02-25 Thread Kartic
. It is geared towards the wxWidget C++ library but the information can be used to build wxPython apps rather easily. The Help also annotates differences between the C++ class and wxPython (and wxPerl) usage where approporiate. Have fun! -Kartic -- http://mail.python.org/mailman/listinfo/python

Re: how to use property

2005-02-25 Thread Kartic
BYou probably meant self.channel = choice Also, there is a problem in your posted version. You have not defined volume before usage. So I added it to __init__(..,.., volume=120) to make it work. Cheers, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Controlling Pc From Server?

2005-02-27 Thread Kartic
d PCs). Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Controlling Pc From Server?

2005-02-27 Thread Kartic
[EMAIL PROTECTED] said the following on 2/27/2005 8:40 AM: Hello Kartic & NG, Thank you for your prompt answer. In effect, I'm trying to work on a NT network of 6 PC (plus the server). Sorry to not have been clearer. Ideally, I'm trying to monitor the Internet activity of each

Re: Controlling Pc From Server?

2005-02-27 Thread Kartic
Kartic said the following on 2/27/2005 8:54 AM: For a homegrown solution, if I am not mistaken, you will have to use libpcap (or pypcap) to monitor the packets being sent and received, taking care to exclude the local subnet (or your reporting will be skewed as packets sent to the monitoring

Re: cannot open file in write mode, no such file or directory

2005-02-28 Thread Kartic
ename and that filename probably contains characters not allowed by the local file system OR you generate a path that does not exist. For open() to work with the 'w' flag, the path where the file you say should be created should exist. Thanks, -Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: cannot open file in write mode, no such file or directory

2005-02-28 Thread Kartic
Could you please post your entire program, if possible? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: enter key event in wxpython

2005-03-01 Thread Kartic
to do this? so that when i press enter key, The key id or the event to be handled. Help me pls. Take a look at the KeyEvents demo code under Processes and Events of the wxPython Demo application. In a nutshell, you have to handle the KEY_DOWN and KEY_UP events for the window. Thanks, -Kartic

Twisted Non-Admin Installation

2004-12-25 Thread Kartic
from source is not an option as I do not have MSVC. Thank you, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: Twisted Non-Admin Installation

2004-12-25 Thread Kartic
BTW, I googled using some keywords and found nothing that would solve my problem. I could also not find a searchable version of the twisted mailing list. -- http://mail.python.org/mailman/listinfo/python-list

Re: Twisted Non-Admin Installation

2004-12-25 Thread Kartic
Thanks. Does this mean I have to upgrade python 2.3.3 to python 2.4 in order to get this working? -- http://mail.python.org/mailman/listinfo/python-list

Re: Twisted Non-Admin Installation

2004-12-26 Thread Kartic
under admin. Twisted bought that and installed as Admin! (Though I am not entire happy about installing it as admin, this should do it for now) Thank you for your efforts to help. --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: WxListCtrl

2004-12-26 Thread Kartic
d more the Horizontal Scroll bar might appear. In my limited knowledge, I can not tell whether or not there is anything you can do about it. I don't think there is a way to just prevent the H. Scroll Bar from appearing at all. Thanks, --Kartic -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE question

2004-12-26 Thread Kartic
ore you can execute it. To achieve what you describe (select a portion and execute) in IDLE, I use exec() or alternatively the compiler module both of which can take statements in a string variable and execute it. This works for me; may be there is a better way. Thanks, --Kartic -- h

Re: WxButton

2004-12-26 Thread Kartic
Have you explored the wxPython Demo application? It is a pretty helpful learning tool. -- http://mail.python.org/mailman/listinfo/python-list

Re: SimpleHTTPServer, queries unhandled?

2004-12-27 Thread Kartic
-bin and put a testcgi.py, this module executes the .py file and displays the contents in the browser :-) Thanks, --Kartic PS: You can handle query strings accordingly now. -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >