Re: Unable to get started with wxPython 4 & Python 3 on windows 10
"Christian O." <[email protected]> Mon, 20 May 2019 11:50:58 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_526_1707776914.1558378258799
Content-Type: multipart/alternative;
boundary="----=_Part_527_139124149.1558378258800"
------=_Part_527_139124149.1558378258800
Content-Type: text/plain; charset="UTF-8"
UPDATE:
So im not sure why but the build file is the issue.
{
"cmd": ["C:\\Python\\Python 3.6.8\\python.exe", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
I followed the guide here
<https://stackoverflow.com/questions/23730866/set-up-python-3-build-system-with-sublime-text-3> for
installing SublimeREPL package When I set build system to the SublimeREPL-Python
build settings,
import wx
app = wx.App()
frame = wx.Frame(None)
frame.Show()
app.MainLoop()
Launches without issue -_-' Now im just not sure why my original build
settings file with sublime didnt work...
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxPython-dev/48e33cc0-0e21-4f80-8f2f-6171f99d72fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
------=_Part_527_139124149.1558378258800
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><br>UPDATE:=C2=A0<br><div><br>So im not sure why but t=
he build file is the issue.</div><div><br></div><div class=3D"prettyprint" =
style=3D"background-color: rgb(250, 250, 250); border-color: rgb(187, 187, =
187); border-style: solid; border-width: 1px; overflow-wrap: break-word;"><=
code class=3D"prettyprint"><div class=3D"subprettyprint"><span style=3D"col=
or: #660;" class=3D"styled-by-prettify">{</span><span style=3D"color: #000;=
" class=3D"styled-by-prettify"><br>=C2=A0</span><span style=3D"color: #080;=
" class=3D"styled-by-prettify">"cmd"</span><span style=3D"color: =
#660;" class=3D"styled-by-prettify">:</span><span style=3D"color: #000;" cl=
ass=3D"styled-by-prettify"> </span><span style=3D"color: #660;" class=3D"st=
yled-by-prettify">[</span><span style=3D"color: #080;" class=3D"styled-by-p=
rettify">"C:\\Python\\Python 3.6.8\\python.exe"</span><span style=
=3D"color: #660;" class=3D"styled-by-prettify">,</span><span style=3D"color=
: #000;" class=3D"styled-by-prettify"> </span><span style=3D"color: #080;" =
class=3D"styled-by-prettify">"-u"</span><span style=3D"color: #66=
0;" class=3D"styled-by-prettify">,</span><span style=3D"color: #000;" class=
=3D"styled-by-prettify"> </span><span style=3D"color: #080;" class=3D"style=
d-by-prettify">"$file"</span><span style=3D"color: #660;" class=
=3D"styled-by-prettify">],</span><span style=3D"color: #000;" class=3D"styl=
ed-by-prettify"><br>=C2=A0 </span><span style=3D"color: #080;" class=3D"sty=
led-by-prettify">"file_regex"</span><span style=3D"color: #660;" =
class=3D"styled-by-prettify">:</span><span style=3D"color: #000;" class=3D"=
styled-by-prettify"> </span><span style=3D"color: #080;" class=3D"styled-by=
-prettify">"^[ ]*File \"(...*?)\", line ([0-9]*)"</span=
><span style=3D"color: #660;" class=3D"styled-by-prettify">,</span><span st=
yle=3D"color: #000;" class=3D"styled-by-prettify"><br>=C2=A0 </span><span s=
tyle=3D"color: #080;" class=3D"styled-by-prettify">"selector"</sp=
an><span style=3D"color: #660;" class=3D"styled-by-prettify">:</span><span =
style=3D"color: #000;" class=3D"styled-by-prettify"> </span><span style=3D"=
color: #080;" class=3D"styled-by-prettify">"source.python"</span>=
<span style=3D"color: #000;" class=3D"styled-by-prettify"><br>=C2=A0</span>=
<span style=3D"color: #660;" class=3D"styled-by-prettify">}</span></div></c=
ode></div><div><br>=C2=A0I followed the guide=C2=A0<a href=3D"https://stack=
overflow.com/questions/23730866/set-up-python-3-build-system-with-sublime-t=
ext-3">here</a>=C2=A0for installing=C2=A0<span style=3D"color: rgb(36, 39, =
41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;=
font-size: 15px;">SublimeREPL package When I set build system to the=C2=A0=
</span><span style=3D"color: rgb(36, 39, 41); font-family: Arial, "Hel=
vetica Neue", Helvetica, sans-serif; font-size: 15px;">SublimeREPL-Pyt=
hon build settings,<br></span><br><div class=3D"prettyprint" style=3D"backg=
round-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-s=
tyle: solid; border-width: 1px; overflow-wrap: break-word;"><code class=3D"=
prettyprint"><div class=3D"subprettyprint"><span style=3D"color: #008;" cla=
ss=3D"styled-by-prettify">import</span><span style=3D"color: #000;" class=
=3D"styled-by-prettify"> wx<br><br><br>app </span><span style=3D"color: #66=
0;" class=3D"styled-by-prettify">=3D</span><span style=3D"color: #000;" cla=
ss=3D"styled-by-prettify"> wx</span><span style=3D"color: #660;" class=3D"s=
tyled-by-prettify">.</span><span style=3D"color: #606;" class=3D"styled-by-=
prettify">App</span><span style=3D"color: #660;" class=3D"styled-by-prettif=
y">()</span><span style=3D"color: #000;" class=3D"styled-by-prettify"><br>f=
rame </span><span style=3D"color: #660;" class=3D"styled-by-prettify">=3D</=
span><span style=3D"color: #000;" class=3D"styled-by-prettify"> wx</span><s=
pan style=3D"color: #660;" class=3D"styled-by-prettify">.</span><span style=
=3D"color: #606;" class=3D"styled-by-prettify">Frame</span><span style=3D"c=
olor: #660;" class=3D"styled-by-prettify">(</span><span style=3D"color: #00=
8;" class=3D"styled-by-prettify">None</span><span style=3D"color: #660;" cl=
ass=3D"styled-by-prettify">)</span><span style=3D"color: #000;" class=3D"st=
yled-by-prettify"><br>frame</span><span style=3D"color: #660;" class=3D"sty=
led-by-prettify">.</span><span style=3D"color: #606;" class=3D"styled-by-pr=
ettify">Show</span><span style=3D"color: #660;" class=3D"styled-by-prettify=
">()</span><span style=3D"color: #000;" class=3D"styled-by-prettify"><br>ap=
p</span><span style=3D"color: #660;" class=3D"styled-by-prettify">.</span><=
span style=3D"color: #606;" class=3D"styled-by-prettify">MainLoop</span><sp=
an style=3D"color: #660;" class=3D"styled-by-prettify">()</span></div></cod=
e></div><div><br>Launches without issue -_-' Now im just not sure why m=
y original build settings file with sublime didnt work...</div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wxPython-dev" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">wxPyth=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/wxPython-dev/48e33cc0-0e21-4f80-8f2f-6171f99d72fa%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/wxPython-dev/48e33cc0-0e21-4f80-8f2f-6171f99d72fa%40googlegroups.com</a=
>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />
------=_Part_527_139124149.1558378258800--
------=_Part_526_1707776914.1558378258799--