1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

(Need Help) Either python or imacros to delete first line in a .csv file

Discussion in 'General Scripting Chat' started by matt1972, Aug 21, 2010.

  1. matt1972

    matt1972 Regular Member

    Joined:
    Nov 19, 2009
    Messages:
    499
    Likes Received:
    206
    Occupation:
    To make money
    Location:
    192.168.0.1
    I have managed to put together all my scripts to post articles for me but I am stuck on having either Imacros or Python delete the first line in my .csv file. My .csv file contains two columns, one for user name and password. What I need is to have the first line deleted by a python script or have it skipped by Imacros so I can loop my script and have my Imacros script go to the next user name and log in and post my articles.

    Any help on this would be much appreciated as I am kinda stuck on this issue right now. Thanks.
     
  2. Numa68

    Numa68 Registered Member

    Joined:
    May 21, 2009
    Messages:
    78
    Likes Received:
    28
    Occupation:
    I break things
    Location:
    North Carolina
    In iMacros you can skip the first line of a datasource by setting the !LOOP variable to 2, such as "SET !LOOP 2".