* Ben Sherman <[EMAIL PROTECTED]> [070411 22:02]:
> I've got a list that contain a bunch of information, including the
> FQDN of a host.
>
> host_data=['foo.example.com', 'other unimportant data']
>
> I need to seperate the hostname from the domain name.
>
> This is how I'm doing it, and it work
I've got a list that contain a bunch of information, including the
FQDN of a host.
host_data=['foo.example.com', 'other unimportant data']
I need to seperate the hostname from the domain name.
This is how I'm doing it, and it work, but it seems *really* hacky.
Is there a better (or more pythony)
> -Original Message-
>
> "Kent Johnson" <[EMAIL PROTECTED]> wrote
>
> > Also the TurboGears book is 51% off:
> > http://www.bookpool.com/sm/0132433885
>
Safari(http://safari.oreilly.com) has both the TurboGears book and Core
Python book, so you can check them out before deciding if y
"Kent Johnson" <[EMAIL PROTECTED]> wrote
> Also the TurboGears book is 51% off:
> http://www.bookpool.com/sm/0132433885
FWIW I've just finished this one and its pretty good but full of
bad typos and inconsistencies(*). If you bear with it and type
in the examples it starts to become obvious whe
Luke Paireepinart wrote:
> John Clark wrote:
>> My apologies for the comical timing of the below announcement - I
>> actually sent the announcement on April 4th, but it obviously didn't
>> clear the moderator's desk in time for the meeting mentioned below.
>> In an attempt to avoid this same pr
John Clark wrote:
> My apologies for the comical timing of the below announcement - I
> actually sent the announcement on April 4th, but it obviously didn't
> clear the moderator's desk in time for the meeting mentioned below.
> In an attempt to avoid this same problem, let me announce next mon
For anyone interested in a copy of Wesley Chun's recently updated book
Core Python Programming, it is 50% off at bookpool.com at the moment:
http://www.bookpool.com/sm/0132269937
Also the TurboGears book is 51% off:
http://www.bookpool.com/sm/0132433885
Kent
_
OkaMthembo schrieb:
> Indeed, using directories may be a better bet when there are many files
> involved. At least, this has been my feeling, and i gather the same from
> your replies.
I suggest that you take a look at a database abstraction layer or ORM like
SQLAlchemy [1], that makes handling th
"OkaMthembo" <[EMAIL PROTECTED]> wrote
> I'll be using Lighttpd + FastCGI + Python + MySQL on
> Win. XP SP2. Any known caveats of this combo
> before i plunge?
That should be fine I think.
Alan G.
___
Tutor maillist - Tutor@python.org
http://mail.
govind goyal wrote:
>
> Hi,
>
> Use of Basic HTTP Authentication:
>
> import urllib2
> auth_handler.add_password(*'realm'*, 'host', 'username', 'password')
>
> What is realm and its use in above line of code?
Realm is set by the host. It is usually displayed in the login dialog in
a browser
My apologies for the comical timing of the below announcement - I actually
sent the announcement on April 4th, but it obviously didn't clear the
moderator's desk in time for the meeting mentioned below. In an attempt to
avoid this same problem, let me announce next month's meeting now.
The next
Hi,
Use of Basic HTTP Authentication:
import urllib2
auth_handler.add_password(*'realm'*, 'host', 'username', 'password')
What is realm and its use in above line of code?
If I want to access a web page and I don't know what the realm is,then
what should I write in place of realm?
Can anybody
Thanks, gentlemen.
Indeed, using directories may be a better bet when there are many files
involved. At least, this has been my feeling, and i gather the same from
your replies.
I'll be using Lighttpd + FastCGI + Python + MySQL (maybe PostGRE here) on
Win. XP SP2. Any known caveats of this combo
13 matches
Mail list logo