Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie to python 1

Status
Not open for further replies.

johnv20

Programmer
Sep 26, 2001
292
US
Hi,
after years of mainly using perl as my prmary scripting language I decided to look at python 2 days ago & am very very impressed. Please bear with me as I ask a few newbie questions

Is there a python release that will run under DOS ?

Has anybody any experience of running python under dos? 1 of the main limitations with perl is that it doesn't release memory very well so under dos with the 540k limit you begin to see problems if mutiple scripts run after one another


Can anybody recommend a good FREE windows based editor

Can anyone recommend a good reference book, perferably 1 that lists all the main modules & how to use them

Is there a windows compiler for python, activestate do a very good 1 for perl but I can't see any for python


Thanks
 
Is there a python release that will run under DOS ?

Yes.


540k limit

I haven't tried, but my guess is that Python is not better than perl on memory usage.
I think the DOS Python version is compiled with a Dos extender, and is not subject to the 640 kb limit.


Can anybody recommend a good FREE windows based editor

I love PSPad.
Free, fast, convenient, good syntax coloring, you can even include the inline Python documentation (PythonShelf).


Can anyone recommend a good reference book, perferably 1 that lists all the main modules & how to use them

Not easy.
You can always have a look at Python manual, which lists and describes all modules:

I would also recommend to read the chapter about tuples, lists and dictionnaries in the "Dive into Python" book
(which can be downloaded for free !)

These datatypes are key Python notions and are used everywhere.
Also spend some time on list comprehension in Python. It's worth studying.


Is there a windows compiler for python, activestate do a very good 1 for perl but I can't see any for python

The standard Python distribution is perfect !

But you can always use the one from ActiveState if you prefer:

The ActiveState distribution contains the win32all modules which are not included in the standard distribution (But these modules can be downloaded separately.)
Win32all modules allow access to Windows-specific features (registry, ODBC, etc.)


Note that Python 2.3 introduces 'future' warnings and forced encoding, which can be disconcerting at first.
 
Oh PSPad is lovely, much better than either PCE or Jedit
which I have been using
 
I may have to give PSPad a try, I've been using Editplus

Can't comment no the rest of the questions though, seb did to good a job answering :)

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top