728x90 ์ ์ฒด ๊ธ720 CSS - ๋ฏธ๋์ด์ฟผ๋ฆฌ ํ์ธ ์ฌ์ดํธ(mediaqueriestest.com) https://mediaqueriestest.com/CSS3 Media Queries Test on your browserCSS3 Media Queries is the heart of Responsive Design. This website will test all the features on your own browser, including screen dimensions, resolution and available extensions.mediaqueriestest.com 2023. 8. 28. ํ์ด์ฌ - url๋ก๋ถํฐ ์ด๋ฏธ์ง ๋ค์ด๋ก๋(urllib.request) import urllib.request urllib.request.urlretrieve(img_url, f'./cache/images/' + str(idx) + '.png') 2023. 8. 25. ์๋๋ก์ด๋ ์คํ๋์ค - ์น๋ทฐ(WebView) ์๋ฐ์คํฌ๋ฆฝํธ ์กฐ์ private Boolean isLoadingFinished = false; ... WebView webView = findViewById(R.id.webView); webView.setWebViewClient(new WebViewClient(){ @Override public void onPageStarted(WebView view, String url, Bitmap favicon) { super.onPageStarted(view, url, favicon); Toast.makeText(getApplicationContext(), "ํ์ด์ง ๋ก๋ ์ค...", Toast.LENGTH_LONG).show(); isLoadingFinished = false; } @Override public void onPag.. 2023. 8. 23. ์๊ณ ๋ฆฌ์ฆ - ํ์ผ 1ํ ์ต๋ ์ ๋ก๋ ์ ํ ํ์ ๋ถํ ํด์ ๋ณด๋ด๊ธฐ ์์) 1. ํ ๋ฒ์ ์ฌ๋ฆด ์ ์๋ ์ด๋ฏธ์ง๊ฐ 20๊ฐ๋ผ๋ฉด -> ์ด๋ฏธ์ง๋ฅผ 20๊ฐ์ฉ ๋๋์ด์ ์ฌ๋ฆฌ๊ธฐ 2. ์ด๋ฏธ์ง๊ฐ 43๊ฐ๋ผ๋ฉด 20๊ฐ ์ ๋ก๋ ๋๋จธ์ง 20๊ฐ ์ ๋ก๋ ๋๋จธ์ง 3๊ฐ ์ ๋ก๋ imgs = [i for i in range(1, 43+1)] UPLOAD_LIMIT_COUNT = 20 siz_start = 0 for i in range(1,100): siz_end = UPLOAD_LIMIT_COUNT*i if len(imgs[ siz_start : ]) > UPLOAD_LIMIT_COUNT: print("divide upload", imgs[ siz_start : siz_end ], len(imgs[ siz_start : siz_end ])) siz_start+=UPLOAD_LIMIT_COUNT else: p.. 2023. 8. 17. ์๊ณ ๋ฆฌ์ฆ - ์ฐ์์ ์ธ ์์ด์ธ์ง ํ์ธํ๊ธฐ ์์) 1~8๊ฐ์ ์ซ์๋ก ์ด๋ฃจ์ด์ง ์ฒดํฌ ๋ฐ์ค๊ฐ ์์ผ๋ฉฐ ์ฒดํฌ๋ฅผ ํ ๋๋ ์ฐ์์ ์ธ ์ซ์ ๋์ด์ด์ด์ผ ํจ (์ฌ๋ฐ๋ฅธ ์์: 1, 2, 3, 4) (ํ๋ฆฐ ์์: 1, 3, 4) def checkSerialCheckBox(): time_checkBoxes = [] if checkbox_time1_var.get() == "on": time_checkBoxes.append(1) if checkbox_time2_var.get() == "on": time_checkBoxes.append(2) if checkbox_time3_var.get() == "on": time_checkBoxes.append(3) if checkbox_time4_var.get() == "on": time_checkBoxes.append(4) if ch.. 2023. 8. 15. Expo - ์น๋ทฐ ERR_CLEARTEXT_NOT_PERMITTED ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ app.json "plugins": [ [ "expo-build-properties", { "android": { "usesCleartextTraffic": true } } ] ]"usesCleartextTraffic": true๋ฅผ ์ถ๊ฐํ๋ค. ์ถ์ฒ: https://docs.expo.dev/versions/latest/sdk/build-properties/ BuildPropertiesA config plugin that allows customizing native build properties during prebuild.docs.expo.dev 2023. 8. 15. Tkinter - CustomTkinter, pyinstaller ๋น๋ ํ blue.json ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ pyinstaller -F --collect-all customtkinter -w --collect-all customtkinter ์ต์ ์ ์ถ๊ฐํ๋ค. ์ถ์ฒ: https://stackoverflow.com/questions/75872305/how-to-get-the-correct-path-to-a-json-file-from-the-customtkinter-module How to get the correct path to a json file from the customtkinter module I made my GUI using customtkinter. I used auto-py-to-exe to make it an file. The exe file doesn't open because of an th.. 2023. 8. 13. Tkinter - ํ๋์ ์ธ UI ๋์์ธ CustomTkinter CustomTkinter ์ค์น ๋ช ๋ น์ด pip install customtkinterโ ๊นํ๋ธ ์ฃผ์ https://github.com/TomSchimansky/CustomTkinter GitHub - TomSchimansky/CustomTkinter: A modern and customizable python UI-library based on Tkinter A modern and customizable python UI-library based on Tkinter - GitHub - TomSchimansky/CustomTkinter: A modern and customizable python UI-library based on Tkinter github.com CustomTkinter ๊ณต์ ์ฌ์ดํธ(Doc.. 2023. 8. 13. ๋์งํธ ํฌ๋ ์ - ์ด๋ฏธ์ง์ ์์ถ ํ์ผ(zip)์ ๊ฒฐํฉํ๋ ๊ฐ๋จํ ์คํ ๊ฐ๋ ธ๊ทธ๋ํผ ์ฌ์ ์ค๋น ์๋๋ฐฉ์ ์์ผ ์ด๋ฏธ์ง์ ์จ๊ธฐ๊ณ ์ถ์ ํ์ผ์ ์์ถํ zip์ ์ค๋นํ๋ค. cmd ์ฐฝ์ ์ด์ด "copy /B ์ด๋ฏธ์ง+์์ถํ์ผ ์ถ๋ ฅ์ด๋ฆ"์ ์ ๋ ฅํ๋ค. (/B๋ ์ด์ง ํ์ผ ์ต์ ์ด๋ค.) ์ถ๋ ฅ๋ ๊ฒฐ๊ณผ(output.zip)๋ ์ผ๋ฐ ์ด๋ฏธ์ง์ ๋๊ฐ์ ๋ณด์ธ๋ค. ๋๋ธ ํด๋ฆญ์ ํ๋ฉด ์ด๋ฏธ์ง ๋ทฐ๋ ์ ์์ ์ผ๋ก ๋ถ๋ฌ์จ๋ค. ํ์ง๋ง ์๋ณธ๊ณผ ๋น๊ตํ๋ฉด ์ฉ๋์ด ํจ์ฌ ์ฆ๊ฐํ ๊ฒ์ ์ ์ ์๋ค. ์ฌ๊ธฐ์ ์ ๊น ํ์ฅ์๋ฅผ .zip์ผ๋ก ๋ณ๊ฒฝํ๋ฉด ํ์ผ ์์ด์ฝ์ด ๊นจ์ ธ ๋ณด์ด์ง๋ง ๋๋ธ ํด๋ฆญ์ ํ๋ฉด ์์ถ ํ๋ก๊ทธ๋จ์ด ๋ง์ฐฌ๊ฐ์ง๋ก ์ ์์ ์ผ๋ก ์ด๋ฆฐ๋ค. ํ๊ธฐ๋ ๊ฐ๋ฅํ๊ณ ํ์ผ ์ฝํ ์ธ ๋ ๊ทธ๋๋ก ์์ถ ํด์ ๊ฐ ๊ฐ๋ฅํ๋ค. ๋ค์์ image.jpg์ output.zip์ ์์๊ณผ ์ค๊ฐ ์ชฝ์ ๋ฐ์ด๋๋ฆฌ๊ฐ ์ผ์นํ๋ ๊ฒ์ ํ์ธํ ์ ์๋ค. ์ด๋ฏธ์ง ๋ทฐ์ด ํ๋ก๊ทธ๋จ์ ์ด๋ ๊ฒ ํ์ผ์ ์.. 2023. 8. 10. ํ์ด์ฌ - ํ ๋ ๊ทธ๋จ API ์ฌ์ฉ์ ์์ด๋ ๋ฐ ์ ๋ณด ๊ฐ์ ธ์ค๊ธฐ https://api.telegram.org/bot{bot_api_key}/getUpdates {"ok":true,"result":[{"update_id":000000000, "message":{"message_id":00,"from":{ "id":0000000000, "is_bot":false, "first_name":"ABC", "username":"ABC", "language_code":"ko"},.. 2023. 8. 1. ํ์ด์ฌ - ์คํฌ๋ฆฝํธ ํ์ผ ์คํ ๋์ค ์ธํฐ๋ํฐ๋ธ ๋ชจ๋๋ก ์ ํํ๊ธฐ import code def interactive_function(): # ์คํฌ๋ฆฝํธ ์คํ ์ค๊ฐ์ ์ธํฐ๋ํฐ๋ธ ๋ชจ๋๋ก ์ ํ console = code.InteractiveConsole(locals=globals()) console.interact("์ธํฐ๋ํฐ๋ธ ๋ชจ๋๋ก ์ ํํฉ๋๋ค.") print("์คํฌ๋ฆฝํธ ์คํ ์ค...") # ์คํฌ๋ฆฝํธ ์คํ ๋ก์ง # ์ค๊ฐ์ ์ธํฐ๋ํฐ๋ธ ๋ชจ๋๋ก ์ ํ interactive_function() 2023. 7. 29. ์ ๋ ๋์ - ํน์ ํ๊ทธ ๋ฒ์ ํ์ํ๊ธฐ driver.execute_script("arguments[0].style.border='2px solid red';", elem) # ํ๊ทธ ๋ฒ์ ํ์ 2023. 7. 29. ์ด์ 1 ยทยทยท 9 10 11 12 13 14 15 ยทยทยท 60 ๋ค์ 728x90