目前分類:電腦:Love it & Hate it (35)

瀏覽方式: 標題列表 簡短摘要

<bgsound src="URL" autostart="1" loop="1" volume="0" width="70" height="25">

<embed src="URL" autostart="1" loop="1" volume="0" width="70" height="25">

src="URL" 中修改音樂的路徑

autostart="1" 中修改是否自動播放音樂
(要就填 true ;不要就填 false)

loop="1" 中修改是否反覆播放音樂
(要就填 true;不要就填 false ;如果限定要重複播放三次就填 3)

volume="0" 中修改音樂的音量大小,數值從 1 到 -10000 之間,
如果不設定,就依瀏覽者系統本身所設定的音量大小。
1 為依瀏覽者系統本身所設定的音量大小(等於不設定); 0 為最大音量;
假如填上 -10000 ,以幾佰塊錢爛喇叭來聽的話,應該是已調到沒有任何聲音...

width="70" 中修改控制面版的寬度
height="25" 中修改控制面版的高度
如果要完全隱藏控制面板,可加上 hidden="true" 屬性,
但你也就不需(無法)去設定控制面板的寬度和高度


cosette119 發表在 痞客邦 留言(0) 人氣()

● 現象一:

  英文網頁只出現一個字母,
  像 Google 就只出現個 G , Yahoo 就只有個 Y ,孤孤單單地掛在標題欄
  中文網頁更帥,乾脆給你亂碼 = =|||

  原因:

  Google Toolbar Helper 跟 IE 有衝突

  解決方案:

  有兩種方法
  一個就是直接移除整個 Google Toolbar
  另一種就是把 Google Toolbar Helper 關掉
  先打開你的 IE 瀏覽器
  然後按〝工具〞 → 〝網際網路選項〞 → 〝程式集〞
          → 〝管理附加元件〞

  

  

  找到〝Google Toolbar Helper〞,把他改為停用,

  

  關掉所有 IE 瀏覽器,就OK嚕

cosette119 發表在 痞客邦 留言(0) 人氣()

● 蝦米洗壓縮檔?

  壓縮檔 顧名思義就是壓縮過的檔案
 (有點廢話 但是我們要顧及還在電腦幼兒班的同學)

  只要是使用壓縮程式把比較大的檔案壓縮成比較小的檔案
  最後得到的檔案 我們就叫做壓縮檔
  所以一個壓縮檔有可能是任何檔案喔
  包括圖檔、影音檔、文字檔、系統檔...etc。

● 為什麼要有壓縮檔?

  以一個大檔案跟小檔案相比
  不管傳輸 保存 都很佔空間 又不方便
  所以才出現了壓縮檔這種玩意兒

cosette119 發表在 痞客邦 留言(0) 人氣()

● 使用說明

  字幕檔一般分兩種

  一種是 .srt
  一種是 .idx + .sub (兩個一組)

  假設今天我們下載了一部電影 檔名是〝我的媽呀,字幕怎麼用.avi〞
  那麼 字幕檔的檔名 就該改成
  〝我的媽呀,字幕怎麼用.srt〞
  或者是
  〝我的媽呀,字幕怎麼用.sub〞 + 〝我的媽呀,字幕怎麼用.idx〞

  最後 把電影跟字幕檔都放在同一個資料夾
  打開電影來看 字幕就會自己出現嚕
  是的 就這樣簡單 不用懷疑 0.0

  Enjoy your movie...
  然後 不要再問我字幕怎麼用啦!!! <----- 本文最重點 哈

cosette119 發表在 痞客邦 留言(2) 人氣()

Module Name:random

● randrange()

  ◎ randrange(x)

    return a random integer value between 0 and x-1
    the return value of randrange(5) could be:

     0, 1, 2, 3, 4

  ◎ randrange(low, high)

    return a random integer value between low and high-1
    the return value of randrange(-5, 5) could be:

     -5, -4, -3, -2, -1, 0, 1, 2, 3, 4


cosette119 發表在 痞客邦 留言(0) 人氣()

● Branching

  making a decision to take one path or another.

● Conditions

  Simple Condition: only one condition
  Compound Condition: the combination of two or more conditions

● Logical Operator

  ◎ " not " Logical Operator

     not True = False
     not False = True

  ◎ " and " Logical Operator

     True and True = True
     True and False = False
     False and True = False
     False and False = False

  Note: " and " can connect as much as conditions we need,
     but as long as there's one False condition,
     the compound condition is False

  ◎ " or " Logical Operator

     True or True = True
     True or False = True
     False or True = True
     False or False = False

  Note:  " or " can connect as much as conditions we need,
     but as long as there's one True condition,
     the compound condition is True

● Using " in " Operator

   Uses in conditon statements

   Input:
    print "e" in "this is a test message"
    print "ess" in "this is a test message"

   Output:
    True
    True

● If, elif and else

  if <condition> :
    <statement>

  elif <condition> :
    <statement>

  ...

  elif <condition> :
    <statement>

  else:
    <statement>

  Note:
   Each consecutive lines of code is called a " BLOCK ".
   Only one block will be executed.
   If there's more then one condition is TRUE,
   the block of the first true condition will be executed.

● while Loop

  while <condition> :
    <statement>

  Note: While the condition is TRUE, the code will be executed repeatedly

● Comparison Operators

   == equal to
   !=  not equal to
   >   greater then
   <   less then
   >= greater then or equal to
   <= less then or equal to

● International Infinite Loop, break and continue

  ◎ Input:
     count = 0
     while True:
      count += 1

      # end loop if count is greater then 7.
      if count > 7:
       break

      # skip 2
      if count == 2:
       continue

      print count

  ◎ Output:

     1
     3
     4
     5
     6
     7

   Note:
   The condition is always true, so this is a international infinite loop.
   When the code hits " continue ", the loop skip the rest of the codes
   and starts from the first line of the block.
   When the code hits " break ", the loop ended.

● for Loop

  for < i > in <main squence> :
    <statement>

  Note: A for loop repeats its loop body
     for each element of the sequesce.
     In this case, < i > is the varible
     that represents the elements in the sequence
     and <main squence> is the sequence.


cosette119 發表在 痞客邦 留言(0) 人氣()

● Numeric Types

  Integers:Numbers without decimal point

   34653456 or -4586u39

  Floats:Numbers with decimal point

   1111.00134 or -2342.0

● Mathematical Operators

  Integers:
    9 + 5 = 14
    9 - 5 = 4
    9 * 5 = 45
    9 / 5 = 1
    9 % 5 = 4

  Floating-Point Numbers:
    7.0 + 3.0 = 10.0   
    7.0 - 3.0 = 4.0
    7.0 * 3.0 = 21.0
    7.0 / 3.0 = 2.3333
    7.0 % 3.0 = 1.0

  Note:
  as long as there's a floating-point number involved,
  it's considered as a floating-point number calculation.

  ie. 4 + 3.000 = 7.000

● Assignment with operators

   x *= 5 -> x = x * 5
   x /= 5 -> x = x / 5
   x %= 5 -> x = x % 5
   x += 5 -> x = x + 5
   x -= 5 -> x = x - 5

● range()

  ◎ range(x):
     returns a list with values from 0 to x-1

    Input:
     for i in range(10):
      print i,

    Output:
     0 1 2 3 4 5 6 7 8 9

    Note:
     If we take away the comma ( , ) after the i,
     then the output would be

     0
     1
     2
     3
     4
     5
     6
     7
     8
     9

  ◎ range(start, end, g)
    returns a list with value from start to end-1 with gap of g

    Input:
     for i in range(10, 40, 5):
      print i,
     print "\n"
     for j in range(10, 0, -1):
      print j,

    Output:
     10 15 20 25 30 35

     10, 9, 8, 7, 6, 5, 4, 3, 2, 1


cosette119 發表在 痞客邦 留言(0) 人氣()

● Strings are immutable

● Crearing triple-quoted string

  ''' Here's where you want to put your string '''

● Using a Backslash

  \' = '
  \" = "
  \\ = \
  \a = bell
  \b = backspace
  \n = new line
  \t = tab

● String with operators

  "One" + "One" = "OneOne"
  "One" * 5 = "OneOneOneOneOne"

● String Methods

  ◎ s = "coseTte Chiang"

   s.upper() = "COSETTE CHIANG"
   s.lower() = "cosette chiang"
   s.swapcase() = "COSEtTE cHIANG"
   s.capitalize() = "Cosette chiang"
   s.title() = Cosette Chiang

  ◎ s = " ABCDE WXYZ "

   s.strip() = "ABCDE WXYZ"

  ◎ s = "ABCDE ABCDE ABCDE"

   s.replace("BCD", "MNO", 0) = "ABCDE ABCDE ABCDE"
   s.replace("BCD", "MNO", 1) = "AMNOE ABCDE ABCDE"
   s.replace("BCD", "MNO", 2) = "AMNOE AMNOE ABCDE"

    Note: number is the limits for how many replacement

  ◎ s = "ABCDEFGHIJKLMNO"

   s[3] = D
   s[3:] = DEFGHIJKLMNO
   s[4:9] = EFGHI
   s[-3] = M
   s[-3:] = MNO

  Note: minus index meaning index counting from back


cosette119 發表在 痞客邦 留言(0) 人氣()

● raw_input("String")

  Usage:
   String name = raw_input("Hi. What's your name?")
   then the program takes the user input and assign it to name

● Print Statement

  Input:
   print "ABCDEFG",
   print "HIJKLMN"

  Output:
   "ABCDEFG HIJKLMN"

  Note:
   Notice the space between the first and second print statements
   That is created by the comma ( , )

  OR

  Input:
   print >> sys.stdout, "ABCDEFG"

  Output:
   "ABCDEFG"

  Note:
   Notice the 〝sys.stdout〞 after the 〝>>〞,
   if we change the 〝stdout〞 to 〝stderr〞
   then the message will be treat as an error message.

● Breaking up statements

  When you need to break a line into two,
  just use \ at any place where you can place a space

  example:

   print "XXXXXXXXXXXXXXXXXXXXXXXXXX" + "ZZZZZZZZZZZZZZZZZZZZZZZ"

   is equals to

   print "XXXXXXXXXXXXXXXXXXXXXXXXXX" + \
   "ZZZZZZZZZZZZZZZZZZZZZZZ"

● Changing type

   ◎ float(x) Return a floating-point valu by converting x
     float("10") = 10.0

    int(x) Return a integer value by converting x
     int("10") = 10

    str(x) Return a string value by converting x
     str(10) = "10"

● Using inport statement

  If we need to use a module, we use import statement.
  take module 〝random〞 for example:

  import random

  is all we need to type for using module random in our function

● len()

  ◎ String:
    s = "012345678"
    len(s) = 9

  ◎ List:
    s = [0, 1, 2, 3, 4, 5, 6]
    len(s) = 7

  ◎ Map:
    s = {a:A, b:B, c:C, d:D}
    len(s) = 4


cosette119 發表在 痞客邦 留言(0) 人氣()

● Comment Example:

  There are two ways to write a comment:

   Start the comment with a #
   OR
   quote the whole string with three single quote ( ''' )

  The following are the example for a three lines comment of the program:

   # Hello World - Version 1.0 (Program Name - Version Numver)
   # Demonstrates the print commend (Usage of the program)
   # Cosette Chiang - 12/11/07 (Creater's Name - Date)

   OR

   ''' Hello World - Version 1.0 (Program Name - Version Numver)
    Demonstrates the print commend (Usage of the program)
    Cosette Chiang - 12/11/07 (Creater's Name - Date)'''


cosette119 發表在 痞客邦 留言(0) 人氣()

● Python is case-sensitive

   例: print works ; PRINT doesn't

● Expressions & Statements:

  例: Expression - "Game Over"
     Statement - print "Game Over"

● Sequence:

  Sequences fall into one of the two categories: mutable or immutable.
    ◎ Mutable means can be changed
    ◎ Immutable means can be changed


cosette119 發表在 痞客邦 留言(0) 人氣()

下載 MSN Custom ICON Auto Addin V3.4.1.exe
  點我下載

● 備份表情

  在「MSN Custom ICON Auto Addin V3.4.1.exe」檔案上
  按兩下滑鼠左鍵執行軟體
  開啟程式主畫面後 先切換到〔表情備份〕活頁標籤後
  在「MSN 帳號」方框中輸入你的 MSN 帳號 然後再點選〔備份表情符號〕

  

cosette119 發表在 痞客邦 留言(0) 人氣()

● 下載

  Able2Extract v3.0 下載這兒有 http://www.badongo.net/file/460407

● 支援的檔案轉換格式

  PDF Excel Word HTML Text

● 註冊碼

  版權問題...請自行求助辜狗大神 =..=


cosette119 發表在 痞客邦 留言(0) 人氣()

‧ 下載 emule

  官方網站
  官方下載頁面
  VeryCD版本

  安裝完成後 只要找到下載點 就能下載嚕

‧ 尋找東西的載點

  VeryCD
  我愛英文網-英文影集下載


cosette119 發表在 痞客邦 留言(0) 人氣()

‧ avi & rmvb 如何取決?

  網路普及 一堆人都在下載看片嚕
  至於什麼片 我們在這邊就不討論了 ˇˇ.. 
  To 男性同胞 那種片很容易中毒的...

  兩個盛行的影片格式: avi 檔 & rmvb 檔
  不同的地方有很多 不過主要取決在於
   > 想節省電腦空間:請下載 rmvb 檔
   > 想要高清晰畫質:請下載 avi 檔

‧ 工欲善其事 必先利其器

  realPlayer 是滿普遍的播放軟體
  還滿喜歡它的介面 所以推薦使用嚕
  只要下載安裝好 realPlay 就可以觀看這兩種影片檔嚕
   realPlay 官方網站 http://www.real.com/international/

  另外 有些檔案需要解碼器 
  (不同格式壓縮的影片 需要不同的解碼器)
  所以要下載安裝 K-Lite Codec Pack (klcodec275b.exe)
  點我下載

‧ 相關文章

  我的媽呀,字幕怎麼用


cosette119 發表在 痞客邦 留言(0) 人氣()

«12