or tag

453 questions


1 answers
100 views
0
Can I set the width and height of ImageView in the code?

Can I set the width and height of ImageView in the code?


1 answers
117 views
0
Why Python Grammar Errors

print(Enter the year you were born.)birth-year = int(input())age = 2017 - birth-year + 1In the second line, the birthday-year is called can't sign to operator, but I don't know whyㅠㅠ

2 years ago

1 answers
77 views
0
To wrap a function imported from another file with @Decorator

file 1def file1_fun():file2from file1 import file1_fundef deco(target): DecoratedYes) def wrapper(): Sentences to execute first result = target() Sentences to run later return wrapper @decofile1_fu...

2 years ago

2 answers
122 views
0
CSS Diner Selector Question!!

Sir, I've solved all the rest of the problems, but I don't know how to solve these two problems using two choices


1 answers
80 views
0
It says "invalid command-line parameter" and the Android emulator cannot run.

Eclipse created a simple Hello World program. There is no Java file and only TextView is made in main.xml.//main.xml file<?xml version=1.0 encoding=utf-8?><LinearLayout xmlns:android=http://s...


1 answers
93 views
0
Python Question UnicodeDecodeError: 'utf-8' code can't code byte 0xb1 in position 0

I'm studying Python for djangoWhen you run the server, continue UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byteI don't know if this is the problem, but when ...


2 answers
80 views
0
Python Briefly Expresses Long If Statements

import numpy as npimport cv2 as cvimg = cv.imread('dp.png')img_h = img.shape[0]img_w = img.shape[1]img_bpp = img.shape[2]print(img_h, img_w, img_bpp)blue = (255,0,0)white = (255,255,255)a = 450b = 0c ...

2 years ago

1 answers
75 views
0
Android Studio Error Questions

Gradle During Sink Failed to resolve: com.android.databinding:library:3.1.3Failed to resolve: com.android.databinding:adapters:3.1.3The above two errors were found.I think it's an error in applying th...

2 years ago

1 answers
152 views
0
Can I change the color of TextView's text with the code?

When you change the color of TextView in XML, you change the textColor property like android:textColor=#FF0000

2 years ago

1 answers
100 views
0
jQueryth-child() Selector Question.

$('div:nth-child(2)').css ('background', 'red') applied. div I tried to apply it to my second child, I don't know why it applies to all children except section data-role=header $('div:nth-child(1)').W...

2 years ago
« - 25 - »

© 2024 OneMinuteCode. All rights reserved.