Python Forum
turning my function into a context manager
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
turning my function into a context manager
#3
unlike C, in Python, being so late to the party, i am going to be doing many things that have already been done, before. it has always been my nature to develop tools and supplements for developments, and applications for system and network administration. one of my past project was a program on TOPS-20 to submit batch jobs to the IBM S370 model 168 mainframe OS/VS1 system, including ASCII/EBCDIC translation (and back for the job printouts). i also did my own backups of TOPS-20 files to tapes on the mainframe (w/o translation since much of it was in binary). then i wrote a program in ASM/370 to list those tape content (with the appropriate translations). it was fun dealing with 36-bit data on a 32-bit machine. Python could have been helpful if it were around in the early 1980s. at least the TOPS-20 side had C and PCL.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: turning my function into a context manager - by Skaperen - Nov-14-2019, 09:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  exception context Skaperen 0 2,336 Mar-06-2021, 08:42 PM
Last Post: Skaperen
  function to store in caller's context Skaperen 7 3,053 Jul-27-2020, 08:45 PM
Last Post: Skaperen
  i want to make my own context manager Skaperen 0 1,683 Nov-10-2019, 05:21 AM
Last Post: Skaperen
  same context functions Skaperen 12 5,316 Jun-18-2019, 06:09 PM
Last Post: Skaperen
  Windows Context Menu Depth GWild 0 2,334 Jan-27-2018, 07:18 AM
Last Post: GWild

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020