Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
bb3b89df
Commit
bb3b89df
authored
May 18, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect python3.
parent
c5185f17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
pronterface.py
pronterface.py
+9
-3
No files found.
pronterface.py
View file @
bb3b89df
...
...
@@ -17,7 +17,7 @@
from
__future__
import
print_function
import
os
,
re
import
os
,
sys
,
re
try
:
import
queue
...
...
@@ -31,8 +31,14 @@ try:
import
wx
except
:
print
(
_
(
"wxPython is not installed. This program requires wxPython to run."
))
if
sys
.
version_info
.
major
>=
3
:
print
(
_
(
"""
\
As you are currently running python3, this is most likely because wxPython is
not yet available for python3. You should try running with python2 instead."""
))
sys
.
exit
(
-
1
)
else
:
raise
import
sys
,
glob
,
time
,
datetime
,
threading
,
traceback
,
subprocess
import
glob
,
time
,
datetime
,
threading
,
traceback
,
subprocess
from
io
import
StringIO
from
printrun.pronterface_widgets
import
*
...
...
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