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

    Hyperfile - Help

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 288 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 12/02/2016 at 09:17, xxxxxxxx wrote:

      Hey all ^^

      so basically what I want to do is reading a file with some settings that the user can change/define.
      However, I tried it with a hyperfile by first writing the file and then trying to read it.
      This works fine, but my problem is, first, that everything is in one line, and second, the file is decrypted.
      And in the python documentation i haven't found anything on how to change lines or just read a normal txt file without decryption.

      Hopefully you understand what I mean ^^

      greetings, 
      neon

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

        On 12/02/2016 at 09:19, xxxxxxxx wrote:

        The HyperFile is a convenient class for writing binary structured data to a file with support for
        different datatypes, not suited for writing raw bytes or ascii. Use the Python open() function instead.

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

          On 12/02/2016 at 09:25, xxxxxxxx wrote:

          hey Niklas,

          thanks for your help!

          greetings, 
          neon

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