반응형
반응형

https://sdc-james.gitbook.io/onebook/2./2.1./2.1.5.-visual-studio-code

 

3.1.5. Visual Studio Code 설치 - OneBook(Python & Deep Learning)

Visual Studio Code(약자 VS Code)는 편리한 프로그래밍 에디터 입니다. Visual Studio Code (VS Code)는 크로스 플랫폼 소스 편집기로서 윈도우즈, 리눅스, Mac OS 에서 무료로 사용할 수 있습다. Visual Studio Code를

sdc-james.gitbook.io

Visual Studio Code(약자 VS Code)는 편리한 프로그래밍 에디터 입니다. Visual Studio Code (VS Code)는 크로스 플랫폼 소스 편집기로서 윈도우즈, 리눅스, Mac OS 에서 무료로 사용할 수 있습다. Visual Studio Code를 설치한 후 여러 Extension들을 설치할 수 있는데, 파이썬 Extension을 설치하면, 파이썬 프로그래밍과 디버깅을 할 수 있습니다.
다음 링크에서 다운로드 할 수 있습니다.
User Installer는 현재 로그온된 사용자 계정에만 설치를 하며, System Installer는 Windows 전체 사용자 계정에서 사용할 수 있도록 설치(관리자 권한 필요)합니다. 저는 System Installer 버전을 다운로드하여 설치하겠습니다.
기본 옵션으로 설치를 끝까지 진행 합니다. 마지막에는 자신이 편리한대로 설정해 줍니다.
 
VSCode 가 설치 완료되면 필요한 Extension 들을 설치해 줍니다. Visual Studio Code를 설치한 후 여러 Extension들을 설치할 수 있는데, 파이썬 Extension을 설치하면, 파이썬 프로그래밍과 디버깅을 할 수 있습니다.
좌측 상단에 python을 입력하면 여러가지 Extension들이 나타납니다. 이중 Python Extension Pack 을 설치하면 Python, MagicPython, Visual Studio InteliCode, Django 등이 한꺼번에 설치됩니다. 이렇게 파이썬 Extension을 설치 완료하면 파이썬 프로그래밍을 진행할 수 있습니다. korean language pack 도 설치해 줍니다.
Pylance, Material Theme, Material Icon Theme, Prettier 등 필요한 Extension 들을 설치해 줍니다.
Pylance : Fast, feature-rich language support for Python
Prettier : 파일 저장시 알아서 포매쇼에 맞게 소스 코드 정
 
이제는 Visual Studio Code의 기본 터미널이 Windows의 Power Shell로 설정되어 있기 때문에 약간의 수정이 필요합니다.
이 기본 터미널의 종류를 cmd 또는 cmdGit Bash로 변경하면 오류없이 실행이 가능합니다. 먼저 Ctrl + Shift + P (컨트롤 + 쉬프트 + P) 키를 눌러 Command Palette를 열고 Terminal: Select Default Shell 을 입력합니다.
VS Code에서 파이썬 코드를 작성하기 위해서는 확장자 .py 를 가진 임의의 파이썬 파일을 생성하면 됩니다. [File] 메뉴에서 [New File]을 눌러 새 파일을 만들면 됩니다. 새 파일을 만드는 것보다 C:\ 에 'korAI'라는 새로운 작업 폴더를 만들어 줍니다.
이 작업 폴더에 새 hello.py 파일을 생성하고 에디터에서 코드를 작성합니다. 그리고 해당 폴더에 저장 합니다.
print("Hello World")
 
코드를 실행하기 전에 인터프리터를 선택해야 합니다. Ctrl + Shift + P (컨트롤 + 쉬프트 + P) 키를 눌러 Command Palette를 열고 Python: Select Interpreter 을 입력합니다.
여기에 가상 환경 설정에서 지정한 koreait 폴더내의 인터프리터를 지정합니다.
koreait 가상환경을 activate 합니다.
코드 작성 완료 후 프로그램을 실행하기 위해서는 [Debug] 메뉴의 [Start Debugging (F5)] 나 [Start without Debugging (Ctrl+F5)]를 누르면 됩니다.
특히 F5를 눌러 디버깅 모드로 실행하면, 로컬변수, 콜스택 등 여러 디버깅 정보를 이용할 수 있으며, Step Over, Step Into 등의 디버거 컨트롤을 사용할 수 있다.
파이썬 파일에 코드를 작성한 후, VS Code 에디터에서 우측 마우스 버튼을 클릭 [Run Python File in Terminal] 메뉴를 선택하면 하단에 터미날 창이 생기고 파이썬 프로그램을 인터프리터와 함께 실행해 준다.
 
VS Code 권장 Extension Pack
 
반응형
반응형

python, anaconda 가상환경에서 파이썬 버전 확인 및 변경

 

VScode에서 인터프리터 연결이 제대로 안될때. 버전이 낮아서 인터프리터 실행못할때 확인 필요

 

가상환경이름을 p_pygame  이라고 가정하고.

 

0. conda  activate (가상환경명) : 가상환경 실행.

1. python -V : 파이썬 버전 확인.

2. conda search python : 사용 가능한 python list 확인.

3. conda install python=x.x.x : 입력 버전으로 파이썬 버전이 변경됨.

4. conda deactivate

5. conda activate p_pygame   : 가상환경 실행.

6. python -V : 변경된 파이썬 버전을 확인할 수 있음.

반응형
반응형

 

아나콘다 다운로드 및 설치

 

가상환경 들어가서 pip update 필요하다. 

conda update pip

현재 (base) 환경에서 사용중인 파이썬 버전을 확인하려면 다음 명령을 실행합니다.

PIP는 Python Package Index (PyPI) 저장소로부터 패키지를 다운받아 설치 및 관리해주는 패키지 매니저 입니다. pip install [패키지 이름]의 형태로 패키지를 설치하면 됩니다.
Pip를 최신 버전으로 업그레이드 하려면 다음 명령을 실행합니다.
(base) PS D:\_py_project> python --version

(base) PS D:\_py_project> python -m pip install --upgrade pip

아나콘다 패키지 업데이트

(base) C:\Users\사용자계정>conda -–version

(base) C:\Users\사용자계정>conda update --all

 

pygame :  https://www.pygame.org/wiki/GettingStarted

 

GettingStarted - pygame wiki

Pygame Installation Pygame requires Python; if you don't already have it, you can download it from python.org. It's recommended to run the latest python version, because it's usually faster and has better features than the older ones. Bear in mind that pyg

www.pygame.org

 

아나콘다 설치 모르겠으면 기본 설치로~ https://docs.python.org/3/using/windows.html#installation-steps

 

4. Using Python on Windows

This document aims to give an overview of Windows-specific behaviour you should know about when using Python on Microsoft Windows. Unlike most Unix systems and services, Windows does not include a ...

docs.python.org

 

반응형
반응형

아세트 아미노펜이 문제구만.

어린이타이레놀현탁액 등 동일성분‧동일용량 6개사 7개 품목 
식약처, 이부프로펜‧덱시부프로펜 성분 대체가능 의약품 제시

http://www.docdocdoc.co.kr/news/articleView.html?idxno=3005979 

 

콜대원‧챔프 빠진 어린이 감기약 시장…반사이익은 누가? - 청년의사

동아제약의 ‘챔프시럽’에 이어 대원제약의 ‘콜대원키즈펜시럽’ 제조‧판매가 잠정 중단되면서 환자들에게 남은 어린이 감기약 선택지에 눈길이 모인다.특히, 식품의약품안전처가 아세트

www.docdocdoc.co.kr

아제약의 ‘챔프시럽’에 이어 대원제약의 ‘콜대원키즈펜시럽’ 제조‧판매가 잠정 중단되면서 환자들에게 남은 어린이 감기약 선택지에 눈길이 모인다.

특히, 식품의약품안전처가 아세트아미노펜뿐만 아니라 이부프로펜, 덱시부프로펜 성분의 시럽제 품목을 대체 가능 의약품으로 제시해 어떤 제약사에게 반사이익이 돌아갈지 귀추가 주목된다.
 
지난 16일 식약처는 상분리 현상이 발생한 대원제약의 소아용 해열진통제 콜대원키즈펜시럽에 대한 조사 결과를 발표하며, 잠정 제조‧판매 중단 처분을 내림과 동시에 자발적 회수를 권고했다고 밝혔다.

또 식약처는 대원제약이 수탁 제조하는 다나젠의 파인큐아세트펜시럽에서도 상분리 현상이 발견됐다며 잠정 제조‧판매 조치를 취했다고 했다. 이번 조치는 대원제약의 제제 개선 조치가 확인될 때까지 유지된다.

공교롭게도 콜대원키즈펜시럽과 파인큐아세트펜시럽 두 제품 모두 지난 4월 동아제약 챔프시럽 잠정 제조‧판매‧사용 중지 조치 당시 식약처가 발표한 동일성분 동일함량 함유 대체 의약품이다.

이번 조치 이후 시중에서 접할 수 있는 시럽제‧현탁제 아세트아미노펜 성분 제품은 ▲맥널티제약 ‘신비아시럽’ ▲삼아제약 ‘세토펜현탁액’, ‘세토펜건조시럽’ ▲신일제약 ‘파세몰시럽’ ▲조아제약 ‘나스펜시럽’ ▲한국존슨앤드존슨 ‘어린이타이레놀현탁액’ 등이다. 여기에 이달 초 광동제약이 출시한 ‘내린다시럽’(텔콘알에프제약 제조)까지 더하면 총 6개사 7개 품목이다.

인지도가 높고 시장에서 큰 비중을 차지한 챔프시럽과 콜대원키즈펜시럽의 공백으로 의‧약 전문가 및 환자들의 선택지가 남은 제품들도 좁혀진 상황. 대신 식약처는 챔프시럽 때와 달리 아세트아미노펜 외에도 이부프로펜, 덱시부프로펜 등 다른 해열진통제 성분 함유 제품 또한 대체 가능 의약품으로 포함했다. 2021~2023년 1분기 동안 생산‧수입 실적이 확인된 품목을 기준으로 삼았다.

1세 이상 소아에 투여 가능한 이부프로펜 성분 시럽제는 총 14개 품목으로,

▲대웅제약 ‘대웅이부펜시럽’

▲보령바이오파마 ‘비알이부펜시럽’

▲팜젠사이언스 ‘이부날시럽’

▲광동제약 ‘키즈앤펜시럽’

▲대우제약 ‘어린이알리펜시럽’

▲대원제약 ‘콜대원키즈이부펜시럽’

▲동아제약 ‘챔프이부펜시럽’

▲맥널티제약 ‘맥펜시럽’

▲부광약품 ‘코리투살에프시럽’

▲삼아제약 ‘이브듀오시럽’

▲삼일제약 ‘어린이부루펜시럽’

▲일동제약 ‘캐롤시럽’

▲제뉴원사이언스 ‘잼플이부펜시럽’

▲한미약품 ‘이부서스펜시럽’

등이다.

이 중 동아제약과 대원제약의 어린이 감기약 제품군 중 이부프로펜 성분 제품인 ‘챔프이부펜시럽’과 ‘콜대원키즈이부펜시럽’이 대체 가능 의약품으로 포함된 점은 눈에 띄는 부분이다.

식약처는 생후 6개월 이상 소아에 투여 가능한 덱시부프로펜 성분 시럽제 20개 품목도 대체 가능 의약품으로 제시했다.

▲동구바이오제약 ‘엑스펜시럽’ ▲바이넥스 ‘닥스펜시럽’ ▲보령 ‘보령펜시럽’ ▲보령바이오파마 ‘비알덱시펜시럽’ ▲테라젠이텍스 ‘맥스프로펜시럽’ ▲팜젠사이언스 ‘덱시부시럽’ ▲퍼슨 ‘맥시부키즈시럽’ ▲건일제약 ‘덱시탑시럽’ ▲경동제약 ‘덱시디펜시럽’ ▲대원제약 ‘큐어펜시럽’ ▲삼아제약 ‘코코페디시럽’ ▲안국약품 ‘애니펜시럽’ ▲일성신약 ‘맥스프로시럽’ ▲JW신약 ‘소니펜시럽’ ▲조아제약 ‘덱시딜시럽’ ▲진양제약 ‘맥시펜시럽’ ▲코오롱제약 ‘코키즈펜시럽’ ▲한국유니온제약 ‘디프로펜시럽’ ▲한구휴텍스제약 ‘아이소펜시럽’ ▲한미약품 ‘맥시부펜시럽’ 등이다.

이날 식약처는 의료기관과 의‧약 전문가를 대상으로 의약품 안전성 서한(속보)을 배포하고 필요 시 대체 가능 의약품을 사용하라고 권고했다.

식약처는 “의‧약 관계자 여러분께서는 상기 내용에 유의해 해당 제품의 판매를 중지해 주시고, 필요 시 대체 가능 의약품 사용을 당부 드리며, 해당 제품에 대한 회수가 적절히 이뤄질 수 있도록 적극 협조해 주시기 바란다”고 전했다.

출처 : 청년의사(http://www.docdocdoc.co.kr)

반응형
반응형

35 Knowledge base tools for developers in 2023

https://medium.com/promyze/35-knowledge-base-tools-for-developers-in-2023-2584d1ea6bbb

 

35 Knowledge base tools for developers in 2023

In 2023, there should be no debate about the added value of great documentation in software projects. Software engineers should have access…

medium.com

 

  • 엔지니어가 도구의 UI에서 문서를 작성하는 Wiki와 유사한 도구 (예: Notion, Confluence, …)
  • 예 를 들어 코드 분석 및 온보딩 세션(예:프로미즈);
  • 질문/답변 플랫폼과 같은 커뮤니케이션 도구(예: Teams용 StackOverflow, …)
  • 개발자가 일반적으로 마크다운으로 문서를 작성하면 모든 마법이 일어나는 생성된 위키 도구(예: ReadTheDocs, …)

Acreom

Capture notes, break down issues, track your progress, create a knowledge base.

AnswerHub

Empowering developers and teams to learn, share, and succeed through online communities and knowledge sharing.

AppFlowy

Open Source Notion Alternative

Archbee

Build better product documentation — faster

Bit.ai

Next-Gen Document Collaboration Platform for Teams!

BookStack

(Open Source) BookStack is a simple, self-hosted, easy-to-use platform for organizing and storing information.

ClickUp

Save time with the all-in-one productivity platform that brings teams, tasks, and tools together in one place.

Coda

The all-in-one doc for teams.

CodeStream

New Relic CodeStream is a free open-source extension for VS Code, Visual Studio, and JetBrains.

Confluence

Confluence is your remote-friendly team workspace where knowledge and collaboration meet.

Daux.io

(OpenSource) The Easiest Way To Document Your Project.

Developerhub.io

All-in-One Platform for Online Documentation.

Docusaurus

(OpenSource) Build optimized websites quickly, focus on your content.

Flarum

(Open Source) Forums made simple. Modern, fast, and free!

Forem

(Open Source) Forem is an open source platform for building modern, independent, and safe communities.

GitBook

Where software teams break knowledge silos. (We use it at Promyze for our public documentation)

GitHub Pages

Websites for you and your projects.

Hugo

(OpenSource) The world’s fastest framework for building websites.

Jekyll

Transform your plain text into static websites and blogs.

mdBook

Static site generator from Markdown files.

MkDocs

(Open Source) Project documentation with Markdown.

Notion

The all-in-one workspace — for your tasks, notes, wikis, and calendar.

Notaku

Build a full-featured Docs website in minutes, using Notion as CM

Nuclino

A modern, simple, and blazingly fast way to collaborate — bring knowledge, docs, and projects together in one place.

Papyrs

The easiest way to create an online for your company.

Read The Docs

(Open Source) Read the Docs simplifies software documentation by automating building, versioning, and hosting of your docs for you.

SkyDocs

(OpenSource) SkyDocs is a lightweight static documentation builder with MarkDown.

Slab

Build a culture of knowledge-sharing today.

Sphinx

(OpenSource) Sphinx makes it easy to create intelligent and beautiful documentation.

Stack Overflow For Teams

Knowledge sharing and collaboration without distractions.

Swimm

Documentation Platform Built for Engineers.

TechDocs

Spotify’s docs-like-code plugin for Backstage.

Tettra

The best way to organize and share knowledge with your teammates.

Wiki.js

(OpenSource) The most powerful and extensible open source Wiki software

Promyze

Connect Developers’ Knowledge and share best coding practices, fully integrated in developers tools.

That’s all, folks; we hope that post gave you an overview of the current landscape of the knowledge base tools for software developers.

Among the ones quoted above, at Promyze, we use Notion to gather material such as procedures to create new releases of our IDE extensions. We use GitBook to publish the user documentation of our platform. Finally, we use our tool Promyze internally to raise new coding standards continuously. We bring these standards directly in IDEs & during code reviews since we consider this is the moment developers need this knowledge. You don’t code with a Wiki opened in a tab.

For each kind of documentation, you must define who should update it, when, and how other engineers will be notified of this change.

 

반응형
반응형

https://js.wiki/

 

Wiki.js

Install anywhere Works on virtually any platform and is compatible with either PostgreSQL, MySQL, MariaDB, MS SQL Server or SQLite!

js.wiki

가장 강력 하고
확장 가능한 오픈 소스 Wiki 소프트웨어


Wiki.js의 아름답고 직관적인 인터페이스를 사용하여 문서 작성을 즐겁게 만드십시오 !

네이버에 검색해봤더니 ㅋㅋㅋ 

ㅋㅋㅋ

 

반응형

+ Recent posts