• Title/Summary/Keyword: Python script

Search Result 28, Processing Time 0.021 seconds

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

  • Kim, Jae-soo;Park, suho;Lee, minseok;Choi, jihun
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2019.01a
    • /
    • 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
    • /
    • v.14 no.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.

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

  • Son, Myeong-Jo;Kim, Tae-Wan;Nah, Young-In
    • Journal of the Korea Institute of Military Science and Technology
    • /
    • v.12 no.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.

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

  • Lee, Sung-jin;Moon, Sang-Ho
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2022.10a
    • /
    • pp.360-363
    • /
    • 2022
  • According to the 2018 Kaggle ML & DS Survey, among the proportions of frameworks for machine learning and data science, TensorFlow and Keras each account for 41.82%. It was found to be 34.09%, and in the case of development programming, it is confirmed that about 82% use Python. A significant number of machine learning and deep learning structures utilize the Keras framework and Python, but in the case of Python, distribution and execution are limited to the Python script environment due to the script language, so it is judged that it is difficult to operate in various environments. This paper implemented a machine learning and deep learning system using C# and Keras running in Visual Studio 2019. Using the Mnist dataset, 100 tests were performed in Python 3.8,2 and C# .NET 5.0 environments, and the minimum time for Python was 1.86 seconds, the maximum time was 2.38 seconds, and the average time was 1.98 seconds. Time 1.78 seconds, maximum time 2.11 seconds, average time 1.85 seconds, total time 37.02 seconds. As a result of the experiment, the performance of C# improved by about 6% compared to Python, and it is expected that the utilization will be high because executable files can be extracted.

  • PDF

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

  • Yin, Zhen;Lee, Scott Uk-Jin
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2022.07a
    • /
    • 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 (파이선 스크립트를 이용한 태양계 행성 시뮬레이터 구현)

  • Choi, Eun-Young;Lee, Imgeun
    • Journal of the Korea Society of Computer and Information
    • /
    • v.20 no.4
    • /
    • pp.49-56
    • /
    • 2015
  • In this paper, we introduce a simulation tool for solar system using 3D animation tool MAYA. It accurately models solar system's astronomical features, such as each planet's orbital period, orbital speed, relative size, and texture, etc. This simulator visualize the solar system in 3D, which can be used to easily understands the system's positioning and astronomical movements. With a conventional Maya modeling process using menus and UI windows, it is difficult to assign correct physical attributes of planets. We use Python script to set up each planet's astronomical parameters. The proposed simulator is rendered as real as possible to be used for virtual reality and educational purpose.

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

  • Yang, Jeong-Yean
    • The Journal of the Korea Contents Association
    • /
    • v.19 no.2
    • /
    • pp.469-476
    • /
    • 2019
  • Robotic motion is designed by the rotation and the translation of multiple joint coordinates in a three-dimensional space. Joint coordinates are generally modeled by homogeneous transform matrix. However, the complexity of three dimensional motions prefers the visualization methods based on simulation environments in which models and generated motions work properly. Many simulation environments have the limitations of usability and functional extension from platform dependency and interpretation of predefined commands. This paper proposes the web-based three dimensional simulation environment toward high user accessibility. Also, it covers the small size web server that is linked with Python script. The non linearities of robot control apply to verify the computing efficiency, the process management, and the extendability of user scripts.

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

  • Yu, Hye-Yeon;Kim, Moon-Hyun;Bae, Byung-Chull
    • Journal of Digital Contents Society
    • /
    • v.18 no.8
    • /
    • pp.1537-1542
    • /
    • 2017
  • Emotion plays a key role in both generating and understanding narrative. In this article we analyzed the emotions represented in a movie script based on 8 emotion types from the wheel of emotions by Plutchik. First we conducted manual emotion tagging scene by scene. The most dominant emotions by manual tagging were anger, fear, and surprise. It makes sense when the film script we analyzed is a thriller-genre. We assumed that the emotions around the climax of the story would be heightened as the tension grew up. From manual tagging we could identify three such duration when the tension is high. Next we analyzed the emotions in the same script using Python-based NLTK VADERSentiment tool. The result showed that the emotions of anger and fear were most matched. The emotion of surprise, anticipation, and disgust, however, scored lower matching.

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

  • Kim, Taeryeong;Han, Sungwan
    • Journal of The Korean Association of Information Education
    • /
    • v.22 no.1
    • /
    • pp.53-60
    • /
    • 2018
  • In this study we have developed a Python education program that can be applied to students who have studied block-based coding. We have developed a Python education program based on the extracted the learners' level of block-based coding by analyzing the programs and the textbooks. We extracted the grammar of the block-based coding and constructed the curriculum. Then, the Python education program was composed by 16 hours. After reviewing the appropriateness of the education program through expert validation, it was concluded that the developed Python education program is suitable for applying to learners of block-based coding. We expect that proposed program will be effectively applied as basic resources to learn script coding in class.

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

  • Gyu-Sang Cho
    • International Journal of Internet, Broadcasting and Communication
    • /
    • v.15 no.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.