• 제목/요약/키워드: Python Script

검색결과 28건 처리시간 0.02초

Python 코딩 교육 웹의 설계 및 구현 (The Design and Implementation of Python Education Coding WEB)

  • 김재수;박수호;이민석;최지훈
    • 한국컴퓨터정보학회:학술대회논문집
    • /
    • 한국컴퓨터정보학회 2019년도 제59차 동계학술대회논문집 27권1호
    • /
    • pp.331-332
    • /
    • 2019
  • 코딩교육의 의무화로 인해 조기 교육을 위한 코딩교육 프로그램이 성행한다. 하지만 이는 시각 중심적이라 실제 프로그래밍 언어를 접할 때 어려움이 많다. 이를 최소화하기 위해 만든 Python 블록 코딩 웹은 JavaScript, Arduino, Python, Web을 이용하여 시각중심의 블록을 드래그하여 실제 쓰이는 프로그래밍 언어로 바꿔주는 시스템을 개발하였다.

  • PDF

Study of Script Conversion for Data Extraction of Constrained Objects

  • Choi, Chul Young
    • International Journal of Internet, Broadcasting and Communication
    • /
    • 제14권3호
    • /
    • pp.155-160
    • /
    • 2022
  • In recent years, Unreal Engine has been increasingly included in the animation process produced in the studio. In this case, there will be more than one of main software, and it is very important to accurately transfer data between the software and Unreal Engine. In animation data, not only the animation data of the character but also the animation data of objects interacting with the character must be individually produced and transferred. Most of the objects that interact with the character have a condition of constraints with the part of character. In this paper, I tried to stipulate the production process for extracting animation data of constrained objects, and to analyze why users experience difficulties due to the complexity of the regulations in the process of executing them. And based on the flowchart prescribed for user convenience, I created a program using a Python script to prove the user's convenience. Finally, by comparing the results generated according to the manual flowchart with the results generated through the script command, it was found that the data were consistent.

스크립트 임베딩을 활용한 수중운동체 M&S 전술처리기의 기능 확장 (The Functional Extension of the Underwater Vehicle Modeling and Simulation Tactics Manager using the Script Embedding Method)

  • 손명조;김태완;나영인
    • 한국군사과학기술학회지
    • /
    • 제12권5호
    • /
    • pp.590-600
    • /
    • 2009
  • In the simulation of underwater vehicles such as a submarine or a torpedo, various type of simulations like an engineering level simulation for predicting the performance precisely and an engagement level simulation for examining the effectiveness of a certain tactic is required. For this reason, a tactics manager which can change the behavior of a simulation model according to external tactics is needed. In this study the tactics manager supporting a script language and engine which can represent various tactics and can help users define external input tactics for the tactic manager easily is suggested. Python and Lua which are representative among script languages have been compared and analyzed from the viewpoint of a tactic manage, and the tactic manger using the script engines of those script languages was implemented. To demonstrate the effectiveness of the tactic manager, a target motion analysis simulation of the warfare between a submarine and a surface ship.

Keras를 이용한 Python과 C#의 딥러닝 성능 비교 분석 (Comparative analysis of deep learning performance for Python and C# using Keras)

  • 이성진;문상호
    • 한국정보통신학회:학술대회논문집
    • /
    • 한국정보통신학회 2022년도 추계학술대회
    • /
    • pp.360-363
    • /
    • 2022
  • 최근에 Kaggle ML & DS Survey에 따르면 기계 학습 및 데이터 과학을 위한 프레임워크에서 TensorFlow와 Keras의 비율이 각각 41.82%, 34.09%로 비중을 차지하고 있으며, 개발 프로그래밍의 경우 약 82%로 Python을 사용하는 것으로 나타났다. 상당수의 기계 학습 및 딥러닝의 구조가 Keras 프레임워크와 Python을 활용하고 있으나, Python의 경우에는 스크립트 언어인 관계로 인해 배포 및 실행을 Python 스크립트 환경에 제한되어 동작하므로 다양한 환경에서 동작하기 어려운 개연성이 있을 수 있다. 본 논문에서는 Visual Studio 2019에서 동작하는 C#과 Keras를 활용한 기계 학습 및 딥러닝 시스템을 구현하였으며, 세부적으로 Mnist 데이터셋을 활용하여 파이썬 3.8.2와 C# .NET 5.0 환경에서 20번의 테스트를 진행하였다. 테스트 수행 결과, Python은 최소 시간 1.86초, 최대 시간 2.38초, 평균 시간 1.98초 총 시간 39.53초가 소요되었으며, C#은 최소 시간 1.78초, 최대 시간 2.11초 평균 시간 1.85초 총 시간 37.02초가 소요되었다. 결론적으로 C#의 성능이 Python보다 6% 정도 향상되었음을 확인하였으며, 이를 통해 실행파일 추출이 가능하여 활용도가 높을 것으로 기대한다.

  • PDF

현재 PyScript의 실제 응용 가능성 (Analyze the possibility of current PyScript in practical application)

  • 은진
    • 한국컴퓨터정보학회:학술대회논문집
    • /
    • 한국컴퓨터정보학회 2022년도 제66차 하계학술대회논문집 30권2호
    • /
    • pp.133-134
    • /
    • 2022
  • With the advent of PyScript, there are more and more topics in practice. However, the official guideline has not provided a detailed description. This paper investigates the practical application about PyScript. The research results show that the current functions in PyScript cannot be well handled in web pages, and even cannot use the advantage model of Python, which is not suitable for practical application in the short term. However, it may be widely used in web development in the future since writing functions through Wasm can improve the efficiency of program execution.

  • PDF

파이선 스크립트를 이용한 태양계 행성 시뮬레이터 구현 (Implementing Solar System Simulator using Python Script)

  • 최은영;이임건
    • 한국컴퓨터정보학회논문지
    • /
    • 제20권4호
    • /
    • pp.49-56
    • /
    • 2015
  • 본 논문에서는 3D 애니메이션 도구인 마야를 이용하여 태양계를 모델링하고 각 행성의 움직임과 물리적인 속성들을 정밀하고 객관적으로 구현하여 태양계의 구조를 시각적으로 쉽게 이해할 수 있도록 시뮬레이터를 구현하였다. 메뉴를 이용한 마야의 모델링으로는 정밀한 물리적 속성 값을 표현하기 어려우므로 파이선 스크립트를 이용하여 각 행성의 특성을 표현하였다. 제안하는 시뮬레이터는 가상현실 분야나 학생들의 교육 자료로서 사용 가능하도록 모델링과 렌더링을 실사와 동일하게 구현하였다. 또한 마야 애니메이션에서의 메뉴를 이용한 모델링과 스크립트 언어인 파이선을 활용하여 누구라도 쉽게 실사 영상을 볼 수 있도록 하였다.

3차원 로봇 시뮬레이션 환경을 위한 웹 기반의 사용자 스크립트 연동 시스템 개발 (Development of Web-based User Script Linking System for Three-dimensional Robot Simulation)

  • 양정연
    • 한국콘텐츠학회논문지
    • /
    • 제19권2호
    • /
    • pp.469-476
    • /
    • 2019
  • 로봇의 움직임은 3차원 공간상의 다관절 좌표계의 회전 및 이송으로 표현된다. 이러한 좌표계 모델링을 위해 동차 변환 행렬의 관계식으로 표현하나 복잡한 3차원 공간상의 움직임을 고려하여 시각화 기법을 이용한 시뮬레이션 환경 기반의 모델링 및 생성한 동작의 확인이 필수적이다. 기존 시뮬레이션 환경의 경우, 플랫폼 의존도가 높으면 정해진 명령어의 수행으로 구성되어 사용성 및 확장의 한계성이 있었다. 본 논문에서는, 웹 기반의 3차원 시뮬레이션 환경을 구축하고, 소형 웹 서버 모듈과 사용성이 용이한 Python 스크립트의 연동 방식을 통해 높은 사용자 접근성을 얻고자 한다. 또한 로봇 제어를 위한 비선형 모델의 적용 사례를 통해 제안된 시스템의 연산 능력, 프로세스 관리 방식의 성능 및 사용자 스크립트 연동을 통한 확장성을 검증하고자 한다.

영화 대본에서 감정 및 정서 분석: 사례 연구 (Emotion and Sentiment Analysis from a Film Script: A Case Study)

  • 유혜연;김문현;배병철
    • 디지털콘텐츠학회 논문지
    • /
    • 제18권8호
    • /
    • pp.1537-1542
    • /
    • 2017
  • 감정은 서사 생성과 이해 모두에서 중요한 역할을 한다. 본 논문은 플루칙의 감정 모델을 기반으로 영화 대본에서 8가지 감정 표현을 분석하였다. 먼저 각 장면별 수동으로 감정을 태깅하였고, 이 때 8가지 감정 중 분노, 공포, 그리고 놀람이 가장 우세하게 나타났는데, 이는 스릴러 영화 장르를 고려할 때 의미있다고 할 수 있다. 또한, 스토리에서 긴장이 가장 고조되는 클라이맥스에서 다양한 감정이 복합적으로 나타난다고 가정하였고, 대본 상에서 3 부분의 클라이맥스를 확인할 수 있었다. 그 다음으로 파이썬 (Python) 프로그래밍 언어 기반 자연어처리 도구인 NLTK (Natural Language ToolKit)의 감성 분석 도구를 이용하여 수동 감정 태깅과 비교한 결과, 분노와 공포 감정에서 높은 일치율을, 그리고 놀람, 기대, 혐오 감정에서는 낮은 일치율을 보임을 확인하였다.

블록코딩 선행학습자를 위한 Python 교육 프로그램 개발 (Development of Python Education Program for Block Coding Learners)

  • 김태령;한선관
    • 정보교육학회논문지
    • /
    • 제22권1호
    • /
    • pp.53-60
    • /
    • 2018
  • 본 연구는 블록 코딩을 선행 학습한 학생들에게 적용할 수 있는 Python 교육 프로그램의 개발에 관한 것이다. 우선 초중등학교 교육과정과 EPL 교재의 분석을 통해 블록코딩 학습자의 수준을 분석하고 블록 코딩에서 사용된 개념을 중심으로 Python 문법을 추출하여 교육과정을 구성한 뒤 PBL 수업에 맞는 Python 교육 프로그램을 총 16차시로 개발하였다. Python 교육프로그램의 적절성을 검증하기 위해 2차의 전문가의 타당도 검사를 하였다. 검사 결과, 1차 타당도 24문항에서 CVR값 .78 점 이상으로 나타나 일부 수정, 보완하였다. 2차 검사에서는 21개 문항은 타당성을 확보하였고 CVR 최소값인 .99 이하인 3개 문항의 내용에 대해 수정하여 교육 프로그램을 완성하였다. 개발된 교육 프로그램이 스크립트코딩을 학습하기 위한 기초 자료로 유용하게 활용되길 기대한다.

Development of a Stock Auto-Trading System using Condition-Search

  • Gyu-Sang Cho
    • International Journal of Internet, Broadcasting and Communication
    • /
    • 제15권3호
    • /
    • pp.203-210
    • /
    • 2023
  • In this paper, we develope a stock trading system that automatically buy and sell stocks in Kiwoom Securities' HTS system. The system is made by using Kiwoom Open API+ with the Python programming language. A trading strategy is based on an enhanced system query method called a Condition-Search. The Condition-Search script is edited in Kiwoom Hero 4 HTS and the script is stored in the Kiwoom server. The Condition-Search script has the advantage of being easy to change the trading strategy because it can be modified and changed as needed. In the HTS system, up to ten Condition-Search scripts are supported, so it is possible to apply various trading methods. But there are some restrictions on transactions and Condition-Search in Kiwoom Open API+. To avoid one problem that has transaction number and frequency are restricted, a method of adjusting the time interval between transactions is applied and the other problem that do not support a threading technique is solved by an IPC(Inter-Process Communication) with multiple login IDs.