Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
12k views

EBCDIC to ASCII Conversions

I have mainframe file in EBCDIC format and I want to convert those files into ASCII format. I have tried converting EBCDIC to ASCII using python 2.6 but there are many issues in that like compression ...
user avatar
0 votes
0 answers
241 views

UnicodeDecodeError while printing in python

Program: import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) host = '101.72.14.20' port = 23 s.connect((host, port)) tm = s.recv(1024) s.close() print("The time got from the server is ...
mohangraj's user avatar
  • 11.2k