Click here to Skip to main content
15,868,016 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: How can i read or get an XML from another host? Pin
spawneditions5-Apr-10 9:14
spawneditions5-Apr-10 9:14 
AnswerRe: How can i read or get an XML from another host? Pin
Jayapal Chandran5-Apr-10 7:27
Jayapal Chandran5-Apr-10 7:27 
GeneralRe: How can i read or get an XML from another host? Pin
spawneditions5-Apr-10 9:15
spawneditions5-Apr-10 9:15 
Questionproblem assistance Pin
nanjekye joannah22-Mar-10 8:28
sussnanjekye joannah22-Mar-10 8:28 
AnswerRe: problem assistance Pin
rastaVnuce22-Mar-10 8:36
rastaVnuce22-Mar-10 8:36 
AnswerRe: problem assistance Pin
yiangos29-Apr-10 9:46
professionalyiangos29-Apr-10 9:46 
AnswerRe: problem assistance Pin
Stephen Hewitt10-Jun-10 21:52
Stephen Hewitt10-Jun-10 21:52 
GeneralRe: problem assistance Pin
DaveDn24-Nov-10 5:58
DaveDn24-Nov-10 5:58 
Hi Steve

I'm just getting started in Python, and came across your response to the "Palindrome" problem whilst browsing the forum to pick up tips.

It's a really elegant compact solution - I wish I could write code like that! - but there seems to be a heck of a lot of stuff going on in that one short line, and as a newbie I confess that I don't fully understand the syntax.

I know it is using string slicing, but haven't seen a string slicing command take 3 parameters before, and also be part of a conditional Boolean statement in the same line of code.

It would really help my understanding if you could describe exactly how your statement does its magic!

Many thanks in anticipation

Dave
(Swansea, UK)
GeneralRe: problem assistance Pin
DaveDn27-Nov-10 23:27
DaveDn27-Nov-10 23:27 
GeneralRe: problem assistance [modified] Pin
Keith.Badeau22-Feb-11 12:49
Keith.Badeau22-Feb-11 12:49 
QuestionPERL reading .sql file? Pin
josephong21-Mar-10 23:07
josephong21-Mar-10 23:07 
AnswerRe: PERL reading .sql file? Pin
jschell6-Apr-10 10:56
jschell6-Apr-10 10:56 
QuestionDjango trouble Pin
rastaVnuce20-Mar-10 23:57
rastaVnuce20-Mar-10 23:57 
AnswerRe: Django trouble Pin
Chris Austin23-Mar-10 4:28
Chris Austin23-Mar-10 4:28 
GeneralRe: Django trouble Pin
rastaVnuce23-Mar-10 4:41
rastaVnuce23-Mar-10 4:41 
GeneralRe: Django trouble Pin
Chris Austin23-Mar-10 4:47
Chris Austin23-Mar-10 4:47 
GeneralRe: Django trouble Pin
rastaVnuce23-Mar-10 5:00
rastaVnuce23-Mar-10 5:00 
Questioninfinite loop while using php's dir object..? Pin
cjoki19-Mar-10 11:31
cjoki19-Mar-10 11:31 
AnswerRe: infinite loop while using php's dir object..? Pin
chevu28-Mar-10 23:28
chevu28-Mar-10 23:28 
GeneralRe: infinite loop while using php's dir object..? Pin
cjoki29-Mar-10 4:53
cjoki29-Mar-10 4:53 
GeneralRe: infinite loop while using php's dir object..? Pin
chevu29-Mar-10 19:04
chevu29-Mar-10 19:04 
Questionquery help with table that has no primary keys Pin
scorpio2219-Mar-10 10:26
scorpio2219-Mar-10 10:26 
AnswerRe: query help with table that has no primary keys Pin
PHP_Guy22-Mar-10 11:01
PHP_Guy22-Mar-10 11:01 
QuestionCreating project setup Pin
sarang_k17-Mar-10 18:36
sarang_k17-Mar-10 18:36 
AnswerRe: Creating project setup Pin
PHP_Guy19-Mar-10 7:24
PHP_Guy19-Mar-10 7:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.