title: How to write smart card with pyscard
body: <p>I'm using reader/writer acr38f and my smart card is SLE4418. How do I read and write text to my smart card?</p>
  <p>For example: <code>Hello World!</code></p>
  <blockquote>
  <p>apdu = [0XFF, 0X20,0x00,0x00,0x02, 0x00, 0x00]</p>
  <p>response, sw1, sw2 = cardservice.connection.transmit( apdu )</p>
  <pre><code>apdu = [0XFF,0xA4,0x00,0x00,0x01,0x05]
  response, sw1, sw2 = cardservice.connection.transmit( apdu )
  
  
  
  
  apdu = [0XFF,0XB2,0X00,0xA7,0X09]
  response, sw1, sw2 = cardservice.connection.transmit( apdu )
  print response
  
  
  apdu = [0XFF, 0XD0,0x00,0xA7,0x09,0xA7,0x02,0xA7,0x02,0xA7,0x02,0xA7,0x02,0xA7] 
  response, sw1, sw2 = cardservice.connection.transmit( apdu )
  </code></pre>
  </blockquote>
  <p>card response :</p>
  <pre><code>connecting to ACS CCID USB Reader 0
  ATR 3B 04 92 23 10 91
  &gt;  FF 20 00 00 02 00 00
  &lt;  00 00 00 90 0 
  &gt;  FF A4 00 00 01 05
  &lt;  []  90 0 
  &gt;  FF B2 00 A7 09
  &lt;  FF FF FF FF FF FF FF FF FF 90 0 
  [255, 255, 255, 255, 255, 255, 255, 255, 255]
  &gt;  FF D0 00 A7 09 A7 02 A7 02 A7 02 A7 02 A7
  &lt;  []  90 0 
  </code></pre>