r...@zedat.fu-berlin.de (Stefan Ram) writes:
> "Michael F. Stemper" wrote or quoted:
>
> path = r'C:\Windows\example' + '\\'
>
You could even omit the '+'. Then the concatenation is done at parsing time
instead of run time.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DA
HenHanna writes:
> Given a text file of a novel (JoyceUlysses.txt) ...
>
> could someone give me a pretty fast (and simple) Python program that'd
> give me a list of all words occurring exactly once?
>
> -- Also, a list of words occurring once, twice or 3 times
>
>
>
> re: hyphenate
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> It can lead to errors:
>
> def first_word_beginning_with_e( list_ ):
> for word in list_:
> if word[ 0 ]== 'e': return word
> something_to_be_done_at_the_end_of_this_function()
>
> The call sometimes will not be executed here!