2025년 9월 2일 화요일

파이슨 - 주피터 노트북 주소//파이썬 에디터-PyCharm : Atom / 실행 화면 엿보기

https://m.blog.naver.com/towards-ai/222182455430 



기본 주피터 노트북 주소는 http://localhost:8888/tree 입니다.

주피터랩(JupyterLab)을 사용하려면 tree를 lab으로 바꾼 http://localhost:8888/lab으로 접속하면 됩니다.


| 주피터 노트북(Jupyter Notebook) 단축키 모음

https://datainsider.tistory.com/entry/python-jupyter-notebook-shortcut-%EC%A3%BC%ED%94%BC%ED%84%B0-%EB%85%B8%ED%8A%B8%EB%B6%81-%EB%8B%A8%EC%B6%95%ED%82%A4-%EB%AA%A8%EC%9D%8C

주피터 노트북으로 파이번 코드 작업시 필요한 단축기들에 대해서만 정리하니 추가적으로 필요한 내용 이 있으면 Jupyter Notebook Keyboard shortcuts메뉴를 참고하기를 바랍니다.

실명

Enter

Shift+Enter

Ctrl+Enter

Alt+Enter

Shift-Tab

D, D

Z

M

Y

0,0

P

ESC

UP(↑), DOWN(1)(위 아래 이 동)

Tah

Shift+L

CTRL+/

Shift-Down) or UP(), Shift+M

ALT 누곤 상태로 코드 문학 및 Drag

Shift+CTRL+

TAB, SHIFT+TAB

CTRL+D

Active cell edit mode로 설정

Active cell 실행하고 아래 샘 선택

Active cell 실행

Active cell 실행하고 아래 샘 생성

자동완성

A

위(Above)에 새로운 셀 생성

아래(Below)에 새로운 셀 생성

Active cell 삭제(Definitely Delete)

제거 취소

Markdown 타입으로 변경

뿔을 Code 타임으로 변경

커널 재시작

명령 Palette("아래 그림 참조) 연기

Active cell에서 나온

Cell 위 아래로 이동

함수 이름 일부만 입력하고 Tab가 누르면 자동 완성됨 예) pri 치고 Tab키 치보면 print으로 자동 완성됨

H

단축키 목록("아래 그림 참조) 연기

출번호("아래 그림 참조) 표시

주석처리

셀 병합

Multicursor 지원

커서 위치에서 분할

들여쓰기(Indentation)

코드 1줄 삭제



Jupyter Notebook utilizes two primary modes, Command Mode and Edit Mode, each with its own set of keyboard shortcuts to enhance efficiency.
Command Mode (Cell Border is Blue):
  • AInsert cell above.
  • BInsert cell below.
  • D D(press D twice): Delete selected cell.
  • ZUndo cell deletion.
  • XCut selected cell.
  • CCopy selected cell.
  • VPaste cell below.
  • Shift + VPaste cell above.
  • MChange cell to Markdown.
  • YChange cell to Code.
  • RChange cell to Raw NBConvert.
  • POpen the Command Palette.
  • EnterEnter Edit Mode.
  • Up/Down ArrowNavigate between cells.
  • Shift + Up/Down ArrowSelect multiple cells.
  • OToggle output visibility of selected cell.
Edit Mode (Cell Border is Green, Cursor Blinks):
  • EscExit to Command Mode.
  • TabCode completion or indent.
  • Shift + TabDisplay tooltip/docstring.
  • Ctrl + ]Indent.
  • Ctrl + [Dedent.
  • Ctrl + ASelect all text in cell.
  • Ctrl + ZUndo.
  • Ctrl + Shift + Zor Ctrl + Y: Redo.
  • Ctrl + Home/EndGo to cell start/end.
  • Ctrl + Left/Right ArrowMove cursor one word left/right.
  • Shift + EnterRun cell and select cell below.
  • Ctrl + EnterRun cell and keep focus on the same cell.
  • Alt + EnterRun cell and insert cell below.
  • Ctrl + Shift + -Split cell at cursor.
  • Ctrl + /Toggle comments for selected lines.
  • Ctrl + SSave and Checkpoint.
Custom Shortcuts:
Users can also define custom keyboard shortcuts by navigating to Help > Edit Keyboard Shortcuts within the Jupyter Notebook interface.

6.4.4. 파이썬 에디터 .py 라는 확장자로 끝나는 파일은 파이썬 에디터로 열고 작업할 수 있다. 다양한 파이썬 에디터가 있지만, 
이번 시간에는 AtomPyCharm에 대한 소개를 하겠다. Atom : Atom 은 간단하게, 파이썬 파일을 작성하거나 편집할 수 있는 에디터이다. 설치 : Atom 웹사이트에 접속한다 (https://atom.io/ ). 다운로드 버튼을 눌러 설치파일을 받아 실행시킨다. 실행 : Atom 을 실행시킨다
PyCharm : Atom 에는 많은 기능이 제한되어 있다. 복잡한 파이썬 작업을 해야할 경우, PyCharm 과 같이 많은 기능을 제공하는 에디터가 필요하다. 설치 : PyCharm 다운로드 사이트에 접속한다. (https://www.jetbrains.com/pycharm/download )




댓글 없음:

2.06 -