Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crystal Report
#1
Hi guys,

I'm new here.

Would like to inquire if there is a way to call Crystal Report in Python 3.6.


Thanks!
Reply
#2
some reading material: https://bytes.com/topic/python/answers/5...-far-court
Reply
#3
Thank you for the reply.

I installed pypiwin32 (pip install pypiwin32) successfully.
However, upon testing app=Dispatch('CrystalRunTime.Application'), there is an error occured 'Class not registered'



import sys
from win32com.client import

app = Dispatch('CrystalRunTime.Application')





İmage
Reply
#4
your import statement is incorrect
should be:
from win32com.client import Dispatch
Reply
#5
Hi Larz60+,

Ok. I added Dispatch.

It gives me this error:

com_error(-2147221164, 'Class not registered', None, None)

I have a Crystal Report installed.
Reply
#6
I've never used it myself.
google search 'com_error(-2147221164, 'Class not registered', None, None)' brings many replies.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to download TLS Report attachment blason16 6 518 Feb-26-2024, 07:36 AM
Last Post: Pedroski55
  Allure Report Generation rotemz 0 778 Jan-24-2023, 08:30 PM
Last Post: rotemz
  Right to left alignment in python report using Reportlab jalal0034 1 1,815 Sep-27-2022, 04:25 AM
Last Post: jalal0034
  Print Report Invoice nio74maz 0 1,557 Jun-17-2021, 08:25 AM
Last Post: nio74maz
  fpdf adding a new font to my report KatMac 0 2,153 Apr-23-2021, 02:19 PM
Last Post: KatMac
  Saving Report Names Kristenl2784 7 3,084 Jul-09-2020, 12:34 AM
Last Post: Kristenl2784
  how to generate html report for each folder using pytest ktrsarath 0 2,179 Jun-30-2020, 05:14 AM
Last Post: ktrsarath
  I need to get only string datatype and report in excel file. akshay3210 3 2,361 Dec-12-2019, 09:53 AM
Last Post: akshay3210
  python and py report different versions lordvold 3 2,630 Nov-27-2019, 11:01 PM
Last Post: lordvold
  pytest-html report customize manoj 4 14,266 Nov-26-2019, 09:10 AM
Last Post: manojshetty

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020