pyGlobalPlatform is a open source python library of globalplatform client library.
-
JavaCardOS
- Posts: 273
- Joined: Thu Apr 30, 2015 12:00 pm
- Points :2405
-
Contact:
Post
by JavaCardOS » Wed Nov 25, 2015 8:24 am
The following demo code shows how to use pyGlobalPlatform to list smartcard readers.
Code: Select all
# Import the module
import globalplatform as gp
# Establish context
context = gp.establishContext()
# List readers
readernames = gp.listReaders(context)
# print all the reader names
for readername in readernames:
print readername
# Release context
gp.releaseContext(context)
-
rainly
- Posts: 11
- Joined: Tue Jun 09, 2015 4:38 am
- Points :18
-
Contact:
Post
by rainly » Tue Dec 01, 2015 4:00 am
what's the types of the file? it also python?
-
kuafu
- Posts: 317
- Joined: Thu Jun 25, 2015 2:09 am
- Points :4559
-
Contact:
Post
by kuafu » Tue Dec 01, 2015 10:11 pm
Life is short ,use python.
well
Users browsing this forum: No registered users and 3 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.