DOM
Mastering the DOM: Concepts, Manipulation, and Its Evolution When you start web development, especially front-end, one of the first major hurdles you encounter is the DOM (Document Object Model). ...
Mastering the DOM: Concepts, Manipulation, and Its Evolution When you start web development, especially front-end, one of the first major hurdles you encounter is the DOM (Document Object Model). ...
Understanding Data Serialization Formats: XML, JSON, and YAML Explained In the world of software development and data interchange, choosing the right data format is crucial. This post explores thr...
Javascript는 절차지향적인(c언어 등) 언어들과는 다르게 특정 코드의 연산이 끝나지 않아도 다음 코드를 먼저 실행하는 특성을 지닌다. console.log('Hello'); setTimeout(function () { console.log('Bye'); }, 3000); console.log('Hello Again'); //출력 결과...
All, Any 파라미터로 iterable를 받아서 각 item들이 모두가 참일때 true를 반환하는 것이 all, 하나라도 참일때 true를 반환하는 것이 any이다. return all(r ==0 or c == 0 or matrix[r-1][c-1] == val for r, row in enumerate(matrix...
입출력 a = input() a = input("prompt") print("a" "b" "c") # abc print("a" + "b" + "c") # abc print("a","b","c") # ('a', 'b', 'c') x = "Hello" y = "World!" print(x,y) ...
함수 def function_name(parameter): return something def say_ho(): print("ho~~") say_ho() # ho~~ return값이 void면 indentation으로 다른 실행문을 계속 쓰면 된다. 함수를 탈출하고 싶으면 return 만 써도 된다.(break같은 느낌으로) ...
변수 변수 선언법 a, b = ('string','arr') (a,b) = 'string, 'arr' [a,b] = ['string', 'arr'] a = b = 'string' a = [1,2] b = a # b는 a가 가리키고 있는 object의 주소값을 가리키고 deep copy가 일어나지는 않습니다. ...
Python은 interpreter이다. Interpreter란 한 줄 한 줄 바로바로 해석하고 결과를 보여주는 언어이다. Scalar type int, float, bool, None atomic data type Non-scalar type string, tuple, list,...
# yum install gcc openssl-devel bzip2-devel libffi-devel # cd /usr/src # wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz # tar xzf Python-3.7.3.tgz # cd Python-3.7.3 # ./configure --e...
1. File and Directory Navigation Understanding the system’s structure and finding important configuration files or hidden information is the most fundamental step. find A powerful file search to...