Guest User

Untitled

a guest
Jul 17th, 2014
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 KB | None | 0 0
  1. Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win
  2. 32
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> $ ./processwatch.py sikuli kancolle_auto.sikuli
  5. File "<stdin>", line 1
  6. $ ./processwatch.py sikuli kancolle_auto.sikuli
  7. ^
  8. SyntaxError: invalid syntax
  9. >>> "$ ./processwatch.py sikuli kancolle_auto.sikuli"
  10. '$ ./processwatch.py sikuli kancolle_auto.sikuli'
  11. >>> execfile("$ ./processwatch.py sikuli kancolle_auto.sikuli")
  12. Traceback (most recent call last):
  13. File "<stdin>", line 1, in <module>
  14. IOError: [Errno 2] No such file or directory: '$ ./processwatch.py sikuli kancol
  15. le_auto.sikuli'
  16. >>> execfile($ ./processwatch.py sikuli kancolle_auto.sikuli)
  17. File "<stdin>", line 1
  18. execfile($ ./processwatch.py sikuli kancolle_auto.sikuli)
  19. ^
  20. SyntaxError: invalid syntax
  21. >>> execfile(/processwatch.py sikuli kancolle_auto.sikuli)
  22. File "<stdin>", line 1
  23. execfile(/processwatch.py sikuli kancolle_auto.sikuli)
  24. ^
  25. SyntaxError: invalid syntax
  26. >>> execfile(processwatch.py sikuli kancolle_auto.sikuli)
  27. File "<stdin>", line 1
  28. execfile(processwatch.py sikuli kancolle_auto.sikuli)
  29. ^
  30. SyntaxError: invalid syntax
  31. >>> execfile("processwatch.py sikuli kancolle_auto.sikuli")
  32. Traceback (most recent call last):
  33. File "<stdin>", line 1, in <module>
  34. IOError: [Errno 2] No such file or directory: 'processwatch.py sikuli kancolle_a
  35. uto.sikuli'
  36. >>> sys.argv = ['', 'sikuli', 'kancolle_auto.sikuli']
  37. Traceback (most recent call last):
  38. File "<stdin>", line 1, in <module>
  39. NameError: name 'sys' is not defined
  40. >>> execfile('processwatch.py')
  41. usage: processwatch.py [command]
  42. Traceback (most recent call last):
  43. File "<stdin>", line 1, in <module>
  44. File "processwatch.py", line 11, in <module>
  45. subprocess.call(sys.argv[1:])
  46. File "C:\Python27\lib\subprocess.py", line 522, in call
  47. return Popen(*popenargs, **kwargs).wait()
  48. File "C:\Python27\lib\subprocess.py", line 710, in __init__
  49. errread, errwrite)
  50. File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  51. startupinfo)
  52. WindowsError: [Error 87] The parameter is incorrect
  53. >>> sys.argv = ['', 'sikuli', 'kancolle_auto.sikuli']
  54. >>> execfile("processwatch.py")
  55. Traceback (most recent call last):
  56. File "<stdin>", line 1, in <module>
  57. File "processwatch.py", line 11, in <module>
  58. subprocess.call(sys.argv[1:])
  59. File "C:\Python27\lib\subprocess.py", line 522, in call
  60. return Popen(*popenargs, **kwargs).wait()
  61. File "C:\Python27\lib\subprocess.py", line 710, in __init__
  62. errread, errwrite)
  63. File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  64. startupinfo)
  65. WindowsError: [Error 2] The system cannot find the file specified
  66. >>> execfile("processwatch.py")
  67. Traceback (most recent call last):
  68. File "<stdin>", line 1, in <module>
  69. File "processwatch.py", line 11, in <module>
  70. subprocess.call(sys.argv[1:])
  71. File "C:\Python27\lib\subprocess.py", line 522, in call
  72. return Popen(*popenargs, **kwargs).wait()
  73. File "C:\Python27\lib\subprocess.py", line 710, in __init__
  74. errread, errwrite)
  75. File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  76. startupinfo)
  77. WindowsError: [Error 2] The system cannot find the file specified
  78. >>> sys.argv = ['', 'sikuli', 'kancolle_auto.sikuli']
  79. >>> execfile("processwatch.py")
  80. Traceback (most recent call last):
  81. File "<stdin>", line 1, in <module>
  82. File "processwatch.py", line 11, in <module>
  83. subprocess.call(sys.argv[1:])
  84. File "C:\Python27\lib\subprocess.py", line 522, in call
  85. return Popen(*popenargs, **kwargs).wait()
  86. File "C:\Python27\lib\subprocess.py", line 710, in __init__
  87. errread, errwrite)
  88. File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  89. startupinfo)
  90. WindowsError: [Error 2] The system cannot find the file specified
  91. >>> import subprocess
  92. >>> execfile("processwatch.py")
  93. Traceback (most recent call last):
  94. File "<stdin>", line 1, in <module>
  95. File "processwatch.py", line 11, in <module>
  96. subprocess.call(sys.argv[1:])
  97. File "C:\Python27\lib\subprocess.py", line 522, in call
  98. return Popen(*popenargs, **kwargs).wait()
  99. File "C:\Python27\lib\subprocess.py", line 710, in __init__
  100. errread, errwrite)
  101. File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  102. startupinfo)
  103. WindowsError: [Error 2] The system cannot find the file specified
  104. >>> subprocess.call('dir', shell=True)
  105. Volume in drive C is Windows
  106. Volume Serial Number is XXXX-XXXX
  107.  
  108. Directory of C:\Users\XXXX\Dropbox\kancolle-auto-master
  109.  
  110. 03/21/2014 10:46 PM <DIR> .
  111. 03/21/2014 10:46 PM <DIR> ..
  112. 03/21/2014 10:46 PM 303 .gitignore
  113. 07/17/2014 05:25 PM <DIR> kancolle_auto.sikuli
  114. 03/21/2014 10:46 PM 211 processwatch.py
  115. 07/17/2014 05:34 PM 751 README.md
  116. 3 File(s) 1,265 bytes
  117. 3 Dir(s) 201,463,017,472 bytes free
  118. 0
  119. >>> execfile("processwatch.py")
  120. Traceback (most recent call last):
  121. File "<stdin>", line 1, in <module>
  122. File "processwatch.py", line 11, in <module>
  123. subprocess.call(sys.argv[1:])
  124. File "C:\Python27\lib\subprocess.py", line 522, in call
  125. return Popen(*popenargs, **kwargs).wait()
  126. File "C:\Python27\lib\subprocess.py", line 710, in __init__
  127. errread, errwrite)
  128. File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
  129. startupinfo)
  130. WindowsError: [Error 2] The system cannot find the file specified
  131. >>>
Advertisement
Add Comment
Please, Sign In to add comment