<s> """<STR_LIT>""" <EOL> import clr <EOL> import sys <EOL> import time <EOL> sys . path . append ( r"<STR_LIT:.>" ) <EOL> sys . path . append ( r"<STR_LIT>" ) <EOL> sys . path . append ( r"<STR_LIT>" ) <EOL> clr . AddReference ( "<STR_LIT>" ) <EOL> clr . AddReference ( "<STR_LIT>" ) <EOL> from System . Reactive . Linq import Observable <EOL> from System . Reactive import Observer <EOL> import rx <EOL> stream = rx . subjects . Subject ( ) <EOL> def on_next ( x ) : <EOL> print "<STR_LIT>" % x <EOL> stream . subscribe ( on_next ) <EOL> def OnNext ( x ) : <EOL> print "<STR_LIT>" % x <EOL> stream . on_next ( x ) <EOL> obs = Observer . Create [ int ] ( OnNext ) <EOL> xs = Observable . Range ( <NUM_LIT:1> , <NUM_LIT:10> ) <EOL> xs . Subscribe ( obs ) <EOL> print "<STR_LIT>" </s>
