is it possible to write python scripts in mainframe like REXX ??

2007-06-19 Thread abhilash pp
hai folks , i am extremely new to this list can anybody tell me where can i find docs that are related to "sripting in mainframe using python" or how can we use python instered of REXX in mainframe how can i run python scripts in mainframe any help will be appreciated. thanks in advanc

Re: AttributeError: module object has no attribute

2008-05-20 Thread abhilash pp
hai nikhil, please check your __init__ file if you had any cheers, abhilash On Tue, May 20, 2008 at 11:00 PM, Nikhil <[EMAIL PROTECTED]> wrote: > I have recently written a small module. When I import the module, I always > get the error > > > only when I do > > >>> from local.my.module import *

Re: can someone with guessing a number

2008-05-21 Thread abhilash pp
if tries > 10: print 'you failed- give up' On Wed, May 21, 2008 at 10:12 PM, garywood <[EMAIL PROTECTED]> wrote: > I would just like the program to exit after guessing the amount of > numbers wrong > > # Guess My Number > import random > the_number = random.randrange(100) + 1 > trie

Re: can someone with guessing a number

2008-05-21 Thread abhilash pp
if tries > 10: print 'you failed- give up' break <--- use this On Wed, May 21, 2008 at 10:24 PM, abhilash pp <[EMAIL PROTECTED]<[EMAIL PROTECTED]>> wrote: > > > if tries > 10: > print 'you failed-

Re: can someone with guessing a number

2008-05-22 Thread abhilash pp
heers , abhilash On Wed, May 21, 2008 at 10:35 PM, Dan Upton <[EMAIL PROTECTED]> wrote: > On Wed, May 21, 2008 at 12:55 PM, abhilash pp <[EMAIL PROTECTED]<[EMAIL > PROTECTED]>> > wrote: > >> On Wed, May 21, 2008 at 10:12 PM, garywood <[EMAIL PROTECTED]>

how can i stop script from running on login ?

2008-05-30 Thread abhilash pp
Hi all, One of my friends played some tricky thing, and now I am in great trouble, please help Here is the scenario [windows xp ]: He wrote one login script and put it on the start program folder under 'All Users' The script is like this it will issue a log off command when we login; due to this

Re: how can i stop script from running on login ?

2008-05-30 Thread abhilash pp
thanks Benjamin, i have to try it out On Fri, May 30, 2008 at 6:31 PM, Benjamin Kaplan <[EMAIL PROTECTED]> wrote: > > > On Fri, May 30, 2008 at 8:44 AM, abhilash pp <[EMAIL PROTECTED]<[EMAIL > PROTECTED]>> > wrote: > >> Hi all, >> >> One o

firefox timestamp

2008-09-07 Thread abhilash pp
hi all, -- http://mail.python.org/mailman/listinfo/python-list

firefox timestamp

2008-09-07 Thread abhilash pp
Hi all, I don't know if this question will fit on this section, any way my query is , i have used one script demork.py to extract details from Firefox history.dat file and now the problem is how to convert the TIMESTAMP given by that to normal date and time. example timestams are like this, 120291

Re: firefox timestamp

2008-09-08 Thread abhilash pp
thanks Fredrik, yeah it works !!! On Mon, Sep 8, 2008 at 8:11 PM, Fredrik Lundh <[EMAIL PROTECTED]>wrote: > abhilash pp wrote: > > I don't know if this question will fit on this section, >> any way my query is , i have used one script demork.py to extract details &