Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bdf03a00
Commit
bdf03a00
authored
Sep 20, 1996
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Regenerated suites
- Use (and document) "start" argument to TalkTo initializer
parent
35bfd3f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
29 deletions
+31
-29
Mac/Demo/applescript.html
Mac/Demo/applescript.html
+4
-0
Mac/Demo/scripting/Eudora_Suite.py
Mac/Demo/scripting/Eudora_Suite.py
+13
-14
Mac/Demo/scripting/Standard_Suite.py
Mac/Demo/scripting/Standard_Suite.py
+12
-13
Mac/Demo/scripting/testeudora.py
Mac/Demo/scripting/testeudora.py
+2
-2
No files found.
Mac/Demo/applescript.html
View file @
bdf03a00
...
@@ -142,6 +142,10 @@ would allow us to map names to signatures). The other alternative,
...
@@ -142,6 +142,10 @@ would allow us to map names to signatures). The other alternative,
<CODE>
ChooseApplication
</CODE>
from the program-to-program toolbox, is
<CODE>
ChooseApplication
</CODE>
from the program-to-program toolbox, is
also not available from Python at the moment.
<p>
also not available from Python at the moment.
<p>
If you specify the application by creator you can specify an optional
<CODE>
start
</CODE>
parameter, which will cause the application to be
started if it is not running.
<P>
The main program itself is a wonder of simplicity. We create the
The main program itself is a wonder of simplicity. We create the
object that talks to Eudora (passing the signature as argument), ask
object that talks to Eudora (passing the signature as argument), ask
the user what she wants and call the appropriate method of the talker
the user what she wants and call the appropriate method of the talker
...
...
Mac/Demo/scripting/Eudora_Suite.py
View file @
bdf03a00
"""Suite Eudora Suite: Terms specific to Eudora
"""Suite Eudora Suite: Terms specific to Eudora
Level 1, version 1
Level 1, version 1
Generated from
Moes:Programma's:Eudora
:Eudora Light
Generated from
flap:Programma's
:Eudora Light
AETE/AEUT resource version 2/16, language 0, script 0
AETE/AEUT resource version 2/16, language 0, script 0
"""
"""
import
aetools
import
aetools
import
MacOS
import
MacOS
...
@@ -71,7 +70,7 @@ class Eudora_Suite:
...
@@ -71,7 +70,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -101,7 +100,7 @@ class Eudora_Suite:
...
@@ -101,7 +100,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -122,7 +121,7 @@ class Eudora_Suite:
...
@@ -122,7 +121,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -143,7 +142,7 @@ class Eudora_Suite:
...
@@ -143,7 +142,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -164,7 +163,7 @@ class Eudora_Suite:
...
@@ -164,7 +163,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -189,13 +188,13 @@ class Eudora_Suite:
...
@@ -189,13 +188,13 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
def
unqueue
(
self
,
_object
,
_attributes
=
{},
**
_arguments
):
def
unqueue
(
self
,
_object
,
_attributes
=
{},
**
_arguments
):
"""unqueue: Remove a message from the queue, so it wonÕt be sent
"""unqueue: Remove a message from the queue, so it won¹t be sent
Required argument: the message to unqueue
Required argument: the message to unqueue
Keyword argument _attributes: AppleEvent attribute dictionary
Keyword argument _attributes: AppleEvent attribute dictionary
"""
"""
...
@@ -209,7 +208,7 @@ class Eudora_Suite:
...
@@ -209,7 +208,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -234,7 +233,7 @@ class Eudora_Suite:
...
@@ -234,7 +233,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -259,7 +258,7 @@ class Eudora_Suite:
...
@@ -259,7 +258,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -284,7 +283,7 @@ class Eudora_Suite:
...
@@ -284,7 +283,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -311,7 +310,7 @@ class Eudora_Suite:
...
@@ -311,7 +310,7 @@ class Eudora_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
...
Mac/Demo/scripting/Standard_Suite.py
View file @
bdf03a00
"""Suite Standard Suite: Common terms for most applications
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
Level 1, version 1
Generated from
Moes:Programma's:Eudora
:Eudora Light
Generated from
flap:Programma's
:Eudora Light
AETE/AEUT resource version 2/16, language 0, script 0
AETE/AEUT resource version 2/16, language 0, script 0
"""
"""
import
aetools
import
aetools
import
MacOS
import
MacOS
...
@@ -28,7 +27,7 @@ class Standard_Suite:
...
@@ -28,7 +27,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -54,7 +53,7 @@ class Standard_Suite:
...
@@ -54,7 +53,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -75,7 +74,7 @@ class Standard_Suite:
...
@@ -75,7 +74,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -96,7 +95,7 @@ class Standard_Suite:
...
@@ -96,7 +95,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -123,7 +122,7 @@ class Standard_Suite:
...
@@ -123,7 +122,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -149,7 +148,7 @@ class Standard_Suite:
...
@@ -149,7 +148,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -175,7 +174,7 @@ class Standard_Suite:
...
@@ -175,7 +174,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -195,7 +194,7 @@ class Standard_Suite:
...
@@ -195,7 +194,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -215,7 +214,7 @@ class Standard_Suite:
...
@@ -215,7 +214,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -235,7 +234,7 @@ class Standard_Suite:
...
@@ -235,7 +234,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
@@ -260,7 +259,7 @@ class Standard_Suite:
...
@@ -260,7 +259,7 @@ class Standard_Suite:
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_reply
,
_arguments
,
_attributes
=
self
.
send
(
_code
,
_subcode
,
_arguments
,
_attributes
)
_arguments
,
_attributes
)
if
_arguments
.
has_key
(
'errn'
):
if
_arguments
.
has_key
(
'errn'
):
raise
MacOS
.
Error
,
aetools
.
decodeerror
(
_arguments
)
raise
aetools
.
Error
,
aetools
.
decodeerror
(
_arguments
)
# XXXX Optionally decode result
# XXXX Optionally decode result
if
_arguments
.
has_key
(
'----'
):
if
_arguments
.
has_key
(
'----'
):
return
_arguments
[
'----'
]
return
_arguments
[
'----'
]
...
...
Mac/Demo/scripting/testeudora.py
View file @
bdf03a00
...
@@ -12,10 +12,10 @@ class Eudora(aetools.TalkTo, Required_Suite.Required_Suite, \
...
@@ -12,10 +12,10 @@ class Eudora(aetools.TalkTo, Required_Suite.Required_Suite, \
pass
pass
# The Creator signature of eudora:
# The Creator signature of eudora:
SIGNATURE
=
"
????
"
SIGNATURE
=
"
CSOm
"
def
main
():
def
main
():
talker
=
Eudora
(
SIGNATURE
)
talker
=
Eudora
(
SIGNATURE
,
start
=
1
)
while
1
:
while
1
:
print
'get, put, quit (eudora) or exit (this program) ?'
print
'get, put, quit (eudora) or exit (this program) ?'
line
=
sys
.
stdin
.
readline
()
line
=
sys
.
stdin
.
readline
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment