Jump to content


Photo

How to link to others my python code


  • Please log in to reply
1 reply to this topic

#1 stewbug

stewbug

    Newbie

  • Members
  • 3 posts

Posted 12 September 2018 - 10:05 PM

I've got an executable python code that runs when accessed via the link http://stewbug.helio...oject_name}.py. How do I link to the actual script text itself? 

 

That way it doesn't execute and I can show the actual code that would be ran if the above link was accessed.


Edited by stewbug, 12 September 2018 - 10:06 PM.


#2 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 9,194 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 13 September 2018 - 12:18 PM

Easiest way is to change the extension to .txt instead so its displayed as a text file.


Please do not PM me for support. Posting on our forums lets all of us learn.

Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users