yt.utilities.lodgeit module¶
LodgeIt!¶
A script that pastes stuff into the enzotools pastebin on paste.enzotools.org.
Modified (very, very slightly) from the original script by the authors below.
.lodgeitrc / _lodgeitrc¶
Under UNIX create a file called ~/.lodgeitrc
, under Windows
create a file %APPDATA%/_lodgeitrc
to override defaults:
language=default_language
clipboard=true/false
open_browser=true/false
encoding=fallback_charset
- authors:
2007-2008 Georg Brandl <georg@python.org>, 2006 Armin Ronacher <armin.ronacher@active-4.com>, 2006 Matt Good <matt@matt-good.net>, 2005 Raphael Slinckx <raphael@slinckx.net>
- yt.utilities.lodgeit.compile_paste(filenames, langopt)[source]¶
Create a single paste out of zero, one or multiple files.
- yt.utilities.lodgeit.create_paste(code, language, filename, mimetype, private)[source]¶
Create a new paste.