본문 바로가기

Language

(82)
Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices http://www.cosmicpython.com/book/preface.html?fbclid=IwAR199_0_Svtsn4mMaQgBGwrJYz_0eD4VSH1QDJZMtXe_nzKV_2RyFa7tmq0 Preface You’re reading a book, but you’ll probably agree with us when we say that the best way to learn about code is to code. We learned most of what we know from pairing with people, writing code with them, and learning by doing, and we’d like to re-create that www.cosmicpython.com
scikit learn - OneHotEncoder https://scikit-learn.org/stable/modules/preprocessing.html#preprocessing-categorical-features 5.3. Preprocessing data — scikit-learn 0.21.3 documentation 5.3. Preprocessing data The sklearn.preprocessing package provides several common utility functions and transformer classes to change raw feature vectors into a representation that is more suitable for the downstream estimators. In general, lea..
python tkinter 레퍼런스 https://pythonspot.com/tk-file-dialogs/https://likegeeks.com/python-gui-examples-tkinter-tutorial/#Adding-a-button-widgethttp://zetcode.com/gui/tkinter/layout/https://github.com/Dvlv/Tkinter-By-Example
jython - Protex SDK 예제 모음 Jython 2.7.1과 Protex SDK를 이용하여 간단한 예제를 구현해 보았다.보고서를 만드는 프로그램을 만들어야 하는데 Java가 익숙지 않아 손에 익은 Python 문법 및 모듈을 사용하기 위하여 Jython을 선택하였다. protex_server.py # -*- coding: utf-8 -*- import os import sys import protex_sdk protex_sdk.load_protex_sdk(r"Z:\libs\Protex-7.8.2-SDK-V7.0\lib") from com.blackducksoftware.sdk.protex.client.util import ProtexServerProxy from com.blackducksoftware.sdk.protex.util impor..
Jython 2.7.1 최근에 Java SDK를 사용하여 프로그래밍을 해야할 일이 있었는데 혹시 파이썬을 같이 사용할 수 있는지 궁금하여 찾아보니 Python의 Java 구현물이 있었다. Jython 이며, 현 시점에서 최신 릴리즈 버전은 2.7.1 (Link) 이다.Jython 인터프리터에서 Java 클래스를 로드하여 바로 사용할 수 있다.자세한 내용은 다음의 링크를 확인한다. 좀 오래동안 업데이트가 되지 않았지만, 내가 사용하려는 Protex SDK는 별 문제없이 동작하였다. http://www.jython.org/currentdocs.htmlhttps://jythonbook-ko.readthedocs.io/en/latest/index.html Java와 Jython 와의 통합은 다음의 링크를 확인한다.https://jyt..
python clang references Find all references of specific function declaration in libclang (Python)https://stackoverflow.com/questions/37194718/find-all-references-of-specific-function-declaration-in-libclang-python External Clang Examplehttps://clang.llvm.org/docs/ExternalClangExamples.html Parsing C++ in Python with Clanghttps://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang How to get class method def..
python clang.cindex.Cursor class Cursor(_ctypes.Structure) | The Cursor class represents a reference to an element within the AST. It | acts as a kind of iterator. | | Method resolution order: | Cursor | _ctypes.Structure | _ctypes._CData | __builtin__.object | | Methods defined here: | | __eq__(self, other) | | __ne__(self, other) | | get_arguments(self) | Return an iterator for accessing the arguments of this cursor. | ..
python clang cindex class CursorKind(BaseEnumeration) | A CursorKind describes the kind of entity that a cursor points to. | | Method resolution order: | CursorKind | BaseEnumeration | __builtin__.object | | Methods defined here: | | __repr__(self) | | is_attribute(self) | Test if this is an attribute kind. | | is_declaration(self) | Test if this is a declaration kind. | | is_expression(self) | Test if this is an e..