limelect
Members-
Content Count
835 -
Joined
-
Last visited
-
Days Won
1
Everything posted by limelect
-
ANN: Better Translation Manager released
limelect replied to Anders Melander's topic in Delphi Third-Party
I have your demo In it HelloWorld.xlat I do not seem to translate. How am I translating? Your demo does not seem to show that -
After very long and many tries I need your help This is my script works on other Python script pyinstaller.exe --windowed D4P_export_demo.py --onefile --paths="C:\Users\LimElect\anaconda3\Lib\site-packages\delphifmx\" --name D4P_export_demo the path is not needed as I get the same Python error pyinstaller.exe --windowed D4P_export_demo.py --onefile --name D4P_export_demo It seems to find the packet but cannot use it The package is used without any problems in PyScripter warn-D4P_export_demo.txt does not show that the package is missing Any Idea? P.S. Final message 5303 INFO: Building EXE from EXE-00.toc completed successfully.
-
It works !!!!! Lovely next to see where I made mistakes OK it is my PAS file THANKS a lot, much appreciate
-
@davd Finally it open can you also send pas sources to see if my D10,2,3 make what needed I will compile yours and see WWWWAAAA great you put also my librery
-
Well I do not understand as I have 3 zip/7zip non open including 7zipfm I am stack If it helps (without an exe) my mail limelect@gmail,com or www,limelect.com where you find lots of free staff
-
Can you plz just make a simple zip?
-
OK I found on the portable project 7ZipFM but is cannot open eiyher
-
Is it for LINOXS as we are working on Windows there is no 7ZipFM for Windows unless you know the link. It suppose to be part of 7zip but cannot find it
-
Look inside the file https://en.delphipraxis.net/applications/core/interface/file/attachment.php?id=11265 It does not contain PK first letters which designate zip Unless you open it differently I open it with BANDZIP. My Window 7 does not recognize the file P.S I also have 7 zip on my windows
-
@DelphiUdIT Sorry Your zip gives an error My zip program is the latest Also, it is not a zip as I look inside it does not have the zip initials It should have PK PLZ make sure it is ZIP
-
Where is it? 2. cannot open pythone_Fixed.7z.002 is it zip or 7z? non open
-
Guys to begin thanks for your attention 1. Either no one except me plays with Delphi for Python 2. Maybe I found that the Python package cannot make an execute. 3. This that there is no response says something 4 So I moved to QT designer with PyQt5 where the Python package does work and give me an execute. 5. I prefer Delphi but for the time being until proven otherwise it is out for me P.S I could not install PyQt6 but that is another matter
-
Cross platform color picker and palette library
limelect replied to Jim McKeeth's topic in I made this
I added a comment on Git -
@pyscripter Can you plz put here an FMX or VCL Pas/PY hello World zip project that you make to an EXE. I will change the library path compile and see what happens. Thanks P.S It will be the best demo possible
-
I have used this site to simplify https://stackoverflow.com/questions/23594048/how-can-i-specifiy-the-spec-file-in-pyinstaller And I get the same result from the execute Something very wrong P.S I changed the datas= as needed
-
P.S i also changed a = Analysis( ['Project2.py'],
-
I did but still, in some places, there is a misunderstanding of mine It compiles OK but exe does not do the job where am I wrong? pythone.zip
-
Am I the only one toying with this? Made a simple form got project and unit PY now to my point in unit we have class Form1(Form): def __init__(self, owner): self.Label1 = None self.label2 = None and so on if I delete file Unit1.pydfm (which mean that this file is the form shown) the form is empty OK so whats the point for the source in unit PY as it really does nothing. So my main question is how do I use label or button or any component INSIDE Unit1.pydfm otherwise the nice idea is useless I have read the book Getting Started with Python GUI Development.pdf it does not refer to PYDFM if I change self.Label1 = None to self.Label1 = Label(self) self.Label1 .SetProps( Parent=self, Caption="Hello DelphiVCL for Python") It adds a label but does not change my label on pydfm Who can help????? P.S the book is not different then Tkinter
-
Thanks. In any case, I do not see myself using Python although everybody is bragging about. This is the same reason that the Basic language is gone. Interpreter. I wanted to see what I could do with it. P.S I made an execution of it and cannot find the Delphi lib but that is another matter I am using Anaconda
-
Just to see if I understood I made this Python package tester/ installer in an hour not bad for a Delphi professional Thanks import os import importlib.util import sys from delphivcl import * class Form1(Form😞 def __init__(self, owner😞 self.Label1 = None self.Label2 = None self.LabeledEdit1 = None self.Button1 = None self.LoadProps(os.path.join(os.path.dirname(os.path.abspath(__file__)), "Unit1.pydfm")) self.Label2.caption="" self.button1.SetProps(Parent=self, Caption="Add", OnClick=self.Button1Click) def Button1Click(self, Sender😞 self.Label2.caption="" name = self.LabeledEdit1.text # 'itertools' if name != "": if name in sys.modules: self.Label2.caption=f"{name!r} already in sys.modules" elif (spec := importlib.util.find_spec(name)) is not None: # If you choose to perform the actual import ... module = importlib.util.module_from_spec(spec) sys.modules[name] = module spec.loader.exec_module(module) self.Label2.caption=f"{name!r} has been imported" else: self.Label2.caption=f"can't find the {name!r} module" def FormCreate(self, Sender😞 pass
-
After 30++ years with Delphi and other languages, I decided to learn Python and see what is all about. So I used Delphi and some other libraries to learn. (for me Python is awful) And now to the point While using DelphiVCL4Python I found that pyscripter or GuiPy do some closing problems on some application So I made this https://github.com/pyscripter/pyscripter/issues/1286 and this https://github.com/Embarcadero/DelphiVCL4Python/issues/92 however today I found out that Microsoft Visual Studio 2019 also works on Python and the program I put closed without any problems So I wonder where is the problem?
-
This small important detail was never mentioned anywhere thanks
-
I just found out that Delphi IDE tools export to Python does not put Application.Free() So it is Embarcadero's problem Try it
-
Thanks Ok now I see other examples MainForm.Destroy() At least I have a learning tool P,S https://limelect.com/downloads/python-formater/ can help someone where the formatting is done with autopep8 or Black Why not incorporate this in your software? very handy
-
Ok but why in Microsoft Visual Studio 2019 it closes???? This is a demo taken from Delphi not mine It works thanks some applications close without Application.Free()