RAD 5월 10일, 2022에 포스트됨 공유하기 5월 10일, 2022에 포스트됨 원문: https://blogs.embarcadero.com/the-next-big-thing-in-python-gui/ 작성자: Emad Bin Abid (2022.4) Python is an extremely popular and adaptable programming language. Python’s ease of set-up, low learning curve, and low cost of entry has probably helped fuel an increased interest in coding and programming. The Python language has consistently grown in popularity among programmers since its inception, for the same reasons that learners love it but also because of its comprehensive versatility. The large number of capabilities combined with the low barrier to entry allows developers to quickly get up to speed and compete in the marketplace. Python is flexible and can work with a variety of programming paradigms. To be truly competitive, developers should become familiar with a variety of Python tools, libraries and IDEs in order to get the most out of Python and improve their skills. 파이썬은 대중적이고 적응력이 뛰어난 프로그래밍 언어이다. 파이썬의 쉬운 설치, 낮은 학습 곡선, 낮은 진입 비용은 코딩과 프로그래밍에 대한 관심을 높이는데 큰 영향을 미쳤을 것이라고 본다. 파이썬 언어는 시작부터 프로그래머들 사이에서 꾸준히 인기를 얻어왔는데, 바로 이 점 그리고 다양한 곳에 활용 가능한 포괄적인 특징이 파이썬이 사랑을 받는 이유이다. 다양한 기능과 낮은 진입 장벽으로 개발 속도는 높이고 시장에서도 경쟁력을 가질 수 있다. 파이썬은 유연하며, 여러 프로그래밍 패러다임들과 연동할 수 있다. 진정한 경쟁력을 갖추기 위해서는 파이썬을 최대한으로 활용하고 활용 기술을 향상시켜야 하는데 이를 위해서는 다양한 파이썬 도구, 라이브러리, IDE에 익숙해지는 게 필요하다. There are numerous development frameworks and packages available to assist you in creating aesthetically pleasing GUIs for your Python applications. Many can come with a fair number of compromises and sacrifices. Experienced developers recommend picking technology which adds value, enhances the development chain, and adds depth to this rich development language, such as Delphi’s Python tools. Adopting this technology allows you to take advantage of libraries that make the development process easier and aid in the creation of memorable user interfaces. In this article, we’ll look at the next big thing in Python GUI by discussing our thoughts on what we think is the best Python IDE and libraries out there. 파이썬 애플리케이션의 멋진 GUI 구축에는 수많은 개발 프레임워크와 패키지를 사용할 수 있다. 이를 위해 타협과 희생이 필요할 수도 있다. 경험이 많은 개발자들에게 추천하는 것은 델파이 파이썬 도구와 같은 여러 기능을 제공하는 개발 언어에 가치를 더하고, 개발 체인을 강화해 깊이를 더하는 기술을 선택하는 것이다. 이 기술로 개발 프로세스를 더 쉽게 만들어 줄 라이브러리들을 최대한으로 활용할 수 있고, 기억에 남을만한 UI를 구축할 수 있게 될 것이다. 이 글에서는 파이썬 GUI의 차세대 중요 요소를 살펴보고, 최고의 파이썬 IDE와 라이브러리를 정리해보겠다. PyScripter는 파이썬 GUI 구축에 어떤 도움을 주는가? (How is PyScripter helpful in creating a Python GUI?) PyScripter began as a lightweight IDE with the purpose of offering a solid scripting solution for Delphi applications to complement the excellent Python for Delphi (P4D) components. It has a modern user interface and is only available for Microsoft Windows operating systems at the moment. It’s faster than some of the other IDEs because it’s developed in a compiled language rather than an interpreted one, and it includes a wide range of features that make it a useful Python programming environment. PyScripter는 최고의 델파이용 파이썬(P4D) 컴포넌트를 보완해주는 델파이 애플리케이션에서 사용 가능한 견고한 스크립트 솔루션을 제공하는 경량의 IDE로 시작했다. 현대식 UI를 제공하며, 현재는 마이크로소프트 윈도우 OS에서만 사용 가능하다. 다른 일부 IDE들 보다 빠른 것으로, 해석된(interpreted) 언어가 아닌 컴파일(compiled)된 언어로 개발되었기에 가능한 것이다. 유용한 파이썬 프로그래밍 환경을 구축할 수 있는 광범위한 기능을 제공한다. All the professional IDE capabilities such as brace highlighting, code folding, code completion, and syntax checking as you type are all aspects of PyScripter. It also supports the kind of features you’d expect to find in a proper native apps such as the ability to drag and drop files from Explorer into the PyScripter IDE, all of which add up to saving you time and making the development process a smooth and pleasurable experience. 전문적인 IDE의 모든 기능을 제공하는데 중괄호 강조 표시, 코드 접기, 코드 완성, 문구 검사 등 코딩할 때 점검해주는 기능들이 대표적이다. 또한 PyScripter IDE의 Explorer에서의 파일 드래그-드랍 등 네이티브 앱에서 기대하는 기능들을 제공해 시간 절약은 물론 개발 프로세스를 원활하고 간결한 환경으로 만들어준다. PyScripter가 파이썬 프로그램 작성 및 디버깅에 있어 최고의 IDE인 이유 (Why is PyScripter the best IDE for writing and debugging Python programs?) PyScripter has a Python interpreter built-in that provides call indications and code completion. This program keeps track of your command history and lets you run scripts without having to save them. This IDE also includes a remote Python debugger for debugging Python code. Variables, the watch window, and the call stack may be seen as a result. Debugging can also be aided by conditional breakpoints or thread debugging. In circumstances where the programmer is unable to discover the fault in his code, debugger indications are also useful. You can not only destroy your files without saving them, but you can also debug them without saving them, which is a useful feature. PyScripter에는 호출 표시, 코드 완성 기능을 제공하는 파이썬 인터프리터가 내장되어 있다. 이 프로그램은 명령 기록을 추적해 스크립트를 저장하지 않고도 실행할 수 있도록 해준다. IDE에는 파이썬 코드 디버깅을 위한 원격 파이썬도 포함되어 있다. 변수, 감시 윈도우(watch window), 호출 스택이 결과로 나타날 수 있다. 디버깅의 경우 조건부 브레이크 포인트 또는 쓰레드 디버깅을 통해 지원 받을 수 있다. 프로그래머가 코드 오류를 발견하지 못한 상황이라면 디버거 표시도 유용하다. 파일을 저장하지 않고도 삭제와 디버깅을 할 수 있다. Python4Delphi는 무엇인가? (What is Python4Delphi?) Consider combining the power of Delphi’s GUI and desktop app development with Python in your applications to provide world-class solutions for your customers’ needs. Python4Delphi is the solution to your problems. 델파이 GUI와 데스크탑 앱 개발에 파이썬을 더해 고객 요구에 맞는 월드 클래스의 솔루션을 검토해보길 바란다. Python4Delphi는 여러분이 갖고있을 문제의 해결책이 되어줄 것이다. Python for Delphi (P4D) is a collection of free Delphi and Lazarus components that wrap the Python DLL. They make it simple to run Python scripts and powerful to create new Python modules and types. Python for Delphi (P4D)는 파이썬 DLL을 랩핑한 무료 델파이와 라자루스 컴포넌트이다. 파이썬 스크립트를 간편하게 실행할 수 있고, 강력한 새로운 파이썬 모듈과 타입을 만들 수 있다. The best feature of P4D is that it makes using Python as a scripting language for Delphi applications very simple. It also comes with a large number of customizable demos and tutorials that are ready to use in developing real-world apps. In a nutshell, P4D provides you with a variety of real-world apps that can be tailored to your specific requirements and can be used in Python GUI. P4D의 가장 좋은 점은 파이썬으로 델파이 애플리케이션 용 스크립트 언어를 매우 간편하게 만들 수 있다는 점이다. 또한 실제 앱 개발에 사용 가능한 커스터마이징할 수 있는 데모와 튜토리얼도 다수 포함되어 있다. 간단히 말해서, P4D는 특정 요구사항에 맞추어 조정할 수 있고, 파이썬 GUI에서 사용 가능한 다양한 실제 앱을 제공한다. Adding the ability to use and run Python inside your Delphi programs combines the best of all worlds: the HUGE array of libraries and functions from the enormous Python eco-system combined with Delphi’s legendary speed, ease of use and raw processing power. It’s a real ‘dream team’. 델파이 프로그램 내에서 파이썬을 사용하고 실행할 수 있는 기능을 추가해 세계 최고 수준의 기능들을 결합할 수 있다: 델파이의 전설적인 속도, 쉬운 사용성, 원시 처리 능력을 거대한 파이썬 생태계의 수많은 라이브러리, 기능들과 결합할 수 있다. 그야말로 '드림팀'이다. 파이썬 GUI에서 DelphiVCL 이 중요한 점은? (What is the Importance of DelphiVCL in Python GUI?) The DelphiVCL GUI development library is an Embarcadero-backed initiative that might help you avoid some of the bad Python programming experiences that can crop up. It leverages the VCL framework and focuses on native Windows development using Python. The library comes with an intuitive interface that allows you to construct bright and solid user interfaces for your Python applications. This free component package for Delphi and Lazarus supports Python DLLs. They make it easier to execute Python programs and to create new Python modules and types. DelphiVCL GUI 개발 라이브러리는 엠바카데로가 제공하며, 발생할 수 있는 안 좋은 파이썬 프로그래밍 경험을 피할 수 있도록 해준다. VCL 프레임워크를 활용하고, 파이썬으로 네이티브 윈도우 개발할 수 있도록 하는 부분에 집중한 라이브러리이다. 이 라이브러리는 파이썬 애플리케이션 용으로 견고한 UI를 구성할 수 있는 직관적인 인터페이스를 제공한다. 또한 델파이, 라자루스용 무료 컴포넌트 패키지가 파이썬 DLL을 지원한다. 이를 활용해 파이썬 프로그램 실행은 더 쉬워지고, 새로운 파이썬 모듈과 타입을 더 쉽게 만들 수 있다. DelphiVCL for Python focuses on native Windows development and only uses the VCL framework for Windows, whereas DelphiFMX for Python makes use of the cross-platform FireMonkey framework to provide a comprehensive and versatile GUI framework for Windows, Linux, macOS, and Android. 파이썬용 DelphiVCL은 네이티브 윈도우 개발용으로 윈도우에서만 작동하는 VCL 프레임워크만을 사용할 수 있는 반면, 파이썬용 델파이FMX는 크로스-플랫폼인 파이어몽키 프레임워크를 사용해 윈도우, 리눅스, macOS, 안드로이드 용의 포괄적이고 여러 기능을 갖춘 GUI 프레임워크를 활용할 수 있도록 지원한다. The DelphiVCL Python module allows you to use Python to access the entire VCL! You don’t need any Delphi or Object Pascal experience or understanding to take full advantage of the Native GUI features as a Python developer. DelphiVCL 파이썬 모듈로 파이썬에서 전체 VCL에 액세스할 수 있는 것이다! 파이썬 개발라면, 델파이나 오브젝트 파스칼 경험이나 이해가 없더라도 네이티브 GUI 기능들을 최대한으로 활용할 수 있다. 네이티브 GUI가 중요한 이유 (Why is having a native GUI critical?) 성능: 네이티브 컨트롤의 경우, 윈도우는 하드웨어 가속을 지원한다. 윈도우 핸들: 윈도우 핸들은 네이티브 윈도우 컨트롤에 내장되어 있으며, 더욱 향상된 OS와 인트라 애플리케이션 통합을 지원한다. 일관된 동작: 네이티브 컨트롤을 사용하면, 소비자들은 모든 애플리케이션에서 일관된 동작을 기대하게 된다. MSAA (Microsoft Active Accessibility) 지원: 네이티브 기능들을 활용하는 프레임워크로, 스크린 리더와 스크린 키보드와 같은 UI 접근성 향상을 위한 기능들을 제공한다. 여러분의 앱이 유럽 국가 또는 미국에서 사용될 예정이라면, 앱에 접근성 기능을 포함해야 하는 법적 요건이 있을 수 있다. The Python4Delphi (P4D) package connects Delphi’s VCL (Visual Component Library) with Python. DelphiVCL can be used to create Windows graphical user interface (GUI) applications. The package can be run from the command line or from an IDE like PyScripter. You can simply write the following command to set it up: Python4Delphi (P4D) 패키지는 델파이의 VCL (비주얼 컴포넌트 라이브러리)와 파이썬을 연결해준다. DelphiVCL은 윈도우 그래픽 사용자 인터페이스 (GUI) 애플리케이션 개발에 사용할 수 있다. 패키지는 커맨드 라인이나 PyScripter와 같은 IDE에서 실행할 수 있다. 다음과 같은 명령을 작성해 설정하기만 하면 된다. <span style="font-weight: 400;">delphivcl pip install</span> 더 자세한 내용은 DelphiVCL 다운로드 및 설치 방법에 대한 소개 자료(클릭)를 통해서 확인할 수 있다. DelphiFMX가 파이썬 GUI의 차세대 중요 요소가 된 이유 (What makes DelphiFMX the Next Big Thing in Python GUI?) The FireMonkey FMX framework from Delphi is based on the Python for Delphi Library. DelphiFMX is a Python package for creating graphical user interfaces for Windows, macOS, Linux, and Android that can be downloaded from pip. It is GPU-accelerated using DirectX or OpenGL, which is necessary for modern software. Menus, panels, lists, buttons, and many other components are included in the package, which is simple to use. Examples are available in the official GitHub repository. 델파이의 파이어몽키 FMX 프레임워크는 델파이 라이브러리용 파이썬에 기반을 두고 있다. DelphiFMX는 윈도우, macOS, 리눅스, 안드로이드용 그래픽 UI를 개발할 수 있는 파이썬 패키지로, pip에서 다운로드 할 수 있다. 현대식 소프트웨어에서 필요한 DirectX 또는 OpenGL로 GPU를 가속화한다. 메뉴, 패널, 목록, 버튼, 여러 컴포넌트들이 내장되어 있으며, 사용이 간편하다. 공식 깃허브 리파지토리에서 예제들을 확인할 수 있다. FireMonkey Stencils are available for designers and developers using Delphi, RAD Studio, or C++ Builder to build multi-build device applications. FMX Stencils improve designer and developer communication, allowing users to exploit the countless design possibilities available in the FMX Framework’s styles and UI components. 파이어몽키 스텐실은 델파이, RAD스튜디오, C++빌더를 사용하는 개발자와 디자이너를 위한 솔루션으로 다중 빌드 디바이스 애플리케이션 개발에 활용할 수 있다. FMX 스텐실은 디자이너와 개발자의 커뮤니테이션을 개선하여, 사용자가 무수한 디자인 가능성을 현실화 할 수 있도록 FMX 프레임워크의 스타일이나 UI 컴포넌트들을 제공한다. Balsamiq, Sketch, Photoshop, Illustrator, and other similar applications can also be used to create wireframes and mockups with FMX Stencils. By transforming the vector components into Sketch and Illustrator symbols, Photoshop smart vector objects, and SVGs, designers can quickly and easily create application UI mockups and prototypes. The symbols and smart vector objects are labeled using FMX naming conventions, guaranteeing that designers and developers are using the same vocabulary and avoiding problems caused by misunderstanding. Balsamiq, Sketch, 포토샵, 일러스트레이터, 기타 비슷한 애플리케이션들도 FMX 스텐실로 와이어 프레임과 목업(mockup) 만드는 데 사용할 수 있다. Sketch의 벡터 컴포넌트와 일러스트레이터 기호, 포토샵 스마트 벡터 오브젝트, SVG를 변환해 애플리케이션 UI 목업과 프로토타입을 쉽고 빠르게 만들어낼 수 있는 것이다. 기호와 스마트 벡터 오브젝트의 경우 FMX 명명 규칙 사용과 동일한 용어를 사용하는 개발자와 디자이너의 규정 보장, 오해로 인해 발생 가능한 문제를 미연에 방지하는 레이블을 지정한다. DelphiFMX 파이썬 라이브러리에 대해 더 자세히 알고 싶다면, 여기를 클릭하면 된다. 파이썬 GUI 세계에서 두각을 나타낼 준비가 되었는가? (Are you ready to make a mark in the Python GUI world?) Delphi’s Windows development tools have been a huge success, and it now takes that knowledge to Python GUI development. Because of the outstanding underlying architecture and meticulous attention to detail, Delphi’s Python tools help you construct beautiful and powerful GUIs for your applications. It provides enterprise-ready functionality via visual and functional components, as well as overall control over the final user interface. 델파이의 윈도우 개발 도구는 큰 성공을 거두었으며, 이제 그 지식을 파이썬 GUI 개발에도 적용하고 있다. 뛰어난 기본 아키텍처와 세부적인 부분까지 세심하게 들여다 보는 점은 델파이의 파이썬 도구의 특징이며, 애플리케이션에 멋지면서도 강력한 GUI를 구성할 수 있도록 지원하는 부분이다. 시각 및 기능 컴포넌트들로 엔터프라이즈 급 성능을 지원할 수 있는 기능들을 제공하며, 최종 UI에 대한 전반적인 제어를 지원한다. You can also use its Python tools to create professional-looking applications for a variety of platforms. For DelhiVCL and DelphiFMX, quality is a top focus, and their integration with respective operating systems adds an extra degree of security. DelhiFMX may even exploit the GPU hardware capabilities of the user’s GPU for bespoke rendering for a pleasant GUI experience. 또한 파이썬 도구로 여러 플랫폼에서 구동하는 전문적으로 보이는 애플리케이션을 만들어낼 수도 있다. DelphiVCL과 DelphiFMX의 경우, 품질이 최우선 사항이며, 각 운영 체제들과의 통합으로 보안 수준은 더욱 높아지게 될 것이다. DelphiFMX는 사용자 GPU의 GPU 하드웨어 기능을 활용해 쾌적인 GUI 경험을 위한 맞춤형 렌더링을 제공하기도 한다. Creating user interfaces does not have to be a difficult task. As pip packages, a variety of Python tools are available. DelphiFMX is a powerful tool with a wide range of capabilities and customizability. Because of its native support for hardware acceleration, it is highly recommended for Windows-only developers. Furthermore, PyScipter is the greatest IDE for making usage of these modules more efficient. UI 구현이 어려울 필요는 없다. pip 패키지로 여러 파이썬 도구들을 활용할 수 있다. DelphiFMX는 광범위한 기능과 커스터마이징 가능한 강력한 도구이다. 하드웨어 가속을 기본 지원하기 때문에, 윈도우만을 지원해왔던 개발자들에게 특히 권장하다. 또한 PyScripter는 이러한 모듈들을 더욱 효율적으로 활용할 수 있도록 만들어주는 최고의 IDE이다. 델파이의 강력한 파이썬 모듈을 사용해 애플리케이션에 정교한 GUI를 구축하고 싶다면?여기를 클릭해 델파이의 파이썬 도구들을 프로젝트에서 더 잘 활용할 수 있는 방법을 확인해보기 바란다! 인용하기 이 댓글 링크 다른 사이트에 공유하기 더 많은 공유 선택 사항
Recommended Posts
이 토의에 참여하세요
지금 바로 의견을 남길 수 있습니다. 그리고 나서 가입해도 됩니다. 이미 회원이라면, 지금 로그인하고 본인 계정으로 의견을 남기세요.