Questions tagged [python]

Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 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 ...
Jim's user avatar
  • 51
1 vote
0 answers
19 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 ??
OmarDev's user avatar
  • 21
0 votes
0 answers
15 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 ...
4dummies's user avatar
  • 101
1 vote
0 answers
129 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=...
OmarDev's user avatar
  • 21
1 vote
1 answer
375 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, ...
Godda's user avatar
  • 113
1 vote
0 answers
148 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....
Ben Alan's user avatar
  • 111
1 vote
2 answers
175 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 ...
user610620's user avatar
0 votes
0 answers
283 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, ...
Heyzeuss's user avatar
  • 109
2 votes
0 answers
202 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: { "@...
Sanu Ann Abraham's user avatar
2 votes
0 answers
69 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 ...
z3r0's user avatar
  • 21
2 votes
2 answers
137 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 ...
Priyath Gregory's user avatar
1 vote
0 answers
126 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(...
Samuel Dauzon's user avatar
4 votes
1 answer
776 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 ...
TJB's user avatar
  • 143
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\...
user32882's user avatar
  • 101
0 votes
1 answer
925 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. ...
posfan12's user avatar
  • 696
1 vote
0 answers
17 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 ...
Sarmad Mysterious killer's user avatar
1 vote
1 answer
132 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 ...
dr0i's user avatar
  • 129
0 votes
1 answer
127 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 ...
me9867's user avatar
  • 111
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 ...
Titan's user avatar
  • 111
2 votes
0 answers
48 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 ...
Ciasto piekarz's user avatar
5 votes
1 answer
367 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 ...
jcoppens's user avatar
  • 171
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....
vindex's user avatar
  • 111
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 ...
user1032531's user avatar
3 votes
1 answer
185 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 ...
igal's user avatar
  • 131
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 ...
Braxton Fland's user avatar
1 vote
1 answer
380 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?
shuckc's user avatar
  • 121
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 ...
Incerteza's user avatar
  • 101
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 ...
NDEthos's user avatar
  • 111
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 ...
Chris Bruhin's user avatar
1 vote
1 answer
437 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 ...
BKilpat01's user avatar
1 vote
0 answers
238 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 ...
Vahid Damanafshan's user avatar
0 votes
1 answer
87 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 ...
adeora's user avatar
  • 101
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 ...
jxn's user avatar
  • 121
1 vote
1 answer
93 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 ...
Debashis Dip's user avatar
2 votes
1 answer
106 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 ...
user1948828's user avatar
3 votes
2 answers
965 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 ...
user2395417's user avatar
1 vote
1 answer
366 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 ...
Bengt's user avatar
  • 111
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.
CodeArtist's user avatar
11 votes
2 answers
16k 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 ...
Martin Ueding's user avatar
2 votes
1 answer
819 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. ...
clifgray's user avatar
  • 283
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.
AlexBrand's user avatar
  • 153
2 votes
2 answers
752 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 ...
m000's user avatar
  • 121
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 ...
San's user avatar
  • 557
1 vote
1 answer
75 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 ...
problemofficer - n.f. Monica's user avatar
2 votes
1 answer
107 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 ...
Christophe Debove's user avatar
1 vote
2 answers
713 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 ...
user avatar
1 vote
1 answer
1k views

How to make my page load faster? [duplicate]

Possible Duplicate: Ideas to improve website loading speed? My page gets performance score 79 in yslow which is not bad. Yslow says the parts I can work on are 1) Grade F on Make fewer HTTP ...
Niklas Rosencrantz's user avatar
0 votes
1 answer
5k views

Retry cron job until it successfully excecutes

I'm running a python script on my VPS every day with cron. It only has 768mb ram, and when I run the script manually I often get memory errors from python. However, I usually can just try a couple ...
lavelle's user avatar
  • 103
1 vote
1 answer
146 views

How does Facebook saves images to my HDD

How Facebook downloads images, when you click "Download" near the picture? I see, that they are passing some argument: _n.jpg?dl=1 ,but how it is managed 'behind the scenes'?
therealszaka's user avatar
1 vote
1 answer
146 views

EU Python hosting [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I'm looking for Python hosting in EU. I need WSGI support (nginx+uwsgi, apache+mod_wsgi or similar). What are the options, ...
redman's user avatar
  • 131