Category : javascript

I am a 20 year old Jamaican youth. I want to know, would anyone be interested in being my IT/Coding mentor? I am known for my relaiblity and efficentcy. I willing to listen and learn your teachings and wisdom. While also working on any task given or helping you with anything I can. I am ..

Read more

I’m new in python. I have a question can I read a script value with python. import requests from bs4 import BeautifulSoup import json url=’https://www.iltelegrafolivorno.it/cronaca/radi-vandalico-vetrate-dustrutte-cecina-1.6231324′ r = requests.get(url) soup = BeautifulSoup(r.content, ‘html.parser’) print(soup.find_all(‘script’)[9]["cp30"]) Source: Python-3x..

Read more

I am learning dynamic programming from freecodecamp youtube. I am a python programmer and the tutorial is following Javascript. When I translated the code from JS to python, I am finding that I get different output(wrong). This is the code from that tutorial video – Javascript: This is the link for the video https://youtu.be/oBt53YbR9Kk?t=5290 const ..

Read more

How do I make a post request from java to flask? Why can I get the data sent to the server? <button name="send" id = "sendbutton">Send</button> document.getElementById("sendbutton").addEventListener(‘click’, () => { var image = canvas.toDataURL(); var r = new XMLHttpRequest(); r.open("POST", "http://127.0.0.1:5000/truthMask", true); r.onreadystatechange = function () { if (r.readyState != 4 || r.status != 200) ..

Read more