Jump to content

Search the Community

Showing results for tags 'python-telegram-bot'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi. First of all thanks in advance because of all amazing features! I need this module to use Telegram bot API as the name of module tell this too if I can. It can be installed by pip3 install python-telegram-bot also to kill two birds with one stone, currently I added #!/usr/bin/pythonat the first line of my .py script, but I want to use Python 3.7, how should I edit this line to use Python 3.7? below lines doesn't works: #!/usr/bin/python3.7 #!/usr/local/python3.7 #!/usr/local/bin/python3.7note that I Copy-paste the code into cPanel built-in editor and im not using windows (so there shouldn't be line-ending problem as I think!) code is here, located in Public_html : #!/usr/bin/python import requests print "Content-type: text/html\n\n" print "Python is working fine.\r\n <br>" contents = requests.get('https://random.dog/woof.json').json() url = contents['url'] print ('<img src="'+url+'">');thanks again.
×
×
  • Create New...