import pexpect

def main():
    while True:
        print(getATR())

def getATR(): 
    try:
        p = pexpect.spawn('pcsc_scan')
        p.expect('ATR:',None)
        p.expect('ATR:',None)
        return p.before.replace(" ","").replace("\n","")
        p.kill(0)
    except pexpect.exceptions.TIMEOUT:
        return "Timeout"
    except pexpect.exceptions.EOF:
        return "EOF"

if __name__ == "__main__":
    main()


88d6e634ef08290816112f81433ddea19947ab63
<mask token>


def main():
    while True:
        print(getATR())


<mask token>

<mask token>


def main():
    while True:
        print(getATR())


def getATR():
    try:
        p = pexpect.spawn('pcsc_scan')
        p.expect('ATR:', None)
        p.expect('ATR:', None)
        return p.before.replace(' ', '').replace('\n', '')
        p.kill(0)
    except pexpect.exceptions.TIMEOUT:
        return 'Timeout'
    except pexpect.exceptions.EOF:
        return 'EOF'


<mask token>

<mask token>


def main():
    while True:
        print(getATR())


def getATR():
    try:
        p = pexpect.spawn('pcsc_scan')
        p.expect('ATR:', None)
        p.expect('ATR:', None)
        return p.before.replace(' ', '').replace('\n', '')
        p.kill(0)
    except pexpect.exceptions.TIMEOUT:
        return 'Timeout'
    except pexpect.exceptions.EOF:
        return 'EOF'


if __name__ == '__main__':
    main()

import pexpect


def main():
    while True:
        print(getATR())


def getATR():
    try:
        p = pexpect.spawn('pcsc_scan')
        p.expect('ATR:', None)
        p.expect('ATR:', None)
        return p.before.replace(' ', '').replace('\n', '')
        p.kill(0)
    except pexpect.exceptions.TIMEOUT:
        return 'Timeout'
    except pexpect.exceptions.EOF:
        return 'EOF'


if __name__ == '__main__':
    main()

import pexpect

def main():
    while True:
        print(getATR())

def getATR(): 
    try:
        p = pexpect.spawn('pcsc_scan')
        p.expect('ATR:',None)
        p.expect('ATR:',None)
        return p.before.replace(" ","").replace("\n","")
        p.kill(0)
    except pexpect.exceptions.TIMEOUT:
        return "Timeout"
    except pexpect.exceptions.EOF:
        return "EOF"

if __name__ == "__main__":
    main()

