Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Html is not executed

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 240 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 29/01/2016 at 14:53, xxxxxxxx wrote:

      I have a webpage that I want to open using python and store the result.

      If I do this directly in a browser, it is working (a test sentence is given).
      However, when I do this using Python (see below code), the html code is returned and not the resulting test sentence.

      What is wrong?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 29/01/2016 at 15:27, xxxxxxxx wrote:

        After giving it some second thoughts, it is logical that I receive back the code and not the result.
        The code is sent to the browser and there it is (local) interpreted, giving the result.

        Python does not do the interpretation from html code to result (it is not a browser).
        I guess my brains were already in weekend mode.

        -Pim

        1 Reply Last reply Reply Quote 0
        • First post
          Last post