다른 명령
데브카페에서 사용할 수 있는 모든 기록이 표시됩니다. 기록 종류나 사용자 이름(대소문자 구별) 또는 영향을 받는 문서(대소문자 구별)를 선택하여 범위를 좁혀서 살펴볼 수 있습니다.
- 2024년 10월 5일 (토) 00:34 Devcafe 토론 기여님이 주식데이터 학습 방법 문서를 만들었습니다 (새 문서: == 주식데이터 학습 == https://github.com/KerasKorea/KEKOxTutorial/blob/master/22_Keras%EB%A5%BC%20%ED%99%9C%EC%9A%A9%ED%95%9C%20%EC%A3%BC%EC%8B%9D%20%EA%B0%80%EA%B2%A9%20%EC%98%88%EC%B8%A1.md === 주식 데이터 학습 방법 === <source lang=python> import pandas as pd import numpy as np from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error, r2_score # Load the data df = pd.read_csv('stock_data.csv') # Split the data into in...)
- 2024년 10월 5일 (토) 00:34 Devcafe 토론 기여님이 주식 챠트 패턴 분석 문서를 만들었습니다 (새 문서: == 관련 링크 == https://alpaca.markets/learn/algorithmic-trading-chart-pattern-python/#:~:text=def%20screener%28stock_data%2C%20ema_list%2C%20window_list%29%3A%20triggers%20%3D%20%5B%5D%20all_results,find_patterns%28max_min%29%20if%20len%28pat%29%20%3E%200%3A%20triggers.append%28stock%29%20return%20triggers https://analyzingalpha.com/algorithmic-chart-pattern-detection https://github.com/CharlesLoo/stock-pattern-recorginition <source lang=python> import numpy as np from...)
- 2024년 10월 5일 (토) 00:33 Devcafe 토론 기여님이 주식 rsi 문서를 만들었습니다 (새 문서: <source lang=python> import dbcon import pymysql import datetime import UTIL_SLACK_CALL db = dbcon.conn() cursor = db.cursor(pymysql.cursors.DictCursor) def selectStockList(cursor): selectSql = "select ifnull(date_format(date_add(max(sr.date),interval +1 day),'%Y%m%d') "\ " , date_format(date_add(curdate( ),interval -850 day),'%Y%m%d'))as start_date "\ " ,date_format((SELECT MAX(DATE) FROM tb_stock_daily_i...)
- 2024년 10월 5일 (토) 00:32 Devcafe 토론 기여님이 장고 북마크 프로그램 문서를 만들었습니다 (새 문서: = 장고 북마크 프로그램 개발 = == 프로젝트 생성 == <source lang=shell> $>pip install django #파이참에서는 생략 </source> <source lang=shell> $>django-admin startproject config . #생략 </source> === 관리자 계정 생성 === <source lang=shell> $>python manage.py migrate </source> <source lang=shell> $>python manage.py createsuperuser </source> === 프로젝트 생성 확인 === <source lang=shell> $>python manage.py runserver </source> == 북마...)
- 2024년 10월 5일 (토) 00:31 Devcafe 토론 기여님이 배당 수익률 상위 종목 검색 문서를 만들었습니다 (새 문서: <source lang=python> from pykrx import stock from datetime import datetime, timedelta import pandas as pd import time import numpy as np import sqlite3 import random con = sqlite3.connect('krx_data.db') # 오늘날짜 기준으로 아직 받지않은 Data를 DB에 다운로드 받기 # 영업일을 List로 가져오기 def make_date_list(start, end): start = datetime.strptime(start, '%Y%m%d') end = datetime.strptime(end, '%Y%m%d') dates = [(start + timedelta(day...)
- 2024년 10월 5일 (토) 00:31 Devcafe 토론 기여님이 모델링 정보 요구 검증 방법 문서를 만들었습니다 (새 문서: == 정보 요구 사항 상관분석 기법 == 도출된 정보 요구 사항을 다른 영역(기능, 프로세스, 조직 등)과 비교 분석함으로써 정보 요구 사항의 도출이 완전하게 효과적으로 이루어졌는지를 파악할 수 있다. === 주체별 분류 === ==== 요구 사항 분석가 수행 ==== # 요구 사항을 도출한 분석가가 수행하므로, 객관성의 저하가 발생한다. #요구 사항의 도출 절차 및 관련 업무 팀...)
- 2024년 10월 5일 (토) 00:30 Devcafe 토론 기여님이 멀티프로세싱 문서를 만들었습니다 (새 문서: == 파이썬 멀티프로세싱 == {{틀:고지상자 |제목= - 주요 사항 # multiprocessing 모듈 이용 멀티프로세싱 수행. # multiprocessing 은 threading 모듈과 유사한 API를 사용하여 프로세스 스포닝(spawning)을 지원하는 패키지임. # multiprocessing 패키지는 지역과 원격 동시성을 모두 제공하며 스레드 대신 서브 프로세스를 사용하여 전역 인터프리터 록 을 효과적으로 피합니다. 이것 때...)
- 2024년 10월 5일 (토) 00:29 Devcafe 토론 기여님이 Sql script converter 문서를 만들었습니다 (새 문서: <source lang=python> # -*- coding: utf-8 -*- import sys, string from PyQt4 import QtGui, QtCore class Window(QtGui.QMainWindow): def __init__(self): super(Window, self).__init__() #self.setGeometry(400, 20, 1200, 800) self.setFixedSize(1200, 800) self.setWindowTitle("SQL Script Converter") self.setWindowIcon(QtGui.QIcon("c:\sqlscriptconverter/img/pythonlogo.png")) QtGui.QApplication.setStyle("Cleanlooks") font = self...)
- 2024년 10월 5일 (토) 00:28 Devcafe 토론 기여님이 Selenium 문서를 만들었습니다 (새 문서: == 셀레니엄 자동화 == https://www.youtube.com/watch?v=vK_oJR_6QFc <source lang=python> from selenium import webdriver from bs4 import BeautifulSoup # setup Driver|Chrome : 크롬드라이버를 사용하는 driver 생성 driver = webdriver.Chrome('/Users/beomi/Downloads/chromedriver') driver.implicitly_wait(3) # 암묵적으로 웹 자원을 (최대) 3초 기다리기 # Login driver.get('https://nid.naver.com/nidlogin.login') # 네이버 로그인 URL로 이동하기...)
- 2024년 10월 5일 (토) 00:28 Devcafe 토론 기여님이 Qthread 사용법 문서를 만들었습니다 (새 문서: PyQt5 -- QThread 사용하기 & thread 간 통신하기 <source lang=python> from PyQt5.QtCore import * from PyQt5.QtWidgets import * class MyMainGUI(QDialog): def __init__(self, parent=None): super().__init__(parent) self.qtxt1 = QTextEdit(self) self.btn1 = QPushButton("Start", self) self.btn2 = QPushButton("Stop", self) self.btn3 = QPushButton("add 100", self) self.btn4 = QPushButton("send instance", self) vbox...)
- 2024년 10월 5일 (토) 00:27 Devcafe 토론 기여님이 Qt5 table grid 위젯 문서를 만들었습니다 (새 문서: == PyQt5 table grid 위젯 만들기 == === 계산기 샘플 === <source lang=python> import sys from PyQt5.QtWidgets import QWidget, QGridLayout, QPushButton, QApplication class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setWindowTitle('TEST') self.setGeometry(150, 150, 100, 300) window = QGridLayout() window.addWidget(QPushButton("CE"), 0, 0) window...)
- 2024년 10월 5일 (토) 00:26 Devcafe 토론 기여님이 Qt designer dark theme 문서를 만들었습니다 (새 문서: https://github.com/mervick/Qt-Creator-Darcula/releases/tag/v1.1.1 category:python)
- 2024년 10월 5일 (토) 00:26 Devcafe 토론 기여님이 Python 챗gpt 설치 chatgpt 문서를 만들었습니다 (새 문서: == ChatGPT == === ChatGPT 는 ? === #ChatGPT는 OpenAI에서 개발한 GPT-3(Generative Pre-trained Transformer 3) 언어 모델의 변형입니다. # 인간과 유사한 텍스트를 대화형으로 생성하도록 설계되었으며 챗봇, 언어 번역, 질의 응답 등 다양한 자연어 처리 작업에 사용할 수 있습니다. # ChatGPT를 설치하려면 OpenAI API 클라이언트를 설치하고 API 키를 설정해야 합니다. # Python 프로그래밍 언어...)
- 2024년 10월 5일 (토) 00:25 Devcafe 토론 기여님이 Python 오라클 연결 cx oracle 문서를 만들었습니다 (새 문서: == 아키텍처 == https://oracle.github.io/python-cx_Oracle/samples/tutorial/resources/cx_Oracle_arch.png ---- == 설치 / 설정 == === 접속 모듈 설치 === <source lang=python> pip install cx_Oracle </source> ---- === 사용자 매뉴얼 === https://cx-oracle.readthedocs.io/en/latest/user_guide/sql_execution.html#fetch-methods == 연결 == === 접속 테스트 === <source lang=python> import cx_Oracle #한글 지원 방법 import os os.putenv('NLS_LANG', '.UTF8') #연...)
- 2024년 10월 5일 (토) 00:24 Devcafe 토론 기여님이 PYTHON 데이터형 문서를 만들었습니다 (새 문서: == 문자열 == #문자열 치환 ##문자열 치환시는 replace 함수 사용 : 콤마(,) 를 파이프(|)로 치환하는 예제 <source lang=python> text = 'aaa,bbb,ccc,ddd' result = text.replace(",","|") </source> ##2번째 , 까지만 치환할 경우, 파라미터에 2 추가 <source lang=python> text = 'aaa,bbb,ccc,ddd' result = text.replace(",","|", 2) </source> == 리스트 == {{틀:고지 상자 |내용=<big>[</big> , , <big>]</big>로 선언됨 * 리스트 =...)
- 2024년 10월 5일 (토) 00:23 Devcafe 토론 기여님이 Python 구글 TTS 오디오 재생 문서를 만들었습니다 (새 문서: == 라이브러리 설치 == <source lang=shell> pip install gTTS pip install pydub pip install simpleaudio </source> == TTS 예제 == <source lang=python> import os from glob import glob from io import BytesIO from gtts import gTTS from pydub import AudioSegment from pydub.playback import play def tts(word, toSlow=True): tts = gTTS(text=word, lang="ko", slow=toSlow) fp = BytesIO() tts.write_to_fp(fp) fp.seek(0) # simpleaudio가 있어야 작동한다....)
- 2024년 10월 5일 (토) 00:23 Devcafe 토론 기여님이 Python 가상환경 문서를 만들었습니다 (새 문서: == 가상환경 만들기 == * 가상화할 파이썬 버전이 미리 설치되어 있어야함. <source lang=shell> -- virtualenv는 파이썬 가상화 생성 프로그램. $pip install virtualenv $virtualenv --python=경로 가상환경이름 python=버전 </source> === 리눅스 === <source lang=shell> $python -m venv /home/cykim/venv python=3.7 (virtualenv --python=경로 가상환경이름 python=버전 ) </source> <source lang=shell> -- activate $source 가상환경...)
- 2024년 10월 5일 (토) 00:22 Devcafe 토론 기여님이 Python zip 함수 문서를 만들었습니다 (새 문서: = zip() 함수 = == 개요 == In Python 3 zip returns an iterator instead and needs to be passed to a list function to get the zipped tuples: <source lang=python> x = [1, 2, 3]; y = ['a','b','c'] z = zip(x, y) z = list(z) print(z) >>> [(1, 'a'), (2, 'b'), (3, 'c')] </source> Then to unzip them back just conjugate the zipped iterator: <source lang=python> x_back, y_back = zip(*z) print(x_back); print(y_back) >>> (1, 2, 3) >>> ('a', 'b', 'c') </source> If the original form of lis...)
- 2024년 10월 5일 (토) 00:21 Devcafe 토론 기여님이 Python whl 설치 문서를 만들었습니다 (새 문서: 1. Python whl 파일 설치 방법 1) 설치하고자 하는 whl 파일을 다운로드 받는다. https://pypi.org/ 2) python -m pip install whl파일명 Category:python)
- 2024년 10월 5일 (토) 00:20 Devcafe 토론 기여님이 Python telegram 문서를 만들었습니다 (새 문서: https://vmpo.tistory.com/m/85 == 텔레그램에서 봇 생성 == # botfather 검색 # @BotFahter 로 되어있는 채팅방을 클릭 # /start 입력 # /newbot 입력 # 봇 이름 입력 (xxxx_bot) # Done! Congratulations on your new bot 메시지가 나오면 정상적으로 생성이 완료된 것 # 성공 메시지 중에서 토큰 값을 따로 저장해줍니다. # 생성한 봇 채팅방으로 입장 == 파이썬 텔레그램 라이브러리 설치 == <source lang=...)
- 2024년 10월 5일 (토) 00:20 Devcafe 토론 기여님이 Python redis sample 문서를 만들었습니다 (새 문서: 기타 python redis example 세모데 2017.03.26 17:24 댓글수0 공감수 0 # -*- coding:utf-8 -*- import sys, random, time from redis import Redis, exceptions, RedisError from redis.sentinel import (Sentinel, SentinelConnectionPool,ConnectionError, MasterNotFoundError, SlaveNotFoundError) # Redis 접속 기본 설정값 listSentinel = [('10.0.10.1', 26379), ('10.0.10.2', 26379), ('10.0.10.3', 26379), ('10.0.0.2', 26379)] strServiceName = '...)
- 2024년 10월 5일 (토) 00:19 Devcafe 토론 기여님이 Python real time chart 문서를 만들었습니다 (새 문서: https://medium.com/@benjaminmbrown/real-time-data-visualization-with-d3-crossfilter-and-websockets-in-python-tutorial-dba5255e7f0e Data Mining Using the RDOM Package By Casimir Saternos https://www.oracle.com/technetwork/articles/datawarehouse/saternos-r-161569.html https://www.r-bloggers.com/r-to-oracle-database-connectivity-use-roracle-for-both-performance-and-scalability/ https://www.r-bloggers.com/connecting-r-to-an-oracle-database/ Category:python)
- 2024년 10월 5일 (토) 00:18 Devcafe 토론 기여님이 Python jdbc 테이블 문서를 만들었습니다 (새 문서: <source lang="python"> # -*- coding: utf-8 -*- import os import sys import jaydebeapi import jpype import jaydebeapi as jp import pandas.io.sql as pd_sql from pandas import DataFrame from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def loadData(self): jHome = jpype.getDefaultJVMPath() # print(jHome) # jpype.startJVM(jHome,'-Djava.class.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/ojdbc6.jar','l...)
- 2024년 10월 5일 (토) 00:17 Devcafe 토론 기여님이 PYTHON DAO 문서를 만들었습니다 (새 문서: http://www.mikusa.com/pysimpledb/ tar zxf pysimple-2.1.tar.gz cd pysimpledb-2.1 python setup.py install <SOURCE LANG=PYTHON> from pysimpledb.sql import AbstractDao from pysimpledb.mappers import * class Tea: """Simple data object, no parameters are needed""" def __init__(self, id = None, name = None, cost = 0.0): self.id = id self.name = name self.cost = cost self.mod = datetime.now() ...)
- 2024년 10월 5일 (토) 00:16 Devcafe 토론 기여님이 Python class 문서를 만들었습니다 (새 문서: == 클래스 용어 == {{틀:고지상자 |제목=파이썬 CLASS 관련 용어 |내용= * '''클래스(class)''' : 멤버와 메쏘드를 갖는 객체 * '''클래스 인스턴스(class instance)'''' : 클래스를 호출하여 만들어지는 객체 * '''멤버(member)''' : 클래스의 변수 * '''메소드(method)''' : 클래스의 함수 * '''어트리뷰트(attribute)''': 속성, 멤버 와 메쏘드의 전체 * '''슈퍼클래스(supperclass)''' : base class라고 하며...) 태그: 시각 편집: 전환됨
- 2024년 10월 5일 (토) 00:08 Devcafe 토론 기여님이 Python Cheat Sheet 문서를 만들었습니다 (새 문서: = Python Cheat Sheet = Support/Big Data/Document/My Docs/Python/Python_CheatSheet.MD == Installation/Config == === PIP === <source lang=bash> -- list all installed packages pip list -- list only local installed packages in a virtual env pip list --local -- search a package pip list|grep <packagename> -- show the package location pip show <packagename> </source> === location of the globally installed packages === <source lang=bash> python -m site </source> <source lang=...)
- 2024년 10월 5일 (토) 00:07 Devcafe 토론 기여님이 Pyqt5 다크테마 문서를 만들었습니다 (새 문서: === 테마 설치 === <source lang=python> pip install qdarkstyle </source> === 다크 테마 사용 샘플 === <source lang=python> import sys import qdarkstyle from PyQt5 import QtWidgets # create the application and the main window app = QtWidgets.QApplication(sys.argv) window = QtWidgets.QMainWindow() # setup stylesheet app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5()) # or in new API app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyqt5')) # run window.show() a...)
- 2024년 10월 5일 (토) 00:06 Devcafe 토론 기여님이 Pyqt5 sqlite manager 샘플코드 문서를 만들었습니다 (새 문서: == PYQT5를 이용한 SQLITE DB 관리 샘플 == === main.py === <source lang=python> #!/usr/bin/python3 # This software is distributed under the GNU Lesser General Public License (https://www.gnu.org/licenses/lgpl-3.0.en.html) # WARNING: This is not a software to be used in production. I write this software for teaching purposes. # TO DO: There lots of things to be done. This is experimental software and will never finish. But I will do the followings first: # 1) Save SQL...)
- 2024년 10월 4일 (금) 23:57 Devcafe 토론 기여님이 미디어위키:Common.css 문서를 만들었습니다 (새 문서: 이 CSS 설정은 모든 스킨에 적용됩니다: 반응형 그리드 레이아웃: .responsive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 20px; } 반응형 이미지: .responsive-image { width: 100%; height: auto; } 모바일 환경에서의 텍스트 정렬: @media (max-width: 768px) { .main-page-intro { text-align: center; } } /* 데스크탑에서는...)
- 2024년 10월 4일 (금) 23:13 Devcafe 토론 기여님이 Pyqt5 ProgressBar 문서를 만들었습니다 (새 문서: 컨텐츠 바로가기 cafe24 접속하신 사이트는 허용 접속량을 초과하였습니다. [503 Service Unavailable] 이 안내 페이지는 일일 약정 전송량(Traffic)을 초과한 경우 표시되며, 전송량은 매일 자정을 기준으로 자동 초기화됩니다. 사이트 관리자는 호스팅 홈페이지 '나의서비스관리' 메뉴에서 사양 변경 및 트래픽 리셋이 가능합니다. 호스팅센터 홈페이지 바로가기 Copyr...)
- 2024년 10월 4일 (금) 23:13 Devcafe 토론 기여님이 Pyqt 트레이 프로그램 문서를 만들었습니다 (새 문서: 컨텐츠 바로가기 cafe24 접속하신 사이트는 허용 접속량을 초과하였습니다. [503 Service Unavailable] 이 안내 페이지는 일일 약정 전송량(Traffic)을 초과한 경우 표시되며, 전송량은 매일 자정을 기준으로 자동 초기화됩니다. 사이트 관리자는 호스팅 홈페이지 '나의서비스관리' 메뉴에서 사양 변경 및 트래픽 리셋이 가능합니다. 호스팅센터 홈페이지 바로가기 Copyr...)
- 2024년 10월 4일 (금) 23:12 Devcafe 토론 기여님이 Pyqt 타이머 문서를 만들었습니다 (새 문서: <source lang=python> import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import QTimer, QTime class MyWindow(QWidget): def __init__(self): super().__init__() self.timer = QTimer(self) self.timer.setInterval(0.5) self.timer.timeout.connect(self.timeout) self.setWindowTitle('QTimer') self.setGeometry(100, 100, 600, 280) layout = QVBoxLayout() self.lcd = QLCDNumber() self.lcd.display('')...)
- 2024년 10월 4일 (금) 23:11 Devcafe 토론 기여님이 Pyqt 버튼 문서를 만들었습니다 (새 문서: <source lang=python> #!/usr/bin/env python # coding: utf-8 # 예제 내용 # * RadioButoon 배치 import sys from PyQt5.QtWidgets import QWidget from PyQt5.QtWidgets import QRadioButton from PyQt5.QtWidgets import QGroupBox from PyQt5.QtWidgets import QBoxLayout from PyQt5.QtWidgets import QApplication from PyQt5.QtCore import Qt __author__ = "Deokyu Lim <hong18s@gmail.com>" class Form(QWidget): def __init__(self): QWidget.__init__(self, flags=Qt.Widget)...)
- 2024년 10월 4일 (금) 23:10 Devcafe 토론 기여님이 Pyqt db 연결 문서를 만들었습니다 (새 문서: == PYQT5 SQL CRUD 프로그램 == === 테이블 DDL === SQLITE3 <source lang=sql> create table field ( id Integer primary key autoincrement, Name Text, Surname Text, DOB Text, Phone Text ); </source> === main.py [메인 APP] === <source lang=python> import sys from ui import * from PyQt5.QtWidgets import QApplication, QMainWindow, QMessageBox, QTableView from PyQt5 import QtSql from PyQt5 import QtCore class form(QMainWindow): def __init__(self): super().__...)
- 2024년 10월 4일 (금) 23:10 Devcafe 토론 기여님이 PyQt 문서를 만들었습니다 (새 문서: 참고 : https://opentutorials.org/module/544/4998 == Pyqt5 레퍼런스 == https://www.riverbankcomputing.com/static/Docs/PyQt5/index.html # Hello World 화면 만들기 ## ui화면 만들기 QT디자이너를 이용하여 윈도우 폼을 생성한후 "xxxx.ui" 파일로 저장 (.ui파일은 xml파일임) pyuic5 -x xxxx.ui -o xxxx.py ----- ### UI 만들기 <source lang=python> # coding: utf-8 import sys from PyQt5 import QtWidgets from PyQt5 import uic class Form(QtWidget...)
- 2024년 10월 4일 (금) 23:09 Devcafe 토론 기여님이 Pykioom 문서를 만들었습니다 (새 문서: === pykiwoom api === https://github.com/sharebook-kr/pykiwoom/tree/master/pykiwoom * pykiwoom.py <source lang=python> import sys from PyQt5.QtWidgets import * from PyQt5.QAxContainer import * import pythoncom import datetime from pykiwoom import parser import pandas as pd import time import logging logging.basicConfig(filename="log.txt", level=logging.ERROR) class Kiwoom: def __init__(self, login=False): self.ocx = QAxWidget("KHOPENAPI.KHOpenAPICtrl.1")...)
- 2024년 10월 4일 (금) 23:08 Devcafe 토론 기여님이 Pyinstaller 문서를 만들었습니다 (새 문서: == 파이썬을 exe 파일로 배포 하기 == === 실행 옵션 === ==== 일반적인 옵션 ==== --distpath DIR : bundled app을 저장할 경로 (디폴트 : ./dist) --workpath WORKPATH : temporary 작업 파일을 저장할 곳 (디폴트 : ./build) --noconfirm : output 경로를 물어보지 않고 지정 (디폴트 : SPECPATH/dist/SPECNAME) --clean : 빌드하기 전에 캐시와 temp 파일들 제거 --log-level LEVEL : 빌드할 때, console에 프린트될 메시...)
- 2024년 10월 4일 (금) 23:08 Devcafe 토론 기여님이 Pycron 사용법 문서를 만들었습니다 (새 문서: <nowiki>#</nowiki> <nowiki>#</nowiki> Python Cron <nowiki>#</nowiki> by Emilio Schapira <nowiki>#</nowiki> Copyright (C) 2003 Advanced Interface Technologies, Inc. <nowiki>#</nowiki> <nowiki>http://www.advancedinterfaces.com</nowiki> <nowiki>#</nowiki> <nowiki>http://sourceforge.net/projects/pycron/</nowiki> <nowiki>#</nowiki> <nowiki>**</nowiki> <nowiki>**</nowiki> INTRODUCTION <nowiki>**</nowiki> This is a clone of the well-known cron job scheduler for the unix flavo...)
- 2024년 10월 4일 (금) 23:07 Devcafe 토론 기여님이 Pycharm 설치 문서를 만들었습니다 (새 문서: 3) Copy the generated keyfile to the configuration directory (idea.config.path). By default this is: Windows 7, 8, 10: <SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>\config Windows XP: <SYSTEM DRIVE>\Documents and Settings\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>\config Linux: ~/.<PRODUCT><VERSION>/config MacOSX: ~/Library/Preferences/<PRODUCT><VERSION> Category:python)
- 2024년 10월 4일 (금) 23:06 Devcafe 토론 기여님이 Py qt 문서를 만들었습니다 (새 문서: == PYQT 기초 강의 == https://opentutorials.org/module/544 == PYQT 샘플 소스 == https://github.com/PyQt5/PyQt == PyQt6 == https://www.riverbankcomputing.com/static/Docs/PyQt6/# category:python)
- 2024년 10월 4일 (금) 23:05 Devcafe 토론 기여님이 Process memory share 문서를 만들었습니다 (새 문서: https://docs.python.org/3/library/multiprocessing.shared_memory.html category:python)
- 2024년 10월 4일 (금) 23:05 Devcafe 토론 기여님이 Pandas 엑셀 문서를 만들었습니다 (새 문서: == pandas + 엑셀 파일 읽고 쓰기 == * 파이썬 모듈 설치 <source lang=python> pip install pandas pip install xlrd pip install openpyxl </source> === 엑셀 읽기 === <source lang=python> import pandas as pd df = pd.read_excel('test.xlsx', sheet_name="Sheet1", engine='openpyxl') print(df) </source> === 엑셀 쓰기 === <source lang=python> import pandas as pd df = pd.read_excel('test.xlsx', sheet_name="Sheet1", engine='openpyxl') print(df) df['전재...)
- 2024년 10월 4일 (금) 23:04 Devcafe 토론 기여님이 Pandas mysql insert 문서를 만들었습니다 (새 문서: = Pandas DataFrame을 MySQL에 Insert = * SQLAlchemy, pymysql, MySQLdb 를 파이썬에 설치 == 패키지를 설치 == # python3 <source lang=python> $ pip install pymysql $ pip install sqlalchemy </source> == 파이썬 연결 소스 == <source lang=python> import pandas as pd from sqlalchemy import create_engine # MySQL Connector using pymysql pymysql.install_as_MySQLdb() import MySQLdb engine = create_engine("mysql+mysqldb://root:"+"password"+"@localhost/db_name...)
- 2024년 10월 4일 (금) 23:03 Devcafe 토론 기여님이 Pandas 문서를 만들었습니다 (새 문서: = Pandas,DataFrame 생성, 추가, 삭제, 조회, 메타 등 = == 데이터프레임 개체 생성(create) == # Table이나 Sheet형식이 데이터 저장 개체 # indext와 여러 column으로 구성 <source lang=python> # -*- coding: utf-8 -*- from pandas import Series, DataFrame import numpy as np </source> === 기본 데이터프레임 생성 === <source lang=python> df = DataFrame([1000, 2000, 3000, 4000]) print df df = DataFrame([1000, 2000, 3000, 4000], index=...)
- 2024년 10월 4일 (금) 23:02 Devcafe 토론 기여님이 Mybatis 파서 문서를 만들었습니다 (새 문서: == 모듈 설치 == <source lang=python> pip install mybatis-mapper2sql </source> == 사용법 == <source lang=python> import mybatis_mapper2sql # Parse Mybatis Mapper XML files mapper, xml_raw_text = mybatis_mapper2sql.create_mapper(xml='mybatis_mapper.xml') # Get All SQL Statements from Mapper statement = mybatis_mapper2sql.get_statement(mapper) # Get SQL Statement By SQLId statement = mybatis_mapper2sql.get_child_statement(mapper, sql_id) </source> === MyBatis Xml 파싱하...)
- 2024년 10월 4일 (금) 23:02 Devcafe 토론 기여님이 Django restful 문서를 만들었습니다 (새 문서: https://lsjsj92.tistory.com/m/501 https://likelion-kgu.tistory.com/m/41 category:python)
- 2024년 10월 4일 (금) 23:01 Devcafe 토론 기여님이 Chrome자동화 문서를 만들었습니다 (새 문서: https://selenium-python.readthedocs.io/index.html Selenium Headless WebDriver 요구사항 1. Xvfb를 설치하여 메모리에서 화면을 시물레이션 <source lang=python> apt-get install xvfb </source> 2. 파이어폭스 설치 및 요구사항 설치 <source lang=python> echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289...)
- 2024년 10월 4일 (금) 23:00 Devcafe 토론 기여님이 Chatgpt 텍스트 유사도 비교 문서를 만들었습니다 (새 문서: === BERT를 이용한 유사도 비교 === <source lang=python> !pip install transformers import torch from transformers import BertTokenizer, BertForSequenceClassification, AdamW from torch.utils.data import DataLoader, Dataset from sklearn.metrics import pairwise_distances # Load pre-trained BERT model and tokenizer model = BertForSequenceClassification.from_pretrained('bert-base-uncased') tokenizer = BertTokenizer.from_pretrained('bert-base-uncased') # Load STS-B dataset t...)
- 2024년 10월 4일 (금) 22:59 Devcafe 토론 기여님이 CEF Python 문서를 만들었습니다 (새 문서: = CEF Project = # .Net (CEF3) - https://github.com/cefsharp/CefSharp # .Net (CEF1) - https://bitbucket.org/fddima/cefglue # .Net/Mono (CEF3) - https://bitbucket.org/xilium/xilium.cefglue # .Net (CEF3) - https://bitbucket.org/chromiumfx/chromiumfx # Delphi (CEF1) - http://code.google.com/p/delphichromiumembedded/ # Delphi (CEF3) - https://github.com/hgourvest/dcef3 # Delphi (CEF3) - https://github.com/salvadordf/CEF4Delphi # Go - https://github.com/richardwilkes/cef # Go - https:...)
- 2024년 10월 4일 (금) 00:52 MediaWiki default 토론 기여님이 대문 문서를 만들었습니다