was : "
"Instead of writing a new 'for,if' loop to filter the repetetive tags from the list, is there something that I can add in the re itself to match the pattern only once?
Thank You-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
r DFA?-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Thanks Mr.Tim. That was helpful :)On 1/10/06, Tim Peters <[EMAIL PROTECTED]> wrote:
[Intercodes]> This question is just out of curiosity. I am working with this dragon book.> From what I have learnt so far, RE uses either NFA or DFA to check whether> the string is accepted or not
what meaning does it have in using two colons inside array index while slicing?. A concise explanation would suppress my curiosity.
Thank You.-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
John,>Basically, the syntax is [start:stop:step] I have read some 2 or 3 introductory tutorials on python and have never found this syntax or maybe I forgot to note this one. This one seems certainly useful in some cases.
> HTH!yes, it does.!-- Inte
to create a blog , will mod_python suffice? And is mod_python and cgi (the python lib) different?
-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ly i take a look at migthy(
http://www.myghty.org/index.myt), it's a very cooltemplating framework. And you can use it withmod_python.Have a nice day ...-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
e/index.htm that I've been playingwith. Normally it works. ;)Django is also worth having a look at, but it's a bit sharper to learn
The Turbogears Google group is really supportive, by the way.-- Intercodes
___
Tutor maillist - Tutor@python.org
h
Thanks for the input guys. I think ill go with Quixotemod_pythonpostgresXHTMLIll let you know if I have done something useful with the above four :DTYIntercodes
>If you're looking to do some Python coding to put your site together,>you might take a gander at Quixote>(http://www.mems-exchange.org/so
is list suggested. I would take a look at cherrypy if quixote is too deep for me.Thanks for your time and the example. I believe your website is written completely in cherrypy. Working on so many projects ,nice work.
Intercodes# simple exampleimport cherrypyimport time
class MySection(object):@ch
mtpserver)
if AUTHREQUIRED:
session.login(smtpuser, smtppass)
smtpresult = session.sendmail(SENDER, RECIPIENTS, mssg)-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
nswer:smtp.mail.yahoo.com canonical name =
smtp.plus.mail.yahoo.com.smtp.plus.mail.yahoo.com canonical name = smtp.plus.mail.yahoo4.akadns.net
.Name: smtp.plus.mail.yahoo4.akadns.netAddress: 216.136.173.18 -
Thank you,--Intercodes
---
>Is "linux" a valid hostname?>Does "ping linux" succeed.
I suppose not.linux:/srv/ # ping linuxping: unknown host linux--
-- Intercodes
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
their own/isp smtp server. None for connecting to yahoo/gmail/hotmail or other servers using authentication.
But anyway, ill try hotmail next. (If I can't get this smtp to work, I have to manually send mails to users :p, disastrous. ) Thanks for
14 matches
Mail list logo