Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

An Introduction to Python For Undergraduate Engineers

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Python3 (programming language) Authors Matthew Johnson Dut Andrew Kulang Getting Started /What Is This Wikibook About?/75% Feb 3, 2011 /Installing Python/25% Feb 3, 2011 /Running Python/50% Feb 3, 2011 /Getting Started/50% Feb 3, 2011 Lessons /Python as a Calculator/100% Feb 3, 2011 /Numeric Data Types/75% Feb 3, 2011 /Getting Inputs/75% Feb 3, 2011 /Reading/Writing to Files/100% Feb 3, 2011 Conditional Programming /If/Else/100% Feb 3, 2011 /For Loops/75% Feb 3, 2011 /While Loops/50% Feb 3, 2011 /Boolean Logic/25% Feb 3, 2011 Functions /Functions/25% Feb 3, 2011 Simple Graphics using EasyGui Mathematics In Python There are two main additional modules that enable us to use Python as a very sophisticated environment for dealing with algebra and numerical problems, these are the built in 'math' module and an additional module 'sympy', which can be downloaded from the internet (see the 'Getting Additional Modules' section at the end). Remember that to use a module we must first import it using the import command, for example: from sympy import * /Symbolic Algebra/75% Feb 3, 2011 /Differentiation/ /Integration/ /Matrices/75% Feb 3, 2011 Getting Additional Modules EasyGui Sympy Recommended Reading Wikibooks Non-Programmer's Tutorial for Python 2.6 Non-Programmer's Tutorial for Python 3 Textbooks Computer Science: The Python Programming Language, Miller & Ranum, Jones & Bartlett Publishers, 0-7637-4316-X This is a good, quick way to get into the basics, but won't really give you much more detail than this wiki. Python Programming: An Introduction to Computer Science, John Zelle, Franklin Beedle & Associates, 1-887902-99-6 This is a more thorough book that covers more detail, however it is written as a way of learning computer science using Python as a starting language and so may not directly relate to programming in engineering. Nevertheless if software design is closer to your interests/needs then this might be the book for you. References The following references have helped the author(s) to learn python and are recommended for study if you wish to pursue python further. This wikibook is intended only as a short course to get you started with python. There is much more you can learn and a great deal more that you can do with it! Good luck! http://www.python.org/ Python programming language A 25%