Jump to content

Search the Community

Showing results for tags 'python3'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 7 results

  1. 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/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBA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WsvENhfX7WcDP5gztYrhXx1xVRhKSbS2E5JaMpa5oq30bfLmvOtW8KKUaOWAOvY45H0NezsoYc1SuNPimHzKKkZ4donhAQaksoV22n5d3avaNFtTb2qqR2p0OjwxPuCCtJECLgUAPrnPGNzcQ6YkUUYMMpIlYjOMYIH4/0ro6juPN+zS+Rjzth8vPTdjj9a1ozUKik1exFSPNFoyPC9glnpEcnlNHNP8ANJu6nBOPwxz+NbdcboOq3drqctvq9zIm8fKs+c78jGPQYz7V2VaYqEo1W5a3JoyThZdAooormNQqne6ZZ6kyi7hEmwfL8xGM9ehq5XM+I9eutOlSO1VVO8qzOuc4VTx/33+lbUITnO1N2ZFSUYxvLY6NVGwdenqa43+3tR/4Sf7J9o/0f7X5WzaPu7sdetFFdOChGXPzK+hjXbXLY7TaPf8AM1zereIZtP1qOzjgRozt3FmOTn09P1oorPBQjUqNSV9Cq8nGN0dJtHv+Zo2j3/M0UVyG5xXiC+u4PEaxRSoANnllolYpn0JGevNdrtHv+ZooruxSSp07djno/HL1DaPf8zRtHv8AmaKK4ToMTxTeT2GlLJbPtd5QhJG7ggk8HjtUPhErcabJO8USyiUoXjjCEjAPOAPWiiu+yWDv1uc1/wB/byOh2j3/ADNG0e/5miiuA6Q2j3/M1Rt9ItLa6NxHGgb+ECNF2fQhQf1ooqlKSTSYnFMvbR7/AJmjaPf8zRRUjDaPf8zRtHv+ZoooANo9/wAzRtHv+ZoooAyb3Q1vL9bjzY1U43o1ujlsf7RGR+ta20e/5miirlUlJJPoSopaoNo9/wAzRtHv+ZooqCg2j3/M15vr+oXN1qNxbzOGihmZYxtGVAOOvWiivSy1JzbZyYt2irH/2Q== how can i extract this base64 image code. help!! thanks in advance
  2. Gabela2002

    Python file

    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.
  3. 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
  4. 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.
  5. 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
  6. 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_element_by_id("userid")element_user_name.send_keys("user_name")element_passwd = driver.find_element_by_id("password")element_passwd.send_keys("some_passwd")elem = driver.find_element_by_id("submit")elem.send_keys(Keys.RETURN) After this code snippet, I am successfully directed to the home screen of the website. But now, the problem arises. The code of the website contains JavaScript functions which do not contain the codes of the elements on the page which I want to manipulate. The main page contains code for user authentication, invalidate client and the likes of it.But when I right click on an element ("Inspect element") on the Home page, I get to see their respective codes in a separate window (in Firefox 32).The source code of the element which I want to use "Favorites and Dashboards" is present as: Code:<!DOCTYPE html><html id="ext-gen3" class=" ext-strict x-viewport" decorator="blank" webdriver="true"><head></head><body id="ext-gen4" class="ext-gecko3 cwc-view x-border-layout-ct" onload="cwc.getFrameworkWindow()"><div id="cwc_header" class=" masthead x-border-panel" style="left: 0px; top: 0px; width: 1366px; height: 27px;"></div><div id="cwcNavPanel" class=" x-panel cwc-navPanel x-border-panel" style="width: 220px; left: 0px; top: 56px;"><div id="ext-gen17" class="x-panel-bwrap"><div id="ext-gen18" class="x-panel-tbar x-panel-tbar-noheader" style="width: 220px;"></div><div id="ext-gen19" class="x-panel-body x-panel-body-noheader" style="width: 220px; height: 323px;"><div id="cwcAccordionNav" class=" x-panel x-panel-noborder" style="width: 218px;"><div id="ext-gen48" class="x-panel-bwrap"><div id="ext-gen49" class="x-panel-body x-panel-body-noheader x-panel-body-noborder" style="overflow: auto; width: 218px; height: 321px;" role="navigation"><div id="ROOT/Favorites and Dashboards" class="x-panel x-panel-noborder x-tree" style="width: auto;"><div id="ext-gen76" class="x-panel-header x-panel-header-noborder x-unselectable x-accordion-hd" style="cursor: pointer;" tabindex="0" role="tab" aria-expanded="true"></div><div id="ext-gen77" class="x-panel-bwrap" style="display: block; visibility: visible; position: static; left: 0px; top: 0px; z-index: auto;"><div id="ext-gen78" class="x-panel-body x-panel-body-noborder" style="width: auto; height: auto;"><ul id="ext-gen79" class="x-tree-root-ct x-tree-arrows" role="group"><div class="x-tree-root-node"><li class="x-tree-node"></li><li class="x-tree-node"></li><li class="x-tree-node"></li><li class="x-tree-node"></li><li class="x-tree-node"></li><li class="x-tree-node"></li><li id="ext-gen447" class="x-tree-node"><div id="ROOT/Favorites and Dashboards/6" class="x-tree-node-el x-unselectable x-tree-node-collapsed" unselectable="on" ext:tree-node-id="ROOT/Favorites and Dashboards/6"><span class="x-tree-node-indent"></span><img id="ext-gen94" class="x-tree-ec-icon x-tree-elbow-plus" src="/sm/default/s.gif" alt=""></img><img class="x-tree-node-icon cwc-tree-noIcon-node" unselectable="on" src="/sm/default/s.gif" alt=""></img><a id="ext-gen95" class="x-tree-node-anchor" tabindex="0" href="" role="treeitem" hidefocus="on" aria-expanded="false"> In this snippet, I want to click on "Favorites and Dashboards". Why is this code not present in the main page and how do i come to this code?Thanks for your help!
×
×
  • Create New...