0

Whenever I write a new Python script in Windows, to execute it on UNIX I need to first give permission through chmod and then I have run dos2unix to make it executable.

I don't want to run these commands. Is there any way to to add permission and UNIX formatting in the script itself?

P.S. I have checked this link.

Tagc
  • 8,736
  • 7
  • 61
  • 114
gaurav bharadwaj
  • 1,669
  • 1
  • 12
  • 29

0 Answers0