Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. % echo "hello world" > file
  2.  
  3. % grep --color=auto lo file
  4. hello world
  5.  
  6. % grep --color=auto lo file | cat
  7. hello world
  8.  
  9. /* CODE. Input will be parsed and executed */
  10. int
  11. PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit,
  12. PyCompilerFlags *flags)
  13. {
  14. if (filename == NULL)
  15. filename = "???";
  16. if (Py_FdIsInteractive(fp, filename)) {
  17. int err = PyRun_InteractiveLoopFlags(fp, filename, flags);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement