[Tutor] Please sent me the output of this code .Please include both cases if input correct and if input wrong .

2015-12-05 Thread Deepak Nn
# Embedded file name: re4.py
import time
flag = [102,
 108,
 97,
 103,
 123,
 112,
 121,
 116,
 104,
 111,
 110,
 95,
 114,
 111,
 99,
 107,
 115,
 125]
password = raw_input('Enter secret code to get secret password: ')
sleep_hours = 1
print 'Going to sleep. Will check password after %d hours' % sleep_hours
print 'If you want to check password faster, find a way to prevent this
sleep'
time.sleep(sleep_hours * 60 * 60)
if password == 'strongpassword':
print 'Correct! The secret password is %s' % ''.join(map(chr, flag))
else:
print 'Booo wrong code! No secret password for you'
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Fwd:

2016-01-18 Thread Deepak Nn
-- Forwarded message --
From: Deepak Nn 
Date: Mon, Jan 18, 2016 at 6:27 PM
Subject: Re:
To: tutor-ow...@python.org


Please provide a python program to run a program (.exe) and get Hash
*exactly* as :

 160 106 182 190 228 64 68 207 248 109 67 88 41 .The username to be
used is admin
.The *password* is what to be found out .The hash provided is of the
correct password .Mostly the password will be *13 char long *and has a
small chance of being all alpha characters .*GOOGLE DOES NOT ALLOW TO SENT
.EXE FILE .*

Provide the where is change i have to make in the program to run the .exe
file that i have in my computer .

Since i can't sent the .exe file .i am sending the screen shorts of the
program .*The text file of the program is included and few screenshots of
 the the the result of the program is also included* .
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor