原创 python的print換行

輸出 9*9 乘法口訣表。for i in range(1, 10):     print     for j in range(1, i+1):         print "%d*%d=%d" % (i, j, i*j);要想打印成乘法

原创 python中函數傳值與傳引用

python中函數整數,字符串,元組都是傳值,函數中不會改變其值,其他的會在函數中改變其值例如傳列表:#-*-ecoding:UTF-8 -*- def fun(a):     a[0]="sss";     print a     pri

原创 python在pychram中利用djingo開發helloword

首先安裝pycheam,python,djingo。在pychram中新建一個djingo項目在web2目錄下新建views.py文件,目錄如下:接下來在views.py文件中編寫helloworld代碼:# -*- coding: utf

原创 PPT快捷鍵與操作技巧

                            PPT操作技巧Ctrl+鼠標滾輪:縮放頁面大小。Ctrl+鼠標左鍵:按住ctrl鍵,用鼠標左鍵拖動,快速複製。Ctrl+方向鍵:微調。Ctrl+放大縮小操作:按住ctrl鍵進行放大和縮

原创 oracle的顯式遊標

declare   cursor user_cur   is select *    from my_user;   user_row my_user%rowtype;   begin       open user_cur;       

原创 android自定義組件

官方文檔/Myselfcomponent/res/values/attrs.xml<?xml version="1.0" encoding="utf-8"?> <resources>     <declare-styleable name=