Re: Newbie python questions...

2012-04-15 Thread rusi
On Apr 15, 7:47 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
 On Sat, 14 Apr 2012 11:25:57 -0700, vmars316 wrote:
  win7HomePremium:
  Greetings,
  1)
  I installed portablePython(pP) here:
  C:\Users\vmars\Python3
   ?Does that look ok?

 Sure, why not?

  2)
  I would like to try pyWin, but it won't let me install because there is
  no pP3.2 in registry.
   ? How can I update the Registry for Python3.2 ?

 I'm not a Windows expert, but isn't one of the points of Portal Python
 that it doesn't mess with the registry?

 If you don't get an answer here after a couple of days, perhaps try
 asking again on a Portable Python or pyWin mailing list.

  3) When ever I cllick on *.py file,
  it runs by so fast that I can't see what's going on.
   ?Is there a way to keep the pyconsole open 'til i decide to close
  it?

 Put this line at the very end of your script:

 x = input(Press Enter to continue... )

  4)
  I can't seem to get turtleDemo running. ?Can anyone step me thru this?

Ive had issues with turtle in windows which were not on linux
http://mail.python.org/pipermail/python-list/2011-May/1272708.html
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie python questions...

2012-04-15 Thread rusi
On Apr 14, 11:25 pm, vmars316 vmars...@gmail.com wrote:
 win7HomePremium:
 Greetings,
 1)
 I installed portablePython(pP) here:
 C:\Users\vmars\Python3
  ?Does that look ok?

A brief look at portable python's website indicates that its meant for
running off usb sticks (ie without installation)
If you are installing in the normal way, why not use normal python?

http://www.python.org/getit/

[First time I'm hearing of portable python]
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie python questions...

2012-04-14 Thread Andrew Berg
On 4/14/2012 1:25 PM, vmars316 wrote:
 I installed portablePython(pP) here:
 C:\Users\vmars\Python3
  ?Does that look ok?
I would suggest including the minor version number (i.e. Python32
instead of Python3) because not all 3.x code is compatible with all
versions of Python 3.x - all code that works on 3.2 will work on 3.3,
but not vice versa.
 2)
 I would like to try pyWin, but it won't let me install
 because there is no pP3.2 in registry.
  ? How can I update the Registry for Python3.2 ?
You miss the point of portable Python. If you want to have entries in
the registry, use the standard installer from python.org.
 3) When ever I cllick on *.py file,
 it runs by so fast that I can't see what's going on.
Run it from a terminal. There are plenty of guides out there on how to
use a command line.
  ?Is there a way to keep the pyconsole open 'til i decide to close
 it?
In interactive mode (i.e., when you open python.exe and when not called
by a script), the interpreter doesn't close until you execute the exit()
function. Also, see the previous answer.
 4)
 I can't seem to get turtleDemo running.
 ?Can anyone step me thru this?
Be more specific.

BTW, there is a tutorial that covers the basics:
http://docs.python.org/py3k/tutorial/index.html

-- 
CPython 3.2.2 | Windows NT 6.1.7601.17640
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie python questions...

2012-04-14 Thread Temia Eszteri
3) When ever I cllick on *.py file,
it runs by so fast that I can't see what's going on.
 ?Is there a way to keep the pyconsole open 'til i decide to close
it?
Thanks...Vernon

This one's answered easily enough - just open a command prompt window
at that directory (shift-right click the folder and select Open
Command Prompt Window, unless the Home version of Win7 lacks that...)
and run python namehere.py from it.

~Temia
--
When on earth, do as the earthlings do.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie python questions...

2012-04-14 Thread Emile van Sebille

On 4/14/2012 11:25 AM vmars316 said...

win7HomePremium:
Greetings,
1)
I installed portablePython(pP) here:
C:\Users\vmars\Python3
  ?Does that look ok?
2)
I would like to try pyWin, but it won't let me install
because there is no pP3.2 in registry.
  ? How can I update the Registry for Python3.2 ?



As a newbie interested in pywin do yourself a favor and start with one 
of the activestate installers from


http://www.activestate.com/activepython/downloads

Emile




3) When ever I cllick on *.py file,
it runs by so fast that I can't see what's going on.
  ?Is there a way to keep the pyconsole open 'til i decide to close
it?
4)
I can't seem to get turtleDemo running.
?Can anyone step me thru this?

Thanks...Vernon



--
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie python questions...

2012-04-14 Thread Steven D'Aprano
On Sat, 14 Apr 2012 11:25:57 -0700, vmars316 wrote:

 win7HomePremium:
 Greetings,
 1)
 I installed portablePython(pP) here:
 C:\Users\vmars\Python3
  ?Does that look ok?

Sure, why not?


 2)
 I would like to try pyWin, but it won't let me install because there is
 no pP3.2 in registry.
  ? How can I update the Registry for Python3.2 ?

I'm not a Windows expert, but isn't one of the points of Portal Python 
that it doesn't mess with the registry?

If you don't get an answer here after a couple of days, perhaps try 
asking again on a Portable Python or pyWin mailing list.


 3) When ever I cllick on *.py file,
 it runs by so fast that I can't see what's going on.
  ?Is there a way to keep the pyconsole open 'til i decide to close
 it?

Put this line at the very end of your script:

x = input(Press Enter to continue... )



 4)
 I can't seem to get turtleDemo running. ?Can anyone step me thru this?

What happens when you try?

P.S. in future it's probably best if you split unrelated questions into 
separate email threads.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie Python questions

2008-08-04 Thread LessPaul
On Aug 2, 3:07 pm, Tim Roberts [EMAIL PROTECTED] wrote:
 binaryjesus [EMAIL PROTECTED] wrote:

 One great open source GUI package that you left out is GTK ie. pygtk.
 i cant compare it with wx as i have never used it but isay its much
 better than QT.

 Anyway for ur q if u want to compair qt n wx. QT should be faster coz
 it has a better documentation.

 Holy moly, did you send this from your cell phone?
 --
 Tim Roberts, [EMAIL PROTECTED]
 Providenza  Boekelheide, Inc.

Thanks much to all the replies. At this point I believe I'm going to
start with wx and go from there. I probably will build a small test
app or two and try the various packages. It doesn't sound like the
APIs are going to be too tough to grasp. And yes, I've about 10 years
work in Windows using an event-driven model (LabWindows).
--
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie Python questions

2008-08-04 Thread Timothy Grant
On Mon, Aug 4, 2008 at 1:27 PM, LessPaul [EMAIL PROTECTED] wrote:
 On Aug 2, 3:07 pm, Tim Roberts [EMAIL PROTECTED] wrote:
 binaryjesus [EMAIL PROTECTED] wrote:

 One great open source GUI package that you left out is GTK ie. pygtk.
 i cant compare it with wx as i have never used it but isay its much
 better than QT.

 Anyway for ur q if u want to compair qt n wx. QT should be faster coz
 it has a better documentation.

 Holy moly, did you send this from your cell phone?
 --
 Tim Roberts, [EMAIL PROTECTED]
 Providenza  Boekelheide, Inc.

 Thanks much to all the replies. At this point I believe I'm going to
 start with wx and go from there. I probably will build a small test
 app or two and try the various packages. It doesn't sound like the
 APIs are going to be too tough to grasp. And yes, I've about 10 years
 work in Windows using an event-driven model (LabWindows).
 --
 http://mail.python.org/mailman/listinfo/python-list


Make sure to subscribe to the wxPython list the people there have
helped me immensely in the past.

-- 
Stand Fast,
tjg. [Timothy Grant]
--
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie Python questions

2008-08-02 Thread Tim Roberts
binaryjesus [EMAIL PROTECTED] wrote:

One great open source GUI package that you left out is GTK ie. pygtk.
i cant compare it with wx as i have never used it but isay its much
better than QT.

Anyway for ur q if u want to compair qt n wx. QT should be faster coz
it has a better documentation.

Holy moly, did you send this from your cell phone?
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza  Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie Python questions

2008-07-31 Thread Tim Roberts
LessPaul [EMAIL PROTECTED] wrote:

...My
question is in regard to GUI platforms. My primary target would be
Windows, but I would also like be able to support Linux and Mac
versions if possible. I'm also interested in using a system that also
has support for pure C++ applications. As such, and after reading many
web pages regarding Python GUIs, I believe I have the candidates
narrowed down to pyQT and wxPython.

The first question -- how steep is the curve to become proficient with
the above GUI packages?

There is so much personal preference here that it is extremely hard to give
any guidance.  If you have done any Windows programming at all, so that you
are familiar with the event-driven programming model, then I don't think
you would see that much difference in learning curve.  The two packages are
more alike than they are different -- the various APIs are just spelled
differently.

I happen to be a big wxPython fan.  I learn best by example, and wxPython
has a 44,000-line demo suite with 167 source files that demonstrates
virtually every class it includes.

Since there appears to be no commercial licencing fee for wxWidgets/
wxPython, the last question is what do I gain from going QT over wx?
I've seen great applications written with both (on my computer I have
the wxPython Digsby and the pyQT apps Mnemosyne and Anki. All seem
to be solid.

Yep.  Personal preference.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza  Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie Python questions

2008-07-31 Thread binaryjesus
One great open source GUI package that you left out is GTK ie. pygtk.
i cant compare it with wx as i have never used it but isay its much
better than QT.


Anyway for ur q if u want to compair qt n wx. QT should be faster coz
it has a better documentation.
and welcome to the python family!

kind regards
binaryjesus


On Jul 31, 12:10 pm, Tim Roberts [EMAIL PROTECTED] wrote:
 LessPaul [EMAIL PROTECTED] wrote:

 ...My
 question is in regard to GUI platforms. My primary target would be
 Windows, but I would also like be able to support Linux and Mac
 versions if possible. I'm also interested in using a system that also
 has support for pure C++ applications. As such, and after reading many
 web pages regarding Python GUIs, I believe I have the candidates
 narrowed down to pyQT and wxPython.

 The first question -- how steep is the curve to become proficient with
 the above GUI packages?

 There is so much personal preference here that it is extremely hard to give
 any guidance.  If you have done any Windows programming at all, so that you
 are familiar with the event-driven programming model, then I don't think
 you would see that much difference in learning curve.  The two packages are
 more alike than they are different -- the various APIs are just spelled
 differently.

 I happen to be a big wxPython fan.  I learn best by example, and wxPython
 has a 44,000-line demo suite with 167 source files that demonstrates
 virtually every class it includes.

 Since there appears to be no commercial licencing fee for wxWidgets/
 wxPython, the last question is what do I gain from going QT over wx?
 I've seen great applications written with both (on my computer I have
 the wxPython Digsby and the pyQT apps Mnemosyne and Anki. All seem
 to be solid.

 Yep.  Personal preference.
 --
 Tim Roberts, [EMAIL PROTECTED]
 Providenza  Boekelheide, Inc.



--
http://mail.python.org/mailman/listinfo/python-list


Re: Newbie Python questions

2008-07-31 Thread Mike Driscoll
On Jul 29, 12:28 pm, LessPaul [EMAIL PROTECTED] wrote:
 I recently discovered Python and see it as a great language to use for
 personal projects (and more). I made my living for over a decade as a
 coder in C, C++, ADA, Fortran, and Assembly before moving to systems
 engineering.

 I'm now retired, and would love to code again. I see Python as the
 perfect language to get a good program working in a short time. My
 question is in regard to GUI platforms. My primary target would be
 Windows, but I would also like be able to support Linux and Mac
 versions if possible. I'm also interested in using a system that also
 has support for pure C++ applications. As such, and after reading many
 web pages regarding Python GUIs, I believe I have the candidates
 narrowed down to pyQT and wxPython.

 The first question -- how steep is the curve to become proficient with
 the above GUI packages? If the answer is not very then there is no
 need for the following questions as I can try both on for size to see
 which I like best. However if it is a sizable investment in time, I'd
 like to maximize my efforts and choose the one I'll end up using in
 the end.

 The biggest hurdle I can see is the cost of the QT licence for
 commercial software, though apparently it can be acquired for a
 reasonable price via the BlackAdder package. Does purchasing the
 BlackAdder also include the needed software support for C++
 development? Does the BlackAdder purchase also allow for licence of
 standard C++ apps?

 Since there appears to be no commercial licencing fee for wxWidgets/
 wxPython, the last question is what do I gain from going QT over wx?
 I've seen great applications written with both (on my computer I have
 the wxPython Digsby and the pyQT apps Mnemosyne and Anki. All seem
 to be solid.

Tim forgot to mention that the wxPython user's group is very helpful
and fun. I don't know how the pyQT one is. You could try both toolkits
just working on some toy projects before you work on anything
commercial. Then they're both free! And you can find out which one
better suits you.

Mike
--
http://mail.python.org/mailman/listinfo/python-list