- express install
- Ubuntu timezone
- npm버전확인
- index 생성
- 파이썬
- c file read
- mysql index 생성
- 디지털오션 서버생성하기
- Node.js express install
- C언어
- tzselect
- 우분투 시간변경
- c언어 파일 읽기
- 디지털오션 드로플릿
- node js express install
- 파이썬 반복문
- 우분투 시간설정
- node js 버전확인
- Python
- node 버전확인
- 라즈베리파이4
- 클라우드서버 생성
- 디지털오션 클라우드서버 생성하기
- raspi-config
- java 숫자를 문자로 변환하기
- 우분투 node js 설치
- 자바 한줄씩 읽기
- ubuntu node js
- 자바 파일 한줄씩 읽기
- ubuntu node js install
- Today
- Total
목록전체 글 (36)
호그래머

1. Python text 파일로 쓰기 txt_file_path = "D:/WORK/Python/티스토리/230625/test.txt" # 텍스트 파일 열기 (쓰기 모드) with open(txt_file_path, "w") as file: # 파일에 내용 쓰기 file.write("ABCDE \n") file.write("가나다라마 \n") file.write("12345") print("파일 쓰기 완료") 해당경로에 test.txt파일이 생성됩니다. 끝 1. 파이썬에서 쉽게 텍스트를 파일로 쓸 수 있다.
1. input text value 값 가져오기 - JavaScript document.getElementById("age").value; input text 태그 아이디 age의 value 값인 '나이'가 가져와 진다. 2. input text value 값 가져오기 - jQuery $("#age").val(); 동일하게 input text 태그 아이디 age의 value 값인 '나이'가 가져와 진다. 끝 1. JavaScript와 jQuery에서 쉽게 input text 태그의 id값을 이용하여 value값을 가져올 수 있다.
1. 자바 문자열 한글체크 하기 - regex import java.util.regex.Pattern; import java.util.regex.Matcher; public class tistory_java_230614 { public static void main(String[] args) { String text = "가나AA다1234"; String regex = "[\\p{IsHangul}]+"; Pattern pattern = Pattern.compile(regex); Matcher matcher = pattern.matcher(text); if (matcher.find()) { System.out.println("문자열에 한글 있음."); } else { System.out.println("문..