User Profile

Collapse

Profile Sidebar

Collapse
python24
python24
Last Activity: Jan 11 '08, 09:49 AM
Joined: Nov 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • python24
    replied to \1 in regular expression
    Thank u

    Thank u bv...
    i understood concept but a small doubt..

    in <font[^>]*><?(.*?)>?\s*( \w+)\s*<?/?(\1)>?</font>...y have u used '?' before every expresion?i didnt find differen in its absence...
    See more | Go to post
    Last edited by python24; Jan 11 '08, 06:18 AM. Reason: add more inf

    Leave a comment:


  • python24
    started a topic \1 in regular expression

    \1 in regular expression

    can anyone tell me usage of (\1) in regex??

    Test String: <font size=10><span>l abel<span></font>
    Pattern: <font[^>]*>(.*?)\s*\w+\s *(\1)</font>
    This is working

    but if i change latter <span> to </span>and try to write pattern with (/1),am not getting it.

    Pls give the solution

    Thank you
    See more | Go to post

  • python24
    replied to list vs tuples
    I got an idea,,,,
    Thank u bvdet....
    See more | Go to post

    Leave a comment:


  • python24
    started a topic list vs tuples

    list vs tuples

    what are the major differences between list and tuples?Am unable to make out the same...

    Thank u in advance
    See more | Go to post

  • python24
    replied to Validation for Alphabets
    gits,
    Hatsoff for ur patience and attitude to help others....
    See more | Go to post

    Leave a comment:


  • python24
    replied to What is your OS and Python Version
    hi....
    I am using: WINDOWS XP
    Python 2.5

    Editor : IDLE
    See more | Go to post

    Leave a comment:


  • python24
    replied to filter vs map vs reduce functions
    I know this forum will never disappoint and will clarify every minute doubts without criticizing.
    Thank u so much...
    See more | Go to post

    Leave a comment:


  • python24
    started a topic filter vs map vs reduce functions

    filter vs map vs reduce functions

    I am not clear with concepts of filter vs map vs reduce functionsin list data structure.Can anyone explain them with examples.when and where they can be used??

    Thanks in advance
    See more | Go to post

  • python24
    started a topic string module usage???

    string module usage???

    1) is it necessary to import "string" mod in order to use its function??
    s=" python "

    s.strip() gives 'python'
    and
    import string
    string.strip(s) also gives python

    Please tell me the difference and usage of string module...

    2) What is difference between remove and delete??
    See more | Go to post

  • python24
    replied to communication between two frames???
    Thank u vee10.I understood
    See more | Go to post
    Last edited by gits; Dec 13 '07, 01:11 PM. Reason: removed quote

    Leave a comment:


  • python24
    started a topic communication between two frames???

    communication between two frames???

    hi!!

    I have a username txt field and a label.label takes value dynamically from user txt field.

    [HTML]<html>
    <head>
    <script >
    function fun()
    { msg.innerText=" \t"+frm.usid.va lue +"!"}
    </script>
    </head>
    <body>
    <form name="frm"><BR> <BR>...
    See more | Go to post
    Last edited by acoder; Dec 13 '07, 11:10 AM. Reason: Added code tags

  • python24
    replied to sorting
    hi...

    This is a very simple code which might help you.



    n=int(raw_input ('enter no. of lists'))
    s=[]
    for i in range(n):
    l=[]
    for j in range(2):
    l.append(int(ra w_input('enter element')))
    print l
    s.append(l)
    print s

    s.sort()
    #print s
    x=[]
    for i in range(0,len(s)-1):
    ...
    See more | Go to post

    Leave a comment:


  • python24
    started a topic csv to array

    csv to array

    hi,I am new to python.
    my csv file contains data with combination of strings and integers.if i try to store it in a array using array module,type code is not matching.
    as csv reader returns list of lists,wat type code i have to give??

    a=array.array(' typecode',[initalizer])

    wats the solution for it?
    See more | Go to post
No activity results to display
Show More
Working...