Tagged Questions
0
votes
2answers
34 views
How to call a python script from a web page
I'm pretty new to Python and Web applications, so I apologize for possible terms/keywords mix up.
I have a Python script that runs a json-rpc server, exporting some management APIs of a device.
I've ...
0
votes
1answer
40 views
how to save json content from a web query
I have this following code for querying and saving the json response. The query returns me a json output but when I save it with my code then I can no longer retain the json format.
...
-2
votes
1answer
37 views
Django by example, 1.2 or 1.5 is better to learn? [on hold]
Should i do the 1.2 version of django or 1.5 on lightbird.net? because the updated version seems a little bit dependent on the libraries -CBV. Any suggestions? because I'm just a beginner and am ...
0
votes
2answers
19 views
Python Third Party Packages on Client Side Web App
I wrote an app in python 2.7 with heavy use of the SciPy stack. It involves interactive graphs and sample list manipulation. Now I am trying to port this to a web page. I am hoping that there is a ...
0
votes
1answer
26 views
Beautiful Soup 4 find_all don't find links that Beautiful Soup 3 finds
I noticed a really annoying bug: BeautifulSoup4 (package: bs4) often finds less tags than the previous version (package: BeautifulSoup).
Here's a reproductible instance of that issue:
import ...
0
votes
2answers
43 views
Scraping dynamic information of stock data using Python
I am trying to use Python to scrap dynamic stock information from a Chinese website :
http://vip.stock.finance.sina.com.cn/mkt/#cyb_root
However, I am a newer to Python. So can someone give me a ...
-3
votes
1answer
35 views
Loging into a website with python [closed]
I'm trying to login to this website, http://www.nordinvasion.com, I have tried many methods but none have been successful I looked through the login procedure on the website and noticed that it is all ...
0
votes
0answers
51 views
Python script to light up a led on Raspberry Pi when webpage is viewed?
I'm struggling with what i wrote in the subject. The situation is like this:
I have RPi with a lighttpd on address http://myrpi.com/
I have another website on address http://othersite.com/
In the ...
1
vote
2answers
20 views
Django says my Model is not defined
So I´m developing a project using Django and I´m trying to create several relationships between some models such as User and Country. When I try to syncdb my console outputs " Name Country is not ...
-1
votes
0answers
22 views
Can I create more auth-user in Django? [closed]
Now, I want to create another auth_user,absolutely make a distinction between contrib.auth.user.Because there are two role--user and administrator,i want save them in two table,If i can do it,and how ...
-1
votes
0answers
39 views
Python Mechanize upload file but the name says it's unnamed?
Dear stackoverflow users,
I'm trying to make a automated script which uploads the 2 files(one .tpr and one .cpt)
and fills the username and passwords and then submits.So I used mechanize and this is ...
0
votes
1answer
21 views
Python app to serve a webpage and detect when someone visits it?
I'm looking for a way to write a small python app (ubuntu) which will serve a simple webpage on port 80 for example but also will detect when someone load it (visits it). I want to raise a certain ...
0
votes
2answers
49 views
Scraping stock competitors from yahoo finance using Python
I have been trying to scrap three competitors of the target stock, for example, AAPL, from yahoo finance, "http://finance.yahoo.com/q/co?s=AAPL+Competitors"
import urllib2
from BeautifulSoup import ...
0
votes
1answer
38 views
how to download a file from ftp with timestamp in Python?
How can I download a file from FTP in Python in such a way that it records the timestamp? I'd like to record both the time modified/lastupdated of the file based on the server time stamp, and also ...
0
votes
2answers
29 views
Displaying a continuous stream of integers on a web page
I want to make a web page that generates a uniform random number between 0 and 99 every 10 seconds, and displays a list of the 100 most recent numbers (which are the same for everyone visiting the ...
0
votes
1answer
19 views
Checking login status at every page load in CherryPy
I am in the midst of writing a web app in CherryPy. I have set it up so that it uses OpenID auth, and can successfully get user's ID/email address.
I would like to have it set so that whenever a ...
-1
votes
2answers
44 views
Splitting a string error: SyntaxError: can't assign to operator
I'm pulling address from my site because I didn't make a backup in xml format. I got it working, except now I want to divide the city and the country by the comma.
Here is what I have so far
...
0
votes
0answers
14 views
Pinger fof web application
I have a web application written in turbogears and I want to build a pinger to check if the web application is still alive! d you have any idea on how to achieve that?
The problem we usually have is ...
-1
votes
3answers
49 views
What is the purpose of app.py in django apps?
In Django 1.4 and above :
There is a new file called app.py in every django application. It defines the scope of the app and some initials required when loaded.
Why don't they use __init__.py ...
0
votes
1answer
33 views
Python facebook sdk to fetch profile pictures and friend lists?
I am using this library to access some data in facebook.
https://github.com/pythonforfacebook/facebook-sdk
in particular I would be interested in my friends' friend lists and in fetching their profile ...
-2
votes
0answers
44 views
Python web framework for creating a simple control panel [closed]
I want to create a simple online control panel (using Python) for our Windows dedi server (which we use as game server). Features must include:
A user login interface (for just one user in our case ...
0
votes
0answers
12 views
karrigell import my own module
i'm new in karrigell, but i got problem when i was trying to use the phase
from testmodule import TestClass
where the "testmodule" is my own module and TestClass is the only class defined ...
0
votes
1answer
73 views
Which is the best framework for web application in python for begginer? [closed]
I went through the Udacity course on Web Development and I have some idea about web development.
In Udacity, the course was based on developing a web app with Google App Engine.
I just want to make ...
0
votes
2answers
30 views
website development using multiple platforms [closed]
combine ruby on rails , python and node.js
While working on these server side technology I felt that these have their own plus and minuses in their own right.
Ruby on rails is good for fast web ...
0
votes
3answers
48 views
How to run simple python script on web [closed]
What is the simplest way of running a python script on the web?
I've been learning to use python to create really simple scripts that scrape the web and represent that data as HTML that can be ...
-1
votes
1answer
52 views
How to use Django with existing database?
I want to create the admin for some tables of an existing MySQL dabatase. I want to use Django since it is just one line of code - admin.site.register(TableName) - so I save a lot of time coding the ...
1
vote
1answer
57 views
Flask : How to make call-back fuction non-blocking using thread
I am using flask framework to interface a text-to-speech system to web. Basically website takes input via textbox and returns a audio file.
Once text is entered into text box and a button is pressed ...
0
votes
1answer
59 views
How to send audio wav file generated at the server to client browser? [closed]
I'm using flask for my application. I would like to send an audio wav file from the server side to client with or without saving the wav file on the disk.
Any idea how to do this ?
1
vote
2answers
29 views
looking for modules that render database as html table forms
i want to provide a form for to read and update fields via a table.
i.e. the form will "know" to provide checkboxes for boolean, textarea for varchars, select for enums, etc.
before i'm writing it ...
0
votes
1answer
31 views
Playing a wavefile from the html using flask framework?
This is my run.py code
from flask import *
app = flask.Flask(__name__)
app.config.from_object('config')
@app.route('/', ...