Skip to content

How to force save_as to use different file_type than the extension. #182

Description

@rgacote

Need to write to an intermediate filename with a non-csv extension.
Example code:
pyexcel.save_as( array=rows, dest_file_name=filename.csv.prg, encoding="utf-8", dialect="excel" ) os.rename(progress_path, export_path)
Tried adding dest_file_type argument, but that looks to only work when I write to memory.
Is there a way to tell save_as this is a .csv file even though the extension is not .csv?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions