Jump to content

Search the Community

Showing results for tags 'python'.

  • 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

  1. import sys, osimport dialogflow_v2 as dialogflowimport codecs, json from twisted.internet import defer, endpoints, protocol, reactor, taskfrom twisted.python import logfrom twisted.words.protocols import irc I am making an IRC bot for an IRC server and would like to host it 24/7 it should be very low cpu intensive because it is a small server and I doubt that it will have more than a dozzen uses per hour. I don't see how to actually keep the script running though. Using the helloworld test (which does work) I assume that it only stays running while the browser window is open and restarts in a new instance every time someone opens the webpage? I also dont understand how to install dependencies? would I just package all of the required files into a folder and upload that? I understand that heliohost does not have a command interface. Is there some other way to pip install?
  2. Hi, I was looking to setup cron job to run a telegram bot with single personal use. But I am not able to setup cron job for execution. I'm looking to run the cron two times a day. I have not received any email notification thus believe that cron is not running. is there a way to see the running status of cron and errors of cron execution. Please assist me to properly setup the cron to run. Update: I got my cron to work by setting cron time to UTC. I referred an old post and was setting the time to PDT.
  3. Could you please install these external tool packages for django? Following are the details: packages to install: django-nested-admin, django-bootstrap-modal-forms username: amalgd main domain: mainstay.heliohost.org server: johnny python 3.6 django 2.1.13 Thanks for the free service, hosting python projects. I appreciate your support.
  4. Hello well i have an error 500 thrown by the server after changing connection to mysql with django, it works all fine with sqlite3 but not with mysql i did enable all connections from remote connection, i even tested to connect from my local computer and it worked could it that the python modules aren't installed ? because it was all working before
  5. Hey there everyone, I have good knowledge of python but I'm still learning Php (well to be honest I started learning it for this purpose). I have a Python script in /cgi-bin and it works fine when I go to mydomain.heliohost.org/cgi-bin/script.py. What I want to do is make it so that it starts from a Php file outside of /cgi-bin. I tried shell_exec() but I'm getting the "Warning: shell_exec() has been disabled for security reasons..." message. I know this function can be used for malicious purposes and that's why it's blocked. I tried some other functions but nothing seems to work or I'm doing it wrong. Question: Can this be done without the use of shell_exec() by any chance? I know there are some duplicate topics of this subject, but as I said I tried a few solutions posted on them and these didn't work. Thanks for your attention!
  6. Hi, could you install these python modules for Python 3.6 on Ricky? Django>=1.11,<2.0; python_version < '3.0' Django>=1.11; python_version >= '3.0' siphashc>=0.8 Whoosh>=2.7.0 translate-toolkit==2.4.0 lxml>=3.5,!=4.3.1 backports.csv; python_version < '3.0' Pillow bleach>=3.1.0 six>=1.7.0 python-dateutil social-auth-core>=3.1.0 social-auth-app-django>=3.1.0 django-crispy-forms>=1.6.1 oauthlib>=3.0.0 django_compressor>=2.1.1 djangorestframework>=3.8 defusedxml>=0.4 django-appconf>=1.0 user-agents>=1.1.0 filelock>=3.0.1 setuptools jellyfish>=0.6.1 openpyxl>=2.6.0 celery>=4.0 celery-batches>=0.2 translation-finder>=1.4 pathlib2; python_version < '3.4' html2text>=2018.1.9 pycairo>=1.10.0 pygobject>=3.14.0 diff-match-patch==20181111 requests django-redis hiredis phply>=1.2.3 akismet>=1.0 psycopg2-binary aeidon>=1.2.1; python_version > '3.0' zeepThanks
  7. Hello ! I wondered if it was possible to install a Python lib for my project. I want to run a discord bot on my site (and if it works, the site itself will be dedicated to how to install/run/use the bot itself) coded in Python, but I need discord.py lib, as well as its dependancies. https://github.com/Rapptz/discord.py Here is the link to the lib github. Note that they don't provide any other install solution than using pip (which would require SSH, and it's not available for me). They also require some packages from repos : Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. apt, yum, etc) before running the above commands: libffi-dev (or libffi-devel on some systems) python-dev (e.g. python3.6-dev for Python 3.6)Is it possible to install these ? I'll work later on some scripts to start/stop the bot without using SSH. Thanks in advance, Querby
  8. Hello, I've already followed the instructions here: https://www.helionet.org/index/topic/30004-django-project-not-working/ (and am able to see the file in cPanel) I've followed this tutorial: https://wiki.helionet.org/Django ... and also this tutorial: https://wiki.helionet.org/Solving_Internal_Server_Errors This is my directory structure: home1/└── izmtky/ └── public_html/ └── auth/ ├── db.sqlite3 ├── manage.py └── auth/ ├── .htaccess ├── dispatch.wsgi ├── __init__.py ├── settings.py ├── urls.py ├── wsgi.py └── dispatch.wsgi And yet, I am still having the same issue: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@patents.heliohost.org to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. What else can I do? auth.zip
  9. Hi, I need "vk_api" lib for my bot. It's using longpoll so it won't overload your server.\ Server: Johnny Username : mrfall Python 3.6
  10. Which webdriver is supported for selenium in python3.6 (Ricky)? e.g. Chrome, Firefox...
  11. I everyone! Im interested to know if is possible to run some machine learning libraries for python such as: tensorflow, sci-kit, numpy, keras, pytorch, lightGBM, theano and pandas. On the other side, any experience with Jupyter Notebooks in Django at the server? Greetings from Chile!
  12. Please upgrade my python in the follows Your cPanel username - ehoche2Your main domain- ehoche2.heliohost.comThe server that you are on: JonnyVersion of python you're using - 2.7 want 3.xThanks
  13. Hey there, How would I install the popular Python modules "Requests" and "bs4" on to my website? I need to use these modules to run my script. Thanks!
  14. Hi! I am using django for my website on Tommy and I am having troubles with this Internal Server Error. I already had this kind of problems in the past but this time I am struggling to find a solution. It seems to be something with the dispatch.wsgi file. This are the errors that appear in the c-panel: [Sun Feb 17 21:50:30.387082 2019] [core:info] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] AH00128: File does not exist: /home1/formigol/public_html/500.shtml, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.386425 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] File "/home1/formigol/public_html/colswe2/dispatch.wsgi", line 21, in <module>, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384893 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170): Exception occurred processing WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384637 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170): Target WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi' cannot be loaded as Python module., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.374405 2019] [wsgi:info] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170, process='', application='colouredsweat.heliohost.org|/colswe2/dispatch.wsgi'): Loading WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ Thanks in advance for your help!
  15. Hello, Would it be possible for you to install the following python module? -python-telegram-bot (https://github.com/python-telegram-bot/python-telegram-bot) that for been able to run a telegram bot in my domain. server: johnny username: sebas python 3.6 Thank you in advance.
  16. Hey guys, would it be possible to install the following modules for python 3.6: - time - datetime - calendar - Mail_sender server: Johnny name: frederi6 Thank you!!
  17. Hi, I would like to have python-telegram-bot module installed Python version: 3.6 Username: devad Server: Ricky Thanks in advance! As you can imagine, I'm working on a telegram bot, but I'm worried about CPU load, should I use webhooks instead of long polling? My bot is just for a couple of private groups, so won't need much CPU, however, I'm afraid of being suspended. On the other hand, there are webhooks, more efficient and resource-friendly, but I don't know if they can be set. -devad
  18. Hi, I would like to ask for the installation of the python telegram bot package. cPanel username: barjoman Main domain: barjoman.heliohost.org Server: Tommy Version of python: 3.6 The package is called python-telegram-bot https://pypi.org/project/python-telegram-bot/ pip install python-telegram-bot Many Thanks, Ben
  19. Hi. I apologize in advance as I'm completely new to this. I've written a functioning Telegram Bot using the python-telegram-bot wrapper (https://pypi.org/project/python-telegram-bot/) Searching through the forums, I've found a few posts with some hints about how to get the bot to run: https://www.helionet.org/index/topic/30316-johnny-python-telegram/ https://www.helionet.org/index/topic/34304-how-to-run-a-python-script/ Unfortunately, I'm still not clear on how to get this to work. Here is what I've tried: I've created a file in the cgi-bin folder through cpanel called testbot.py into which I've copied my code. I've also added "#!/usr/bin/python3.6" to the top However, going to http://barjoman.heliohost.org/cgi-bin/testbot.py gives me a 500 error: I was also unable to get it to run through a cronjob, although I'm guessing this is because of the error above. If anyone can assist, it would be appreciated. Thanks, Ben User: barjoman Server: Tommy
  20. user900

    Discord.py

    Hey, i'll use HelioNet free Python hosting but is Discord bot (discord.py) working? Thanks.
  21. Hi! I'm trying to run this python code on tommy: import imaplib import email mail = imaplib.IMAP4_SSL('imap.gmail.com') mail.login('myaccount@gmail.com', 'mypwd') x,y=mail.status('INBOX','(MESSAGES UNSEEN)') messages=int(re.search('MESSAGES\s+(\d+)',y[0]).group(1)) unseen=int(re.search('UNSEEN\s+(\d+)',y[0]).group(1)) print messages print unseen It doesn't execute it because it doen't print anything. Can you help me? Simpler codes with only a print execute well
  22. Hello, I am new to the site and was looking to do a few things. I have a script that runs on my computer that scrapes the flairs of several subreddits and puts the names of those users in 2 different text files. I was looking around and was having trouble figuring out how to A ) Run my script and B ) Wanted to check with the admins before setting up the cron job. As of currently the script runs on my home computer and it runs on a different web hosting site. username: lustboy email: Packerfan504@gmail.com Server: johnny the script is stored in /home/lustboy/public_html/cgi-bin/gettingUsers.py and a slightly modified version of it is here, removing authentication and specific names https://pastebin.com/WfHtFC4a supposedly I should be able to run it with "http://domain.com/cgi-bin/gettingUsers.py " https://johnny.heliohost.org:REDACTED/cpsessREDACTED/public_html/cgi-bin/gettingUsers.py or https://johnny.heliohost.org:REDACTED/cpsessREDACTED/home/lustboy/public_html/cgi-bin/gettingUsers.py but neither seemed to work. Thanks!
  23. Hey, I was wondering if there is a python shell. I was also wondering if you could install django version 1.9 onto the Tommy server please, thanks!
  24. Please install Telepot, Requests, InstagramAPI, schedule on Johnny Also where could I find the list of which Python 3.6 Libraries are installed on Johnny Server
  25. Hello! I'm newly registered on the HelioHost, so please take it into account) :-) During registration, I've selected such features as python and django, but i can't find them in cPanel. How can I find these, if they exist , or install them? Full noob, pavelk
×
×
  • Create New...