1. How do I get a Python script to run on my website greenturtle3141.github.io? It's failing miserably.
     
    #1
  2. ask agentk
    he knows everything :O
     
    #2
  3. Python is really difficult to set up on a webpage -- it's designed for a computer, not a browser.

    If you send me your python code, I can translate it into html and jquery, and then you can put it in.
     
    #3
  4. Im importing PIL (Python imaging library) files tho... do I need to give you the *encrypted* PIL programs too?
     
    #4
  5. Brand0nMC.

    Brand0nMC. Well-Known Member

    Barndon
    MVP+
    Messages:
    1,395
    gr8 website m8 I r8 8/8
     
    #5
  6. Wait, why are you manipulating image files on a website?
     
    #6
  7. idk, Im just doing random stuff and hoping it would work O_O
     
    #7
  8. Well, if you have a specific thing you need, I'll happily code it for you -- it's the perfect way to practice my skills.
     
    #8
  9. Rio

    Rio

    Rio Well-Known Member

    Rio
    MVP+
    carti ISRAEL
    Member
    Messages:
    14,102
    mind just got nuked
    aaaaaaaaktjwkfndubekfjsilyBAeakdkuwrayhrdujuywerzhz
     
    #9
  10. I'm making the auto-paintball map criticizer, examining map layouts and calculating advantages on non symmetrical maps based on density (elevation taken into account is optional). Then it outputs the percentage of how unfair the map is, and to whose advantage, and printing a nice rainbow bitmap to display the density :D
     
    #10
  11. Couldn't you just do this for each map, and then upload to imgur and post on your website? I mean, it's not like there are that many PB maps.

    If you really want me to do this, send me your python code so I can try to convert it into javascript. YOLO
     
    #11
  12. BaderXGamer

    BaderXGamer Well-Known Member

    BaderXGamer
    MVP+
    Messages:
    1,217
    PythonTurtle FTW
     
    #12
  13. GitHub pages only works for static sites. If I were you, I'd just grab a droplet from DigitalOcean and run it on that.
     
    #13
  14. FirePhoenix104

    FirePhoenix104 Well-Known Member

    FirePhoenix
    Messages:
    638
    image.jpg
     
    #14
    • Like Like x 1
  15. Much money ;-;
     
    #15
  16. It's only $5 a month for a droplet that can run what you need:

    [​IMG]
     
    #16
  17. noty
     
    #17

  18. Alright here's my faaaake Python code.

    class Dog():
    def __init__(self, friend):
    self.friend = friend

    while 1:
    Dog1 = Dog('null')
    Dog2 = Dog(Dog1)
    Dog1.friend = Dog2

    del Dog1
    del Dog2

    [​IMG]
     
    #18
    • Like Like x 1
  19. Clashe

    Clashe Well-Known Member

    Clashe
    MVP+
    Otaku World OTAKU
    Member
    Messages:
    2,113
    JQuery or Ruby seems better for the type of site you are working on...
     
    #19
  20. I think you missed the above post where he showed us his code :p
     
    #20
    • Like Like x 1

Share This Page