본문 바로가기
728x90

IT 개인학습45

Github, 유용한 윈도우 app https://www.itworld.co.kr/news/295987 “상상하던 기능이 현실로” 깃허브에 있는 유용한 윈도우 앱 28가지 깎아내리려는 의도는 없다. 그러나 마이크로소프트 스토어는 새로운 윈도우 소프트웨어를 발견하기 즐거운 장소가 아니다. 워드, 어도비 포토 www.itworld.co.kr 2023. 6. 23.
Plotly Dash from dash import Dash, html, dash_table, dcc, callback, Output, Input import pandas as pd import plotly.express as px # # Incorporate data # df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/gapminder2007.csv') # # Initialize the app # app = Dash(__name__) # # App layout # app.layout = html.Div([ # html.Div(children='My First App with Data, Graph, and Controls'), # html... 2023. 6. 19.
앱맵(Appmap) 소프트웨어 개발자 관점에서 보면 소프트웨어 개발 프로세스는 시급히 개선돼야 한다. 개발자의 창의성을 끌어내고 코드 제공 시간을 앞당겨 비즈니스를 개선하기 위한 새로운 범주의 툴이 필요하다. 앱맵(AppMap)이다. 앱맵은 개발자가 코드를 작성하는 과정에서 소프트웨어가 어떻게 동작하는지 볼 수 있어야 한다는 단순한 전제를 기반으로 만들어졌다. 개발자가 더 나은 코딩 의사 결정을 내리려면 코딩 과정에서 소프트웨어에 대한 동적 런타임 정보를 확보할 수 있어야 한다. 코딩 과정 중에 런타임 데이터를 가지면 개발자 개개인은 물론 개발 팀에 많은 혜택을 제공한다. 1. 프로덕션에 배포된 최신 코드나 풀 요청의 코드, 또는 현재 작업 중인 커밋되지 않은 최신 변경 사항 등 환경과 코드의 버전에 관계없이 코드가 실행되.. 2023. 6. 5.
Anvil, Full stack web apps https://anvil.works/docs/server/quickstart Quickstart Quickstart: Server Code Learn how to run code in Anvil’s hosted Python backend Anvil provides a server-side Python environment for your apps. Follow this quickstart to write a server function and call it from the client. Create an app Log in to Anvil and anvil.works 2023. 6. 2.
assert 1. if문 2. try ... except - 예외처리 https://cord-ai.tistory.com/37 Error, try ... except Error 1. 실행전 Error => 구문에러( SyntaxError ) = 문법적인 문제가 발생 2. 실행중 Error => 예외( Exception, RuntimeError ) ==> 예외처리해줄 수 있음 ( Exception handling = 조건문 or try except 구문 ) Error list AssertionEr cord-ai.tistory.com 3. assert - 가정 설정문 - 원하는 조건의 변수 값을 보증받을 때까지 assert로 테스트 할 수 있다. - 조건을 가정해 값을 보증하는 방식으로 코딩 하기 때문에 이를 '방어적 프.. 2023. 5. 16.
Manim, 3Blue1Brown https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw 3Blue1Brown 3Blue1Brown, by Grant Sanderson, is some combination of math and entertainment, depending on your disposition. The goal is for explanations to be driven by animations and for difficult problems to be made simple with changes in perspective. For more inform www.youtube.com https://3b1b.github.io/manim/getting_started/example_sce.. 2023. 4. 28.
shutil, os, multiprocessing, Numba, tqdm ... 내 구글 드라이브에 저장해놓은 데이터를 Colab 환경에 불러오는 시간이 만만치 않아 대기시간이 길어지는 경우가 종종있었다. TFrecord 파일 사용, 압축 1. 압축 - shutil.make_archive("폴더명", 확장자, 폴더) ## colab # !unzip -qq "zip 파일 경로(.zip)" -d "압축 푼 파일 저장할 경로" from numba import jit ## Numba는 수치 계산에 초점을 맞춘 파이썬을 위한 오픈 소스 JIT @git def ----: 빠르다 ## np.array np.asarray - array => copy = True - asarray => cop = False array를 다른 변수에 할당하고 원본을 변경할 경우 array의 copy본은 변경되지 않는.. 2023. 2. 3.
콘다(conda), git 실행 순서 git bash 실행 conda deactivate (가상환경이 실행되고 있는지 먼저 확인해야한다. 만약 실행되고 있다면 나와준다.) conda create -n project1 python=3.8 (가상환경 만들기) conda env list (가상환경 리스트 확인) conda activate project1 (가상환경 실행하기) git clone (깃 레파지토리 클론해주기) cd project (디렉토리 들어가기) 패키지 설치하기 ex) pip install falsk , python -m pip install -r requirements.txt 등 code . (vs code로 이동) 모든 라이브러리 패키지 install할 때, pip install requirements.txt ## require.. 2023. 1. 11.
728x90