This file contains hidden or 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
package com.roxasroottoolbox | |
import android.content.res.Resources | |
import android.os.Build | |
import android.util.Log | |
import androidx.annotation.RequiresApi | |
import com.facebook.react.bridge.* | |
class DynamicColorModule2(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) { | |
override fun getName() = "DynamicColorModule" |
This file contains hidden or 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
<html> | |
<head> | |
<title>El tiempo de agosto para Concepción del Uruguay 2018 - Pronóstico de AccuWeather para Entre Ríos Argentina (ES)</title> | |
<link rel="canonical" href="https://www.accuweather.com/es/ar/concepcion-del-uruguay/3638/august-weather/3638"> | |
<link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.accuweather.com/es/ar/concepcion-del-uruguay/3638/august-weather/3638"> | |
<link rel="alternate" media="handheld" href="https://m.accuweather.com/es/ar/concepcion-del-uruguay/3638/august-weather/3638"> | |
<meta name="viewport" content="width=988"> | |
<link rel="stylesheet" href="https://vortex.accuweather.com/adc2010/stylesheets/slate.min-20180606-1001.css" type="text/css" media="all"> | |
<link rel="shortcut icon" href="https://vortex.accuweather.com/adc2010/images/favicons/awx-2013-master.ico"> | |
<link href="https://www.googletagservices.com" rel="preconnect" crossorigin=""> |
This file contains hidden or 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
NOMBRE_DEL_ARCHIVO = 'prueba.txt' | |
with open(NOMBRE_DEL_ARCHIVO, mode='w+') as archivo: | |
archivo.write('Hola mundo!! \n') |
This file contains hidden or 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 sumar(a, b): | |
return a + b | |
def saludar(nombre): | |
print 'Hola ' + nombre + '!' | |
def cinco(): | |
return 5 | |
resultado = sumar(5, 6) # 11 |
This file contains hidden or 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
# Listas | |
letras = ['A', 'B', 'C', 'd', 'f'] | |
# Tuplas | |
datos_persona = ('Ramiro', 25, False) | |
# Diccionarios | |
persona = { | |
'Nombre': 'Ramiro', |
This file contains hidden or 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
# Este ejemplo muestra en pantalla los numeros del 0 al 99 | |
for i in range(0,100): | |
print(i) | |
# Este, por otra parte, imprime las letras A, B, C y D | |
for letra in ['A', 'B', 'C', 'D']: | |
print(letra) | |
# En este caso estamos imprimiendo de nuevo los numeros del 0 al 100 |
This file contains hidden or 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
####### Operadores sobre Cadenas de texto | |
nombre = 'Ramiro ' | |
saludo = 'Hola, ' | |
# Concatenacion | |
resultado = saludo + nombre # 'Hola, Ramiro ' | |
# Caracteres | |
inicial = nombre[0] # 'R' |
This file contains hidden or 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
nombre_perro = 'Max' | |
edad = 32 | |
esta_nublado = True |