Saturday, 19 March 2016

How to Make Python Payload Executable on Mac | Rahul Tyagi





Step 1: Make this the first line of your Python script "#!/usr/bin/env python".

Step 2: Change the extension of the script file to ".command" i.e. my_python_script.command.

Step 3: In Terminal make the Python script file executable by running "chmod +x my_python_script.command".

Step 4: Now when you double click the Python script in Finder it will open a terminal window and run.

  • Stumble This
  • Fav This With Technorati
  • Add To Del.icio.us
  • Digg This
  • Add To Facebook
  • Add To Yahoo

4 comments:

GNA Gears said...

Have you been thinking about the power sources and the tiles whom use blocks I wanted to thank you for this great read!! I definitely enjoyed every little bit of it and I have you bookmarked to check out the new stuff you post. straight bevel gears

Kevin Peter said...

Wow, Excellent post. This article is really very interesting and effective. I think its must be helpful for us. Thanks for sharing your informative. study in australia jalandhar

NetTech India said...

Thanks for sharing such a useful information.
We at Nettech India an IT Training Institute which provides a course on Ethical Hacking as well appreciates you.

Pooja Sharma said...

Great post. This article is really very interesting and enjoyable. I think its must be helpful and informative for us. Thanks for sharing your nice post. website designing in jalandhar

Post a Comment