Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
1 Ligne |
import sys |
|
2 ligne |
def copy ( inputfile, outputfile ): |
|
3 ligne |
IN = open ( inputfile, "r" ) |
|
4 ligne |
OUT = open ( outputfile, "w" ) |
|
5 ligne |
for ligne in IN: |
|
6 ligne |
print (ligne,file=OUT,end="") |
|
7 ligne |
OUT.close() |
|
8 ligne |
IN.close() |
|
9 ligne |
if len ( sys.argv ) != 3: |
|
10 ligne |
print ( "option illegale" ) |