Search the Community
Showing results for tags 'python3'.
-
here i have and html code which contains an a base64 image code and if i want to get image from html which is in form of base64 code so first i have to extract that code to decode the image from base64 code. here is html i have : <div class="captcha-image" style="background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAA1AN4DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI
-
I am just beginning the python tutorial, and am trying to run a python file but when I do it says there is an Syntax error: Unexpected character after line continuation character.
-
I have just created and uploaded a python module namely "sroot" . You can simply install it using pip in python cmd. By typing :- pip install sroot It works similar to math module bt the difference is that if you use math.sqrt(8) it will give 2.something, in decimal form Rather if you install sroot using pip and then just simply import sroot and type sroot.sqrt(8) it will give 2√2. Isn't it amazing. You can use any integer. Lemme know if you tried and liked it
-
This page describes pythons dictionary.keys() Method as follows: This, however, is only correct in python 2.x, in python 3.x the keys() method returns a dict_keys Object. Please note that i have never submitted an issue to w3schools before, i dont know if this is the right place to do it or if they intended their Documentation for python 2.x only.
-
Dear Madam or Sir, I was reading your Python tutorial and I found something that I think is a grammatical error: In the link below, please search for this text in your browser "if you have an objects" https://www.w3schools.com/python/python_booleans.asp I think it should be changed to "if you have objects" With best wishes, Amir
-
I am doing a project in which I have to automatically download a file from a secured website by providing a username and password for which I am using "Selenium" with "Python 3.4.1" in Windows 7 x86_64 environment. The website is written using "JavaScript". And I don't know JavaScript.After going through the code for the webpage, so far, I have done this in Python in conjunction with Selenium webdriver: Code: from selenium import webdriverfrom selenium.webdriver.common.keys import Keysdriver = webdriver.Firefox()driver.get("http://www.website_name.com") element_user_name = driver.find_eleme
- 5 replies
-
- JavaScript
- Selenium
-
(and 1 more)
Tagged with: