Questions tagged [python]
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.
60 questions
0
votes
0
answers
11
views
Apache2: I can server cgi files or .HTML but not both
I am struggling with Apache2 configuration to serve CGI (.py) and .HTML files on the same website.
if I run 'a2enmod cgi' my .py files can be served but my HTML Files can't be served.
if I run '...
0
votes
2
answers
34
views
Python app update - Drop in Google rankings
My Python programmer fixed a bug/issue in the app regarding file input names. The website runs as fast as ever, with no change in performance (100% score on PageSpeed for computers). The app works ...
0
votes
1
answer
44
views
Looking at the developer's source code doesn't reveal all the code
Newbie here, but I didn't know where else to go. I have a very rudimentary understanding of html/css.
I am trying to use python to extract data from the major league soccer website to populate a ...
1
vote
3
answers
6k
views
How do I stop Amazon from crawling a website?
I would like to prevent Amazon from scraping product data on my website. So I found this document: https://developer.amazon.com/amazonbot
And this example:
User-agent: Amazonbot # Amazon's ...
1
vote
1
answer
97
views
How to access Windows XAMPP localhost website using Python
I'm using XAMPP on Windows to work on a new version of my website. I have modified the Windows hosts file and the XAMPP Apache httpd-vhosts.conf file so that my browsers access the version of the ...
1
vote
0
answers
39
views
Display data on Html page [closed]
I have a website that displays data from external files. But there is a problem with the display as in the attachment. How can I control the page size to display the full data without compression ??
0
votes
0
answers
23
views
How to convert an old mod-python page to something more current? And to what -- WSGI?
A long time ago -- it seems like a lifetime ago -- I wrote a page using Apache, mod-python and python 2. It's still there (http://hex.kosmanor.com/hex-bin/board). But after a long hiatus, I have ...
1
vote
0
answers
178
views
Install matplotlib and pandas on shared hosting python from cpanel [closed]
When I upload my Django app, I have problem when I setup the python app configuration files. After adding requirements.txt gives me an error these libraries are not accepted:
matplotlib==3.5.1
pandas=...
1
vote
1
answer
680
views
Is it possible to host my website on digitalocean.com without having to push my project on github?
It's been four days now that i have been trying to host my first web project on digitalocean.com, the project size is about 4GB and I'm having a very difficult time trying to get it on github.com, ...
1
vote
0
answers
186
views
How do I get the top n search keywords from google? [closed]
I need the top billion or so google search results for a project I'm working on.
I've tried using google-trends api to find this data, but it only gives me the top 10 - 20 results. https://trends....
1
vote
2
answers
201
views
How to make a bot in Windows that does automated search of domain names to see if they are available? [closed]
Instead of manually typing in domain names in a domain search registry to see if they are available,
How to program a bot to run through a pre-specified list of .com domain names by searching each one ...
0
votes
0
answers
395
views
Running Python script via PHP exec() on shared hosting
I have a PHP script that launches a Python script. It works fine when I am testing locally, but not on the shared hosting server. I've made the Python script, as well as the Python program files, ...
2
votes
0
answers
238
views
How to validate data graph expressed in json-ld version 1.1 with SHACL?
I've currently tried using the python library pySHACL to validate them. It works if I do not have version 1.1 specific things in it's context.
For example, to validate this data graph:
{
"@...
2
votes
0
answers
76
views
Explanation needed with Django and AMP logic using 1 url
I'm using AMP at one of my parts of the website with Django template and python, my question is what will happen to a page (*SEO wise) if I take and break an AMPed page (only on desktop) and leave the ...
2
votes
2
answers
157
views
Adsense on website that scrapes data from Instagram
I have written some python scripts that scrape data from a given Instagram account. The scripts then run some basic but useful analytics on these scraped data.
I have now wrapped these Python scripts ...
1
vote
0
answers
141
views
Google Search Console API doesn't show "Submitted URL has crawl issues" that is a problem for a number of my URLs in Search Console
I use Google Search Console to track my URLs errors.
I also use Google API with google-api-python-client.
When I do this Python line :
errors = webmasters_service.urlcrawlerrorscounts().query(...
4
votes
1
answer
1k
views
How does changing an HTTP referrer header help circumvent crawler blocking
I have been researching different ways a web crawler might be blacklisted/blocked from a web-server and how to potentially circumvent that. One of those ways is to change the referrer header on the ...
0
votes
0
answers
4k
views
Running test Python script under Apache 2.4 gives error "end of script output before headers"
I am trying to get a simple web service running on my local computer. In my cgi-bin directory in the Apache24 folder I added an empty file called pywps.cgi with the following content
#!C:\ProgramData\...
0
votes
1
answer
1k
views
Setting up and running Python scripts on my shared hosting plan
I have a shared hosting plan with a cheap hosting provider. Up until now I was able to survive with just PHP scripts and FTP access. I am interested in learning how to do things with Python however.
...
1
vote
0
answers
26
views
Python convert webapp into desktop app or just show a webapp into a box like a desktop app
I'm a full stack web developer. I use python for web scraping and web automation. I was wondering that is it possible to convert a webapp into a desktop app or just a window which runs like browser ...
1
vote
1
answer
142
views
Matomo outputs "hostname X doesn't match Y"
Trying to import my webserver's log-files using import_logs.py results in the error:
hostname X doesn't match Y.
It retries to import the data but eventually gives up.
The URL is set properly to the ...
0
votes
1
answer
144
views
Hosting options for running a daily run python script which creates a CSV file? [duplicate]
I wish to run a Python script that daily pulls in some prices and creates a CSV file from them.
What web hosting and cloud options exist to do this.
The script will only run for literally seconds ...
1
vote
0
answers
13
views
High Memory (~8GB) pay per compute time server requirement [duplicate]
I'm looking for an AWS Lambda replacement in order to generate map tile images in parallel. Unfortunately Lambda has a memory limit of 1.5GB and some of my source images sizes are 80MB, using around 7 ...
2
votes
0
answers
53
views
running multiple website through one site on apache2
I am new to web development but giving it a try to learn and whilst make use of it
I have installed sites gogs , pydio and reviewboard on apache2 running on Raspbian.
right now I have to start each ...
5
votes
1
answer
387
views
Trying to install web2py on a shared server (Dreamhost)
I've been trying to install web2py on a subdomain on my shared account at Dreamhost. There used to be some info in their knowledge base, but it has been removed for outdated. I've found lots of ...
1
vote
0
answers
16
views
Free web hosting with python script [duplicate]
I plan to display my Python script run result to share with others. thus, I plan to do a android apps and also a websites. I have use Pythonanywhere to run my python script and send my result to MYSQL....
2
votes
2
answers
1k
views
Parse Python script on Apache virtual host
I have an up and running Apache server working with PHP on a Centos 6 server. Apache was installed using yum -y install httpd mod_ssl. I now wish to add Python.
I installed Python as follows:
wget ...
3
votes
1
answer
219
views
Is there a scripting or command-line interface to the Apache mod_info module?
I am running an Apache2 web-server. I would like to be able to access the kind of information made available by the mod_info and mod_status modules via the command-line, either through a scripting ...
0
votes
1
answer
1k
views
updating SQL tables every x seconds (the right way)
I hope this is in the right topic area. Sorry if it isn't.
I want to ask the right way to do this task.
I have a few service API's I need to query every 30seconds or so that I would like to store in ...
1
vote
1
answer
424
views
How to enable python scripts on 123-reg shared hosting? [closed]
I'm trying to use python for scripting on 123-reg.co.uk and the host has no tutorials available. Does anyone have any examples?
0
votes
0
answers
15
views
CMS for a blog in Python or Ruby? [duplicate]
Which CMS written in Ruby or Python do you recommend me to choose for my blog? The requirements:
being able to upload the images without having them cut their size
comments (not really necessary as I ...
1
vote
2
answers
3k
views
How to setup server, file permissions, and python script so that python script can create files and directories
I have a simple form that submits a select box. When the submit button is pressed I run a python script that needs to create a new directory and add files from an repository. Currently I cannot get ...
2
votes
0
answers
14
views
Alternative to Ebay Open Source [duplicate]
I'm looking for an auctioneering cms which is basically a copy of Ebay, but just more modern and open source.
I would love it if it would already have a connector to a Big Data DB like Hadoop.
Does ...
1
vote
1
answer
450
views
Installing Django (or other Python-based) CMS on PaaS Instance?
I have a simple hosting instance with gandi.net which is designed to host python programs and comes with a PostgreSQL database configured. I originally had the instance formatted for PHP and used ...
1
vote
0
answers
255
views
How to install OSQA using Xampp on Windows 7 32bit?
I want to install OSQA using Xampp on Windows 7 32bit. I've followed the instructions on this tutorial until the "Install the database server" section. In this section, to create a database, I've used ...
0
votes
1
answer
102
views
Running a Python CGI Web App off of a DVD
I have run into a rather unique situation. I need to deploy a web application that uses Python CGI on a DVD. No software can be downloaded onto the computer of the user.
Does anyone have any ideas ...
1
vote
2
answers
2k
views
Google analytics web data vastly different than the core reporting API data
I am trying to pull the exact same data i am seeing in my dashboard via the core reporting API for Google Analytics. However I just dont seem to understand why the data can be so different even for ...
1
vote
1
answer
104
views
Best web environment for running python powered website [closed]
I am new into python programming. 1st is was a php developer. Learnt php by poking around the internet. now in my collage course most of the course are based on python or java. So i thought to Get ...
2
votes
1
answer
129
views
Sendmail encrypted
I manage a website running on Apache. It has public and private areas. When people apply for an account to access the protected portions of the site, they do a TLS/SSL protected POST containing their ...
3
votes
2
answers
1k
views
Configuring an Apache server to run Python
I currently have a website set up on an Apache server running on Redhat Linux, and am trying to configure it to be able to run Python scripts. Essentially, I want to allow Python to be executable, so ...
1
vote
1
answer
376
views
Which FLOSS Python CMS for video sharing in a school? [duplicate]
I have an university project in which we develop a video sharing system for schools. Our central use cases are as follows:
The system has to manage videos (and associated arbitrary metadata)
Where ...
1
vote
2
answers
2k
views
What type of server is using Django/Python? .htaccess is compatible?
I was wondering what type of server is using python & django because i don't know if can i use an .htaccess file and if there is something similar.
Thanks.
11
votes
2
answers
17k
views
How to use Python as a server language from a PHP perspective
I only know server side programming with PHP. To me, I write something into index.php and call http://localhost/index.php and see the results of the PHP script. I have been using CakePHP and ...
2
votes
1
answer
834
views
Page for page redirect in Google App Engine
I have recently changed domain name for a webapp I run on Google App Engine and I am wondering if there is a simple way to do a page for page redirect from my old website to the new domain. ...
3
votes
3
answers
3k
views
Installing python packages on shared hosting?
I will be hosting a Django application on hostgator.com and was wondering how can I install django apps and python packages without using pip, since I won't have access to the root account.
2
votes
2
answers
761
views
community driven video platform
I am looking for a platform to build a community-driven education video site. We already have quite a few community web-apps runing on python/django, so something based on these technologies would be ...
1
vote
3
answers
5k
views
How do I install and run django on iPage (a shared webhost)?
I am using an iPage hosted server and I am willing to use django. As per the provider, they support python inside cgi-bin dir. I would like to know how do I install django on a cgi server if that's ...
1
vote
1
answer
86
views
What framework for text rating site?
I want to start a "rate my"-style site. The rated objects are mostly texts. I want it to be rather simple. Features I need:
object rating (thumb up, thumb down)
object comments
object tags
related ...
2
votes
1
answer
122
views
Migrate from Google App Engine [closed]
I'm working with the app engine platform, python 2.5.x and Django, and I'm looking for other solution to host my web app.
Can you suggest me blog, or websites who explain how to install a such ...
1
vote
2
answers
870
views
Temporarily share/deploy a python (flask) application
Goal
Temporarily (1 month?) deploy/share a python (flask) web app without expensive/complex hosting.
More info
I've developed a basic mobile web app for the non-profit I work for. It's written in ...