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 sympy import * | |
init_printing() | |
x, u, t, c = symbols('x u t c') | |
expr1 = Derivative(u, t, 2) | |
expr2 = c * Derivative(u, x, 2) | |
Eq(expr1, expr2) |
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
def unity_or_especial(n, separator=nil) | |
case n | |
when 1 | |
if separator.nil? | |
return 'UNO' | |
#return 'UN' | |
else | |
return '' | |
end | |
when 2 |
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
LoadModule wsgi_module modules/mod_wsgi.so | |
WSGIPythonHome "ruta_absoluta_entorno_virtual\\" | |
WSGIPythonPath "ruta_absoluta_apache\\htdocs\\mi_proyecto\\" | |
<VirtualHost *:*> | |
WSGIScriptAlias / "ruta_absoluta_apache\\htdocs\\mi_proyecto\\mi_proyecto\\wsgi.py" | |
Alias /static/ "ruta_absoluta_apache\\htdocs\\mi_proyecto\\deploy\\static\\" | |
Alias /media/ "ruta_absoluta_apache\\htdocs\\mi_proyecto\\deploy\\media\\" | |
<Directory "ruta_absoluta_apache\\htdocs\\mi_proyecto\\mi_proyecto\\" > |
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
#! /usr/bin/python | |
#encoding: utf-8 | |
__author__ = "Dj_System" | |
__date__ = "$12/02/2017 12:13:05 AM$" | |
__url__ = "http://www.pythondiario.com/2015/05/descarga-videos-de-la-web-con-python-de.html" | |
from datetime import date, datetime, timedelta | |
import urllib2 | |
from bs4 import BeautifulSoup |