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
[traitletsargs] C:\Users\Chris\Development>python -m jupyter_core.command nbcon | |
ert "0 - name.ipynb" --to slides --post serve | |
[traitletsargs] C:\Users\Chris\Development>This application is used to convert | |
otebook files (*.ipynb) to various other | |
formats. | |
WARNING: THE COMMANDLINE INTERFACE MAY CHANGE IN FUTURE RELEASES. |
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
[traitletsargs] C:\Users\Chris\Development>python -m nbconvert.__main__ "0 - nam | |
e.ipynb" --to slides --post serve | |
[NbConvertApp] Converting notebook 0 - name.ipynb to slides | |
Traceback (most recent call last): | |
File "C:\Anaconda\envs\traitletsargs\lib\runpy.py", line 162, in _run_module_a | |
s_main | |
"__main__", fname, loader, pkg_name) | |
File "C:\Anaconda\envs\traitletsargs\lib\runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\__main__.py", |
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
function createFuture(kernel: IKernel, msgId: string, shellPromise: Promise<IKernelMessage>): IKernelFuture { | |
var future = new KernelFutureHandler(msgId); | |
kernel.iopubReceived.connect(future.handleIOPub, future); | |
kernel.stdinReceived.connect(future.handlerStdin, future); | |
shellPromise.then(msg => future.handleReply(kernel, msg)); | |
return future; | |
} | |
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
class MyGridStackContainer extends Widget { | |
constructor(options: GridStackOptions) { | |
$(this.node).gridstack(options) | |
} | |
protected onChildAdded(msg: ChildMessage): void { | |
msg.child.addClass('grid-stack-item'); | |
} | |
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
from threading import Thread | |
from time import sleep | |
from atom.api import Atom, Bool, Int | |
from enaml.application import deferred_call | |
from enaml.widgets.api import Window, Container, ProgressBar, PushButton | |
class Model(Atom): |
NewerOlder