ÕýÔÚ¿ª·¢Ð¡ÃØÊéϵͳ²¢²»¶ÏÌá¸ßÆäÖÇÄÜˮƽ,ÆäÖÐÓõ½µÄÊǽű¾Ö§³ÖµÄ¼¼Êõ
ËäÈ»Õⲿ·Ö²»ÊôÓÚ³õѧÕßʹÓÃ,È»¶øÓÐЩÈËÏëѧÕâ¸ö¶«¶«,ÕâÀï¾Í·¢~~~²¼³öÈ¥°É!
н¨Ò»¸ö±ê×¼exe¹¤³Ì(Standard EXE);
"¹¤³Ì"(Project)-->"²¿¼þ"(Components)
Ñ¡¶¨"Microsoft Script Control 1.0" ,λÖÃÊÇC:\WINDOWS\system32\msscript.ocx
Ìí¼Ó¿Ø¼þµ½¹¤³Ì,¸öÈ˰®ºÃÎÒÃüÃûmscScript
È»ºóÌí¼ÓһЩ¿Ø¼þ,µÃµ½ÈçÏÂͼµÄ½çÃæ,È»ºóÊÇÏÂÃæÕâЩº¯Êý,¹ý³Ì:
Private Sub Form_Load()
mscScript.AddObject "frmMain", frmMain
mscScript.AddObject "objScript", objScript
End Sub
'---------------------------------------
'vbClass Moudle clsFunction
'---------------------------------------
Public Function strRun(ByVal str As String) As String
Dim strName As String
Dim strExpress() As String
strName = Left(str, InStr(str, " ") - 1)
strExpress = Split(Mid(str, InStr(str, " ") + 1), ",")
strRun = CStr(frmMain.mscScript.Run(strName, strExpress(0), strExpress(1)))
End Function
ÐèҪעÒâÊÇÀàÄ£¿éÒªÉú³É¶ÔÏó:Public ......
PEP 0263
Defining Python Source Code Encodings
Python will default to ASCII as standard encoding if no other
encoding hints are given.
To define a source code encoding, a magic comment must
be placed into the source files either as first or second
line in the file, such as:
# coding=<encoding name>
or (using formats recognized by popular editors)
#!/usr/bin/python
# -*- coding: <encoding name> -*-
or
#!/usr/bin/python
# vim: set fileencoding=<encoding name> :
More precisely, the first or second line must match the regular
expression "coding[:=]\s*([-\w.]+)". The first group of this
expression is then interpreted as encoding name.
To aid with platforms such as Windows, which add Unicode BOM
marks to the beginning of Unicode files, the UTF-8 signature
'\xef\xbb\xbf' will be interpreted as 'utf-8' encoding as well
(even if no magic encoding comme ......
ΪÁËgoogleµÄgoogle appengine¶øÑ§Ï°python
·¢ÏÖËûÕæµÄ²»ÈçcÓïÑÔºÃѧ£¬µ¹²»ÊÇËûÄѶ®£¬¶øÊÇÏà¹ØÎĵµÌ«ÉÙ£¬¶øÇÒ²»¹æ·¶¡£
Ò²ÐíÊÇÎÒµÄÎÊÌâ°É£¬ÎÒ»¹ÊÇϲ»¶cÓïÑÔµÄÍ·Îļþ£¬»¹ÓÐmsdnµÄÄÇÖÖ°ïÖú¡£Ò»ÑÛ¾ÍÖªµÀʹÓ÷½·¨¡£
˵cÓïÑÔÄÑѧ£¬¿ÉÄÜÊÇÒòΪûÓÐ×Ðϸ¿´ÕâÁ½¸ö¶«Î÷°É ......
2009-11-16
Collin WinterÊÇPythonÉçÇøÒ»Î»ÆÄ¾ßÓ°ÏìÁ¦µÄ¿ª·¢Õߣ¬ËûÔøÊÇCPythonÏîÄ¿µÄºËÐÄ¿ª·¢ÕßÖ®Ò»¡¢Ò²ÔøÊÇUnladen Swallow£¨¼ûÎÄĩעÊÍ£©µÄºËÐÄ¿ª·¢Õߣ¬²ÎÓëÁ˺ܶàPythonÏîÄ¿µÄ¿ª·¢¡£½üÀ´´«ÎÅGoogle½«ÔÚÆäÐÂÏîÄ¿ÖÐÏÞÖÆPythonµÄʹÓã¬Îª´ËÓпª·¢Õߣ¨ÒÔK±íʾ£©ÔÚGoogle ÂÛ̳Öй«¿ªÑ¯ÎÊÁËCollin Winter£¬Collin Winter¾ÍºÜ¶à¼âÈñµÄÎÊÌâ×öÁ˽â´ð¡£ÕâÆªÌû×ÓͬʱҲÎüÒýÁ˺ܶà¸ßÖÊÁ¿µÄ¸úÌû¡£
K£ºÎÒÌý˵Google½«ÔÚÆäÐÂÏîÄ¿ÖÐÏÞÖÆPythonµÄʹÓã¬ÎÞÒÉÕ⽫´ó´ó¼õÉÙPython´úÂëºÍPythonµÃµ½µÄÖ§³Ö¡£ÕâÊÇ·ñÈ·ÓÐÆäÊ»¹ÊÇÖ»ÊÇÒ¥´«£¿
Collin Winter£ºµÄÈ·£¬Google½«ÏÞÖÆPythonµÄÓ¦ÓÃÒòΪ£ºPython²»ÈçJavaºÍC++¿ì£¬Ïß³ÌÕ¼ÓС¢ÄÚ´æÊ¹Óö¼ºÜ¸ßÔÚʹÓÃPython¿ª·¢ÐÂϵͳµÄʱºò£¬ÎÒÃÇÉîÖªÈç¹û¸ºÔØÔö¼ÓÁË10±¶»òÕß100±¶ÏµÍ³»áÔõÑù£¬¿ª·¢³öµÄ·þÎñ»áÓжàÔã¸âÎÒÏëPythonÒѾ·¢Õ¹µ½ÁËÒ»¸öÏÁ·ìÖУ¬Òò´ËÔÚÑ¡ÔñʱÎÒÃÇÓ¦µ±È¨ºâÆäÓŵãºÍȱµã£¬Ò²Ðí¿ª·¢ÈËԱʹÓÃPython»áºÜÓÐЧÂÊ£¬µ«Ëæ×ÅϵͳµÄÔö´óÈ´»áÓöµ½Ðí¶àƽ̨¼¶µÄÐÔÄÜÏÞÖÆ¡£
K£ºUnladen Swallow»á¸Ä±äÕâÒ»ÇÐô£¿ÄãµÄÆÚÍûÊÇÊ²Ã´ÄØ£¿
Collin Winter£ºUnladen SwallowÖ¼ÔÚ¾¡¿ÉÄܵؽ«PythonÓÃÔÚ¸ü¶àËüÏÖÔÚÉÐÎ´Éæ×ãµÄµØ·½£¬¶øÇÒUnladen SwallowÒ²²¢·Ç ......
Double action
fingerprint
and access code security door lock for your home,
office or small business. Get modern biometric security at your entry point with
this standard door handle style double action doorlock.
This is the most secure and convenient method in assuring only authorized people
can access private rooms in your house or office. Anyone needing access to a
room having the CVKJ-J15 installed on the door will have to place their finger
on the fingerprint sensor and/or punch in a passcode to unlock the door. The
beauty of this fingerprint door lock lies in both the security and ease-of-use
it provides. This fingerprint door lock allows for simple keyless entry via
fingerprint ID or PIN code for authorized personnel while preventing
unauthorized room access for everyone else.
What you get with this fingerprint door lock is complete peace of mind with a
guarantee of 21st century security, meaning this lock cannot be picked or
bypassed. If someone is ......
ASP.NET ÓÃOleDbCommandµÄnew OleDbParameter´´½¨²ÎÊý»õ²éѯ
ASPÓÃCommandµÄCreateParameter ·½·¨´´½¨²ÎÊý»¯²éѯ
(SQL´¢´æ¹ý³Ì²éѯҲÊÇÓÃÕâ¸ö·½·¨½¨Á¢µÄ)
ASP.NET¡¡C#Óï·¨
OleDbParameter parm = new OleDbParameter(Name, Type, Direction, Size, Value);
(ʵ¼ÊÉÏËüÓÐÆßÖØÔØ´ó¼Ò¾ßÌå´ó¼Ò¿ÉÒÔÔÚVS.netÀïÃæ¾Í¿ÉÒÔ¿´µ½)
²ÎÊý
Name ¿ÉÑ¡£¬×Ö·û´®£¬´ú±í Parameter ¶ÔÏóÃû³Æ¡£
Type ¿ÉÑ¡£¬³¤ÕûÐÍÖµ£¬Ö¸¶¨ Parameter ¶ÔÏóÊý¾ÝÀàÐÍ¡£
Direction ¿ÉÑ¡£¬³¤ÕûÐÍÖµ£¬Ö¸¶¨ Parameter ¶ÔÏóÀàÐÍ¡£¡£
Size ¿ÉÑ¡£¬³¤ÕûÐÍÖµ£¬Ö¸¶¨²ÎÊýÖµ×î´ó³¤¶È£¨ÒÔ×Ö·û»ò×Ö½ÚÊýΪµ¥Î»£©¡£
Value ¿ÉÑ¡£¬±äÌåÐÍ£¬Ö¸¶¨ Parameter ¶ÔÏóµÄÖµ¡£
ÒÔÏÂÊÇʵÀý£¬²éѯnews±íÖÐËùÓÐtsing·¢±íµÄÐÂÎÅ
-------------------------------------------------------
sql="select * from newss where username=? order by id"
¡¡//×¢Òâ²éѯµÄÌõ¼þ¾ùÓÃ?ºÅ±íʾ
OleDbConnection conn = new OleDbConnection(connString);
OleDbCommand cmd = new OleDbCommand(sql,conn);
OleDbParameter parm = new OleDbParameter("temp",OleDbType.VarChar, 50);
//tempΪParameter¶ÔÏó¿ÉËæ±ã¶¨Òå,OleDbType.VarCharÖ ......