Noob question re Python on Windows PC

Click For Summary

Discussion Overview

The discussion centers around the concerns of a newcomer, Sandra, regarding the installation and use of Python on a Windows Vista PC. Participants address the potential risks associated with programming, particularly in relation to file corruption and memory issues, while providing advice on getting started with Python.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • Sandra expresses anxiety about the possibility of corrupting important files or memory due to programming mistakes, referencing past experiences.
  • One participant reassures that they have not encountered any adverse effects from installing Python and suggests starting with simple text editing and command line execution before using an IDE.
  • Another participant states that unless one intentionally opens system files or writes complex extensions, a simple Python installation should not corrupt anything.
  • A later reply indicates that modern programming languages, including Python, make it more difficult to cause memory corruption compared to earlier programming experiences.
  • Participants suggest caution when working with files, recommending that users avoid important system files and instead work with copies to minimize risk.

Areas of Agreement / Disagreement

Participants generally agree that a standard installation of Python poses minimal risk to system integrity, though there are varying degrees of caution expressed regarding file handling and programming practices.

Contextual Notes

Some participants note that while Python reduces the risk of corruption, care should still be taken when dealing with files, particularly important system files. The discussion does not resolve the broader concerns about programming risks, as these are subjective and based on individual experiences.

Who May Find This Useful

Individuals new to programming, particularly those considering learning Python on older Windows systems, may find this discussion relevant.

sdo62
Messages
9
Reaction score
0
Hi

I want to start learning Python and am a little nervous about installing it (from www.python.org) and running it on my main Windows Vista PC. I have scary memories from previous programming experience over 20 years ago of it being possible to corrupt important files or bits of memory by careless noob programming. Is this still true?

Any advice appreciated.
Thanks
Sandra
 
Technology news on Phys.org
I've not heard of any adverse effects of installing python, but nothing is certain. FWIW I'm crazy about python and have installed it on a lot of computers with no problem. (I'm a C++ programmer from way back). I use Eclipse with PyDev for my IDE. A very simple "IDE" comes with python, called 'IDLE', but I never liked it much. However, I recommend simply text-editing your python source code for while and running it from the command line before you jump into installing Eclipse and then PyDev. I use Python 3.2. Pretty much all libraries work on it now. It comes with a rich set of libraries that let you do almost anything. (tkinter is the GUI library, for example). You might also want to install pygame so you have more media functions. I can't remember which of these the installer neglects to do, so you might want to do one of them: add python.exe to the PATH, or associate *.py and *.pyc files with python. You'll probably want to get involved in python-forum.org, as well.

EDIT: BTW the license is VERY lenient. You can embed it in your C++ program. You can also redistribute python and make your installer install it and pygame (I had to do that recently)
 
Last edited:
Unless you are doing something seriously wrong (namely opening system files intentionally or writing extensions in C that utilise some Win32 API functionality you do not understand), then no, a simple Python install is not going to corrupt anything.
 
sdo62 said:
I have scary memories from previous programming experience over 20 years ago of it being possible to corrupt important files or bits of memory by careless noob programming. Is this still true?
As far as memory goes, it's somewhat more difficult to do this in any programming language these days -- and python will make it even more difficult to screw up.

If, for whatever reason you decide to work with files, you're unlikely to cause yourself problems unless you go looking for important files. If you're not playing with such things, then you're no more likely to get into trouble with python than you are just using windows explorer. (But if you do go looking at them, it's easier to screw up in Python than it is in windows explorer -- rather than look at the files directly, it might be better to make copies of them and move them to where you're playing with files)
 

Similar threads

Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K