PEQUEÑA AYUDA EN ESTE CÓDIGO EN PYTHON

Tengo el siguiente código que toma como parámetro una lista como la descrita y devuelva la longitud del nombre más largo y quería saber porque en ciertas pruebas que realizo se me cumple y en otras no. El programa solo me fallaen estas dos pruebas de 8 que realicé

Prueas en las que falla: input: [‘John’,’Paul’,’Christopher’,’Peter’] output: 11 Me devuelve:5

input: [‘Max’,’Kate’,’Fred’] output: 4 Me devuelve: 3

import functions  names = ['Max','Kate','Fred'] length = functions.longest(names) print("El nombre más largo tiene longitud", length)   def longest(names):     longitud = len(max(names))       return longitud 

Flutter me está dando un error y necesito ayuda para resolverlo

enderBox was not laid out: RenderDecoratedBox#6993a relayoutBoundary=up1 ‘package:flutter/src/rendering/box.dart’: Failed assertion: line 1681 pos 12: ‘hasSize’ User-created ancestor of the error-causing widget was: Container file:///C:/Users/XmGpo/AndroidStudioProjects/proyecto_tienda/lib/componentes/productos.dart:93:27 ════════════════════════════════════════════════════════════════════════════════════════════════════ E/flutter (20017): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Cannot hit test a render box with no size. E/flutter (20017): The hitTest() method was called on this RenderBox: RenderDecoratedBox#6993a relayoutBoundary=up1: E/flutter (20017): creator: DecoratedBox ← Container ← Positioned ← Stack ← GridTile ← _PointerListener ← Listener ← _GestureSemantics ← RawGestureDetector ← GestureDetector ← MouseRegion ← InkWell ← ⋯ E/flutter (20017): parentData: right=0.0; bottom=0.0; left=0.0; offset=Offset(0.0, 0.0) (can use size) E/flutter (20017): constraints: BoxConstraints(w=172.0, 0.0<=h<=Infinity) E/flutter (20017): size: MISSING E/flutter (20017): decoration: BoxDecoration: E/flutter (20017): color: Color(0xb3ffffff) E/flutter (20017): configuration: ImageConfiguration(bundle: PlatformAssetBundle#6855e(), devicePixelRatio: 4.0, locale: en_US, textDirection: TextDirection.ltr, platform: android) E/flutter (20017): Although this node is not marked as needing layout, its size is not set. E/flutter (20017): A RenderBox object must have an explicit size before it can be hit-tested. Make sure that the RenderBox in question sets its size during layout. E/flutter (20017): #0 RenderBox.hitTest. (package:flutter/src/rendering/box.dart:2111:9) E/flutter (20017): #1 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2126:6) E/flutter (20017): #2 RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2481:24) E/flutter (20017): #3 BoxHitTestResult.addWithRawTransform (package:flutter/src/rendering/box.dart:795:31) E/flutter (20017): #4 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:752:12) E/flutter (20017): #5 RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2476:33) E/flutter (20017): #6 RenderStack.hitTestChildren (package:flutter/src/rendering/stack.dart:585:12) E/flutter (20017): #7 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #8 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #9 RenderProxyBoxWithHitTestBehavior.hitTest (package:flutter/src/rendering/proxy_box.dart:161:19) E/flutter (20017): #10 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #11 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #12 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #13 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #14 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #15 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #16 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #17 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #18 RenderPhysicalModel.hitTest (package:flutter/src/rendering/proxy_box.dart:1716:18) E/flutter (20017): #19 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #20 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #21 RenderOffstage.hitTest (package:flutter/src/rendering/proxy_box.dart:3146:31) E/flutter (20017): #22 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #23 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #24 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #25 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #26 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #27 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #28 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #29 RenderCustomPaint.hitTestChildren (package:flutter/src/rendering/custom_paint.dart:508:18) E/flutter (20017): #30 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #31 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #32 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #33 RenderPhysicalShape.hitTest (package:flutter/src/rendering/proxy_bo E/flutter (20017): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Cannot hit test a render box with no size. E/flutter (20017): The hitTest() method was called on this RenderBox: RenderDecoratedBox#6993a relayoutBoundary=up1: E/flutter (20017): creator: DecoratedBox ← Container ← Positioned ← Stack ← GridTile ← _PointerListener ← Listener ← _GestureSemantics ← RawGestureDetector ← GestureDetector ← MouseRegion ← InkWell ← ⋯ E/flutter (20017): parentData: right=0.0; bottom=0.0; left=0.0; offset=Offset(0.0, 0.0) (can use size) E/flutter (20017): constraints: BoxConstraints(w=172.0, 0.0<=h<=Infinity) E/flutter (20017): size: MISSING E/flutter (20017): decoration: BoxDecoration: E/flutter (20017): color: Color(0xb3ffffff) E/flutter (20017): configuration: ImageConfiguration(bundle: PlatformAssetBundle#6855e(), devicePixelRatio: 4.0, locale: en_US, textDirection: TextDirection.ltr, platform: android) E/flutter (20017): Although this node is not marked as needing layout, its size is not set. E/flutter (20017): A RenderBox object must have an explicit size before it can be hit-tested. Make sure that the RenderBox in question sets its size during layout. E/flutter (20017): #0 RenderBox.hitTest. (package:flutter/src/rendering/box.dart:2111:9) E/flutter (20017): #1 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2126:6) E/flutter (20017): #2 RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2481:24) E/flutter (20017): #3 BoxHitTestResult.addWithRawTransform (package:flutter/src/rendering/box.dart:795:31) E/flutter (20017): #4 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:752:12) E/flutter (20017): #5 RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2476:33) E/flutter (20017): #6 RenderStack.hitTestChildren (package:flutter/src/rendering/stack.dart:585:12) E/flutter (20017): #7 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #8 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #9 RenderProxyBoxWithHitTestBehavior.hitTest (package:flutter/src/rendering/proxy_box.dart:161:19) E/flutter (20017): #10 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #11 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #12 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #13 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #14 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #15 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #16 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #17 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #18 RenderPhysicalModel.hitTest (package:flutter/src/rendering/proxy_box.dart:1716:18) E/flutter (20017): #19 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #20 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #21 RenderOffstage.hitTest (package:flutter/src/rendering/proxy_box.dart:3146:31) E/flutter (20017): #22 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #23 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #24 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #25 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #26 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #27 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #28 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #29 RenderCustomPaint.hitTestChildren (package:flutter/src/rendering/custom_paint.dart:508:18) E/flutter (20017): #30 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #31 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #32 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #33 RenderPhysicalShape.hitTest (package:flutter/src/rendering/proxy_bo E/flutter (20017): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Cannot hit test a render box with no size. E/flutter (20017): The hitTest() method was called on this RenderBox: RenderDecoratedBox#6993a relayoutBoundary=up1: E/flutter (20017): creator: DecoratedBox ← Container ← Positioned ← Stack ← GridTile ← _PointerListener ← Listener ← _GestureSemantics ← RawGestureDetector ← GestureDetector ← MouseRegion ← InkWell ← ⋯ E/flutter (20017): parentData: right=0.0; bottom=0.0; left=0.0; offset=Offset(0.0, 0.0) (can use size) E/flutter (20017): constraints: BoxConstraints(w=172.0, 0.0<=h<=Infinity) E/flutter (20017): size: MISSING E/flutter (20017): decoration: BoxDecoration: E/flutter (20017): color: Color(0xb3ffffff) E/flutter (20017): configuration: ImageConfiguration(bundle: PlatformAssetBundle#6855e(), devicePixelRatio: 4.0, locale: en_US, textDirection: TextDirection.ltr, platform: android) E/flutter (20017): Although this node is not marked as needing layout, its size is not set. E/flutter (20017): A RenderBox object must have an explicit size before it can be hit-tested. Make sure that the RenderBox in question sets its size during layout. E/flutter (20017): #0 RenderBox.hitTest. (package:flutter/src/rendering/box.dart:2111:9) E/flutter (20017): #1 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2126:6) E/flutter (20017): #2 RenderBoxContainerDefaultsMixin.defaultHitTestChildren. (package:flutter/src/rendering/box.dart:2481:24) E/flutter (20017): #3 BoxHitTestResult.addWithRawTransform (package:flutter/src/rendering/box.dart:795:31) E/flutter (20017): #4 BoxHitTestResult.addWithPaintOffset (package:flutter/src/rendering/box.dart:752:12) E/flutter (20017): #5 RenderBoxContainerDefaultsMixin.defaultHitTestChildren (package:flutter/src/rendering/box.dart:2476:33) E/flutter (20017): #6 RenderStack.hitTestChildren (package:flutter/src/rendering/stack.dart:585:12) E/flutter (20017): #7 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #8 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #9 RenderProxyBoxWithHitTestBehavior.hitTest (package:flutter/src/rendering/proxy_box.dart:161:19) E/flutter (20017): #10 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #11 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #12 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #13 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #14 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #15 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #16 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #17 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #18 RenderPhysicalModel.hitTest (package:flutter/src/rendering/proxy_box.dart:1716:18) E/flutter (20017): #19 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #20 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #21 RenderOffstage.hitTest (package:flutter/src/rendering/proxy_box.dart:3146:31) E/flutter (20017): #22 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #23 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #24 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #25 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #26 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #27 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #28 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #29 RenderCustomPaint.hitTestChildren (package:flutter/src/rendering/custom_paint.dart:508:18) E/flutter (20017): #30 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #31 RenderProxyBoxMixin.hitTestChildren (package:flutter/src/rendering/proxy_box.dart:114:19) E/flutter (20017): #32 RenderBox.hitTest (package:flutter/src/rendering/box.dart:2128:11) E/flutter (20017): #33 RenderPhysicalShape.hitTest (package:flutter/src/rendering/proxy_bo

ayuda!! como puedo insertar una cadena de numeros en una linea de archivo bash?

el comando sed, me ayuda a sustituir muy bien cadenas en lineas de bash, pero cuando quiero insertar la siguiente cadena 127.0.0.1/32 en un archivo tengo el siguiente error : sed: -e expresion #1,caracter 18:opcion desconocida para `s'. inclusive cuando quiero sustituir la cadena 127.0.0.1 sustituye bien, el problema es cuando le añado la cadena /32 parece que sed tiene un problema, a continuacion el codigo.

#! /bin/bash  var1="127.0.0.1" var1=$  var1"/32"  #como resultado en la variable var1 tengo ya "127.0.0.1/32" #ahora...  sed -i "7s/ /$  var1/" archivo.txt  

agradesco mucho su ayuda…

necesito ayuda con la creacion de una matriz binaria en python

tengo que hacer una matriz rellenada con todas las combinaciones posibles de 0 y 1, con n cantidad de columnas, por ejemplo si son 2 columnas seria:

[[0,0],[0,1],[1,0],[1,1]]

con 3 seria:

[[0,0,0],[0,0,1],[0,1,0],…,[1,1,1]]

el problema es que tengo que hacerlo con recursividad, segun yo deberia funcionar con este codigo, pero nose porque entra al if si el tamaño de la lista es mayor al tamaño, si alguien puede ayudarme desde ya le agradezco. dejo el codigo en python de lo que hice

global tam tam=3 def matriz(candidato):     if(len(candidato)<tam):         auxi=candidato         auxi.append(0)         matriz(auxi)         print(candidato)         auxd=candidato         auxd.append(1)         matriz(auxd)     else:         print(candidato)   matriz([]) 

Necesito ayuda con conocimientos php,html,soy nuevo

¡Muy buenos días!, soy nuevo usuario aquí y necesito un poquito de ayuda. Me gustaría Crear una web para vender productos,estuve mirando plataformas como prestashop,shopify etc.Pero entre el hosting,lo que tengo que pagar todos los meses,y lo que encima valen los módulos me sale a +1000 euros la broma y no puedo permitirme eso ahora mismo.

Lo que os pido es si alguien puede ayudarme(guiarme de manera aproximada),como funciona el php,con html,la inclusion de las tablas (no sé si se dice así,)como implementar una pasarela de pago, carritos y cosas así,al menos si alguien puede ayudarme con lo más minimo,lo agradeceria muy mucho!

¡Gracias de antemano!

ayuda aplicación de pilas en python

me encantaría que me ayudaran con el siguiente problema:

Escribir un programa en el que se manejen un total de n=5 pilas: P1,P2,P3,P4 y P5. La entrada de datos serán pares de enteros (i,j) tal que 1≤abs(i)≤n. De tal forma que el criterio de selección de pila será: • Si i es positivo, debe insertarse el elemento j en la pila Pi. • Si i es negativo, debe eliminarse el elemento j de la pila Pi. • Si i es cero, fin del proceso de entrada. Los datos de entrada se introducen por teclado. Cuando termina el proceso el programa debe escribir el contenido de la n Pilas en pantalla

Variables de clases utilizadas en funciones – Python (Ayuda)

He empezado un proyecto en Udemy de Python, más concretamente el Milestone Project 2, en este, se utilizan muchas clases y funciones, pero hay una cosa particularmente que me cuesta entender. ¿Por qué cuando define una variable dentro de una clase la llama desde una función? Sería algo así como se muestra en el ejemplo de abajo:

> class Example: >  > def __init__(self): >  > self.value = 0 >  >  >  > def example(some_variable): >  > print(some_variable.value) 

¿Cómo es esto posible? Gracias y disculpad por la ignorancia, tal vez, he sido yo que no lo he entendido bien.

Codigo completo aquí

Ayuda, ERROR en el script de ebooks por HEROKU. API no autentificada

estaba haciendo un ebook siguiendo este tutorial https://readwrite.com/2014/06/20/random-non-sequitur-twitter-bot-instructions/ por el momento todo va bien, hasta que llega el momento de ejecutar el codigo heroku run worker, donde me da error cuando debe escribir el tweet, siendo este En la primera ejecución el codigo funciona correctamente, pero asumo que en la segunda, acierta y sale escribir tweet, siendo ahi donde me da el error, donde dice que la API debe estar autentificada. En la primera ejecución el codigo funciona correctamente, pero asumo que en la segunda, acierta y sale escribir tweet, siendo ahi donde me da el error, donde dice que la API debe estar autentificada. El codigo de python que utiliza es este. (usuario y tokens los he eliminado para el post, no faltan en el codigo original. El odd también lo he modificado para que la probabilidad sea mayor)

from os import environ  ''' Local Settings for a heroku_ebooks account.  '''  # Configuration for Twitter API ENABLE_TWITTER_SOURCES = True # Fetch twitter statuses as source ENABLE_TWITTER_POSTING = True # Tweet resulting status? MY_CONSUMER_KEY = environ.get('')#Your Twitter API Consumer Key set in Heroku config MY_CONSUMER_SECRET = environ.get('')#Your Consumer Secret Key set in Heroku config MY_ACCESS_TOKEN_KEY = environ.get('')#Your Twitter API Access Token Key set in Heroku config MY_ACCESS_TOKEN_SECRET = environ.get('')#Your Access Token Secret set in Heroku config  # Sources (Twitter, Mastodon, local text file or a web page) TWITTER_SOURCE_ACCOUNTS = []  # A list of comma-separated, quote-enclosed Twitter handles of account that you'll generate tweets based on. It should look like ["account1", "account2"]. If you want just one account, no comma needed. MASTODON_SOURCE_ACCOUNTS = [""] # A list, e.g. ["@user@instance.tld"] SOURCE_EXCLUDE = r'^$  '  # Source tweets that match this regexp will not be added to the Markov chain. You might want to filter out inappropriate words for example. STATIC_TEST = False  # Set this to True if you want to test Markov generation from a static file instead of the API. TEST_SOURCE = ".txt"  # The name of a text file of a string-ified list for testing. To avoid unnecessarily hitting Twitter API. You can use the included testcorpus.txt, if needed. SCRAPE_URL = False  # Set this to true to scrape a webpage. SRC_URL = ['http://www.example.com/one', 'https://www.example.com/two']  # A comma-separated list of URLs to scrape WEB_CONTEXT = ['span', 'h2']  # A comma-separated list of the tag or object to search for in each page above. WEB_ATTRIBUTES = [{'class': 'example-text'}, {}] # A list of dictionaries containing the attributes for each page.  ODDS = 4  # How often do you want this to run? 1/8 times? ORDER = 2  # How closely do you want this to hew to sensical? 2 is low and 4 is high.  DEBUG = False  # Set this to False to start Tweeting live TWEET_ACCOUNT = ""  # The name of the account you're tweeting to.  #Configuration for Twitter parser. TEST_SOURCE will be re-used as as the corpus location. TWITTER_ARCHIVE_NAME = "tweets.csv" #Name of your twitter archive IGNORE_RETWEETS = True #If you want to remove retweets