Re: Python Noob - a couple questions involving a web app

2009-04-29 Thread Kyle Terry
On Wed, Apr 29, 2009 at 8:24 AM, David Smith  wrote:

> Kyle T. Jones wrote:
> > Bruno Desthuilliers, my dear, dear friend, there was this time, oh,
> > 4/29/2009 3:02 AM or thereabouts, when you let the following craziness
> > loose on Usenet:
> >> Kyle T. Jones a écrit :
> >>> Been programming for a long time, but just starting out with Python.
> >>> Not a professional programmer, just that guy in one of those
> >>> organizations that won't hire a pro, instead saying "Hey, Kyle knows
> >>> computer stuff - let's have him do this (and that, and the other,
> etc)".
> >>>
> >>> So, the higher ups want a web app that'll let them enter (from an
> >>> intranet page) a rather simple, but quite lengthy, list - details to
> >>> be stored in a MySQL database... just normal stuff here, entering,
> >>> editing, and deleting entries, sorting, etc.
> >>>
> >>> On the internet side of things, folks get the info served up to them,
> >>> can sort it in a few ways, etc - it's pretty basic stuff.
> >>>
> >> (snip)
> >>
> >> I can only second Arnaud and Emile : Django is very probably what
> >> you're looking for, and by all means better than any PHP thingie -
> >> wrt/ both development time and security.
> >>
> >> You'll indeed first have to learn the framework (and Python of
> >> course), and learn how to deploy your app in production (which can be
> >> a bit tricky if you're not familiar with server admin), but there's a
> >> good documentation and a very helpful community around both the Django
> >> framework and the Python language.
> >>
> >
> > Thanks everyone!  Wow, pretty much a consensus - a rarity with these
> > "types" of questions, at least in my experience.
> >
> > Ok, sounds like I need to be looking at Django.  Thanks for the advice!
> >
> > Cheers!
>
> Consensus?! ... that just won't do. :-)
>
> I've started with Pylons and have found it very nice.  Loose enough to
> tinker with the inner workings but complete and working right out of the
> box (or paster in Pylons case).
>
> --David
> --
> http://mail.python.org/mailman/listinfo/python-list


This Kyle T. is starting with Python as well.
--
http://mail.python.org/mailman/listinfo/python-list


Re: where to start with

2009-05-01 Thread Kyle Terry
On Fri, May 1, 2009 at 7:38 AM, CTO  wrote:

> I'd add http://diveintopython.org/ to that list as you gain more
> experience with Python, or if you already know at least one language.


Wasn't diveintopython in his list?

>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list


Re: Concurrent threads to pull web pages?

2009-10-02 Thread Kyle Terry
On Thu, Oct 1, 2009 at 6:33 PM,  wrote:

> On 1 Oct, 09:28 am, nos...@nospam.com wrote:
>
>> Hello
>>
>>I recently asked how to pull companies' ID from an SQLite database,
>> have multiple instances of a Python script download each company's web
>> page from a remote server, eg. www.acme.com/company.php?id=1, and use
>> regexes to extract some information from each page.
>>
>> I need to run multiple instances to save time, since each page takes
>> about 10 seconds to be returned to the script/browser.
>>
>> Since I've never written a multi-threaded Python script before, to
>> save time investigating, I was wondering if someone already had a
>> script that downloads web pages and save some information into a
>> database.
>>
>
> There's no need to use threads for this.  Have a look at Twisted:
>
>  http://twistedmatrix.com/trac/
>
> Here's an example of how to use the Twisted HTTP client:
>
>  http://twistedmatrix.com/projects/web/documentation/examples/getpage.py
>

I don't think he was looking for a framework... Specifically a framework
that you work on.


>
> Jean-Paul
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list