Jump to content

ChrSax

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by ChrSax


  1. Hi folks,

    I am currently trying to familiarize myself with the ingenious Python4Delphi. I started to look at the demos.

     

    Now with Demo04 I always get an AttributeError at the pyton script:

    AttributeError: 'PythonDelphiVar' object has no attribute 'Value'

     

    print ("Current value of var test is: ", test)
    test.value = "New value set by Python"        --> Error
     

    What am I doing wrong?

     

    I develop 32bit applications and have therefore installed a python x86.

    Python Dll:  3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 16:33:24) [MSC v.1928 32 bit (Intel)]

     

    My Delphi IDE is also up to date: Delphi 10.4 Version 27.0.37889.9797

     

    It would be very nice if you could help me. Many thanks so far!

     

    Christian

     

×