-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIDLE with Poser Pro.txt
More file actions
59 lines (26 loc) · 1.16 KB
/
IDLE with Poser Pro.txt
File metadata and controls
59 lines (26 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Using IDLE with Poser Pro 2014 / Poser 2014
This Poser Version uses Python Version 2.7.1
The IDLE Version inside this Python Package requires a small change inside the idlelib package
to run inside Poser 2014 / Poser Pro 2014.
Step 1. Fixing the IdleLib Package:
Open „YourDrvie:\YourPoserInstallation\Runtime\Python\Lib\Idlelib\pyshell.py“
with a TextEditor.
Search for the Line:
use_subprocess = True
change it to:
use_subprocess = False
Search for the Line:
debug = False
change it to:
debug = True
Save the the file, you are done here.
Step 2. Edition your Mainbuttons File
Open „YourDrvie:\yourPoserInstallation\Runtime\Python\PoserSrcipts\MainButtons.py“
with a TextEditor. Change an Empty Button Line like the following example:
example for Button8
Replace this line:
poser.DefineScriptButton(8, "", "…")
With:
poser.DefineScriptButton(8, ":Runtime:Python:Lib:idlelib:idle.py", "IDLE 2.7.1")
Now You can Start the Python Debugger IDLE Version 2.7.1 from Inside Poser.
For Instructions how to use IDLE (debugging python scripts inside Poser) refer to Part2 of this manual.