<s> import os , sys ; sys . path . insert ( <NUM_LIT:0> , os . path . join ( os . path . dirname ( __file__ ) , "<STR_LIT:..>" , "<STR_LIT:..>" ) ) <EOL> from pattern . web import Wikipedia <EOL> engine = Wikipedia ( language = "<STR_LIT>" ) <EOL> article = engine . search ( "<STR_LIT>" , cached = True , timeout = <NUM_LIT:30> ) <EOL> print article . title <EOL> print <EOL> print article . languages [ "<STR_LIT>" ] <EOL> print article . links [ : <NUM_LIT:10> ] , "<STR_LIT>" <EOL> print article . external [ : <NUM_LIT:5> ] , "<STR_LIT>" <EOL> print <EOL> for s in article . sections : <EOL> print s . title . upper ( ) <EOL> print <EOL> print s . content <EOL> print </s>
