SOLVED ◇ Custom file suffix-extension reading and writing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

SOLVED ◇ Custom file suffix-extension reading and writing

can you write or read a file other than .txt? Can you create custom files for ex.: "my file.asd" and read from it? Also what if you open a certain file with the runnable .exe file, can you handle this option? (the .asd is a suffix i just thought of)

10th Nov 2019, 11:51 AM
xaralampis_
xaralampis_ - avatar
4 Answers
+ 6
Yes you can provide any file extension. You can also read in the bytes of a binary executable.
10th Nov 2019, 11:55 AM
Sonic
Sonic - avatar
+ 2
Yes you can.
10th Nov 2019, 11:54 AM
Ahmed Zubayer
Ahmed Zubayer - avatar
10th Nov 2019, 1:27 PM
Calviղ
Calviղ - avatar
0
Good and true.
15th Jan 2020, 11:13 AM
Imanuel Wicaksono
Imanuel Wicaksono - avatar