473,763 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Just Getting Started with Python on MS XP Pro

What do I download to use Python with MX XP Pro on an ASUS 4 year old
motherboard? I would guess a good book source for starters would be the
O'Reilly book.

Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

""I do not fear death. I had been dead for billions
and billions of years before I was born, and had
not suffered the slightest inconvenience from it."
-- Mark Twain (a nod to evolution)
--
Web Page: <home.earthlink .net/~mtnviews>
Jan 5 '07 #1
18 2035
W. Watson wrote:
What do I download to use Python with MX XP Pro on an ASUS 4 year old
motherboard? I would guess a good book source for starters would be the
O'Reilly book.
You mean Microsoft XP Pro?

For a beginner, the motherboard does not really matter. First of all,
you should download Python itself:

http://www.python.org/download/

or more probably:

http://www.python.org/ftp/python/2.5/python-2.5.msi

Then you should download a good editor. There are many, listed here:
http://wiki.python.org/moin/PythonEditors
Under Windows, for a beginner, I would recommend pythonwin, but you can
decide.

Finally, you can start practicing. A book is always good. You can read
online tutorials too:

http://docs.python.org/tut/
http://www.awaretek.com/tutorials.html
Regards,

Laszlo

Jan 5 '07 #2
Wise choice + welcome to the club.

Though Python is open source and well appreciated on Linux, I think you
will find that most people in this newsgroup will be fairly courteous
about _your_ choice of platform. Some will not know about the weird
process forking stuff on windows and helpfully suggest that 'if you
were to use a real OS...'. But in reality Python is just as happy on
XP as on Linux and the lack of scripting/shell alternatives on XP makes
it all the more useful there.

The only real XP drawback is that Python is not bundled on Windows,
while it is included with OS X and most (all?) Linux distros.

So, giving a *.py program to another XP user means little by itself, it
needs to be either packaged in an exe (see py2exe) or you need to get
your buddy to install python on their machine.
In descending order of cheapness/usefullness.

1. download python + work through the tutorial. well, maybe not all
of it, but with pythonwin around, you can try out significant snippets
quickly.
2. use any ol' text editor that _you_ are familiar with, save to file,
and python <fileunder DOS. later on you can always pick an editor.
i prefer eclipse + pydev, yes, even on windows.

personally, i find pythonwin _great_ to test out code interactively,
mediocre to write lots of code with and occasionally handy to debug
code in.

if you hate typing python <fileunder DOS, then I guess you will have
to run programs from pythonwin.
3. internet

this newsgroup is very informative.

dive into python, pretty good net resource

www.diveintopython.org

4. books:

Learning Python, isbn 0596002815, is pretty good.

Python Programming on Win32, isbn 1565926218, is good, if a bit dated
(2000, covers COM but no .Net)

In depth Python - Python in a Nutshell, isbn 0596100469
5. GUI stuff.

wxPython. If, like me, you hate handcoding everything and want a VB
drag&drop clone you will have to look around for someone else's advice
- there are several such editors that do wxPython but I have never
found anything entirely to my liking. I am sure others will chime in
with their recommendations .
6. Database stuff.

Personally, working on MS SQL, I vouch for mxODBC - shareware, which I
used for years without paying, until I decided the guy had definitely
earned my $75.

http://www.egenix.com/files/python/e...xtensions.html
7. Prepping *.py programs for distribution to users w.o. Python

py2exe - www.py2exe.org/

Best o' luck.

Jan 6 '07 #3
On 2007-01-06, Do********@gmai l.com <Do********@gma il.comwrote:
The only real XP drawback is that Python is not bundled on
Windows, while it is included with OS X and most (all?) Linux
distros.
While it's true that Microsoft doesn't bundle Python with
Windows, a _lot_ of XP computers do come with Python installed.
My IBM ThinkPad came out of the box with Python installed. I've
read that a few other large PC vendors (HP/Compaq?) also ship
Python pre-installed on their machines.

However, it's not usually installed in a manner that makes it
conveniently usable by the end-user...

--
Grant Edwards grante Yow! NOW, I'm supposed
at to SCRAMBLE two, and HOLD
visi.com th' MAYO!!
Jan 6 '07 #4
Laszlo Nagy wrote:
W. Watson wrote:
>What do I download to use Python with MX XP Pro on an ASUS 4 year old
motherboard? I would guess a good book source for starters would be
the O'Reilly book.
You mean Microsoft XP Pro?

For a beginner, the motherboard does not really matter. First of all,
you should download Python itself:

http://www.python.org/download/

or more probably:

http://www.python.org/ftp/python/2.5/python-2.5.msi

Then you should download a good editor. There are many, listed here:
http://wiki.python.org/moin/PythonEditors
Under Windows, for a beginner, I would recommend pythonwin, but you can
decide.

Finally, you can start practicing. A book is always good. You can read
online tutorials too:

http://docs.python.org/tut/
http://www.awaretek.com/tutorials.html
Regards,

Laszlo
Many thanks. I've been impressed lately what one finds in Wikipedia. The
first such occurrence was when I find all the release dates for a photo
software package that I use. Not even the mfger had that!
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

""I do not fear death. I had been dead for billions
and billions of years before I was born, and had
not suffered the slightest inconvenience from it."
-- Mark Twain (a nod to evolution)
--
Web Page: <home.earthlink .net/~mtnviews>
Jan 6 '07 #5
Ah, I misread wiki as wikpedia. Nevertheless, wikipedia surprises me, as
well as just wiki sites.
Jan 6 '07 #6
The wiki site lead to a link to download pythonwin, but the download is
broken. Googling invariably leads back to that link. I found
<http://www.python.org/download/releases/binaries-1.4/pythonwin/>, which has
two files listed: oadist.exe and win32dbg.exe. Do I need both or is just the
latter one?
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

""I do not fear death. I had been dead for billions
and billions of years before I was born, and had
not suffered the slightest inconvenience from it."
-- Mark Twain (a nod to evolution)
--
Web Page: <home.earthlink .net/~mtnviews>
Jan 6 '07 #7
W. Watson schrieb:
The wiki site lead to a link to download pythonwin, but the download is
broken. Googling invariably leads back to that link. I found
<http://www.python.org/download/releases/binaries-1.4/pythonwin/>, which has
two files listed: oadist.exe and win32dbg.exe. Do I need both or is just the
latter one?

A google query 'pythonwin' directly brings me here:

https://sourceforge.net/projects/pywin32/

I think this is the place to go

Thomas
Jan 6 '07 #8
Do********@gmai l.com wrote in
news:11******** ************@42 g2000cwt.google groups.com:
Wise choice + welcome to the club.
Seconded.
The only real XP drawback is that Python is not bundled on
Windows, while it is included with OS X and most (all?) Linux
distros.
My computer does, in fact, include a Python 2.2.1 installation,
which the manufacturer uses internally.
2. use any ol' text editor that _you_ are familiar with, save
to file, and python <fileunder DOS. later on you can always
pick an editor. i prefer eclipse + pydev, yes, even on windows.

personally, i find pythonwin _great_ to test out code
interactively, mediocre to write lots of code with and
occasionally handy to debug code in.

if you hate typing python <fileunder DOS, then I guess you
will have to run programs from pythonwin.
Not so, but it takes a little setup. If I want to run a Python
program named, say, "fixthis.py ", I can invoke it by typing
"fixthis.py " at the command-line prompt (if I'm running cmd.exe),
or by clicking the icon in Windows Explorer. To make the command-
line option work, I have to have file associations set so that .py
files open with python (and .pyw files open with pythonw, for that
matter). I *think* this is done at install time, though I may have
done that separately.

There is also an environment variable called "pathext", which is
just a list of extensions the system recognizes as being
executable in some way. if you add .py and .pyw to that list, then
all you have to type at the command line is "fixthis" to get that
Python program to run.

I note that I have had my Python root and Python/Scripts directory
on my path at times. There may be some packages that require these
things, but what I talked about in the previous two paragraphs
doesn't require pythonpath to be set specially.

(Fiddling around) Ah! If you want to invoke the interactive python
shell, you will probably want to add the root location to your
path, so you can type
python
.... to invoke it, rather than
c:\python25\pyt hon
.... and something similar may be true for the Scripts
subdirectory.

--
rzed
Jan 6 '07 #9
Thomas Ploch wrote:
W. Watson schrieb:
>The wiki site lead to a link to download pythonwin, but the download is
broken. Googling invariably leads back to that link. I found
<http://www.python.org/download/releases/binaries-1.4/pythonwin/>, which has
two files listed: oadist.exe and win32dbg.exe. Do I need both or is just the
latter one?


A google query 'pythonwin' directly brings me here:

https://sourceforge.net/projects/pywin32/

I think this is the place to go

Thomas

That gets me the python program (pywin), which I got from a URL in a post
above (python-win.msi). I guess these are the same or at least just the
interpreter, and do not provide the IDE-debugger. I can't get pythonwin, the
debugger and IDE. The link was broken last night when I tried it. Well, let
me try now. Nope, it still reports "Error 404: File Not Found"


Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

""I do not fear death. I had been dead for billions
and billions of years before I was born, and had
not suffered the slightest inconvenience from it."
-- Mark Twain (a nod to evolution)
--
Web Page: <home.earthlink .net/~mtnviews>
Jan 7 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1289
by: Eduardo Elgueta | last post by:
Hi All, Would anyone be so kind to explain this? -- begin -- >>> (176L,) > 300 True --end-- (Python2.3)
7
1695
by: Miguel Manso | last post by:
Hi, list. I'm into a psicological doubt that I would like to share with you (you'll know why later on this mail). I'm a programmer with 5 year of experience into Perl. I'm on that point where you resolve problems without thinking on HOW you'll do it with that language but only on the problem itself. Since Perl 6 started I've been following it. The conclusion I have is
80
5280
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: Hireability Portability Flexibility The likely candidates seem to be Java, VB.Net, C, C++, C#.
30
2791
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered if anyone from the group could give me some advice on how to respond / if they had been in a similar position. Any help appreciated, Thanks in advance,
4
1547
by: renguy | last post by:
I am interested in making some changes and additions to the Python environment (Python and IDLE). I have the source code and can build the source, but what I want to know is what are the "main" functions or source code for Python and IDLE. Specifically I would like to know what in Python and IDLE would be analogous to void main () in a standard C program. This will help me to work out the structure of the interpreter and the environment....
3
15052
by: Mudcat | last post by:
I am not that familiar with Crystal Reports, but having read some other posts I know that the way to integrate the API with Python is through the COM interface provide by win32all. However, I have been unable to find any other information on how to get started. I've used the COM interface before in integrating Excel and a couple of other things. So I am familiar with how that works. But there are at least 40 options dealing with Crystal...
7
1617
by: Mark Carter | last post by:
One thing I really liked about Ubuntu was that Nautilus allowed you to add scripts to a directory which could be accessed via the RMB. It was a very simple thing to do. I've recently switched to Leopard, and I'm trying to do the same thing. I'm fairly experienced with Python, but new to OS X. I have installed FinderPop, which lets me add scripts and make them accessible via Contextual Menus, but it is not as easy as the Nautilus way. ...
5
7737
by: Peter Pearson | last post by:
I'm trying to get started with pyvtk, the Python interface to the Visualization Toolkit, but there's obviously something important that I haven't figured out after an embarrassingly long morning of googling around. When I run sample pyvtk code (example1.py, from http://cens.ioc.ee/cgi-bin/viewcvs.cgi/python/pyvtk/examples/example1.py), nothing graphical happens, but some text files appear named example1.vtk and example1b.vtk. Guessing...
1
2822
by: srinivasan srinivas | last post by:
HI, I am using Solaris and subprocess.Popen to spawn a process on a remote machine. Thanks, Srini ----- Original Message ---- From:Diez B. Roggisch <deets@nospam.web.de> To: python-list@python.org
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10145
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9998
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.