Coding help...very basic

Igorati wade_stoddard at yahoo.com
Sun Mar 6 18:37:34 EST 2005


This is just a basic of what I have so far. The time , a class I will need
and the print function.

 class Account:
     def __init__(self, initial):
         self.balance = initial
     def deposit(self, amt):
         self.balance = self.balance + amt
     def withdraw(self,amt):
         self.balance = self.balance - amt
     def getbalance(self):
         return self.balance 

import time
time.asctime()

import win32api
source_filename = "log.txt" 
win32api.ShellExecute (
    0
    "print"
    source_filename
    None
    "."
    0)





More information about the Python-list mailing list