Skip to content

Instantly share code, notes, and snippets.

@metasyn
Created October 6, 2018 19:52
Show Gist options
  • Save metasyn/468260d0b942de1730bf68e2555ab182 to your computer and use it in GitHub Desktop.
Save metasyn/468260d0b942de1730bf68e2555ab182 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import sys
if __name__ == "__main__":
print("Inside a python process!")
print("Reading from stdin... (e.g. a chunk)")
print("="*70)
print(sys.stdin.readline())
print("="*70)
print("Exiting now from python!")
sys.exit(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment