Skip to content

"excel" csv option generates multiple lines #46892

Closed

Description

@laxrulz777
BPO 2640
Nosy @smontanaro
Files
  • unnamed
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-04-16.20:01:03.889>
    created_at = <Date 2008-04-15.17:38:58.137>
    labels = ['extension-modules', 'invalid']
    title = '"excel" csv option generates multiple lines'
    updated_at = <Date 2008-04-16.20:01:03.887>
    user = 'https://bugs.python.org/laxrulz777'

    bugs.python.org fields:

    activity = <Date 2008-04-16.20:01:03.887>
    actor = 'skip.montanaro'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-04-16.20:01:03.889>
    closer = 'skip.montanaro'
    components = ['Extension Modules']
    creation = <Date 2008-04-15.17:38:58.137>
    creator = 'laxrulz777'
    dependencies = []
    files = ['10042']
    hgrepos = []
    issue_num = 2640
    keywords = []
    message_count = 3.0
    messages = ['65523', '65534', '65562']
    nosy_count = 2.0
    nosy_names = ['skip.montanaro', 'laxrulz777']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue2640'
    versions = ['Python 2.5']

    Activity

    1. laxrulz777 commented on Apr 15, 2008

      laxrulz777mannequin
      MannequinAuthor

      Current: csv.py indicates lineterminator = '\r\n'
      Issue: looks fine in notepad but when pulled into excel (office 2003)
      extra lines are added
      Resolution: should read lineterminator = '\r'

    2. added
      extension-modules
      on Apr 15, 2008
    3. smontanaro commented on Apr 15, 2008

      @smontanaro
      Contributor

      What platform are you on? Did you open the output file in
      binary mode? I sort of suspect you failed to add 'b' to the
      file mode and are getting a text file.

    4. laxrulz777 commented on Apr 16, 2008

      laxrulz777mannequin
      MannequinAuthor

      you're absolutely correct, i apologize.

      On Tue, Apr 15, 2008 at 7:40 PM, Skip Montanaro <report@bugs.python.org>
      wrote:

      Skip Montanaro <skip@pobox.com> added the comment:

      What platform are you on? Did you open the output file in
      binary mode? I sort of suspect you failed to add 'b' to the
      file mode and are getting a text file.

      ----------
      nosy: +skip.montanaro


      Tracker <report@bugs.python.org>
      <http://bugs.python.org/issue2640\>


    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      extension-modules

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions