An extremely stupid question

Yes, its me again, dummy of the list with the most stupid question you will
ever get.

How do you run wxPython on windows. Yes I've searched the site - all it says
is intalling on windows is simple................

I use linux usually, but have installed it on my Xp laptop.

I've downloaded the binaries, installed them, can run the demo off the menu,
but after that I'm lost.

In linux I use a text editor, have a terminal to type commands in, if
something crashes I get to see the error messages.

Just how does one go about doing the actual programming in windows?, ie once
you have the code written where do you type the command like python
myfile.py to get it to run.

Sorry.................... for my stupidity.

richard

Hello Richard:

You can get a "DOS box" on Windows by selecting:
StartMenu/Programs/Accessories/Command Prompt

There is also a "Power Tool", available from the Microsoft site,
which adds a "Command Prompt Here" to the right click menu
of any directory in Windows Explorer. However you get to it, this
commmand prompt is where you type "python myfile.py".

You can click on the icon for "myprog.py" in a window (assuming Python is installed correctly and *.py files are associated with Python).

You can open a Command Prompt window and type 'python myprog.py' (probably need to set a path to c:\python24).

You can use py2exe to make it into a self-contained binary and click on the icon.

I wish I had the luxury of being very unfamiliar with Windows :wink:

Michael

Richard Terry wrote:

···

Yes, its me again, dummy of the list with the most stupid question you will ever get.

How do you run wxPython on windows. Yes I've searched the site - all it says is intalling on windows is simple................

I use linux usually, but have installed it on my Xp laptop.

I've downloaded the binaries, installed them, can run the demo off the menu, but after that I'm lost.

In linux I use a text editor, have a terminal to type commands in, if something crashes I get to see the error messages.

Just how does one go about doing the actual programming in windows?, ie once you have the code written where do you type the command like python myfile.py to get it to run.

Sorry.................... for my stupidity.

richard

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi Richard. I work on Mac but here's what you do. Go to Run from Start button at bottom left. Type cmd as the program you want to open. This will open a DOS Window where you can start the python interpreter. Type python at the prompt if you have it installed to start the interpreter. Hope this helps.

Regards,
David

Richard Terry wrote:

···

Yes, its me again, dummy of the list with the most stupid question you will ever get.

How do you run wxPython on windows. Yes I've searched the site - all it says is intalling on windows is simple................

I use linux usually, but have installed it on my Xp laptop.

I've downloaded the binaries, installed them, can run the demo off the menu, but after that I'm lost.

In linux I use a text editor, have a terminal to type commands in, if something crashes I get to see the error messages.

Just how does one go about doing the actual programming in windows?, ie once you have the code written where do you type the command like python myfile.py to get it to run.

Sorry.................... for my stupidity.

richard

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

In linux I use a text editor, have a terminal to type commands
in, if something crashes I get to see the error messages.

IMO, that's the best way to do it under windows as well.

Just how does one go about doing the actual programming in
windows?,

Same as Linux: a good programming editor and a command prompt.

ie once you have the code written where do you type the
command like python myfile.py to get it to run.

Open a terminal window. I prefer Cygwin+bash, but you can use
the native cmd.exe if you enjoy pain.

···

On 2006-01-27, Richard Terry <rterry@internode.on.net> wrote:

--
Grant Edwards
grante@visi.com

Hi Richard,

In addition to these good suggestions (I vote for Cygwin too :slight_smile: ),
you may also want to look at pyShell (in wxPython Docs and
Demos\Scripts). pyShell is a python shell (same as you get when you
type 'python' at the prompt) with tooltips and syntax highlighting.

It's also implemented in wxPython, which makes it good for
experimenting --- because it's already running a wxApp, you can create
widgets on the fly and play around with things, for instance:

import wx
f = wx.Frame(None)
st = wx.StaticText(f, label='Hello world!')
f.Show()

True

which is much more of a pain from the standard python interpreter.

···

--
John.

Richard,

If you know unix or linux, I can't recommend installing cygwin enough
(http://www.cygwin.com/). I edit code with xemacs, using the same python
mode that I have on linux. I use the command line to access our cvs
repository over ssh using the same commands I use on linux. And if I want a
directory listing, I can use ls instead of trying to remember the /options to
dir. :slight_smile:

I run the code from a bash shell. Just make sure you call the right version
of python if you have the cygwin version of python installed
in /usr/bin/python.

john

···

On Thursday 26 January 2006 09:14 pm, Grant Edwards wrote:

On 2006-01-27, Richard Terry <rterry@internode.on.net> wrote:
> In linux I use a text editor, have a terminal to type commands
> in, if something crashes I get to see the error messages.

IMO, that's the best way to do it under windows as well.

> Just how does one go about doing the actual programming in
> windows?,

Same as Linux: a good programming editor and a command prompt.

> ie once you have the code written where do you type the
> command like python myfile.py to get it to run.

Open a terminal window. I prefer Cygwin+bash, but you can use
the native cmd.exe if you enjoy pain.

Under Windows I use the
ActiveState build for Python (). It comes with a
decent IDE and an interpreter window which I find excellent for testing
small snippets of code. So in the first line of my programs the
“import wx”, as under Linux is how I get started. The downside is if I
have a logic error in my code. Then it crashes the IDE. Even when the
IDE exits, it may leave a process in memory so I hot Ctrl+Alt+Delete to
get the Windows Task Manager, look for the pythonwin process, and end
it.
The advantage of the IDE is autocompletion for typing, online help,
syntax coloring, etc.
SPE, Stani’s Python Editor, which I have not used but I have read it is
well integrated with wxPython for development. Stani is a frequent
poster to this mail list.
Ira

Grant Edwards wrote:

···

www.activestate.com

rterry@internode.on.net

I've installed this ok, getting up a prompt, can do ls etc.

Does one have to download and install software as per unix?. Does cygwin
support gui stuff as well?

Just a couple of quick questions, I'll try and find time to peruse the
website.

Richard

···

On Friday 27 January 2006 14:46, John Meisner wrote:

On Thursday 26 January 2006 09:14 pm, Grant Edwards wrote:
> On 2006-01-27, Richard Terry <rterry@internode.on.net> wrote:
> > In linux I use a text editor, have a terminal to type commands
> > in, if something crashes I get to see the error messages.
>
> IMO, that's the best way to do it under windows as well.
>
> > Just how does one go about doing the actual programming in
> > windows?,
>
> Same as Linux: a good programming editor and a command prompt.
>
> > ie once you have the code written where do you type the
> > command like python myfile.py to get it to run.
>
> Open a terminal window. I prefer Cygwin+bash, but you can use
> the native cmd.exe if you enjoy pain.

Richard,

If you know unix or linux, I can't recommend installing cygwin enough
(http://www.cygwin.com/). I edit code with xemacs, using the same python
mode that I have on linux. I use the command line to access our cvs
repository over ssh using the same commands I use on linux. And if I want
a directory listing, I can use ls instead of trying to remember the
/options to dir. :slight_smile:

I run the code from a bash shell. Just make sure you call the right
version of python if you have the cygwin version of python installed
in /usr/bin/python.

john

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

SPE has all the flavours to run files: inside SPE (Ctrl+R), outside in
a terminal window (F9) and through the debugger. If you have further
questions you can post them on the SPE forum or mailing list.

Stani

···

On 1/27/06, Richard Terry rterry@internode.on.net wrote:

Yes, its me again, dummy of the list with the most stupid question you will
ever get.

How do you run wxPython on windows. Yes I’ve searched the site - all it says
is intalling on windows is simple…

I use linux usually, but have installed it on my Xp laptop.

I’ve downloaded the binaries, installed them, can run the demo off the menu,
but after that I’m lost.

In linux I use a text editor, have a terminal to type commands in, if

something crashes I get to see the error messages.

Just how does one go about doing the actual programming in windows?, ie once
you have the code written where do you type the command like python
myfile.py
to get it to run.


http://pythonide.stani.be
http://pythonide.stani.be/screenshots

http://pythonide.stani.be/manual/html/manual.html

I've installed this ok, getting up a prompt, can do ls etc.

Does one have to download and install software as per unix?.

When you run Setup.exe, it installs the base packages. If you want to install
more (e.g. openssh, xemacs...), run Setup again. When you get to the "Select
Packages" screen, select the additional packages that you want to install.
So, for example, if you wanted to install vim or xemacs, click on the Editors
category and then click on the word Skip in front of the package you want to
install. The word "Skip" should change into the version number of the
package that it will install. If you change your mind, keep clicking until
you see Skip again. I have on occasion added a package and been surprised to
get all of X windows.

Does cygwin support gui stuff as well?

I'm not sure what you mean by gui stuff. You can launch windows apps that have
a gui from inside cygwin. When you use xemacs, the mouse works as you'd
expect. You can run X windows inside of cygwin.

john

···

On Thursday 26 January 2006 11:21 pm, Richard Terry wrote:

Just a couple of quick questions, I'll try and find time to peruse the
website.

Richard

On Friday 27 January 2006 14:46, John Meisner wrote:
> On Thursday 26 January 2006 09:14 pm, Grant Edwards wrote:
> > On 2006-01-27, Richard Terry <rterry@internode.on.net> wrote:
> > > In linux I use a text editor, have a terminal to type commands
> > > in, if something crashes I get to see the error messages.
> >
> > IMO, that's the best way to do it under windows as well.
> >
> > > Just how does one go about doing the actual programming in
> > > windows?,
> >
> > Same as Linux: a good programming editor and a command prompt.
> >
> > > ie once you have the code written where do you type the
> > > command like python myfile.py to get it to run.
> >
> > Open a terminal window. I prefer Cygwin+bash, but you can use
> > the native cmd.exe if you enjoy pain.
>
> Richard,
>
> If you know unix or linux, I can't recommend installing cygwin enough
> (http://www.cygwin.com/). I edit code with xemacs, using the same python
> mode that I have on linux. I use the command line to access our cvs
> repository over ssh using the same commands I use on linux. And if I
> want a directory listing, I can use ls instead of trying to remember the
> /options to dir. :slight_smile:
>
> I run the code from a bash shell. Just make sure you call the right
> version of python if you have the cygwin version of python installed
> in /usr/bin/python.
>
> john
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

--
SIFT, LLC
Smart Information Flow Technologies

Phone: (952) 270-8437
Email: jmeisner@sift.info

Ira Kaplan wrote:

Under Windows I use the ActiveState build for Python (www.activestate.com). It comes with a decent IDE

I don't think the PythonWin IDE is being actively maintained anymore, and It's always been somewhat incompatible with any GUI toolkit other than PythonWin.

SPE, Stani's Python Editor, which I have not used but I have read it is well integrated with wxPython for development.

This is a much better option: actively maintained, more features, and fully compatible with wx (and I think other GUI toolkits as well)

But if you like the *nix command line environment, cygwin is a good bet.

cygwin can provide a pretty complete *nix environment. I think you can even run wxGTK with X in it. However, if you are on windows, I'm guessing you want to develop (Or test, at least) Windows apps, and not want to require your users to install cygwin and get a *nix-like application, so I'd just use wxWin32, and use cygwin for your development environment.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov