Skip to content

Instantly share code, notes, and snippets.

Avatar

kikocorreoso

  • smileland
View GitHub Profile
@kikocorreoso
kikocorreoso / EvolucionDemandaElectrica(2020-03-30).ipynb
Created Mar 20, 2020
Evolución Demanda Eléctrica España (2020-03-20)
View EvolucionDemandaElectrica(2020-03-30).ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / index.html
Created Jul 24, 2019
Brython "AJAX" comments
View index.html
<!doctype html>
<html>
<head>
<title>Brython ajax example for comments</title>
<meta charset="UTF-8">
<noscript>Please enable Javascript to view this page correctly.</noscript>
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.7.4/brython.min.js"></script>
<script type="text/python">
from browser import document as doc, alert, html
@kikocorreoso
kikocorreoso / index.html
Last active Dec 5, 2017
Brython app embedded in PyQt5. Save all the files on the same folder and run main.py
View index.html
<!DOCTYPE html>
<html><head>
<meta name="description" content="Brython">
<meta name="keywords" content="Python,Brython">
<meta name="author" content="Pierre Quentel">
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<noscript>Please enable Javascript to view this page correctly.</noscript>
<script type="text/javascript" src="brython.js"></script>
View ifremer_data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / DataScienceCourse_assignment6.ipynb
Created Feb 8, 2016
UW coursera Data Science Course - assignment 6
View DataScienceCourse_assignment6.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / birtualenb.py
Created Dec 2, 2015
Proof of concept to see the possibility to inherit venvs in an easy way
View birtualenb.py
import os
import sys
import argparse
import subprocess
from venv import EnvBuilder
# Custom options
parser = argparse.ArgumentParser(description='inherit venvs')
parser.add_argument(
'--other-venv-paths',
View R_puntoflotante.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / brythonmagic-highstosk.ipynb
Created Nov 22, 2014
Example of use og HighStock with Bython and Brythonmagic in the IPython notebook
View brythonmagic-highstosk.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kikocorreoso
kikocorreoso / ddg_magic.py
Created Sep 6, 2014
Duckduckgo magic for he IPython notebook
View ddg_magic.py
from IPython.display import IFrame
def ddg(self, arg):
phrase = arg.replace(' ', '+')
url = "https://duckduckgo.com/?&q={0}".format(phrase)
return IFrame(url, 600, 400)
ip = get_ipython()
ip.define_magic('ddg', ddg)
View IPythontutor.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.