On Friday 21 Aug 2015 08:50 CEST, Steven D'Aprano wrote:
>> I would like to retrieve the information out a SQLite3 database. I
>> did some Googling, but until now I did not find something useful.
>> How would I implement this?
>
> I feel that by answering this question, I'm in the same position as
On Fri, Aug 21, 2015 at 5:13 PM, Cecil Westerhof wrote:
> I know how to work with SQLite. What I do not know how to make a
> python web-server that accepts a request from the JavaScript code and
> responds with data from the SQLite3 database.
The request from JS will be some sort of HTTP transact
Cecil Westerhof wrote:
> At the moment I serve a AngularJS web application with:
> python3 -m http-server
>
> This only servers static html pages with the data contained in js
> files, like:
> $scope.links = [
> { desc: 'Album',url:
> { 'https://plu
On Friday 21 Aug 2015 09:27 CEST, Chris Angelico wrote:
> On Fri, Aug 21, 2015 at 5:13 PM, Cecil Westerhof wrote:
>> I know how to work with SQLite. What I do not know how to make a
>> python web-server that accepts a request from the JavaScript code
>> and responds with data from the SQLite3 dat
On 08/21/2015 03:44 AM, Cecil Westerhof wrote:
> Interesting, but it does not help me. I need to know how to server
> data from SQLite instead of static files.
Is your program already working with data coming from your Python dict?
If so, you would just replace the python dict lookups with a call
On 08/21/2015 08:19 AM, Michael Torrie wrote:
> But of course you can use straight CGI with Apache too. Probably this
> is the easiest way for you to get started. Don't try to run your own
> http server. That's just a waste of time and effort. Run the CGIs under
> Apache. Google for Apache CGI
On Friday 21 Aug 2015 11:32 CEST, Peter Otten wrote:
> Cecil Westerhof wrote:
>
>> At the moment I serve a AngularJS web application with:
>> python3 -m http-server
>>
>> This only servers static html pages with the data contained in js
>> files, like:
>> $scope.links = [
>> { desc: 'Album',
Hello,
I am running one and the same unit tests that test some web application. I
would like to execute them against different servers that may host different
instances of the application.
So far I have something like
#!/usr/bin/env python
import unittest
server = ""
user = ""
password = ""
In a message of Fri, 21 Aug 2015 08:17:32 -0700, rambius writes:
>Although I developed these tests as unit tests they are more of integration
>tests. Is there an integration testing framework that supports a more
>convenient passing of test parameters / data?
>
>Thank you in advance for your resp
On Friday 21 Aug 2015 16:19 CEST, Michael Torrie wrote:
> On 08/21/2015 03:44 AM, Cecil Westerhof wrote:
>> Interesting, but it does not help me. I need to know how to server
>> data from SQLite instead of static files.
>
> Is your program already working with data coming from your Python
> dict?
I have the following with sqlite3:
urls = c.execute('SELECT URL FROM LINKS WHERE URL = ?', url).fetchall()
But this gives:
Traceback (most recent call last):
File "./createDB.py", line 52, in
urls = c.execute('SELECT URL FROM LINKS WHERE URL = ?', url).fetchall()
sqlite3.ProgrammingError: I
On Fri, Aug 21, 2015 at 11:39 AM, Cecil Westerhof wrote:
> I have the following with sqlite3:
> urls = c.execute('SELECT URL FROM LINKS WHERE URL = ?', url).fetchall()
>
> But this gives:
> Traceback (most recent call last):
> File "./createDB.py", line 52, in
> urls = c.execute('SELECT URL
In <871tewppdr@equus.decebal.nl> Cecil Westerhof writes:
> I have the following with sqlite3:
> urls = c.execute('SELECT URL FROM LINKS WHERE URL = ?', url).fetchall()
> But this gives:
> Traceback (most recent call last):
> File "./createDB.py", line 52, in
> urls = c.execute('SELECT
On Friday 21 Aug 2015 18:50 CEST, Zachary Ware wrote:
> On Fri, Aug 21, 2015 at 11:39 AM, Cecil Westerhof wrote:
>> I have the following with sqlite3: urls = c.execute('SELECT URL
>> FROM LINKS WHERE URL = ?', url).fetchall()
>>
>> But this gives: Traceback (most recent call last): File
>> "./cre
hello, python3.5rc1 when trying to install , the installer did not show the
button to start installing , to click in the middle he started ; after
installing I thought that everything would work fine but I could never run it,
telling me ' this is not a valid Win32 application '
*use a computer
On Sat, Aug 22, 2015 at 5:31 AM, Miguel Alejandro Fernandez
wrote:
> hello, python3.5rc1 when trying to install , the installer did not show the
> button to start installing , to click in the middle he started ; after
> installing I thought that everything would work fine but I could never run
>
On Fri, 21 Aug 2015 20:43 Chris Angelico wrote:
On Sat, Aug 22, 2015 at 5:31 AM, Miguel Alejandro Fernandez
wrote:
>
> *use a computer with WindowsXP
Python 3.5 does not support Windows XP. I suggest installing a
better-supported operating system (or failing that, a better-supported
version
On 8/21/2015 4:36 PM, Oscar Benjamin wrote:
On Fri, 21 Aug 2015 20:43 Chris Angelico mailto:ros...@gmail.com>> wrote:
On Sat, Aug 22, 2015 at 5:31 AM, Miguel Alejandro Fernandez
mailto:alejandrogr...@hotmail.com>> wrote:
> *use a computer with WindowsXP
Python 3.5 does not su
Hi,
Hope you are doing well !!!
My name is Siva and I'm a recruiter at TheAppliedthought , a global staffing
and IT consulting company.
Please find the below job description which may suits any of your consultants
who are available in market or who are looking for change, please send me
latest u
I created a simple application with bottle:
https://github.com/CecilWesterhof/PublishedPhotos
But sometimes it needs a lot of time. For example:
127.0.0.1 - - [21/Aug/2015 23:16:40] "GET / HTTP/1.1" 304 0
127.0.0.1 - - [21/Aug/2015 23:16:40] "GET /static/css/default.css HTTP/1.1" 304 0
127.0.0
On Fri, 21 Aug 2015 14:26:36 -0700, appthought1 wrote:
> Hi,
> Hope you are doing well !!!
> My name is Siva and I'm a recruiter at TheAppliedthought , a global
> staffing and IT consulting company.
Siva seems to have no professional regrets about spamming people on a
worldwide professional mail
What if you try with all the SQLite code commented ?
--
https://mail.python.org/mailman/listinfo/python-list
On 8/21/2015 1:41 PM, Chris Angelico wrote:
Python 3.5 does not support Windows XP.
Is there a simple explanation for this ?
Or is it just is.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Aug 21, 2015 at 5:42 PM, hamilton wrote:
> On 8/21/2015 1:41 PM, Chris Angelico wrote:
>>
>> Python 3.5 does not support Windows XP.
>
>
> Is there a simple explanation for this ?
>
> Or is it just is.
We don't see the need to be burdened by supporting versions of Windows
that are no long
On Friday, August 21, 2015 at 3:42:36 PM UTC-7, hamilton wrote:
> On 8/21/2015 1:41 PM, Chris Angelico wrote:
> > Python 3.5 does not support Windows XP.
>
> Is there a simple explanation for this ?
>
> Or is it just is.
I have no relationship with the Python developers, but I would say that run
On Sat, Aug 22, 2015 at 9:53 AM, wrote:
> On Friday, August 21, 2015 at 3:42:36 PM UTC-7, hamilton wrote:
>> On 8/21/2015 1:41 PM, Chris Angelico wrote:
>> > Python 3.5 does not support Windows XP.
>>
>> Is there a simple explanation for this ?
>>
>> Or is it just is.
>
> I have no relationship w
On Sat, Aug 22, 2015 at 10:47 AM, Dennis Lee Bieber
wrote:
> On Fri, 21 Aug 2015 18:39:28 +0200, Cecil Westerhof
> declaimed the following:
>
>>I have the following with sqlite3:
>>urls = c.execute('SELECT URL FROM LINKS WHERE URL = ?', url).fetchall()
>>
> Well, for one complication... Y
rambius writes:
> I am running one and the same unit tests that test some web
> application. I would like to execute them against different servers
> that may host different instances of the application.
Those aren't unit tests, then. A unit test, by definition, tests a small
unit of code; usual
On Saturday, August 22, 2015 at 6:32:56 AM UTC+5:30, Chris Angelico wrote:
> On Sat, Aug 22, 2015 at 9:53 AM, sohcahtoa82 wrote:
> > On Friday, August 21, 2015 at 3:42:36 PM UTC-7, hamilton wrote:
> >> On 8/21/2015 1:41 PM, Chris Angelico wrote:
> >> > Python 3.5 does not support Windows XP.
> >>
On Sat, Aug 22, 2015 at 2:37 PM, Rustom Mody wrote:
> One of the charms of linux used to be (dunno how true today) that it could
> run reasonably well on extremely underpowered hardware
Still true, although it's not so much "Linux is better than Windows"
as "Linux is more modular than Windows, so
On 8/21/2015 7:02 PM, Chris Angelico wrote:
On Sat, Aug 22, 2015 at 9:53 AM, wrote:
On Friday, August 21, 2015 at 3:42:36 PM UTC-7, hamilton wrote:
On 8/21/2015 1:41 PM, Chris Angelico wrote:
Python 3.5 does not support Windows XP.
Is there a simple explanation for this ?
Or is it just is
31 matches
Mail list logo