Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
440
Star
5,570
Fork
2,666
matplotlib
/
matplotlib
Code
Issues
992
Pull requests
229
Projects
5
Wiki
Insights
Pulse
Graphs
For make raw_input compatible with python3
#7729
Merged
NelleV
merged 2 commits into
matplotlib
:
master
from
rishikksh20
:
master
Jan 11, 2017
Conversation
7
Commits
2
Files changed
1
Changes from
all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
5a50fd5
For make raw_input compatible with python3
rishikksh20
Jan 1, 2017
fdf4d61
To remove pep8 warnings
rishikksh20
Jan 3, 2017
1 file
Jump to file
No files or symbols found.
+5
−1
multiprocess.py
examples/misc/multiprocess.py
+5
−1
Unified
Split
Show comments
View
6
examples/misc/multiprocess.py
@@ -76,7 +76,11 @@ def main():
for
ii
in
range
(
10
):
pl.plot()
time.sleep(
0.5
)
-
raw_input
(
'
press Enter...
'
)
+
try
:
+
input
=
raw_input
+
except
NameError
:
+
pass
+
input
(
'
press Enter...
'
)
pl.plot(
finished
=
True
)
if
__name__
==
'
__main__
'
:
Toggle all file notes
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.