Graph plotting module

2007-06-04 Thread Viewer T.
Is there a python module anywhere out there that can plot straight
line graphs, curves (quadratic, etc). If anyone knows where I can
download one, please let me know.

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


Access Denied while trying to delete file from python script

2007-07-14 Thread Viewer T.
I am trying to write a script that deletes certain files based on
certain criteria.

What I am trying to do is to automate the process of deleting certain
malware files that disguise themselves as system files and hidden
files. When I use os.remove() after importing the os module is raises
a Windows Error: Access denied probably because the files have
disguised themselves as system files. Is there anway to get adequate
privileges under windows to be able to delete system files from within
a python script. I know it is probably a windows security feature but
is there anyway to gain such privileges.

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


Images in Tkinter

2007-07-20 Thread Viewer T.
I wrote a class in which I have to use Tkinter images. When I create
an image object in the class and reference it with the image attribute
of label within the class, it does not dhow the image. It just shows a
blank label that conforms to the size of the image. My images is a GIF
image.

My code takes the form:
class Login:
 def __init__(self):
  create image object and other things necessary for class
initialisation
  self.make_widgets
 def make_widgets(self):
  Then I create my widgets

Then, I instantiate the login class.

I use Python 2.5. Does anyone have any idea why my imae does not
diplay itself? I have tried using the image before outside a class and
it works! Also, I tried creating the image object outside class but it
gives a runtime error saying it is too early to create an image
object. Please help!

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


Modules for peer-to-peer chat program

2007-04-24 Thread Viewer T.
I would like to know which modules I would need in order to create
peer-to-peer chat program in python using Tkinter.

If I would need modules that do not come packaged with python, I would
appreciate information on where I can get them.

Thanks.

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


Logic for Chat client

2007-05-02 Thread Viewer T.
Could anyone kindly give me a comprehensive logic guide to creating a
peer-to-peer chat program with Python. I would really appreciat a
comprehensive guide and links to any modules I would need that are not
in the standard library.

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


Re: Database intensive application

2007-08-12 Thread Viewer T.
On Aug 11, 10:08 pm, Rohit <[EMAIL PROTECTED]> wrote:
> I am a novice. I want to know whether Python can be used to develop
> client/server database and web applications like .NET. Which is the
> best book/source to learn Python?

O'reilly's Learning Python by David Ascher and Mike Lutz has a
reputation for being the best book for learning Python and Yes, Python
has awesome database support and can satisfy almost all database needs.

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


Re: How to run external program?

2007-01-12 Thread Viewer T.

Lad wrote:
> How  can I run external program from Python?
> I use Python with XP
> Thank you for help

A possible way to do this is the following:
Let's say we want to run a program called program.exe from the path
C/Program/Program.exe. We would first need to import the os module and
type the following:

import os#import the os module
path = 'C:/Program/Program.exe'  #give the pathname of the external
program as a string
os.system(path)  #execute the program from
python using the os module

There are many other ways, but this should work for short pathnames
without spaces.

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


Python interfacing with COM

2007-01-28 Thread Viewer T.
I am quite a newbie and I am trying to interface with Microsoft Word 
2003 COM with Python. Please what is the name of the COM server for 
Microsoft Word 2003?

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