+ 1

Is it possible to excute file name like a code?

For example: naming file echo ... .xxx, is it possible to make this code (in file name) to be executed??

12th Oct 2018, 10:04 PM
. H .
4 Answers
+ 1
Even though I main java ive only heard of it but in html I know that you can access files saved in the same directory by using <script> and <styles> respectively for javascript and css
13th Oct 2018, 1:29 AM
Evan Martine
+ 1
Yes. But it depens on language.
13th Oct 2018, 1:31 AM
Emerson Prado
Emerson Prado - avatar
+ 1
Python can read a string as code and execute it ('exec' and 'eval'), so with Python it should be possible.
13th Oct 2018, 7:20 AM
HonFu
HonFu - avatar
0
Thanks for our answers!! I'll try...
17th Oct 2018, 1:47 PM
. H .