5

So 9 months back I wrote a script that asked for company's symbol to fetch data from a site, just one symbol a time. There were around 300-350 symbols, I tried storing symbols in a text file and supplying input from it, it did not work then so I decided to leave it as it is. Today when I took closer look at the code I wrote, I found that the symbols were being fed to the script, however, the "\n" was included too, so my script was failing to get data in bluk. Modified it today, it's all good. Its kinda crazy, 9 months and only thing stopping my script to work was a freakin "\n".

Comments
Add Comment