I really doubt that's your > only problem though, and it was probably just a side-effect > of pasting the text in. > (Theory 1: your indentation is screwed up because the first > function seems to be indented 0 colummns, while the second > one is indented four columns. ActiveTcl Licensing OEM licensing for bundling/re-distributing ActiveStates Python, Tcl or Perl distributions with their applications. > Rather than make us come up with dozens of theories about what > *might* have gone wrong, please just tell us. Python versions In general, access to older versions is only provided with a Team or Enterprise Tier subscription, while access to EOL versions is only provided on the Enterprise Tier. 1 The configure script requires a leading - before those I and L options: -with-tcltk-includes - I/opt/ActiveTcl-8.6/include -with-tcltk-libs - L/opt/ActiveTcl-8. (Note: don't > re-enter it either, just use cut-and-paste to stick it in the message.) > Without that, we don't know what didn't work and obviously cannot > run your code above as it is missing many necessary pieces. They are being provided free to the community on an ' as is ' basis under the same license terms as Tcl/Tk itself. Files Virus Scan Results Version History. Description The windows implementation of the Tcl (tickle) programming language. While it is likely safe for you, there is more risk involved. > andrea frosoni wrote: >the code listed down is correct? >don't work right >Help me >def testFunc1(self): > "Test func1" > # call func1 > ret = 1( > host = '194.183.3.41', #sample host for ping > num = '10') #number of packets sent > self.assertEqual(ret, 10, "ping.func1 did not work")#10 >number of #packet shoud be return# > return > def testFunc2(self): > "Test func2" > # call func2 > ret = 2() > self.failUnless(ret, "ping.func2 did not work") > return > Always *always* post the traceback for your failure, showing the > exact error message and the line of code that failed. The x86 (32-bit) and 圆4 (64-bit) binaries are available below. To install ActiveTcl, run the following command from the command line or from PowerShell: > This package was submitted prior to moderation and has not been approved. If not expr: raise self.failureException, msg Self.failUnless(ret, "ping.func2 did not work")įile "C:\Python22\Lib\site-packages\unittest.py", line 249, in failUnless Raise self.failureException, (msg or '%s != %s' % (first, second))įile "pingtest.py", line 40, in testFunc2 Self.assertEqual(ret, 10, "ping.func1 did not work")įile "C:\Python22\Lib\site-packages\unittest.py", line 273, in It’s great to be a part of something so wonderful.File "pingtest.py", line 33, in testFunc1 Schroeder (17 years ago, revision 6) Python / network / by Alessandro Budai (16 years ago, revision 2) Python / game, pygame, python, snake, the / by. I’d like to take this opportunity to thank all the folks at ActiveState and in the open source community who have collectively made this all possible. Python / algorithms / by Hamish Lawson (21 years ago, revision 2) Python / beginner, game, python / by Captain DeadBones (8 years ago) Python / threads / by Chad J. Once those changes are integrated back into the open source version of Expect, I’m hoping a new build of Tclkit for Win32 won’t be far behind. ![]() ![]() Maybe it could even lead to more folks getting interested in AOLserver again.Īccording to the announcement, ActiveState’s Expect for Windows is based on Expect 5.43, and “ActiveState will be working with the community to open source Expect for Windows in the near future.” This is great news - ActiveState has always maintained a strong committment to support and maintain its involvement in the open source community. I’m hoping this will create an increase in the number of people learning the Tcl programming language, which happens to be one of my favorites. Now, their Windows-laden counterparts can hopefully start to enjoy the same benefits. Trying to install numpy, nltk to python 2.4 on CentOs 5.10 with multiple versions of python installed - python 2.4 and python 3. Typically, only Unix system administrators have known about Expect and it’s ability simplify routine tasks through automation. ![]() From the announcement, you can now go and download ActiveTcl 8.4.11 (for Windows) with Expect for Windows, for free. Jeff Hobbs writes to the Tcl-announce mailing list that ActiveState has added Expect for Windows to ActiveTcl ( Press Release).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |