We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7534428 commit 3a3fc72Copy full SHA for 3a3fc72
examples/featherwing_tft35_simpletest.py
@@ -13,14 +13,10 @@
13
tft_featherwing = tft_featherwing_35.TFTFeatherWing35()
14
15
try:
16
- with open( # pylint: disable=unspecified-encoding
17
- "/sd/tft_featherwing.txt", "w"
18
- ) as f:
+ with open("/sd/tft_featherwing.txt", "w") as f:
19
f.write("Blinka\nBlackberry Q10 Keyboard")
20
21
22
- "/sd/tft_featherwing.txt", "r"
23
+ with open("/sd/tft_featherwing.txt", "r") as f:
24
print(f.read())
25
except OSError as error:
26
print("Unable to write to SD Card.")
0 commit comments