Re: Website

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 8:59 AM Calvin Spealman  wrote:
>
> The PSF guidelines on trademark usage are generous and well documented
> here: https://www.python.org/psf/trademarks/
>
> Good luck with your website!
>
> On Wed, Apr 14, 2021 at 11:43 AM Rainyis  wrote:
>
> > Hello,
> > I am Sergio Llorente, and I want to create a web about python. I
> > will publish apps, scripts.. made by python. I will like to put python in
> > the domain. The domain will be like all-about-python.com but in Spanish(
> > todosobrepython.com). Can I use it?
> >
> > Thanks in advance,
> >

Senor Sergio

This , from the previous attached doc :

Uses that Always Require Approval

Any commercial use of the PSF trademarks in product or company names
must be approved first by the PSF. Some uses, like calling a company
"The Python Company," or a product "Python Language" or "Python IDE"
will be refused. This is because they are overly broad, or confusing
as to whether the Python programming language is open source or
commercial, or whether your product or organization is affiliated with
or sponsored by PSF.

would suggest that you contact the Python Trademark Committee.
I would assume that searching on the Python webpage should
enable one to find some contact information for such.

I, for one, without any influence, would suggest to such committee
that you be allowed to register such titled domain. (Please do remember
that I have no connection with said committee just that you did ask and
did so in a way that, imo anyway, showed you were working in the spirit
of the matter at very least!)

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 8:54 AM Dan Ciprus (dciprus)  wrote:
>
> Well I did not get the point of his question, obviously so apologies for 
> being sarcastic at the beginning. This triggered my reaction because of the 
> history of "funny" questions which you can find in this mailing list.
>
Agreed that there are far too many questions asked here that might not
be that useful.
I don't know for sure but thought I understood the 'spirit' of the
question - - - I hope that I did!
(Or I get to look like a turkey - - - - LOL - - - - as my wife so
often tells me - - - LOL)

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread Calvin Spealman
The PSF guidelines on trademark usage are generous and well documented
here: https://www.python.org/psf/trademarks/

Good luck with your website!

On Wed, Apr 14, 2021 at 11:43 AM Rainyis  wrote:

> Hello,
> I am Sergio Llorente, and I want to create a web about python. I
> will publish apps, scripts.. made by python. I will like to put python in
> the domain. The domain will be like all-about-python.com but in Spanish(
> todosobrepython.com). Can I use it?
>
> Thanks in advance,
> Sergio
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>

-- 

CALVIN SPEALMAN

SENIOR QUALITY ENGINEER

calvin.speal...@redhat.com  M: +1.336.210.5107
[image: https://red.ht/sig] 
TRIED. TESTED. TRUSTED. 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread Dan Ciprus (dciprus) via Python-list
Well I did not get the point of his question, obviously so apologies for being 
sarcastic at the beginning. This triggered my reaction because of the history 
of "funny" questions which you can find in this mailing list.

Sent from my smartphone
Do Not Get Outlook for Android<https://aka.ms/ghei36> !

From: o1bigtenor 
Sent: Thursday, April 15, 2021 9:49:45 AM
To: Dan Ciprus (dciprus) 
Cc: Rainyis ; python-list@python.org 

Subject: Re: Website

On Thu, Apr 15, 2021 at 7:40 AM Dan Ciprus (dciprus) via Python-list
 wrote:
>
> https://en.wikipedia.org/wiki/Sergio_Llorente
>
> wow .. you made it that far ?
>
> Jokes aside .. why are you asking for a permission to get a domain ? I would
> love to read a deeper explanation what made you send an email to this mailing
> list.
>
> On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wrote:
> >Hello,
> >I am Sergio Llorente, and I want to create a web about python. I
> >will publish apps, scripts.. made by python. I will like to put python in
> >the domain. The domain will be like all-about-python.com but in Spanish(
> >todosobrepython.com). Can I use it?
> >
> >Thanks in advance,
> >Sergio
> >--
> >https://mail.python.org/mailman/listinfo/python-list
>

I would suggest that you quite missed the point of the question.

To me he is asking if he can use the word "python", which carries
a lot of meaning in the computer world, in his domain name.
I'd be handing him top marks for his asking rather than laughing
that he did ask. Its a very polite and respectful thing to ask
before registering the domain imo.

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread o1bigtenor
On Thu, Apr 15, 2021 at 7:40 AM Dan Ciprus (dciprus) via Python-list
 wrote:
>
> https://en.wikipedia.org/wiki/Sergio_Llorente
>
> wow .. you made it that far ?
>
> Jokes aside .. why are you asking for a permission to get a domain ? I would
> love to read a deeper explanation what made you send an email to this mailing
> list.
>
> On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wrote:
> >Hello,
> >I am Sergio Llorente, and I want to create a web about python. I
> >will publish apps, scripts.. made by python. I will like to put python in
> >the domain. The domain will be like all-about-python.com but in Spanish(
> >todosobrepython.com). Can I use it?
> >
> >Thanks in advance,
> >Sergio
> >--
> >https://mail.python.org/mailman/listinfo/python-list
>

I would suggest that you quite missed the point of the question.

To me he is asking if he can use the word "python", which carries
a lot of meaning in the computer world, in his domain name.
I'd be handing him top marks for his asking rather than laughing
that he did ask. Its a very polite and respectful thing to ask
before registering the domain imo.

Regards
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-15 Thread Dan Ciprus (dciprus) via Python-list

https://en.wikipedia.org/wiki/Sergio_Llorente

wow .. you made it that far ? 

Jokes aside .. why are you asking for a permission to get a domain ? I would 
love to read a deeper explanation what made you send an email to this mailing 
list. 


On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wrote:

Hello,
I am Sergio Llorente, and I want to create a web about python. I
will publish apps, scripts.. made by python. I will like to put python in
the domain. The domain will be like all-about-python.com but in Spanish(
todosobrepython.com). Can I use it?

Thanks in advance,
Sergio
--
https://mail.python.org/mailman/listinfo/python-list


--
Daniel Ciprus  .:|:.:|:.
CONSULTING ENGINEER.CUSTOMER DELIVERY   Cisco Systems Inc.
dcip...@cisco.com
tel: +1-703-484-0205
mob: +1-540-223-7098



signature.asc
Description: PGP signature
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-14 Thread Mladen Gogala via Python-list
On Wed, 14 Apr 2021 15:41:37 +0200, Rainyis wrote:

> Hello,
> I am Sergio Llorente, and I want to create a web about python. I will
> publish apps, scripts.. made by python. I will like to put python in the
> domain. The domain will be like all-about-python.com but in Spanish(
> todosobrepython.com). Can I use it?
> 
> Thanks in advance,
> Sergio

I give you my permission. May the Force be with you and your website.



-- 
Mladen Gogala
Database Consultant
https://dbwhisperer.wordpress.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Website

2021-04-14 Thread Paul Bryan
Yes.

On Wed, 2021-04-14 at 15:41 +0200, Rainyis wrote:
> Hello,
> I am Sergio Llorente, and I want to create a web about python. I
> will publish apps, scripts.. made by python. I will like to put
> python in
> the domain. The domain will be like all-about-python.com but in
> Spanish(
> todosobrepython.com). Can I use it?
> 
> Thanks in advance,
> Sergio

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: website feedback to where?

2009-09-02 Thread Terry Reedy

rogerdpack wrote:

on this page

http://docs.python.org/3.1/tutorial/introduction.html

some of the text examples are [incorrectly] color formatted.


I did not see any problems with my browser (FF3.5), so please be more 
specific.



I assume this a bug reportable to bugs.python.org?


Yes, this would be a components: documentation issue.
Since you are new to this, reporting and asking here first is a  good 
idea. (The tracker already has too many invalid newbie reports.)


tjr

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


Re: website feedback to where?

2009-09-02 Thread Aahz
In article ae3190a6-aabb-44f8-b317-d5ff828b7...@37g2000yqm.googlegroups.com,
rogerdpack  rogerdp...@gmail.com wrote:

on this page

http://docs.python.org/3.1/tutorial/introduction.html

some of the text examples are [incorrectly] color formatted.

I assume this a bug reportable to bugs.python.org?

Actually, for doc bugs you should follow the instructions in the docs,
see the link Reporting bugs at e.g.
http://docs.python.org/3.1/
-- 
Aahz (a...@pythoncraft.com)   * http://www.pythoncraft.com/

Look, it's your affair if you want to play with five people, but don't
go calling it doubles.  --John Cleese anticipates Usenet
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: website feedback to where?

2009-09-02 Thread rogerdpack
On Sep 2, 12:30 pm, Terry Reedy tjre...@udel.edu wrote:
 rogerdpack wrote:
  on this page

 http://docs.python.org/3.1/tutorial/introduction.html

  some of the text examples are [incorrectly] color formatted.

 I did not see any problems with my browser (FF3.5), so please be more
 specific.

search for This is a rather long string containing

I suppose this is more of a documentation bug...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: website feedback to where?

2009-09-02 Thread Diez B. Roggisch

rogerdpack schrieb:

On Sep 2, 12:30 pm, Terry Reedy tjre...@udel.edu wrote:

rogerdpack wrote:

on this page
http://docs.python.org/3.1/tutorial/introduction.html
some of the text examples are [incorrectly] color formatted.

I did not see any problems with my browser (FF3.5), so please be more
specific.


search for This is a rather long string containing

I suppose this is more of a documentation bug...


I don't see any wrong formatting.

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


Re: website feedback to where?

2009-09-02 Thread MRAB

Diez B. Roggisch wrote:

rogerdpack schrieb:

On Sep 2, 12:30 pm, Terry Reedy tjre...@udel.edu wrote:

rogerdpack wrote:

on this page
http://docs.python.org/3.1/tutorial/introduction.html
some of the text examples are [incorrectly] color formatted.

I did not see any problems with my browser (FF3.5), so please be more
specific.


search for This is a rather long string containing

I suppose this is more of a documentation bug...


I don't see any wrong formatting.


I see what the OP means.

The blocks with a green background mostly contain code with syntax
colouring, but a couple of them show what's printed when the code is
run, _also_ with syntax colouring.

I've copied the text below, indicating the coloured words with
underscores:

This _is_ a rather long string containing
several lines of text just _as_ you would do _in_ C.
Note that whitespace at the beginning of the line _is_ significant.
--
http://mail.python.org/mailman/listinfo/python-list


Re: website feedback to where?

2009-09-02 Thread Diez B. Roggisch

MRAB schrieb:

Diez B. Roggisch wrote:

rogerdpack schrieb:

On Sep 2, 12:30 pm, Terry Reedy tjre...@udel.edu wrote:

rogerdpack wrote:

on this page
http://docs.python.org/3.1/tutorial/introduction.html
some of the text examples are [incorrectly] color formatted.

I did not see any problems with my browser (FF3.5), so please be more
specific.


search for This is a rather long string containing

I suppose this is more of a documentation bug...


I don't see any wrong formatting.


I see what the OP means.

The blocks with a green background mostly contain code with syntax
colouring, but a couple of them show what's printed when the code is
run, _also_ with syntax colouring.

I've copied the text below, indicating the coloured words with
underscores:

This _is_ a rather long string containing
several lines of text just _as_ you would do _in_ C.
Note that whitespace at the beginning of the line _is_ significant.


Ah. Now I see - but *barely*, which might be a question of 
text-rendering and browser-defaults.


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


Re: website feedback to where?

2009-09-02 Thread Gabriel Genellina
En Wed, 02 Sep 2009 17:47:04 -0300, rogerdpack rogerpack2...@gmail.com  
escribió:

On Sep 2, 12:30 pm, Terry Reedy tjre...@udel.edu wrote:

rogerdpack wrote:



http://docs.python.org/3.1/tutorial/introduction.html
 some of the text examples are [incorrectly] color formatted.

I did not see any problems with my browser (FF3.5), so please be more
specific.


search for This is a rather long string containing
I suppose this is more of a documentation bug...


patch submitted: http://bugs.python.org/issue6828

--
Gabriel Genellina

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


Re: Website Creation using Python

2008-07-21 Thread Larry Bates

Amie wrote:

Afternoon,

I would like some help on how to create a website using the python
programming language.
I've tried using enamel, but had some problems because I could not
create html tables and intergrating it with python, like you use it
when coding in php.

Any help would be appreciated.

Thanks


Python is not PHP.  Page generation is done differently.  You might take a look 
at Django's web framework:


http://www.djangoproject.com/

or

http://pylonshq.com/


WARNING - Python web frameworks are MUCH more powerful than just using PHP to 
place some dynamic content on a web page.  For many people, PHP will still be an 
easy to implement solution if your project isn't very complex.  As the 
complexity grows, the need for additional power and flexibility grows also.


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


Re: Website data-mining.

2007-08-04 Thread Miki
Hello,

 I'm using Python for the first time to make a plug-in for Firefox.
 The goal of this plug-in is to take the source code from a website
 and use the metadata and body text for different kinds of analysis.
 My question is: How can I retrieve data from a website? I'm not even
 sure if this is possible through Python. Any help?
Have a look at 
http://www.myinterestingfiles.com/2007/03/playboy-germany-ads.html
for getting the data and at http://www.crummy.com/software/BeautifulSoup/
for handling it.

HTH.

--
Miki Tebeka [EMAIL PROTECTED]
http://pythonwise.blogspot.com

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


Re: Website data-mining.

2007-08-04 Thread Jay Loden
Miki wrote:
 Hello,
 
 I'm using Python for the first time to make a plug-in for Firefox.
 The goal of this plug-in is to take the source code from a website
 and use the metadata and body text for different kinds of analysis.
 My question is: How can I retrieve data from a website? I'm not even
 sure if this is possible through Python. Any help?
 Have a look at 
 http://www.myinterestingfiles.com/2007/03/playboy-germany-ads.html

Well, it's certainly interesting, but I'm not sure how it might help the OP get 
data from a website...

 for getting the data and at http://www.crummy.com/software/BeautifulSoup/
 for handling it.
 
 HTH.
 
 --
 Miki Tebeka [EMAIL PROTECTED]
 http://pythonwise.blogspot.com
 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Website data-mining.

2007-08-04 Thread Paul Boddie
Jay Loden wrote:
 Miki wrote:
  Have a look at 
  http://www.myinterestingfiles.com/2007/03/playboy-germany-ads.html

 Well, it's certainly interesting, but I'm not sure how it might help the OP 
 get data from a website...

A case of the Freudian clipboard, perhaps? ;-)

Paul

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


Re: Website data-mining.

2007-08-04 Thread Miki
Hello,

  I'm using Python for the first time to make a plug-in for Firefox.
  The goal of this plug-in is to take the source code from a website
  and use the metadata and body text for different kinds of analysis.
  My question is: How can I retrieve data from a website? I'm not even
  sure if this is possible through Python. Any help?
  Have a look 
  athttp://www.myinterestingfiles.com/2007/03/playboy-germany-ads.html

 Well, it's certainly interesting, but I'm not sure how it might help the OP 
 get data from a website...
Ouch, let there be a lesson to me to *read* my posts before sending
them :)

Should have been http://wwwsearch.sourceforge.net/mechanize/.

--
Miki (who can't paste) Tebeka
[EMAIL PROTECTED]
http://pythonwise.blogspot.com

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


Re: Website data-mining.

2007-08-03 Thread SMERSH009
On Aug 3, 7:50 pm, Coogan [EMAIL PROTECTED] wrote:
 Hi--

 I'm using Python for the first time to make a plug-in for Firefox.
 The goal of this plug-in is to take the source code from a website
 and use the metadata and body text for different kinds of analysis.
 My question is: How can I retrieve data from a website? I'm not even
 sure if this is possible through Python. Any help?

 nieu

How about this? it will fetch the HTML source of the page.

import datetime, time, re, os, sys, traceback, smtplib, string,\
urllib2, urllib, inspect
from urllib2 import build_opener, HTTPCookieProcessor, Request
opener = build_opener(HTTPCookieProcessor)
from urllib import urlencode

def urlopen2(url, data=None, user_agent='urlopen2'):
Opens Our URLS 
if hasattr(data, __iter__):
data = urlencode(data)
headers = {'User-Agent' : user_agent}
return opener.open(Request(url, data, headers))

###TESTCASES START HERE###
def publishedNotes():
page = urlopen2(http://www.yourURL.com;, ())
pageRead = page.read()
print pageRead

if __name__ == '__main__':
publishedNotes()

sys.exit()

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


Re: Website Capture

2006-12-25 Thread derekl00
Not sure what OS you are on, but a2ps is one way you could probably do
this:

http://www.infres.enst.fr/~demaille/a2ps/delegations.html

That will get you as far as PostScript and I imagine it is pretty
straightforward from there to get things into a gif.
Jonathan Curran wrote:
 On Monday 25 December 2006 00:57, [EMAIL PROTECTED] wrote:
  Hi,
 
  I want to capture a web site into gif image using Python.
  I installed the PIL if it can help.

 It can't be done with just Python  PIL, that much is for sure. First of all
 you need some sort of module/program/(whatever you want to call it) that can
 render a given webpage. Then you would proceed to capturing the graphical
 output of that module/program/...

 Maybe what you should look into are graphical toolkits that possibly provide a
 HTML widget from which you can get a graphical display. WxWidgets/WxPython is
 one option, and the only other I can think of is GTK/pyGTK.

 I hope this helps a little, and Merry Christmas!
 
 - Jonathan Curran

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


Re: Website Capture

2006-12-24 Thread Jonathan Curran
On Monday 25 December 2006 00:57, [EMAIL PROTECTED] wrote:
 Hi,

 I want to capture a web site into gif image using Python.
 I installed the PIL if it can help.

It can't be done with just Python  PIL, that much is for sure. First of all 
you need some sort of module/program/(whatever you want to call it) that can 
render a given webpage. Then you would proceed to capturing the graphical 
output of that module/program/...

Maybe what you should look into are graphical toolkits that possibly provide a 
HTML widget from which you can get a graphical display. WxWidgets/WxPython is 
one option, and the only other I can think of is GTK/pyGTK.

I hope this helps a little, and Merry Christmas!

- Jonathan Curran
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: website catcher

2005-07-06 Thread Michael Ströder
jwaixs wrote:
 I need some kind
 of database that won't exit if the cgi-bin script has finished. This
 database need to be open all the time and communicate very easily with
 the cgi-bin framwork main class.

Maybe long-running multi-threaded processes for FastCGI, SCGI or similar
is what you're looking for instead short-lived CGI-BIN programs forked
by the web server.

Ciao, Michael.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: website catcher

2005-07-03 Thread [EMAIL PROTECTED]
You can catch the content of an url like this:
http://www.python.org/doc/current/lib/node478.html, from here you can
parse it, and the store the result e.g. in dictionary, you will have a
very well performing solution like this.

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


Re: website catcher

2005-07-03 Thread jwaixs
Thank you, but it's not what I mean. I don't want some kind of client
parser thing. But I mean the page is already been parsed and ready to
be read. But I want to store this page for more use. I need some kind
of database that won't exit if the cgi-bin script has finished. This
database need to be open all the time and communicate very easily with
the cgi-bin framwork main class.

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


Re: website catcher

2005-07-03 Thread Diez B. Roggisch
jwaixs wrote:
 Thank you, but it's not what I mean. I don't want some kind of client
 parser thing. But I mean the page is already been parsed and ready to
 be read. But I want to store this page for more use. I need some kind
 of database that won't exit if the cgi-bin script has finished. This
 database need to be open all the time and communicate very easily with
 the cgi-bin framwork main class.

Why does it need to be open? Store it in a pickled file, an load read 
that pickle when you need it. Or not even as pickle, just as file in the 
FS. Basically what you are talking about is a webserver - so just use that.

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


Re: website catcher

2005-07-03 Thread jwaixs
If I should put the parsedwebsites in, for example, a tablehash it will
be at least 5 times faster than just putting it in a file that needs to
be stored on a slow harddrive. Memory is a lot faster than harddisk
space. And if there would be a lot of people asking for a page all of
them have to open that file. if that are 10 requests in 5 minutes
there's no real worry. If they are more that 10 request per second you
really have a big problem and the framework would probably crash or
will run uber slow. That's why I want to open the file only one time
and keep it saved in the memory of the server where it don't need to be
opened each time some is asking for it.

Noud Aldenhoven

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


Re: website catcher

2005-07-03 Thread Diez B. Roggisch
jwaixs wrote:
 If I should put the parsedwebsites in, for example, a tablehash it will
 be at least 5 times faster than just putting it in a file that needs to
 be stored on a slow harddrive. Memory is a lot faster than harddisk
 space. And if there would be a lot of people asking for a page all of
 them have to open that file. if that are 10 requests in 5 minutes
 there's no real worry. If they are more that 10 request per second you
 really have a big problem and the framework would probably crash or
 will run uber slow. That's why I want to open the file only one time
 and keep it saved in the memory of the server where it don't need to be
 opened each time some is asking for it.

I don't think that's correct. An apache serves static pages with high 
speed - and slow hardrives means about 32MByte/s nowadays. Which 
equals 256MBit/s - is your machine connected to a GBit connection? And 
if it's for internet usage, do you have a GBit connection - if so, I 
envy you...

And if your speed has to have that high, I wonder if python can be used 
at all. BTW, 10 reqeuest per seconds of maybe 100KB pages is next to 
nothing - just 10MBit. It's not really fast. And images and the like are 
also usually served from HD.

You are of course right that memory is faster than harddrives. but HDs 
are (ususally) faster than network IO - so that's your limiting factor, 
if at all. And starting CGI subrpocesses introduces also lots of 
overhead - better use fastcgis then.


I think that we're talking about two things here:

  - premature optimization on your side. Worry about speed later, if it 
_is_ an issue. Not now.

  - what you seem to want is a convenient way of having data serverd to 
you in a pythonesque way. I personally don't see anything wrong with 
storing and retrieving pages from HD - after all, that's where they end 
up anyway ebentually. So if you write yourself a HTMLRetrieval class 
that abstratcs that for you and

  1) takes a piece of HTML and stores that, maybe associated with some 
metadata
  2) can retrieve these chunks of based on some key

you are pretty much done. If you want, you can back it up using a RDBMS, 
hoping that it will do the in-memory-caching for you. But remember that 
there will be no connection pooling using CGIs, so that introduces overhead.

  Or you go for your  own standalone process that serves the pages 
through some RPC mechanism.

Or you ditch CGIs at all and use some webframework that serves from an 
permanenty running python process with several worker threads - then you 
can use in-process memory by global variables to store that memory. For 
that, I recommend twisted.

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


Re: website catcher

2005-07-03 Thread jwaixs
Well, thank you for your advice. So I have a couple of solutions, but
it can't become a server at its own so this means I will deal with
files.

Thank you for your advice, I'll first make it work... than the server.

Noud Aldenhoven

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


Re: website catcher

2005-07-03 Thread gene tani
maybe look at Harvestman

http://cheeseshop.python.org/HarvestMan/1.4%20final

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


Re: website catcher

2005-07-03 Thread Mike Meyer
jwaixs [EMAIL PROTECTED] writes:

 If I should put the parsedwebsites in, for example, a tablehash it will
 be at least 5 times faster than just putting it in a file that needs to
 be stored on a slow harddrive. Memory is a lot faster than harddisk
 space. And if there would be a lot of people asking for a page all of
 them have to open that file. if that are 10 requests in 5 minutes
 there's no real worry. If they are more that 10 request per second you
 really have a big problem and the framework would probably crash or
 will run uber slow. That's why I want to open the file only one time
 and keep it saved in the memory of the server where it don't need to be
 opened each time some is asking for it.

While Diez gave you some good reasons not to worry about this, and had
some great advice, he missed one important reason you shouldn't worry
about this:

Your OS almost certainly has a disk cache.

This means that if you get 10 requests for a page in a second, the
first one will come off the disk and wind up in the OS disk cache. The
next nine requests will get the pages from the OS disk cache, and not
go to the disk at all.

When you keep these pages in memory yourself, you're basically
declaring that they are so important that you don't trust the OS to
cache them properly. The exact details of how your using extra memory
interact with the disk cache vary with the OS, but there's a fair
chance that you're cutting down on the amount of disk cache the system
will have available.

In the end, if the OS disagrees with you about how important your
pages are, it will win. Your pages will get paged out to disk, and
have to be read back from disk even though you have them stored in
memory. With extra overhead in the form of an interrupt when your
process tries to access the swapped out page, at that.

A bunch of very smart people have spent a lot of time making modern
operating systems perform well. Worrying about things that it is
already worrying about is generally a waste of time - a clear case of
premature optimization.

  mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: website hosting

2005-01-03 Thread Irmen de Jong
[EMAIL PROTECTED] wrote:
[some spam]
Those people don't even provide python hosting, how lame.
(Yes, I know, I shouldn't have clicked the link).
--
http://mail.python.org/mailman/listinfo/python-list