Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 12th, 2018
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
sys
def
pipe
(
func
)
:
while
True
:
val
=
yield
func
(
val
)
x
=
pipe
(
sys
.
stdout
.
write
)
x.
next
(
)
x.
send
(
"Hello, World!
\n
"
)
x.
send
(
"This is fucking weird!
\n
"
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Funcion Menu
C++ | 5 min ago | 0.54 KB
TABLE `fractionvehicles`
MySQL | 28 min ago | 15.63 KB
Load CL.exe for Visual Studio Code
Winbatch | 40 min ago | 0.90 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 47 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 54 min ago | 0.38 KB
Untitled
C# | 1 hour ago | 4.76 KB
ImmortalHub v1.2
Lua | 1 hour ago | 0.07 KB
Wayfire.ini_now
INI file | 1 hour ago | 21.08 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!