Sample Program in Python [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
where do I find sample program of python ? I've got a book about Python " Hands-On Python
A Tutorial Introduction for Beginners Python 3.1 Version ", and it explains about there are a lot of sample program which can be used to practice, like : madlib.py, formatBraces.py, face.py, etc. But, I don't find them in Python's directory like the book said. I'm using Python 3.3, or is the problem because the author using Python 3.1 ? But, I don't think so. Does anyone here got the same problem ?

Those are not examples from the Python distribution itself, they are specific to that book. In any case, some of them seem to be at this address.

I don't know if I'm entirely answering your question but...there are many good websites where you can find sample code and how to do different things...i use these a lot...
http://docs.python.org/2/library/
http://infohost.nmt.edu/tcc/help/pubs/lang/pytut27/web/index.html
These should give you the answers to what you're looking for :) sorry if i didnt answer your question properly

Related

Examples of test frameworks on python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a bit wide question. Maybe someone knows where I can find good examples of functional test frameworks on python.
I'm working on functional tests on python 2.5. I use standart unittest framework, but maybe where is some better ways, with support of nice html reporting.
Also maybe where is examples of tests structure.
Thanks
Unfortuantly I dont have that much experience with testing in Python, but I found these links which seems to contain a lot of useful information:
The sites below lists a lot of different test frameworks. One of which is called TestOOB and has html/xml reporting.
https://pythonhosted.org/testing/
http://pycheesecake.org/wiki/PythonTestingToolsTaxonomy
O'reilly also has a free book on test driven python development which can be found here:
http://chimera.labs.oreilly.com/books/1234000000754/index.html
This site also has some information and examples of different testing frameworks.
http://docs.python-guide.org/en/latest/writing/tests/

Where can I find all the changs between Python 2 and 3 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Where can I find a list of changes between Python 2 and 3?
I am starting new projects in Python 3 and, I am fining a number of third party modules for Django seem to be written in Python 2. I don't have a problem updating them and committing the changes back, but I would like to know what to look out for before committing back, so I can do it properly.
Here is a quick overview of the difference between the two Python branches:
Python2orPython3
Keep in mind, above all, that Python 3 is the current python branch.
If you are just starting with python, or intend on starting a new project, it is recommended that you do so with Python 3.

Python Programmer test [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for a way to test python programmers as part of my hiring process.
I can understand python and follow the flow but have no idea how to technically challenge someone.
Can someone recommend an online test?
Thanks
There's been plenty of such discussions over at /r/Python. Here's one:
http://www.reddit.com/r/Python/comments/1knw7z/python_interview_questions/
What do specifically want to check?
Their algorithm skills?
Knowledge of specific python technologies (such as django)?
Python pit falls compered to other 3 generation language?
For the first one any interview question can be ok (like how to reverse a linked list, or sort an sorted binary tree and so on) you can find more here http://programmerinterview.com/index.php/data-structures/introduction
For the second ones it more depends on what are you looking for (web developer, server side and so on).

Online file comparison tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to a visualize web file compare tool,that can embed into my app,I know there some software like beyond compare,it has done great job,but it on windows & need buy licence,if someone has develop a web version,then it can cross platform,
does some already achieve this?
if it is python - friendly is great appreciated
Take a look at rietveld
http://code.google.com/p/rietveld/
Here is an example http://codereview.appspot.com/2208048/diff/4001/Documentation/notation/fretted-strings.itely
There is Trac: Trac is an enhanced wiki and issue tracking system for software development projects. ... It provides an interface to Subversion (or other version control systems)...
It is written in python, and can compare source files. This looks like:
http://trac.edgewall.org/changeset?old_path=%2Ftrunk%2Ftrac%2Fdb%2Fschema.py&old=7890&new_path=%2Ftrunk%2Ftrac%2Fdb%2Fschema.py&new=9406

Documentation on writing buildout recipes [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am trying to find tutorials on how to write buildout recipes. I haven't found any, except the one on buildout site. But it is very rudimentary. Is there a good tutorial for writing buildout recipes?
http://pypi.python.org/pypi/ZopeSkel/ has a template for a buildout recipe. That at least gets you started regarding having a skeleton for adding your own code.
http://pypi.python.org/pypi/zc.buildout#id1 has some information on which methods you need to implement.
Best way to learn it is by looking at an existing recipe to see how it gets done. I'd suggest my own recipe :-) :
https://svn.plone.org/svn/collective/buildout/collective.recipe.backup/trunk/
Here's a short tutorial with basic information http://grok.zope.org/documentation/tutorial/introduction-to-zc.buildout/writing-your-own-recipes
A quick google search came back with the following:
http://docs.plone.org/old-reference-manuals/buildout/creating.html
And the answers in the following Stack Overflow question look pretty helpful as well:
Better resources to learn buildout

Categories

Resources