[ Launch: LFA ] 265a022a8baeb9e24cef by vse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# chatbot dialog from https://web.archive.org/web/20130210145908/http://www.yiransheng.com/2010/03/bot | |
# use any voice you like from this list of voices: https://gist.github.com/mculp/4b95752e25c456d425c6 | |
# have fun | |
a1="say -v Alex" | |
a2="say -v Victoria" | |
$a1 "You like the movie Matrix?" |
[ Launch: LFA ] b155269d96f2b45e5e06 by vse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
logging.basicConfig(level=logging.DEBUG, filename='/tmp/test.log') | |
log = logging.getLogger() | |
log.info("info") | |
log.debug("debug") | |
log.error("error") |