mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-18 17:43:45 +01:00
31 lines
No EOL
1 KiB
Python
31 lines
No EOL
1 KiB
Python
#!/usr/bin/env python
|
|
|
|
## Copyright (C) 2008 Kovid Goyal kovid@kovidgoyal.net
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; either version 2 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License along
|
|
## with this program; if not, write to the Free Software Foundation, Inc.,
|
|
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
'''
|
|
Embedded console for debugging.
|
|
'''
|
|
|
|
import sys
|
|
|
|
def main(args=sys.argv):
|
|
from IPython.Shell import IPShellEmbed
|
|
ipshell = IPShellEmbed()
|
|
ipshell()
|
|
|
|
return 0
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main()) |