Posts by Krossbow • 104 points
6 posts
-
0
votes1
answer32
viewsA: Building a Web Scraping with Python
What causes this problem is that elements without Views and elements with multiple Views have completely different classes. Here are two examples I took from the page: <span…
web-scrapinganswered Krossbow 104 -
0
votes2
answers300
viewsA: How to insert checkbox dynamically from Python/Flask code?
from flask import Flask import os # os.walk() app = Flask("checkboxes") # from flask def checkboxes(directory): all_names = "" template = "{}: <input…
-
1
votes1
answer227
viewsA: What does 'redacts password' mean?
I recommend using that link for the user to be automatically taken to the question session. As far as I know, redacts means "censorship" or "hide" in the present indicative, this would be necessary…
-
0
votes2
answers467
viewsA: Iterate a list inside a switch
Python does not have a function switch as far as I know, if this is crucial to the program you can use this package: (https://pypi.python.org/pypi/switch/1.1.0) which is similar to the C, C++, Java,…
-
4
votes1
answer553
viewsQ: Show date by terminal
Just as you can change the linux date by the terminal in the format {month}{day}{time}{minute}{year}, all together, I wanted to know how to save the current date in a variable (Python), change the…
-
2
votes1
answer107
viewsQ: Javascript - Capture src by class name
How to capture the attribute src of an image with a class name x? for example: var Image = document.getElementByClassName("Picture"); console.log(Image.src)…
javascriptasked Krossbow 104