SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru arunkumar's Avatar
    Join Date
    Jan 2005
    Location
    India:Chennai
    Posts
    827
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Query in Phython script

    Hellooo All,

    Can any one please let me know what the below phyton script is doing



    Python

    Newline_set

    fields = $reform_out2.field_names()

    return not "newline" in fields




    is field_names() is a built in function in python

    Thanks n Advance,
    Arunkumar
    Last edited by arunkumar; May 16, 2008 at 12:33.
    Where there is a will there is a way
    ArunKumar

  2. #2
    SitePoint Member
    Join Date
    May 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    field_names() is not a built-in function in Python

    By the way, are you sure it's Python? I've never seen Python identifiers starting with "$".
    Thousands of sites have been hacked recently.
    Unmask Parasites: Check if your site is still yours.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •