Title stringlengths 11 150 | A_Id int64 518 72.5M | Users Score int64 -42 283 | Q_Score int64 0 1.39k | ViewCount int64 17 1.71M | Database and SQL int64 0 1 | Tags stringlengths 6 105 | Answer stringlengths 14 4.78k | GUI and Desktop Applications int64 0 1 | System Administration and DevOps int64 0 1 | Networking and APIs int64 0 1 | Other int64 0 1 | CreationDate stringlengths 23 23 | AnswerCount int64 1 55 | Score float64 -1 1.2 | is_accepted bool 2
classes | Q_Id int64 469 42.4M | Python Basics and Environment int64 0 1 | Data Science and Machine Learning int64 0 1 | Web Development int64 1 1 | Available Count int64 1 15 | Question stringlengths 17 21k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Download image file from the HTML page source using python? | 257,413 | 3 | 47 | 97,893 | 0 | python,screen-scraping | Use htmllib to extract all img tags (override do_img), then use urllib2 to download all the images. | 0 | 0 | 1 | 0 | 2008-11-02T21:31:00.000 | 7 | 0.085505 | false | 257,409 | 0 | 0 | 1 | 2 | I am writing a scraper that downloads all the image files from a HTML page and saves them to a specific folder. all the images are the part of the HTML page. |
Download image file from the HTML page source using python? | 257,412 | 8 | 47 | 97,893 | 0 | python,screen-scraping | You have to download the page and parse html document, find your image with regex and download it.. You can use urllib2 for downloading and Beautiful Soup for parsing html file. | 0 | 0 | 1 | 0 | 2008-11-02T21:31:00.000 | 7 | 1 | false | 257,409 | 0 | 0 | 1 | 2 | I am writing a scraper that downloads all the image files from a HTML page and saves them to a specific folder. all the images are the part of the HTML page. |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 257,770 | 3 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | This sort of adding-up-scores-by-features is not a good way to choose a programming language. You'd be better off choosing whichever you know the best. If you don't know any of them, try them out for a little while. If you have a really specific project in mind, then maybe some programming languages would be better, bu... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 0.059928 | false | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 257,746 | 33 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | I think it's going to be difficult to get an objective comparison. I personally prefer Python. To address one of your criteria, Python was designed from the start to be an embeddable language. It has a very rich C API, and the interpreter is modularized to make it easy to call from C. If Java is your host environme... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 1.2 | true | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 1,401,616 | 28 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | Having worked with all 3 of them, this is what I can say:
Python
has very mature libraries
libraries are documented
documentation can be accessed from your debugger/shell at runtime through the docstrings
you can develop code without an IDE
Ruby
has some great libraries ( even though some are badly documented )
Ru... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 1 | false | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 326,962 | 8 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | try Groovy .. it has all features that you need there. You can use existing java lib without any modification on its classes.
basically .. groovy is java++, it is more dynamic and fun to learn (just like ruby)
I dont like ruby or python syntax so I will put them behind. Groovy is just like C/C++ syntax so I like him l... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 1 | false | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 257,831 | 7 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | Python has all nine criteria. It scores a 56.
I'm sure Ruby has everything Python has. It seems to have fewer libraries. So it scores a 51.
I don't know if Groovy has every feature.
Since Python is 56 and Ruby is a 51, Python just barely edges out Ruby.
However, I think this kind of decision can still boil down to s... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 1 | false | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 257,776 | 24 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | Just to muddy the waters...
Groovy give you access to Java. Java has an extremely rich set of APIs/Libraries, applications, etc.
Groovy is embeddable, although easiest in Java.
DLLs/Libraries (if you're talking about non-Groovy/Java) may be somewhat problematic, although there are ways and some APIs to help.
I've done... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 1 | false | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
Python vs Groovy vs Ruby? (based on criteria listed in question) | 257,738 | 0 | 35 | 36,111 | 0 | python,ruby,scripting,groovy | I know it's not on your list, but at least look at perl.
Richness of Api/Libraries to sink a ship.
Runs on more systems than most people realise exists.
Works well with Binary libraries.
Has a huge community.
Portability, See above.
Database manipulation: more ways to do it. ( Pick your favorite module )
And one o... | 0 | 0 | 0 | 1 | 2008-11-03T01:31:00.000 | 10 | 0 | false | 257,730 | 0 | 0 | 1 | 7 | Considering the criteria listed below, which of Python, Groovy or Ruby would you use?
Criteria (Importance out of 10, 10 being most important)
Richness of API/libraries available (eg. maths, plotting, networking) (9)
Ability to embed in desktop (java/c++) applications (8)
Ease of deployment (8)
Ability to interface wi... |
How to fetch more than 1000? | 1,000,121 | 0 | 51 | 32,035 | 0 | python,google-app-engine,google-cloud-datastore | The proposed solution only works if entries are sorted by key... If you are sorting by another column first, you still have to use a limit(offset, count) clause, then the 1000 entries limitation still apply. It is the same if you use two requests : one for retrieving indexes (with conditions and sort) and another using... | 0 | 0 | 0 | 0 | 2008-11-05T01:56:00.000 | 16 | 0 | false | 264,154 | 0 | 0 | 1 | 1 | How can I fetch more than 1000 record from data store and put all in one single list to pass to django? |
Multiple database support in django | 272,522 | 3 | 10 | 9,347 | 0 | python,django,database-connection | If you read a few of the many (many) threads on this subject in django-dev, you will see that what looks straightforward, isn't. If you pick a single use case, then it looks easy, but as soon as you start to generalize in any way you start to run into trouble.
To use the above-referenced thread as an example, when you ... | 0 | 0 | 0 | 0 | 2008-11-06T09:39:00.000 | 10 | 0.059928 | false | 268,089 | 0 | 0 | 1 | 1 | From some forum I came to know that Multiple database support is added in Django at lower level, but the higher level apis are not added yet.
Can anyone please tell me how one can achieve multiple database connections in Django.
Does anyone have any idea by when Django will fully/officially support Multiple database co... |
User Authentication in Django | 272,470 | 4 | 2 | 1,232 | 0 | python,django | A site I did last year was concerned that usernames/passwords might be posted to a forum. I dealt with this by adding a model and a check to the login view that looked at how many unique IPs the name had been used from in the last X hours. I gave the site admins two values in settings.py to adjust the number of hours a... | 0 | 0 | 0 | 0 | 2008-11-07T13:21:00.000 | 2 | 0.379949 | false | 272,042 | 0 | 0 | 1 | 2 | is there any way of making sure that, one user is logged in only once?
I would like to avoid two different persons logging into the system with the same login/password.
I guess I could do it myself by checking in the django_session table before logging in the user, but I rather prefer using the framework, if there is a... |
User Authentication in Django | 272,071 | 5 | 2 | 1,232 | 0 | python,django | Logged in twice is ambiguous over HTTP. There's no "disconnecting" signal that's sent. You can frustrate people if you're not careful.
If I shut down my browser and drop the cookies -- accidentally -- I might be prevented from logging in again.
How would the server know it was me trying to re-login vs. me trying to... | 0 | 0 | 0 | 0 | 2008-11-07T13:21:00.000 | 2 | 1.2 | true | 272,042 | 0 | 0 | 1 | 2 | is there any way of making sure that, one user is logged in only once?
I would like to avoid two different persons logging into the system with the same login/password.
I guess I could do it myself by checking in the django_session table before logging in the user, but I rather prefer using the framework, if there is a... |
Processing chunked encoded HTTP POST requests in python (or generic CGI under apache) | 284,857 | 1 | 5 | 5,471 | 0 | python,http,post,java-me,midlet | Maybe it is a configuration issue? Django can be fronted with Apache by mod_python, WSGI and FastCGI and it can accept file uploads. | 0 | 0 | 0 | 1 | 2008-11-12T17:50:00.000 | 5 | 0.039979 | false | 284,741 | 0 | 0 | 1 | 2 | I have a j2me client that would post some chunked encoded data to a webserver. I'd like to process the data in python. The script is being run as a CGI one, but apparently apache will refuse a chunked encoded post request to a CGI script. As far as I could see mod_python, WSGI and FastCGI are no go too.
I'd like to kno... |
Processing chunked encoded HTTP POST requests in python (or generic CGI under apache) | 284,869 | 2 | 5 | 5,471 | 0 | python,http,post,java-me,midlet | Apache 2.2 mod_cgi works fine for me, Apache transparently unchunks the request as it is passed to the CGI application.
WSGI currently disallows chunked requests, and mod_wsgi does indeed block them with a 411 response. It's on the drawing board for WSGI 2.0. But congratulations on finding something that does chunk req... | 0 | 0 | 0 | 1 | 2008-11-12T17:50:00.000 | 5 | 0.07983 | false | 284,741 | 0 | 0 | 1 | 2 | I have a j2me client that would post some chunked encoded data to a webserver. I'd like to process the data in python. The script is being run as a CGI one, but apparently apache will refuse a chunked encoded post request to a CGI script. As far as I could see mod_python, WSGI and FastCGI are no go too.
I'd like to kno... |
python (jython) archiving library | 298,027 | 1 | 1 | 256 | 0 | java,python,jython,archive | You can use java.util.zip, when I was using Jython the built in zip library in python didn't work | 0 | 1 | 0 | 0 | 2008-11-18T06:32:00.000 | 2 | 0.099668 | false | 298,004 | 1 | 0 | 1 | 1 | Is there a neat archiving library that automatically handles archiving a folder or directories for you out there?
I am using Jython, so Java libs are also open for use.
-UPDATE-
Also Im looking for timestamp archiving. ie
archive-dir/2008/11/16/zipfilebypreference.zip
then the next day call it again and it creates ano... |
Django Template Variables and Javascript | 304,627 | 8 | 276 | 309,660 | 0 | javascript,python,django,google-app-engine,django-templates | For a dictionary, you're best of encoding to JSON first. You can use simplejson.dumps() or if you want to convert from a data model in App Engine, you could use encode() from the GQLEncoder library. | 0 | 0 | 0 | 0 | 2008-11-18T13:52:00.000 | 16 | 1 | false | 298,772 | 0 | 0 | 1 | 1 | When I render a page using the Django template renderer, I can pass in a dictionary variable containing various values to manipulate them in the page using {{ myVar }}.
Is there a way to access the same variable in Javascript (perhaps using the DOM, I don't know how Django makes the variables accessible)? I want to be ... |
Calling Java (or python or perl) from a PHP script | 300,035 | 4 | 3 | 1,939 | 0 | java,php,python,dynamic-linking | "where I just can't figure out what model I need to produce the HTML form I want, which seems such a basic thing that I fear for my chances of doing anything more complex"
Common problem.
Root cause: Too much programming.
Solution. Do less programming. Seriously.
Define the Django model. Use the default admin page... | 0 | 0 | 0 | 1 | 2008-11-18T19:51:00.000 | 2 | 1.2 | true | 299,913 | 0 | 0 | 1 | 1 | I've been trying to build a simple prototype application in Django, and am reaching the point of giving up, sadly, as it's just too complicated (I know it would be worth it in the long-run, but I really just don't have enough time available -- I need something up and running in a few days). So, I'm now thinking of goin... |
Which language is easiest and fastest to work with XML content? | 301,538 | 2 | 21 | 18,193 | 0 | java,.net,python,xml,ruby | either C# or VB.Net using LiNQ to XML. LiNQ to XML is very very powerful and easy to implement | 0 | 0 | 1 | 1 | 2008-11-19T10:35:00.000 | 9 | 0.044415 | false | 301,493 | 0 | 0 | 1 | 1 | We have developers with knowledge of these languages - Ruby , Python, .Net or Java. We are developing an application which will mainly handle XML documents. Most of the work is to convert predefined XML files into database tables, providing mapping between XML documents through database, creating reports from database ... |
How to update turbogears application production database | 301,708 | 1 | 1 | 889 | 1 | python,database,postgresql,data-migration,turbogears | This always works and requires little thinking -- only patience.
Make a backup.
Actually make a backup. Everyone skips step 1 thinking that they have a backup, but they can never find it or work with it. Don't trust any backup that you can't recover from.
Create a new database schema.
Define your new structure from ... | 0 | 0 | 0 | 0 | 2008-11-19T11:00:00.000 | 4 | 1.2 | true | 301,566 | 0 | 0 | 1 | 1 | I am having a postgres production database in production (which contains a lot of Data). now I need to modify the model of the tg-app to add couple of new tables to the database.
How do i do this? I am using sqlAlchemy. |
Best Django 'CMS' component for integration into existing site | 3,892,818 | 25 | 14 | 12,696 | 0 | python,django,content-management-system | I have worked with all three (and more) and they are all built for different use cases IMHO. I would agree that these are the top-teir choices.
The grid comparison at djangopluggables.com certainly can make evaluating each of these easier.
django-cms is the most full-featured and is something you could actually hand ov... | 0 | 0 | 0 | 0 | 2008-11-19T19:04:00.000 | 7 | 1.2 | true | 302,983 | 0 | 0 | 1 | 1 | So I have a relatively large (enough code that it would be easier to write this CMS component from scratch than to rewrite the app to fit into a CMS) webapp that I want to add basic Page/Menu/Media management too, I've seen several Django pluggables addressing this issue, but many seem targeted as full CMS platforms.
... |
Data Modelling Advice for Blog Tagging system on Google App Engine | 307,727 | 7 | 8 | 3,133 | 0 | python,google-app-engine,data-modeling | Thanks to both of you for your suggestions. I've implemented (first iteration) as follows. Not sure if it's the best approach, but it's working.
Class A = Articles. Has a StringListProperty which can be queried on it's list elements
Class B = Tags. One entity per tag, also keeps a running count of the total number ... | 0 | 0 | 0 | 0 | 2008-11-20T01:56:00.000 | 4 | 1.2 | true | 304,117 | 0 | 0 | 1 | 2 | Am wondering if anyone might provide some conceptual advice on an efficient way to build a data model to accomplish the simple system described below. Am somewhat new to thinking in a non-relational manner and want to try avoiding any obvious pitfalls. It's my understanding that a basic principal is that "storage is ... |
Data Modelling Advice for Blog Tagging system on Google App Engine | 304,170 | 1 | 8 | 3,133 | 0 | python,google-app-engine,data-modeling | Many-to-many sounds reasonable. Perhaps you should try it first to see if it is actually expensive.
Good thing about G.A.E. is that it will tell you when you are using too many cycles. Profiling for free! | 0 | 0 | 0 | 0 | 2008-11-20T01:56:00.000 | 4 | 0.049958 | false | 304,117 | 0 | 0 | 1 | 2 | Am wondering if anyone might provide some conceptual advice on an efficient way to build a data model to accomplish the simple system described below. Am somewhat new to thinking in a non-relational manner and want to try avoiding any obvious pitfalls. It's my understanding that a basic principal is that "storage is ... |
Adding REST to Django | 308,785 | 59 | 51 | 28,236 | 0 | python,django,apache,rest | I'm thinking of falling back to simply
writing view functions in Django that
return JSON results.
Explicit
Portable to other frameworks
Doesn't require patching Django | 0 | 0 | 0 | 0 | 2008-11-21T12:24:00.000 | 11 | 1.2 | true | 308,605 | 0 | 0 | 1 | 6 | I've got a Django application that works nicely. I'm adding REST services. I'm looking for some additional input on my REST strategy.
Here are some examples of things I'm wringing my hands over.
Right now, I'm using the Django-REST API with a pile of patches.
I'm thinking of falling back to simply writing view f... |
Adding REST to Django | 308,885 | 4 | 51 | 28,236 | 0 | python,django,apache,rest | Scrap the Django REST api and come up with your own open source project that others can contribute to. I would be willing to contribute. I have some code that is based on the forms api to do REST. | 0 | 0 | 0 | 0 | 2008-11-21T12:24:00.000 | 11 | 0.072599 | false | 308,605 | 0 | 0 | 1 | 6 | I've got a Django application that works nicely. I'm adding REST services. I'm looking for some additional input on my REST strategy.
Here are some examples of things I'm wringing my hands over.
Right now, I'm using the Django-REST API with a pile of patches.
I'm thinking of falling back to simply writing view f... |
Adding REST to Django | 9,027,830 | 1 | 51 | 28,236 | 0 | python,django,apache,rest | TastyPie looks quite interesting and promising. It goes well with Django. | 0 | 0 | 0 | 0 | 2008-11-21T12:24:00.000 | 11 | 0.01818 | false | 308,605 | 0 | 0 | 1 | 6 | I've got a Django application that works nicely. I'm adding REST services. I'm looking for some additional input on my REST strategy.
Here are some examples of things I'm wringing my hands over.
Right now, I'm using the Django-REST API with a pile of patches.
I'm thinking of falling back to simply writing view f... |
Adding REST to Django | 736,425 | 1 | 51 | 28,236 | 0 | python,django,apache,rest | you could try making a generic functions that process the data (like parand mentioned) which you can call from the views that generate the web pages, as well as those that generate the json/xml/whatever | 0 | 0 | 0 | 0 | 2008-11-21T12:24:00.000 | 11 | 0.01818 | false | 308,605 | 0 | 0 | 1 | 6 | I've got a Django application that works nicely. I'm adding REST services. I'm looking for some additional input on my REST strategy.
Here are some examples of things I'm wringing my hands over.
Right now, I'm using the Django-REST API with a pile of patches.
I'm thinking of falling back to simply writing view f... |
Adding REST to Django | 312,910 | 2 | 51 | 28,236 | 0 | python,django,apache,rest | I ended up going with my own REST API framework for Django (that I'd love to get rid of if I can find a workable alternative), with a few custom views thrown in for corner cases I didn't want to deal with. It's worked out ok.
So a combination of 1 and 2; without some form of framework you'll end up writing the same bo... | 0 | 0 | 0 | 0 | 2008-11-21T12:24:00.000 | 11 | 0.036348 | false | 308,605 | 0 | 0 | 1 | 6 | I've got a Django application that works nicely. I'm adding REST services. I'm looking for some additional input on my REST strategy.
Here are some examples of things I'm wringing my hands over.
Right now, I'm using the Django-REST API with a pile of patches.
I'm thinking of falling back to simply writing view f... |
Adding REST to Django | 312,544 | 3 | 51 | 28,236 | 0 | python,django,apache,rest | I'm thinking of falling back to simply
writing view functions in Django that
return JSON results.
I would go with that ..
Ali A summed it pretty well.
The main point for me is beign explicit. I would avoid using a function that automatically converts an object into json, what if the object has a reference to a us... | 0 | 0 | 0 | 0 | 2008-11-21T12:24:00.000 | 11 | 0.054491 | false | 308,605 | 0 | 0 | 1 | 6 | I've got a Django application that works nicely. I'm adding REST services. I'm looking for some additional input on my REST strategy.
Here are some examples of things I'm wringing my hands over.
Right now, I'm using the Django-REST API with a pile of patches.
I'm thinking of falling back to simply writing view f... |
Does anyone know of a python based web ui for snmp monitoring? | 541,516 | 0 | 1 | 1,942 | 0 | python,django,pylons,snmp,turbogears | or you can start building your own solution (like me), you will be surprised how much can you do with few lines of code using for instance cherryp for web server, pysnmp, and python rrd module. | 0 | 0 | 1 | 1 | 2008-11-22T02:26:00.000 | 2 | 0 | false | 310,759 | 0 | 0 | 1 | 1 | Comparable to cacti or mrtg. |
Are there problems developing Django on Jython? | 315,110 | 1 | 14 | 3,101 | 0 | python,django,jvm,jython | I have recently started working on an open source desktop project in my spare time. So this may not apply. I came to the same the question. I decided that I should write as much of the code as possible in python (and Django) and target all the platforms CPython, Jython, and IronPython.
Then, I decided that I would w... | 0 | 0 | 0 | 0 | 2008-11-24T14:17:00.000 | 4 | 0.049958 | false | 314,234 | 0 | 0 | 1 | 2 | The background
I'm building a fair-sized web application with a friend in my own time, and we've decided to go with the Django framework on Python. Django provides us with a lot of features we're going to need, so please don't suggest alternative frameworks.
The only decision I'm having trouble with, is whether we us... |
Are there problems developing Django on Jython? | 314,448 | 3 | 14 | 3,101 | 0 | python,django,jvm,jython | I'd say that if you like Django, you'll also like Python. Don't make the (far too common) mistake of mixing past language's experience while you learn a new one. Only after mastering Python, you'll have the experience to judge if a hybrid language is better than either one.
It's true that very few cheap hostings offe... | 0 | 0 | 0 | 0 | 2008-11-24T14:17:00.000 | 4 | 0.148885 | false | 314,234 | 0 | 0 | 1 | 2 | The background
I'm building a fair-sized web application with a friend in my own time, and we've decided to go with the Django framework on Python. Django provides us with a lot of features we're going to need, so please don't suggest alternative frameworks.
The only decision I'm having trouble with, is whether we us... |
How to debug Web2py applications? | 2,781,947 | 0 | 19 | 9,395 | 0 | python,debugging,web2py | As Carl stated, it is as easy as:
Installing PyDev in Eclipse
Right Click on your Web2Py project, selecting Debug As > Python Run
Selecting web2py.py as the file to run
No other plugins or downloads are needed. | 0 | 0 | 0 | 0 | 2008-11-24T19:27:00.000 | 9 | 0 | false | 315,165 | 0 | 0 | 1 | 2 | Is it possible?
By debug I mean setting breakpoints, inspect values and advance step by step. |
How to debug Web2py applications? | 806,233 | 8 | 19 | 9,395 | 0 | python,debugging,web2py | One can debug applications built on Web2py using the following set-up:
Eclipse IDE
Install Pydev into Eclipse
Set Breakpoints on your code as needed
Within Eclipse right-click the file web2py.py and select Debug As -> Python Run
When a breakpoint is hit Eclipse will jump to the breakpoint where you can inspect variabl... | 0 | 0 | 0 | 0 | 2008-11-24T19:27:00.000 | 9 | 1 | false | 315,165 | 0 | 0 | 1 | 2 | Is it possible?
By debug I mean setting breakpoints, inspect values and advance step by step. |
Spambots are cluttering my log file [Django] | 318,079 | 0 | 4 | 821 | 0 | python,django,apache,spam-prevention | Yes, it should be a 404, not a 500. 500 indicates something is trying to deal with the URL and is failing in the process. You need to find and fix that.
We have a similar problem. Since we are running Apache/mod_python, I chose to deal with it in .htaccess with mod_rewrite rules. I periodically look at the logs and add... | 0 | 0 | 0 | 0 | 2008-11-24T20:31:00.000 | 8 | 0 | false | 315,363 | 0 | 0 | 1 | 3 | I have a nice and lovely Django site up and running, but have noticed that my error.log file was getting huge, over 150 MB after a couple of months of being live. Turns out a bunch of spambots are looking for well known URL vulnerabilities (or something) and hitting a bunch of sub-directories like http://mysite.com/ie ... |
Spambots are cluttering my log file [Django] | 315,615 | 0 | 4 | 821 | 0 | python,django,apache,spam-prevention | How about setting up a catch-all pattern as the last item in your urls file and directing it to a generic "no such page" or even your homepage? In other words, turn 500's into requests for your homepage. | 0 | 0 | 0 | 0 | 2008-11-24T20:31:00.000 | 8 | 0 | false | 315,363 | 0 | 0 | 1 | 3 | I have a nice and lovely Django site up and running, but have noticed that my error.log file was getting huge, over 150 MB after a couple of months of being live. Turns out a bunch of spambots are looking for well known URL vulnerabilities (or something) and hitting a bunch of sub-directories like http://mysite.com/ie ... |
Spambots are cluttering my log file [Django] | 315,394 | -1 | 4 | 821 | 0 | python,django,apache,spam-prevention | A programming solution would be to :
open the log file
read the lines in a buffer
replace the lines that match the errors the bots caused
seek to the beginning of the file
write the new buffer
truncate the file to current pointer position
close
Voila ! It's done ! | 0 | 0 | 0 | 0 | 2008-11-24T20:31:00.000 | 8 | -0.024995 | false | 315,363 | 0 | 0 | 1 | 3 | I have a nice and lovely Django site up and running, but have noticed that my error.log file was getting huge, over 150 MB after a couple of months of being live. Turns out a bunch of spambots are looking for well known URL vulnerabilities (or something) and hitting a bunch of sub-directories like http://mysite.com/ie ... |
How to include output of PHP script in Python driven Plone site? | 321,274 | 1 | 2 | 1,656 | 0 | php,python,plone | Well, use AJAX to call the PHP script (yes, you will need apache) and display the output. Adding a custom JS to plone is trivial and this abstract the technology issue.
Just be sure this is not a critical feature. Some users still deactivate JS and the web page should therefor degrade itself nicely. | 0 | 0 | 0 | 0 | 2008-11-26T14:58:00.000 | 3 | 0.066568 | false | 320,979 | 0 | 0 | 1 | 1 | I need to have the output of a PHP snippet in a Plone site. It was delivered to be a small library that has a display() function, in PHP, that outputs a line of text. But I need to put it in a Plone site. Do you have any recommendations?
I was thinking a long the lines of having a display.php that just runs display() a... |
@Rails users: have you tried web2py? Pros? Cons? | 327,684 | 11 | 13 | 2,962 | 0 | python,ruby-on-rails,web2py | c'mon guys... your only argument is "Technical differences are rather irrelevant." and "it don't matter what web framework you use"? I disagree. The size of the users base has more to do with marketing and how long a framework has been around. By that argument ASP and PHP are better than Rails.
Has anybody here us... | 0 | 0 | 0 | 0 | 2008-11-29T03:11:00.000 | 3 | 1 | false | 327,101 | 0 | 0 | 1 | 3 | web2py to is a Python framework but shares the "convention over configuration" design that Ruby on Rails has. On the plus side it packages a lot more functionality with its s standard distribution and we claim it is faster and easier to use.
Has any Rails user tried it? What is your impression?
No rants please. Just t... |
@Rails users: have you tried web2py? Pros? Cons? | 1,250,930 | 1 | 13 | 2,962 | 0 | python,ruby-on-rails,web2py | I found web2py much easier to learn... there are fewer scripts to run and abstractions. On the other hand, web2py's database layer isn't a real ORM... it's almost like writing raw SQL. Simple things end up taking many lines of code, just like SQL. | 0 | 0 | 0 | 0 | 2008-11-29T03:11:00.000 | 3 | 0.066568 | false | 327,101 | 0 | 0 | 1 | 3 | web2py to is a Python framework but shares the "convention over configuration" design that Ruby on Rails has. On the plus side it packages a lot more functionality with its s standard distribution and we claim it is faster and easier to use.
Has any Rails user tried it? What is your impression?
No rants please. Just t... |
@Rails users: have you tried web2py? Pros? Cons? | 327,519 | 0 | 13 | 2,962 | 0 | python,ruby-on-rails,web2py | I would say the biggest "con" of using webpy over Rails is that there are not a lot of Rails-specific hosting services around, and the huge community based around it (there are Rails plugins and tools for.. everything). The same cannot be said for web2py.
It depends what you want to do with it - if it's something to wr... | 0 | 0 | 0 | 0 | 2008-11-29T03:11:00.000 | 3 | 0 | false | 327,101 | 0 | 0 | 1 | 3 | web2py to is a Python framework but shares the "convention over configuration" design that Ruby on Rails has. On the plus side it packages a lot more functionality with its s standard distribution and we claim it is faster and easier to use.
Has any Rails user tried it? What is your impression?
No rants please. Just t... |
Multiple Django Admin Sites on one Apache... When I log into one I get logged out of the other | 327,296 | 0 | 3 | 1,679 | 0 | python,django,admin | The session information is stored in the database, so if you're sharing the database with both running instances, logging off one location will log you off both. If your circumstance requires you to share the database, the easiest workaround is probably to create a second user account with admin privileges. | 0 | 0 | 0 | 0 | 2008-11-29T04:01:00.000 | 5 | 0 | false | 327,142 | 0 | 0 | 1 | 4 | I have two Django projects and applications running on the same Apache installation. Both projects and both applications have the same name, for example myproject.myapplication. They are each in separately named directories so it looks like .../dir1/myproject/myapplication and .../dir2/myproject/myapplication.
Eve... |
Multiple Django Admin Sites on one Apache... When I log into one I get logged out of the other | 1,007,356 | 1 | 3 | 1,679 | 0 | python,django,admin | I ran into a similar issue with a live & staging site hosted on the same Apache server (on CentOS). I added unique SESSION_COOKIE_NAME values to each site's settings (in local_settings.py, create one if you don't have one and import it in your settings.py), set the SESSION_COOKIE_DOMAIN for the live site and set SESSIO... | 0 | 0 | 0 | 0 | 2008-11-29T04:01:00.000 | 5 | 0.039979 | false | 327,142 | 0 | 0 | 1 | 4 | I have two Django projects and applications running on the same Apache installation. Both projects and both applications have the same name, for example myproject.myapplication. They are each in separately named directories so it looks like .../dir1/myproject/myapplication and .../dir2/myproject/myapplication.
Eve... |
Multiple Django Admin Sites on one Apache... When I log into one I get logged out of the other | 327,398 | 0 | 3 | 1,679 | 0 | python,django,admin | Let me guess, is this running on your localhost? and you have each site assigned to a different port? i.e. localhost:8000, localhost:8001 ..?
I've had the same problem! (although I wasn't running Apache per se)
When you login to the admin site, you get a cookie in your browser that's associated with the domain "localho... | 0 | 0 | 0 | 0 | 2008-11-29T04:01:00.000 | 5 | 0 | false | 327,142 | 0 | 0 | 1 | 4 | I have two Django projects and applications running on the same Apache installation. Both projects and both applications have the same name, for example myproject.myapplication. They are each in separately named directories so it looks like .../dir1/myproject/myapplication and .../dir2/myproject/myapplication.
Eve... |
Multiple Django Admin Sites on one Apache... When I log into one I get logged out of the other | 327,237 | 0 | 3 | 1,679 | 0 | python,django,admin | Well, if they have the same project and application names, then the databases and tables will be the same. Your django_session table which holds the session information is the same for both sites. You have to use different project names that will go in different MySQL (or whatever) databases. | 0 | 0 | 0 | 0 | 2008-11-29T04:01:00.000 | 5 | 0 | false | 327,142 | 0 | 0 | 1 | 4 | I have two Django projects and applications running on the same Apache installation. Both projects and both applications have the same name, for example myproject.myapplication. They are each in separately named directories so it looks like .../dir1/myproject/myapplication and .../dir2/myproject/myapplication.
Eve... |
Converting a PDF to a series of images with Python | 657,704 | 4 | 50 | 44,444 | 0 | python,pdf,imagemagick,jpeg,python-imaging-library | You can't avoid the Ghostscript dependency. Even Imagemagick relies on Ghostscript for its PDF reading functions. The reason for this is the complexity of the PDF format: a PDF doesn't just contain bitmap information, but mostly vector shapes, transparencies etc.
Furthermore it is quite complex to figure out which of t... | 0 | 0 | 0 | 0 | 2008-12-01T19:31:00.000 | 5 | 0.158649 | false | 331,918 | 1 | 0 | 1 | 1 | I'm attempting to use Python to convert a multi-page PDF into a series of JPEGs. I can split the PDF up into individual pages easily enough with available tools, but I haven't been able to find anything that can covert PDFs to images.
PIL does not work, as it can't read PDFs. The two options I've found are using either... |
Django FormWizard and Admin application | 337,753 | 1 | 3 | 1,539 | 0 | python,django,forms | There's a lot that you can do, but you'd need to be more specific about what you mean by "integrate a formwizard into the admin app" and "trigger several forms within the admin app."
The admin app at its core is basically just a wrapper around a bunch of stock ModelForms, so if you just build a formwizard using ModelFo... | 0 | 0 | 0 | 0 | 2008-12-03T10:29:00.000 | 2 | 1.2 | true | 336,753 | 0 | 0 | 1 | 1 | I have a series of forms that I need a user to complete in sequence, which is perfect for the formwizard app. However, I've some need of the admin application also and would like to set the whole thing up to trigger several forms within the admin app.
Is it possible/easy to integrate a 'formwizard' into the admin appl... |
Is rewriting a PHP app into Python a productive step? | 340,338 | 14 | 6 | 1,366 | 0 | php,python | You need to take some parts into mind here,
What will you gain from re-writing
Is it an economically wise decision
Will the code be easier to handle for new programmers
Performance-wise, will this be a good option?
These four points is something that is important, will the work be more efficient after you re-write th... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 1.2 | true | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 340,792 | 1 | 6 | 1,366 | 0 | php,python | As others have said, re-writing will take a lot longer than you think and fixing all the bugs and making use everything worked like in the old version will take even longer. Chances are you are better off simply improving and refactoring the php code you have. There are only a few good reasons to port a project from o... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0.01818 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 340,719 | 0 | 6 | 1,366 | 0 | php,python | Other issues include how business critical are the applications and how hard will it be to find maintainers. If the pages are hobbies of yours then I don't see a reason why you shouldn't rewrite them since if you introduce bugs or the rewrite doesn't go according to schedule a business won't lose money. If the applicat... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 340,685 | 1 | 6 | 1,366 | 0 | php,python | If you are going to add more features to the code you already have working, then it might be a good idea to port it to python. After all, it will get you increased productivity. You just have to balance it, whether the rewriting task will not outweigh the potential gain...
And also, when you do that, try to unittest a... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0.01818 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 340,342 | 2 | 6 | 1,366 | 0 | php,python | Well, it depends... ;) If you're going to use the old code together with new Python code, it might be useful, not so much for speed but for easier integration. But usually: "If it ain't broke, don't fix it". Allso rewriting can result in better code, but only do it if you need to.
As a hobby project of course it's wort... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0.036348 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 341,834 | 1 | 6 | 1,366 | 0 | php,python | I did a conversion between a PHP site and a Turbogears(Python) site for my company. The initial reason for doing so was two fold, first so a redesign would be easier and second that features could be easily added. It did take a while to get the full conversion done, but what we end up with was a very flexible back en... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0.01818 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 340,604 | 2 | 6 | 1,366 | 0 | php,python | As others have said, look at why you are doing it.
For instance, at work I am rewriting our existing inventory/sales system to a Python/django backend. Why? Because the existing PHP code base is stale, and is going to scale poorly as we grow our business (plus it was built when our business model was different, then p... | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0.036348 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
Is rewriting a PHP app into Python a productive step? | 340,334 | 1 | 6 | 1,366 | 0 | php,python | Is your aim purely to improve the applications, or is it that you want to learn/work with Python?
If it's the first, I would say you should stick with PHP, since you already know that. | 0 | 0 | 0 | 1 | 2008-12-04T11:48:00.000 | 11 | 0.01818 | false | 340,318 | 0 | 0 | 1 | 8 | I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase in... |
How do I submit a form given only the HTML source? | 343,794 | 2 | 0 | 941 | 0 | python,django,testing,parsing,form-submit | It is simple... and hard at the same time.
Disclaimer: I don't know much about Python and nothing at all about Django... So I give general, language agnostic advices...
If one of the above advices doesn't work for you, you might want to do it manually:
Load the page with an HTML parser, list the forms.
If the method a... | 0 | 0 | 0 | 0 | 2008-12-05T12:02:00.000 | 4 | 0.099668 | false | 343,622 | 0 | 0 | 1 | 1 | I would like to be able to submit a form in an HTML source (string). In other words I need at least the ability to generate POST parameters from a string containing HTML source of the form. This is needed in unit tests for a Django project. I would like a solution that possibly;
Uses only standard Python library and D... |
How to use InterWiki links in moinmoin? | 343,926 | 3 | 2 | 714 | 0 | python,wiki,moinmoin | check out the interwiki page in moinmoin, (most wikis have them) we use trac for example and you can set up different link paths to point to your different web resources. So in our Trac you can go [[SSGWiki:Some Topic]] and it will point to another internal wiki. | 0 | 0 | 1 | 0 | 2008-12-05T13:08:00.000 | 3 | 1.2 | true | 343,769 | 0 | 0 | 1 | 1 | We use a number of diffrent web services in our company, wiki(moinmoin), bugtracker (internally), requestracker (customer connection), subversion. Is there a way to parse the wikipages so that if I write "... in Bug1234 you could ..." Bug1234 woud be renderd as a link to http://mybugtracker/bug1234 |
Having problem importing the PIL image library | 344,805 | 1 | 0 | 2,719 | 0 | python,django,image,python-imaging-library | The error above happens because your file is called Image.py and you're trying to import yourself. As Manual pointed out, you should import Image from the PIL module, but you'd also need to rename your file so it's not called Image.py. | 0 | 0 | 0 | 0 | 2008-12-05T18:34:00.000 | 2 | 1.2 | true | 344,753 | 1 | 0 | 1 | 1 | i am trying to do something with the PIL Image library in django, but i experience some problems.
I do like this:
import Image
And then I do like this
images = map(Image.open, glob.glob(os.path.join(dirpath, '*.thumb.jpg')))
But when i try to run this i get an error and it leeds me to think that its not imported co... |
How to test django caching? | 348,079 | 8 | 17 | 7,621 | 0 | python,django,caching,django-cache | Mock the view, hit the page, and see if the mock was called. if it was not, the cache was used instead. | 0 | 0 | 0 | 0 | 2008-12-07T17:41:00.000 | 4 | 1 | false | 347,812 | 0 | 0 | 1 | 2 | Is there a way to be sure that a page is coming from cache on a production server and on the development server as well?
The solution shouldn't involve caching middleware because not every project uses them. Though the solution itself might be a middleware.
Just checking if the data is stale is not a very safe testing ... |
How to test django caching? | 348,192 | 2 | 17 | 7,621 | 0 | python,django,caching,django-cache | The reason you use caches is to improve performance. Test the performance by running a load test against your server. If the server's performance matches your needs, then you are all set! | 0 | 0 | 0 | 0 | 2008-12-07T17:41:00.000 | 4 | 0.099668 | false | 347,812 | 0 | 0 | 1 | 2 | Is there a way to be sure that a page is coming from cache on a production server and on the development server as well?
The solution shouldn't involve caching middleware because not every project uses them. Though the solution itself might be a middleware.
Just checking if the data is stale is not a very safe testing ... |
Return file from python module | 352,385 | 2 | 1 | 14,590 | 0 | python,file,mime-types,download | You can either pass back a reference to the file itself i.e. the full path to the file. Then you can open the file or otherwise manipulate it.
Or, the more normal case is to pass back the file handle, and, use the standard read/write operations on the file handle.
It is not recommended to pass the actual data as files ... | 0 | 0 | 1 | 0 | 2008-12-09T10:34:00.000 | 3 | 0.132549 | false | 352,340 | 0 | 0 | 1 | 1 | Edit: How to return/serve a file from a python controller (back end) over a web server, with the file_name? as suggested by @JV |
How can I get the number of records that reference a particular foreign key in Django? | 355,537 | 0 | 2 | 270 | 0 | python,django,django-models | You can add field CommentCount to you Post model, and update it in pre_save, pre_delete signals.
It's a hard for the db to calculate comments count at every view call and number of queries will be grow. | 0 | 0 | 0 | 0 | 2008-12-10T00:43:00.000 | 2 | 0 | false | 354,755 | 0 | 0 | 1 | 1 | I'm working on a blog application in Django. Naturally, I have models set up such that there are Posts and Comments, and a particular Post may have many Comments; thus, Post is a ForeignKey in the Comments model.
Given a Post object, is there an easy way (ideally, through a method call) to find out how many Comments be... |
Keeping a variable around from post to get? | 358,757 | 1 | 0 | 509 | 0 | python,google-app-engine,post,get | HTTP is stateless, so you have no (built-in) way of knowing if the user that loads one page is the same user that loaded another. Further, even if you do know that, thanks to session cookies, for example, you have no way of telling if the browser window they're loading the subsequent page in is the same one they loaded... | 0 | 0 | 0 | 0 | 2008-12-11T03:50:00.000 | 6 | 0.033321 | false | 358,398 | 0 | 0 | 1 | 5 | I have a class called myClass which defines post() and get() methods.
From index.html, I have a form with an action that calls myClass.post() which grabs some data from the data base, sets a couple variables and sends the user to new.html.
now, new.html has a form which calls myClass.get().
I want the get() method t... |
Keeping a variable around from post to get? | 358,805 | 0 | 0 | 509 | 0 | python,google-app-engine,post,get | Why not just use memcache to temporarily store the variable, and then redirect to the POST URL? That seems like the easiest solution. | 0 | 0 | 0 | 0 | 2008-12-11T03:50:00.000 | 6 | 0 | false | 358,398 | 0 | 0 | 1 | 5 | I have a class called myClass which defines post() and get() methods.
From index.html, I have a form with an action that calls myClass.post() which grabs some data from the data base, sets a couple variables and sends the user to new.html.
now, new.html has a form which calls myClass.get().
I want the get() method t... |
Keeping a variable around from post to get? | 359,034 | 3 | 0 | 509 | 0 | python,google-app-engine,post,get | What you're talking about is establishing a "session". That is, a way to remember the user and the state of their transaction.
There are several ways of tackling this, all of which rely on techniques for remembering that you're in a session in the first place.
HTTP provides you no help. You have to find some place to... | 0 | 0 | 0 | 0 | 2008-12-11T03:50:00.000 | 6 | 0.099668 | false | 358,398 | 0 | 0 | 1 | 5 | I have a class called myClass which defines post() and get() methods.
From index.html, I have a form with an action that calls myClass.post() which grabs some data from the data base, sets a couple variables and sends the user to new.html.
now, new.html has a form which calls myClass.get().
I want the get() method t... |
Keeping a variable around from post to get? | 358,425 | 0 | 0 | 509 | 0 | python,google-app-engine,post,get | I don't know specifically about the google app engine, but normally, here's what happens:
The server would have some kind of thread pool. Every time an http request is sent to the server, a thread is selected from the pool or created.
In that thread an instance of some kind of controller object will be created. This ob... | 0 | 0 | 0 | 0 | 2008-12-11T03:50:00.000 | 6 | 0 | false | 358,398 | 0 | 0 | 1 | 5 | I have a class called myClass which defines post() and get() methods.
From index.html, I have a form with an action that calls myClass.post() which grabs some data from the data base, sets a couple variables and sends the user to new.html.
now, new.html has a form which calls myClass.get().
I want the get() method t... |
Keeping a variable around from post to get? | 360,292 | 0 | 0 | 509 | 0 | python,google-app-engine,post,get | OK -- Thanks everyone.
I'll try some of these ideas out, soon, and get back to you all.
It seems I can work around some these things by doing a lot of writing and reading from the datastore*, but I thought there might be an easier way of keeping that instance of the class around (I'm trying to use my known techniques... | 0 | 0 | 0 | 0 | 2008-12-11T03:50:00.000 | 6 | 0 | false | 358,398 | 0 | 0 | 1 | 5 | I have a class called myClass which defines post() and get() methods.
From index.html, I have a form with an action that calls myClass.post() which grabs some data from the data base, sets a couple variables and sends the user to new.html.
now, new.html has a form which calls myClass.get().
I want the get() method t... |
Access CVS through Apache service using SSPI | 361,235 | 0 | 0 | 820 | 0 | python,apache,cvs,sspi | Usage of SSPI make me think you are using CVSNT, thus a Windows system; what is the user you are running Apache into? Default user for services is SYSTEM, which does not share the same registry as your current user. | 0 | 1 | 0 | 0 | 2008-12-11T21:05:00.000 | 1 | 1.2 | true | 360,911 | 0 | 0 | 1 | 1 | I'm running an Apache server (v2.2.10) with mod_python, Python 2.5 and Django. I have a small web app that will show the current projects we have in CVS and allow users to make a build of the different projects (the build checks out the project, and copies certain files over with the source stripped out).
On the Djang... |
MVC and django fundamentals | 364,161 | 5 | 8 | 5,782 | 0 | python,django,django-models,django-templates | first, forget all MVC mantra. it's important to have a good layered structure, but MVC (as defined originally) isn't one, it was a modular structure, where each GUI module is split in these tree submodules. nothing to use on the web here.
in web development, it really pays to have a layered structure, where the most ... | 0 | 0 | 0 | 0 | 2008-12-12T20:22:00.000 | 3 | 0.321513 | false | 364,015 | 0 | 0 | 1 | 1 | Pretty new to this scene and trying to find some documentation to adopt best practices. We're building a fairly large content site which will consist of various media catalogs and I'm trying to find some comparable data / architectural models so that we can get a better idea of the approach we should use using a frame... |
Which Eclipse distribution is good for web development using Python, PHP, or Perl? | 6,481,753 | 0 | 4 | 2,130 | 0 | php,python,perl,eclipse | I develop in PHP, python, C(python modules), SQL and JS/HTML/CSS all on eclipse. I do this
by installing PDT, CDT, pydev and SQL tools onto the eclipse-platform, and then using different workspaces for mixed projects.
Two workspaces to be specific, one for PHP web development and another for Python/C. I do run it on a... | 0 | 0 | 0 | 1 | 2008-12-12T23:26:00.000 | 7 | 0 | false | 364,486 | 0 | 0 | 1 | 3 | I'd like to try out Eclipse, but I'm a bit baffled with all the different distributions of it. I mainly program in Python doing web development, but I also need to maintain PHP and Perl apps. It looks like EasyEclipse is a bit behind. Should I just grab the base Eclipse and start loading plug-ins? |
Which Eclipse distribution is good for web development using Python, PHP, or Perl? | 18,023,885 | 0 | 4 | 2,130 | 0 | php,python,perl,eclipse | I use the javascript eclipse helios and added pydev plugin to it for django support it seems to do everything I need. | 0 | 0 | 0 | 1 | 2008-12-12T23:26:00.000 | 7 | 0 | false | 364,486 | 0 | 0 | 1 | 3 | I'd like to try out Eclipse, but I'm a bit baffled with all the different distributions of it. I mainly program in Python doing web development, but I also need to maintain PHP and Perl apps. It looks like EasyEclipse is a bit behind. Should I just grab the base Eclipse and start loading plug-ins? |
Which Eclipse distribution is good for web development using Python, PHP, or Perl? | 364,517 | 0 | 4 | 2,130 | 0 | php,python,perl,eclipse | PyDev is pretty decent as I'm sure you know. It can fit on top of all the Eclipse distributions (provided they meet the minimum version requirements). If you're doing webdev stuff, you'll probably find the closest fit with Aptana.
That said, I find Aptana hideously clunky when compared to a decent text editor. I build... | 0 | 0 | 0 | 1 | 2008-12-12T23:26:00.000 | 7 | 0 | false | 364,486 | 0 | 0 | 1 | 3 | I'd like to try out Eclipse, but I'm a bit baffled with all the different distributions of it. I mainly program in Python doing web development, but I also need to maintain PHP and Perl apps. It looks like EasyEclipse is a bit behind. Should I just grab the base Eclipse and start loading plug-ins? |
Can you change a field label in the Django Admin application? | 365,431 | 5 | 64 | 67,765 | 0 | python,python-3.x,django,django-forms,django-admin | Building on Javier's answer; if you need one label in forms (on the front-end) and another label on admin it is best to set internal (admin) one in the model and overwrite it on forms. Admin will of course use the label in the model field automatically. | 0 | 0 | 0 | 0 | 2008-12-13T10:30:00.000 | 6 | 0.16514 | false | 365,082 | 0 | 0 | 1 | 1 | As the title suggests. I want to be able to change the label of a single field in the admin application. I'm aware of the Form.field attribute, but how do I get my Model or ModelAdmin to pass along that information? |
How to localize Content of a Django application | 367,026 | 0 | 8 | 9,378 | 0 | python,django,localization,internationalization | It depends on who will provide the translations. If you want to provide a web interface to translation, then you need to develop that yourself, and also represent the translations in the database.
If the same translators who translated the site will also translate the data, you can provide them with the same model that... | 0 | 0 | 0 | 0 | 2008-12-14T18:48:00.000 | 10 | 0 | false | 366,838 | 0 | 0 | 1 | 2 | Hey, i am currently working on a django app for my studies, and came to the point of l18n. Localizing the site itself was very easy, but now i have to allow users, to translate the dynamic content of the application.
Users can save "products" in the database and give them names and descriptions, but since the whole sit... |
How to localize Content of a Django application | 3,870,634 | 0 | 8 | 9,378 | 0 | python,django,localization,internationalization | I think you should operate in two steps:
Get translations
Show translated strings
For the first step, you should tell Django that the user-inserted strings are to be translated. I think there is no native way to do so. Maybe you can extract the strings from your db putting them in locale-specific files, run 'makemess... | 0 | 0 | 0 | 0 | 2008-12-14T18:48:00.000 | 10 | 0 | false | 366,838 | 0 | 0 | 1 | 2 | Hey, i am currently working on a django app for my studies, and came to the point of l18n. Localizing the site itself was very easy, but now i have to allow users, to translate the dynamic content of the application.
Users can save "products" in the database and give them names and descriptions, but since the whole sit... |
Deleting erroneous ReferenceProperty properties in AppEngine | 367,334 | 1 | 0 | 1,235 | 0 | python,google-app-engine,model,referenceproperty | I'm having similar difficulties for my project. As I code the beta version of my application, I do create a lot of dead link and its trully a pain to untangle things afterward. Ideally, this tool would have to also report of the offending reference so that you could pin-point problems in the code. | 0 | 0 | 0 | 0 | 2008-12-14T21:45:00.000 | 3 | 0.066568 | false | 367,029 | 0 | 0 | 1 | 2 | Most of the time, the errors you get from your model properties will happen when you're saving data. For instance, if you try saving a string as an IntegerProperty, that will result in an error.
The one exception (no pun intended) is ReferenceProperty. If you have lots of references and you're not completely careful ab... |
Deleting erroneous ReferenceProperty properties in AppEngine | 374,241 | 0 | 0 | 1,235 | 0 | python,google-app-engine,model,referenceproperty | You could extend and customize ReferenceProperty to not throw this exception, but then it'll need to return something - presumably None - in which case your template will simply throw an exception when it attempts to access properties on the returned object.
A better approach is to fetch the referenceproperty and check... | 0 | 0 | 0 | 0 | 2008-12-14T21:45:00.000 | 3 | 0 | false | 367,029 | 0 | 0 | 1 | 2 | Most of the time, the errors you get from your model properties will happen when you're saving data. For instance, if you try saving a string as an IntegerProperty, that will result in an error.
The one exception (no pun intended) is ReferenceProperty. If you have lots of references and you're not completely careful ab... |
What is the best way to serialize a ModelForm object in Django? | 372,371 | 0 | 2 | 2,670 | 0 | python,xml,django,json,serialization | If your problem is just to serialze a ModelForm to json, just write your own simplejson serializer subclass. | 0 | 0 | 0 | 0 | 2008-12-15T18:12:00.000 | 2 | 0 | false | 369,230 | 0 | 0 | 1 | 1 | I am using Django and the Google Web Toolkit (GWT) for my current project. I would like to pass a ModelForm instance to GWT via an Http response so that I can "chop" it up and render it as I please. My goal is to keep the form in sync with changes to my models.py file, yet increase control I have over the look of the f... |
Is there anyone who has managed to compile mod_wsgi for apache on Mac OS X Leopard? | 392,945 | 2 | 4 | 953 | 0 | python,django,apache | This doesn't directly answer your question, but have you thought about using something like MacPorts for this sort of thing? If you're compiling a lot of software like this, MacPorts can really make your life easier, since building software and dependencies is practically automatic. | 0 | 1 | 0 | 0 | 2008-12-15T18:39:00.000 | 1 | 0.379949 | false | 369,305 | 0 | 0 | 1 | 1 | I'm working on a Django project that requires debugging on a multithreaded server. I've found mod_wsgi 2.0+ to be the easiest to work with, because of easy workarounds for python module reloading. Problem is can't get it to compile on Leopard. Is there anyone who has managed to do it so far, either for the builtin Apac... |
Secure, sandboxable user exposed programming language / environment? | 373,415 | 2 | 7 | 421 | 0 | javascript,python,sandbox | I use Lua for this, but it's directed at a Lua capable community. So my answer would be who are your users?
If your users are internal, like my case, and proficient with Python use Python. However if this is something for the world wide web, I'd probably choose javascript, because its the lingua franca, (every develope... | 0 | 0 | 0 | 1 | 2008-12-17T01:38:00.000 | 1 | 0.379949 | false | 373,406 | 0 | 0 | 1 | 1 | Beyond offering an API for my website, I'd like to offer users the ability to write simple scripts that would run on my servers . The scripts would have access to objects owned by the user and be able to manipulate, modify, and otherwise process their data.
I'd like to be able to limit resources taken by these scripts ... |
How to integrate the StringTemplate engine into the CherryPy web server | 467,736 | 4 | 2 | 1,241 | 0 | python,cherrypy,stringtemplate | Based on the tutorials for both, it looks pretty straightforward:
import stringtemplate
import cherrypy
class HelloWorld(object):
def index(self):
hello = stringtemplate.StringTemplate("Hello, $name$")
hello["name"] = "World"
return str(hello)
index.exposed = True
cherrypy.quickstart(... | 0 | 0 | 0 | 0 | 2008-12-18T21:23:00.000 | 2 | 0.379949 | false | 379,338 | 0 | 0 | 1 | 2 | I love the StringTemplate engine, and I love the CherryPy web server, and I know that they can be integrated.
Who has done it? How?
EDIT: The TurboGears framework takes the CherryPy web server and bundles other related components such as a template engine, data access tools, JavaScript kit, etc. I am interested in M... |
How to integrate the StringTemplate engine into the CherryPy web server | 463,042 | 0 | 2 | 1,241 | 0 | python,cherrypy,stringtemplate | Rob,
There's reason behind people's selection of tools. StringTemplate is not terribly popular for Python, there are templating engines that are much better supported and with a much wider audience. If you don't like Kid, there's also Django's templating, Jinja, Cheetah and others. Perhaps you can find in one of them t... | 0 | 0 | 0 | 0 | 2008-12-18T21:23:00.000 | 2 | 0 | false | 379,338 | 0 | 0 | 1 | 2 | I love the StringTemplate engine, and I love the CherryPy web server, and I know that they can be integrated.
Who has done it? How?
EDIT: The TurboGears framework takes the CherryPy web server and bundles other related components such as a template engine, data access tools, JavaScript kit, etc. I am interested in M... |
104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN? | 52,826,181 | 2 | 39 | 140,801 | 0 | python,sockets,wsgi,httplib2,werkzeug | I had the same issue however with doing an upload of a very large file using a python-requests client posting to a nginx+uwsgi backend.
What ended up being the cause was the the backend had a cap on the max file size for uploads lower than what the client was trying to send.
The error never showed up in our uwsgi logs ... | 0 | 0 | 1 | 0 | 2008-12-20T21:04:00.000 | 4 | 0.099668 | false | 383,738 | 0 | 0 | 1 | 3 | We're developing a Python web service and a client web site in parallel. When we make an HTTP request from the client to the service, one call consistently raises a socket.error in socket.py, in read:
(104, 'Connection reset by peer')
When I listen in with wireshark, the "good" and "bad" responses look very similar:
... |
104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN? | 481,952 | 11 | 39 | 140,801 | 0 | python,sockets,wsgi,httplib2,werkzeug | Don't use wsgiref for production. Use Apache and mod_wsgi, or something else.
We continue to see these connection resets, sometimes frequently, with wsgiref (the backend used by the werkzeug test server, and possibly others like the Django test server). Our solution was to log the error, retry the call in a loop, and... | 0 | 0 | 1 | 0 | 2008-12-20T21:04:00.000 | 4 | 1 | false | 383,738 | 0 | 0 | 1 | 3 | We're developing a Python web service and a client web site in parallel. When we make an HTTP request from the client to the service, one call consistently raises a socket.error in socket.py, in read:
(104, 'Connection reset by peer')
When I listen in with wireshark, the "good" and "bad" responses look very similar:
... |
104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN? | 384,415 | 3 | 39 | 140,801 | 0 | python,sockets,wsgi,httplib2,werkzeug | Normally, you'd get an RST if you do a close which doesn't linger (i.e. in which data can be discarded by the stack if it hasn't been sent and ACK'd) and a normal FIN if you allow the close to linger (i.e. the close waits for the data in transit to be ACK'd).
Perhaps all you need to do is set your socket to linger so t... | 0 | 0 | 1 | 0 | 2008-12-20T21:04:00.000 | 4 | 0.148885 | false | 383,738 | 0 | 0 | 1 | 3 | We're developing a Python web service and a client web site in parallel. When we make an HTTP request from the client to the service, one call consistently raises a socket.error in socket.py, in read:
(104, 'Connection reset by peer')
When I listen in with wireshark, the "good" and "bad" responses look very similar:
... |
How do you manage your Django applications? | 388,021 | 3 | 7 | 1,848 | 0 | python,django,project,structure | A good question to ask yourself when deciding whether or not to write an app is "could I use this in another project?". If you think you could, then consider what it would take to make the application as independent as possible; How can you reduce the dependancies so that the app doesn't rely on anything specific to a... | 0 | 0 | 0 | 0 | 2008-12-21T10:48:00.000 | 5 | 0.119427 | false | 384,333 | 0 | 0 | 1 | 3 | I just wanted to try to build a project with django. Therefore I have a (basic) question on how to manage such a project. Since I cannot find any guidelines or so on how to split a project into applications.
Let's take a kind of SO as an example. Which applications would you use?
I'd say there should be the application... |
How do you manage your Django applications? | 384,377 | 0 | 7 | 1,848 | 0 | python,django,project,structure | I'll tell you how I am approaching such question: I usually sit with a sheet of paper and draw the boxes (functionalities) and arrows (interdependencies between functionalities). I am sure there are methodologies or other things that could help you, but my approach usually works for me (YMMV, of course).
Knowing what a... | 0 | 0 | 0 | 0 | 2008-12-21T10:48:00.000 | 5 | 0 | false | 384,333 | 0 | 0 | 1 | 3 | I just wanted to try to build a project with django. Therefore I have a (basic) question on how to manage such a project. Since I cannot find any guidelines or so on how to split a project into applications.
Let's take a kind of SO as an example. Which applications would you use?
I'd say there should be the application... |
How do you manage your Django applications? | 384,494 | 3 | 7 | 1,848 | 0 | python,django,project,structure | Just like any set of dependencies... try to find the most useful stand-alone aspects of the project and make those stand-alone apps. Other Django Apps will have higher level functionality, and reuse the parts of the lowest level apps that you have set up.
In my project, I have a calendar app with its own Event object... | 0 | 0 | 0 | 0 | 2008-12-21T10:48:00.000 | 5 | 0.119427 | false | 384,333 | 0 | 0 | 1 | 3 | I just wanted to try to build a project with django. Therefore I have a (basic) question on how to manage such a project. Since I cannot find any guidelines or so on how to split a project into applications.
Let's take a kind of SO as an example. Which applications would you use?
I'd say there should be the application... |
How do you debug Mako templates? | 390,603 | 1 | 41 | 10,962 | 0 | python,debugging,templates,jinja2,mako | I break them down into pieces, and then reassemble the pieces when I've found the problem.
Not good, but it's really hard to tell what went wrong in a big, complex template. | 0 | 0 | 0 | 1 | 2008-12-23T23:43:00.000 | 6 | 0.033321 | false | 390,409 | 0 | 0 | 1 | 1 | So far I've found it impossible to produce usable tracebacks when Mako templates aren't coded correctly.
Is there any way to debug templates besides iterating for every line of code? |
Is there a Ruby/Python HTML reflow/layout library? | 392,243 | 3 | 3 | 488 | 0 | python,html,ruby,layout | Scriptor, I think what you likely are looking for might be something in JavaScript more then Ruby or Python. I mean - the positions and sizes are essentially going to be determined by the rendering engine (the browser). You might consider using something like jQuery to loop through all of your desired objects - outputt... | 0 | 0 | 0 | 0 | 2008-12-24T21:05:00.000 | 2 | 0.291313 | false | 392,217 | 0 | 0 | 1 | 2 | I'm looking for a library in Ruby or Python that would take some HTML and CSS as the input and return data that contains the positions and sizes of the elements. If it helps, I don't need the info for all the elements but just the major divs of the page. |
Is there a Ruby/Python HTML reflow/layout library? | 392,412 | -1 | 3 | 488 | 0 | python,html,ruby,layout | Both Ruby and Python have a Regex library. Why not search for things like /width=\"(\d+)px\"/ and /height:(\d+)px/. Use $1 to find the value in the group. I'm not a regex expert and I'm doing this from memory, so refer to any of the tutorials on the net for the correct syntax and variable usage, but that's where to ... | 0 | 0 | 0 | 0 | 2008-12-24T21:05:00.000 | 2 | -0.099668 | false | 392,217 | 0 | 0 | 1 | 2 | I'm looking for a library in Ruby or Python that would take some HTML and CSS as the input and return data that contains the positions and sizes of the elements. If it helps, I don't need the info for all the elements but just the major divs of the page. |
How to process two forms in one view? | 392,849 | 0 | 5 | 7,720 | 0 | python,django,django-forms,django-templates | If the two forms are completely different, it will certainly not hurt to have them be handled by two different views. Otherwise, you may use the 'hidden input element' trick zacherates has touched upon. Or, you could always give each submit element a unique name, and differentiate in the view which form was submitted b... | 0 | 0 | 0 | 0 | 2008-12-25T12:40:00.000 | 3 | 0 | false | 392,784 | 0 | 0 | 1 | 1 | I have two completely different forms in one template. How to process them in one view? How can I distinguish which of the forms was submitted? How can I use prefix to acomplish that? Or maybe it's better to write separate views?
regards
chriss |
What values to use for FastCGI maxrequests, maxspare, minspare, maxchildren? | 393,636 | 13 | 6 | 5,068 | 0 | python,django,fastcgi | Let's start with the definition
maxrequests: How many requests does a child server before being killed
and a new one forked
maxspare : Maximum number of spare processes to keep running
minspare : Minimum number of spare processes to prefork
maxchildren: Hard limit number of proces... | 0 | 0 | 0 | 0 | 2008-12-26T08:49:00.000 | 2 | 1.2 | true | 393,629 | 0 | 0 | 1 | 2 | I'm running a Django app using FastCGI and lighttpd.
Can somebody explain me what I should consider when deciding what value to use for maxrequests, maxspare, minspare, maxchildren?
These options are not too well documented, but seem quite important.
Don't just tell me what they do; I want to understand what implicatio... |
What values to use for FastCGI maxrequests, maxspare, minspare, maxchildren? | 393,649 | -1 | 6 | 5,068 | 0 | python,django,fastcgi | Don't forget to coordinate your fcgi settings with your apache worker settings. I usually keep more apache workers around than fcgi workers... they are lighter weight and will wait for an available fcgi worker to free up to process the request if the concurrency reaches higher than my maxspare. | 0 | 0 | 0 | 0 | 2008-12-26T08:49:00.000 | 2 | -0.099668 | false | 393,629 | 0 | 0 | 1 | 2 | I'm running a Django app using FastCGI and lighttpd.
Can somebody explain me what I should consider when deciding what value to use for maxrequests, maxspare, minspare, maxchildren?
These options are not too well documented, but seem quite important.
Don't just tell me what they do; I want to understand what implicatio... |
Python POST data using mod_wsgi | 1,038,071 | 14 | 15 | 12,755 | 0 | python,mod-wsgi | Be aware that technically speaking calling read() or read(-1) on wsgi.input is a violation of the WSGI specification even though Apache/mod_wsgi allows it. This is because the WSGI specification requires that a valid length argument be supplied. The WSGI specification also says you shouldn't read more data than is spec... | 0 | 0 | 0 | 0 | 2008-12-26T23:35:00.000 | 2 | 1 | false | 394,465 | 0 | 0 | 1 | 1 | This must be a very simple question, but I don't seem to be able to figure out.
I'm using apache + mod_wsgi to host my python application, and I'd like to get the post content submitted in one of the forms -however, neither the environment values, nor sys.stdin contains any of this data. Mind giving me a quick hand?
Ed... |
PHP vs. application server? | 397,669 | 1 | 5 | 1,413 | 0 | php,python | Python web-apps tend to require more initial setup and development than the equivalent PHP site (particularly so for small sites). There also tend to be more reusable pieces for PHP (ie Wordpress as a blog). Configuring a server to run Python web-apps can be a difficult process, and not always well documented. PHP t... | 0 | 0 | 0 | 1 | 2008-12-28T07:56:00.000 | 5 | 0.039979 | false | 395,960 | 0 | 0 | 1 | 3 | For those of you who have had the opportunity of writing web applications in PHP and then as an application server (eg. Python-based solutions like CherryPy or Pylons), in what context are application servers a better alternative to PHP?
I tend to favor PHP simply because it's available on just about any web server (es... |
PHP vs. application server? | 396,717 | 0 | 5 | 1,413 | 0 | php,python | Using application servers like Pylons, Django, etc. require much more work to setup and deploy then PHP applications which are generally supported out of the box. I run a few Django apps and had to learn a bit of configuring apache with mod_python in order to get things to work. I put forth the effort because coding in... | 0 | 0 | 0 | 1 | 2008-12-28T07:56:00.000 | 5 | 0 | false | 395,960 | 0 | 0 | 1 | 3 | For those of you who have had the opportunity of writing web applications in PHP and then as an application server (eg. Python-based solutions like CherryPy or Pylons), in what context are application servers a better alternative to PHP?
I tend to favor PHP simply because it's available on just about any web server (es... |
PHP vs. application server? | 397,730 | 5 | 5 | 1,413 | 0 | php,python | I have a feeling that some of the responses didn't address the initial question directly, so I decided to post my own. I understand that the question was about the difference between the mod_php deployment model and the application server deployment model.
In simple words, PHP executes a given script on every request, ... | 0 | 0 | 0 | 1 | 2008-12-28T07:56:00.000 | 5 | 0.197375 | false | 395,960 | 0 | 0 | 1 | 3 | For those of you who have had the opportunity of writing web applications in PHP and then as an application server (eg. Python-based solutions like CherryPy or Pylons), in what context are application servers a better alternative to PHP?
I tend to favor PHP simply because it's available on just about any web server (es... |
How to limit rate of requests to web services in Python? | 401,826 | 1 | 18 | 17,294 | 0 | python,web-services,rate-limiting | SO I am assuming something simple like
import time
time.sleep(2)
will not work for waiting 2 seconds between requests | 0 | 0 | 1 | 0 | 2008-12-30T19:30:00.000 | 6 | 0.033321 | false | 401,215 | 1 | 0 | 1 | 3 | I'm working on a Python library that interfaces with a web service API. Like many web services I've encountered, this one requests limiting the rate of requests. I would like to provide an optional parameter, limit, to the class instantiation that, if provided, will hold outgoing requests until the number of seconds sp... |
How to limit rate of requests to web services in Python? | 401,332 | 1 | 18 | 17,294 | 0 | python,web-services,rate-limiting | Your rate limiting scheme should be heavily influenced by the calling conventions of the underlying code (syncronous or async), as well as what scope (thread, process, machine, cluster?) this rate-limiting will operate at.
I would suggest keeping all the variables within the instance, so you can easily implement multip... | 0 | 0 | 1 | 0 | 2008-12-30T19:30:00.000 | 6 | 0.033321 | false | 401,215 | 1 | 0 | 1 | 3 | I'm working on a Python library that interfaces with a web service API. Like many web services I've encountered, this one requests limiting the rate of requests. I would like to provide an optional parameter, limit, to the class instantiation that, if provided, will hold outgoing requests until the number of seconds sp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.