Hello. I am new to Python and for the most part new to programming. The
best way to learn to write is to read, so I have been looking for a
website that has the code of programs written in Python. If anyone knows
of a good place to find something like this, I would be very grateful if
you could respond.
Thanks! 7 2335
Andy Koch wrote: Hello. I am new to Python and for the most part new to programming. The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone knows of a good place to find something like this, I would be very grateful if you could respond.
Almost all Python code is distributed as .py files, which is the actual
source, so you shouldn't have to look far to find it.
Start with the standard distribution: look under your /python/lib folder
(adjust path to your own situation) and check it out: more code than you're
likely to want to read right now. :-)
Also download just about *any* Python program, starting from links on www.python.org, or searching at SourceForge.net, and you'll find lots
of source to peruse.
Also make sure you've followed through the tutorial and other beginner
materials, again linked from www.python.org.
-Peter
Andy Koch wrote: Hello. I am new to Python and for the most part new to programming. The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone knows of a good place to find something like this, I would be very grateful if you could respond. Thanks!
Three to start with.... http://www.python.org/
// naturally! http://www.onlamp.com/python/
O'Reillys' open source community portal thing, with a good python
section. Leads to many more good sites, not just Python. (Apparently
LAMP is an acronym LinuxApacheMySQLPerl, but they had to let Python join
the party!) http://www.uselesspython.com/ // you said you wanted to see code
Andy Koch wrote: Hello. I am new to Python and for the most part new to programming. The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone knows of a good place to find something like this, I would be very grateful if you could respond.
Hello Andy and welcome!
Have you looked at http://www.python.org/topics/learn/ ?
It contains a lot of links to interesting sites.
You might also just want to browse the Python projects
on sourceforge: http://sourceforge.net/softwaremap/t...p?form_cat=178
--Irmen
Andy Koch wrote: Hello. I am new to Python and for the most part new to programming. The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone knows of a good place to find something like this, I would be very grateful if you could respond. Thanks!
Useless Python ( http://www.uselesspython.com ) and the Vaults of
Parnassus ( http://py.vaults.ca/ ) are good places to check out.
Ahem, <shamless plug>my site ( http://andres980.tripod.com/sw/ ) has a
couple of programs I've done in Python.</shameless plug>
--
Andres Rosado
The battle isn't over until the last Decepticon has fallen.
-- Big Hauler (G1)
Andy Koch wrote on Tue, 18 Nov 2003 21:15:33 GMT: Hello. I am new to Python and for the most part new to programming. The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone knows of a good place to find something like this, I would be very grateful if you could respond. Thanks!
The obvious place to look for relatively simple snippets is http://uselesspython.com. But Vaults of Parnassus is nice too.
--
Yours,
Andrei
=====
Mail address in header catches spam. Real contact info (decode with rot13): ce******@jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
gur yvfg, fb gurer'f ab arrq gb PP.
"Andy Koch" <an**@fourkochs.com> wrote in message
news:VZ********************@twister.southeast.rr.c om... Hello. I am new to Python and for the most part new to programming.
The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone
knows of a good place to find something like this, I would be very
grateful if you could respond.
Python Cookbook has lots of short, potentially useful, programs. http://aspn.activestate.com/ASPN/Cookbook/Python
There is also a print edition.
tjr
On Tue, 18 Nov 2003, Terry Reedy wrote: "Andy Koch" <an**@fourkochs.com> wrote in message news:VZ********************@twister.southeast.rr.c om... Hello. I am new to Python and for the most part new to programming. The best way to learn to write is to read, so I have been looking for a website that has the code of programs written in Python. If anyone knows of a good place to find something like this, I would be very grateful if you could respond.
Python Cookbook has lots of short, potentially useful, programs. http://aspn.activestate.com/ASPN/Cookbook/Python
There is also a print edition.
Also worth checking out is Martin C. Brown's Python Annotated Archives:
<http://www.amazon.com/exec/obidos/tg/detail/-/0072121041/qid=1069252646/sr=1-12/ref=sr_1_12/002-1717347-1412057?v=glance&s=books>
Not everyone likes it, but it is guided tour through the complete source
code for a number of Python applications, many of them right out of the
standard library. If you like learning that way you may find it quite
helpful. I have.
Chris Gray
"Okey dokey.. free my mind. Right, no problem, free my mind, free my mind,
no problem, right... " -The Matrix This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rick |
last post by:
Hi all,
I have recently been implementing php code in some web pages and am
now looking for a more visual oriented php development environment
because for example creating php/html forms by hand...
|
by: Clark |
last post by:
Hi all.
I'm looking for good C source code to study and be able to advance my C
programming skills. Do you recomend any open source project in particular
that in your opinion has good writen C...
|
by: JollyK |
last post by:
Looking for opinion on code size for presention tier asp.net application.
I have created a user-control that has a fairly complex datagrid which
includes localization, custom paging, sorting,...
|
by: Johann Blake |
last post by:
I am looking for a good solution on how to implement data access in an
application so that there is a clean separation between the data access
layer, the business layer and the GUI layer. I am...
|
by: gumi |
last post by:
Hi,
I am looking for code for a alarm clock program that pops up a messege to be
used as part of my VB.Net class project. Any help is very much appreciated.
Thanks
|
by: Bruce HS |
last post by:
I'd like to call my ancestor Validation Function every time any control on a
Win Form generates a Validating or Validated event. I'm using VB.
I've extended Textbox, for instance, to have its...
|
by: Sithlord999 |
last post by:
Hello.
I'm working on an email form on Dreamweaver and I'm looking for a PHP code to make it work. The form with some required fields would send the submitted information and two image attachments...
|
by: matsi.inc |
last post by:
I am looking to make something like a delegate that i can use in my
projects but am having a hard time getting started.
The behavior I am most interested in is how a delegate changes it's
Invoke...
|
by: AMDRIT |
last post by:
I am looking for better concrete examples, as I am a bit dense, on design
patterns that facilitate my goals. I have been out to the code project,
planet source code, and microsoft's patterns and...
|
by: beantaxi |
last post by:
Hello all,
I'm looking for a very simple code analysis tool. I have a large
codebase to analyze, and all I really need to do is to find all uses
of all methods in a few interfaces.
Many tools...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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,...
|
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...
|
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...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |