sepandhaghighi / art

🎨 ASCII art library for Python

Home Page:https://www.ascii-art.site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tsave bug in windows

sepandhaghighi opened this issue · comments

Description

It seems tsave function has some problems in Windows

Steps/Code to Reproduce

>>> from art import *
>>> tsave("test","block",filename="test.txt")
Saved!
Filename: test2.txt
{'Message': 'OK', 'Status': True}

Expected Behavior

expected

Actual Behavior

actual

Operating System

Windows 10

Python Version

Python 3.6

ART Version (Use : art.__version__)

ART 4.5

Test tables :

Windows

  1. Run tsave in Windows (ASCII font)
    • Transfer to Linux
    • Transfer to OSX
  2. Run tsave in Windows (Non-ASCII font)
    • Transfer to Linux
    • Transfer to OSX

Linux

  1. Run tsave in Linux (ASCII font)
    • Transfer to Windows
    • Transfer to OSX
  2. Run tsave in Linux (Non-ASCII font)
    • Transfer to Windows
    • Transfer to OSX

OSX

  1. Run tsave in OSX (ASCII font)
    • Transfer to Windows
    • Transfer to Linux
  2. Run tsave in OSX (Non-ASCII font)
    • Transfer to Windows
    • Transfer to Linux