PyTher


In [1]:
print("Hola PyTher")


Hola PyTher

In [ ]:


In [ ]:


In [ ]:


In [ ]:


In [ ]:


In [2]:
from IPython.core.display import HTML
HTML(filename='../slides.html')


---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-2-55c1e8f764ed> in <module>()
      1 from IPython.core.display import HTML
----> 2 HTML(filename='../slides.html')

/home/andres-python/anaconda3/lib/python3.5/site-packages/IPython/core/display.py in __init__(self, data, url, filename)
    392         self.filename = None if filename is None else unicode_type(filename)
    393 
--> 394         self.reload()
    395         self._check_data()
    396 

/home/andres-python/anaconda3/lib/python3.5/site-packages/IPython/core/display.py in reload(self)
    410         """Reload the raw data from file or URL."""
    411         if self.filename is not None:
--> 412             with open(self.filename, self._read_flags) as f:
    413                 self.data = f.read()
    414         elif self.url is not None:

FileNotFoundError: [Errno 2] No such file or directory: '../slides.html'

In [ ]:
!ipython nbconvert 'CAIQ.ipynb' --to slides --post serve


[TerminalIPythonApp] WARNING | Subcommand `ipython nbconvert` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter nbconvert` in the future
[NbConvertApp] Converting notebook CAIQ.ipynb to slides
[NbConvertApp] Writing 258131 bytes to CAIQ.slides.html
[NbConvertApp] Redirecting reveal.js requests to https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.1.0
Serving your slides at http://127.0.0.1:8000/CAIQ.slides.html
Use Control-C to stop this server
WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 1.59ms
WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 1.21ms
WARNING:tornado.access:404 GET /favicon.ico (127.0.0.1) 1.20ms
WARNING:tornado.access:404 GET /favicon.ico (127.0.0.1) 1.21ms
WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 1.21ms
WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.95ms

In [ ]:


In [ ]: