Tagged Questions
22
votes
7answers
5k views
Using Sphinx to write personal websites and blogs
Sphinx is a Python library to generate nice documentation from a set of ReST formatted text files.
I wonder if any one has written Sphinx plugins to make it generate personal websites and blogs.
...
21
votes
2answers
6k views
Get IP address of visitors using Python + Flask
I'm making a website where users can log on and download files, using the Flask micro-framework (based on Werkzeug) which uses Python (2.6 in my case).
I need to get the IP address of users when they ...
17
votes
3answers
16k views
How to send email via Django?
in my settings.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# Host for sending e-mail.
EMAIL_HOST = 'localhost'
# Port for sending e-mail.
EMAIL_PORT = 1025
# Optional SMTP ...
11
votes
4answers
11k views
How can I login to a website with Python?
How can I do it?
I was trying to enter some specified link (with urllib), but to do it, I need to log in.
I have this source from the site:
<form id="login-form" action="auth/login" ...
11
votes
7answers
12k views
How to create simple web site with python?
How to create simple web site with python?
I mean really simple, f.ex, you see text "Hello World", and there are button "submit", which (onClick) will show ajax box "submit successful".
I want to ...
9
votes
1answer
513 views
Does someone know any user reputation engines?
I develop website and would like to add reputation value to each user. So I'm looking for user reputation engine with features like:
good reputation model
users gain reputation when it do something ...
7
votes
6answers
2k views
Automatically determine the natural language of a website page given its URL
I'm looking for a way to automatically determine the natural language used by a website page, given its URL.
In Python, a function like:
def LanguageUsed (url):
#stuff
Which returns a language ...
7
votes
3answers
3k views
Why can't I logout on django user auth?
I am using the django.contrib.auth user management system.
So I got the registration/insert into the user table/model up and the login from django.contrib.auth.views.login up so I can log in.
...
6
votes
3answers
191 views
Is there some website that have examples of every methods in the python standard library?
For example, c++ have cplusplus.com/reference which contain all of c++ standard library complete with definitions and more importantly examples, so I was wondering if there is such a website for ...
6
votes
1answer
1k views
Open-Source Forum with API
Does anyone have suggestions for a PHP, Python, or J2EE-based web forum that has a good API for programmatically creating users and forum topics?
Thanks In Advance
-J
5
votes
13answers
5k views
What's the best way to store simple user settings in Python?
I'm programming (in Python) a website which will have users. These users will have a number of settings, such as their choice of colour scheme, etc. I'm happy to store these as plain text files, and ...
5
votes
4answers
174 views
Where can I share my programs? [closed]
i created a decent amount of programs and I want to share them with other people, which website do you guys suggest?
I am not sure if this question fits with the website here so tell me if it isn't ...
5
votes
3answers
2k views
check_password() from a user again
I do have the following form. How can I check the password from the user again, before the user can change his emailadsress finally. Even he is logged in, I just want to be sure that it is really the ...
5
votes
3answers
4k views
Why can't I get my static dir to work with django 1.3?
This problem is very simple, but I just can't figure it out
added to my urlpatterns
url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/home/user/www/site/static'})
...
5
votes
2answers
168 views
How can I show my personal stuff from Facebook in my website?
I searched in Stack Overflow, Google, etc, but I can't figure out how to show my stuff from my Facebook on my website. I tried some solutions and each one prompted the login dialog and visitors had to ...