list = (('Tom', 24), ('Derick',30), ('Peter',53), ('Jane',29)) print( list[0] ) print( list[0].__getitem__(0)) print( list[1].__getitem__(1)) #('Tom', 24) #Tom #30
3/09/2014
python study, Get list item using __getitem__ function
Subscribe to:
Post Comments (Atom)
-
Created Date : 2011.10 Language : C/C++ Tool : Microsoft Visual C++ 2008 Library & Utilized : OpenCV 2.3 Reference : SIFT referenc...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
The latent SVM tells the learning method used in this paper -> "Discriminatively trained deformable part models". The authors s...
-
1. sudo apt update sudo apt install cmake 2. pip install cmake 3. pip install dlib
-
I am wondering that two hog features can compare or not. There was a article about this question on this page -> http://stackoverflow...
-
CUDA_ARCH_BIN Table for gpu type Jetson Products GPU Compute Capability Jetson AGX Xavier 7.2 Jetson Nano 5.3 Jetson TX2 6.2 Jetson TX1 5.3 ...
-
hmm......I have taken for about 5 hours for solve this problem.... error is like that: Traceback (most recent call last): File "...
-
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
-
When the video write, we can set parameter in following function.. outVideo.open(".\\outVideo.avi", askFileTypeBox, capture.get...
-
TensorFlow install on ubuntu (This is referenced pip install tutorial on tensorflow.org -> https://www.tensorflow.org/versions/r0.7/get_...
No comments:
Post a Comment