python

Foundations Of Agile Python Development

Foundations Of Agile Python Development

... of Agile Python Development Dear Reader, Python is your chosen development language. You love its power, clarity, and interactivity. But what is the best way to build and maintain Python applications? ... source tools to turbocharge your Python projects, and shows you how to integrate them into a smoothly functioning whole. Eclipse and Pydev make an excellent Python IDE. Python...

Ngày tải lên: 21/08/2012, 09:25

417 597 3
DoS bằng Python

DoS bằng Python

... DoS bằng Python trang này đã được đọc lần Chương trình DoS rất đơn giản bằng Python #!/usr/bin/env python # This only seems to work on NT. Also, it ... rfpoison.py file # after that you can run rfpoison.py <ip address> # python interpreter can download from : # http://www .python. org/ import string import struct from socket import * import

Ngày tải lên: 02/11/2012, 14:18

3 2K 12
Foundations Of Agile Python Development - Introduction

Foundations Of Agile Python Development - Introduction

... with Python. If y ou have some Python under y our belt and you’re thinking of starting a new project, but you don’t know how to get started, then this book is for you. If you’re an experienced Python ... who has been thr o wn headlong into the world of Python, then this book is for you, too. If you’re brand new to programming or don’t really know Python, this is not the best book to st...

Ngày tải lên: 05/10/2013, 10:20

4 290 0
Dive Into Python-Chapter 12. SOAP Web Services

Dive Into Python-Chapter 12. SOAP Web Services

... you can “call” a function through a SOAP library, with the standard Python calling syntax, and the function appears to return Python objects and values. But under the covers, the SOAP library ... decompressed the fpconst files. 5. Type python setup.py install to run the installation program. To verify that you installed fpconst correctly, run your Python IDE and check th...

Ngày tải lên: 17/10/2013, 19:15

51 392 0
Dive Into Python-Chapter 13. Unit Testing

Dive Into Python-Chapter 13. Unit Testing

... may become part of later. Python has a framework for unit testing, the appropriately-named unittest module. Note unittest is included with Python 2.1 and later. Python 2.0 users can download ... return value of fromRoman to anything. This is legal syntax in Python; if a function returns a value but nobody's listening, Python just throws away the return value. In this case...

Ngày tải lên: 20/10/2013, 10:15

19 397 1
Dive Into Python-Chapter 14. Test-First Programming

Dive Into Python-Chapter 14. Test-First Programming

... "C:\docbook\dip\py\roman\stage3\romantest3.py", line 156, in testFromRomanCase roman3.fromRoman, numeral.lower()) File "c: \python2 1\lib\unittest.py", line 266, in failUnlessRaises raise self.failureException, excName ... testMalformedAntecedent self.assertRaises(roman3.InvalidRomanNumeralError, roman3.fromRoman, s) File "c: \python2 1\lib\unittest.py&qu...

Ngày tải lên: 20/10/2013, 10:15

53 365 0
Dive Into Python-Chapter 15. Refactoring

Dive Into Python-Chapter 15. Refactoring

... new bugs, or otherwise maintain it. As you saw in Section 7.5, “Verbose Regular Expressions”, Python provides a way to document your logic line-by-line. Example 15.15. roman83.py This file ... self.assertRaises(roman61.InvalidRomanNumeralError, roman61.fromRoman, "") File "c: \python2 1\lib\unittest.py", line 266, in failUnlessRaises raise self.failureExceptio...

Ngày tải lên: 24/10/2013, 09:15

49 269 0
Dive Into Python-Chapter 16. Functional Programming

Dive Into Python-Chapter 16. Functional Programming

... [you@localhost py]$ python /home/you/diveintopython/common/py/fullpath.py 1 sys.argv[0] = /home/you/diveintopython/common/py/fullpath.py path = /home/you/diveintopython/common/py full ... /home/you/diveintopython/common/py [you@localhost diveintopython]$ python common/py/fullpath.py 2 sys.argv[0] = common/py/fullpath.py path = common/py full path = /home/you/diveintopython/comm...

Ngày tải lên: 24/10/2013, 09:15

36 301 0
Dive Into Python-Chapter 17. Dynamic functions

Dive Into Python-Chapter 17. Dynamic functions

... that return other functions, advanced regular expressions, and generators. Generators are new in Python 2.3. But first, let's talk about how to make plural nouns. If you haven't read ... will be assigned match_h, and applyRule will be assigned apply_h. 3 Remember that everything in Python is an object, including functions. rules contains actual functions; not names of fu...

Ngày tải lên: 28/10/2013, 16:15

36 344 0
Từ khóa:
w