Pro Ironpython by Alan Harris

By Alan Harris

Preview

IronPython represents a distinct course for builders drawn to operating with dynamic languages in the .NET Framework. no matter if you?re trying to improve purposes from scratch or upload performance and maintainability to an latest program, IronPython opens many doorways whereas supplying a high?speed, high?performance language that integrates tightly with different .NET languages.
* learn how to create purposes utilizing the advantages of a dynamically typed language.
* become aware of the right way to leverage the facility of IronPython to enhance latest applications.
* discover interacting with different .NET languages by means of invoking the typical language runtime.

<h3>What you?ll learn</h3> * Write IronPython console and kinds applications.
* combine IronPython scripts into latest purposes to extend their functionality.
* enforce advanced info styles and engage with databases.
* Use the typical language runtime to use .NET?s present framework inside IronPython scripts.
* know how IronPython should be introduced in to resolve a number of programming initiatives via broad workouts and recipes.
* stay away from the typical pitfalls of operating with a dynamically typed language.

<h3>Who is that this booklet for?</h3>
This ebook is designed for .NET builders drawn to increasing their IronPython talents and studying tips on how to utilize them to enhance their day-by-day programming practices. it's going to introduce middle ideas of IronPython programming utilizing a .NET?centric procedure. also, it's going to communicate to Python builders trying to extend into their talents into the .NET global. adventure with a .NET language is predicted. prior Python adventure isn't necessary.

---
Alt. ISBN:1430219629

Show description

Read Online or Download Pro Ironpython PDF

Similar python books

Fundamentals of Python: From First Programs through Data Structures

In basics OF PYTHON: FROM FIRST courses via info constructions, Washington and Lee college professor Kenneth A. Lambert provides all the very important themes in CS1 and CS2 in a single quantity. This inexpensive layout presents teachers with a constant method of educating introductory programming and information constructions over a typical two-term path series.

Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython

Python for information research is worried with the nuts and bolts of manipulating, processing, cleansing, and crunching info in Python. it's also a realistic, sleek advent to clinical computing in Python, adapted for data-intensive functions. it is a e-book in regards to the components of the Python language and libraries you'll have to successfully clear up a extensive set of information research difficulties.

Python and AWS

Should you intend to take advantage of Amazon net companies (AWS) for distant computing and garage, Python is a perfect programming language for constructing purposes and controlling your cloud-based infrastructure. This cookbook will get you began with greater than dozen recipes for utilizing Python with AWS, in response to the author’s boto library.

Artificial Intelligence with Python

Construct real-world synthetic Intelligence purposes with Python to intelligently have interaction with the realm round you approximately This ebook Step into the fantastic international of clever apps utilizing this finished advisor input the realm of man-made Intelligence, discover it, and create your personal purposes paintings via basic but insightful examples that may get you up and operating with synthetic Intelligence very quickly Who This booklet Is For This publication is for Python builders who are looking to construct real-world man made Intelligence functions.

Extra resources for Pro Ironpython

Example text

It does this by concatenating, or joining those strings together to create one string. Listing 2-4. Dynamic Typing at Work, Fixed! def HelloDynamic(): # create a string variable that holds Hello World! " print greeting C h a p t e r 2 ■ I R O N P Y TH O N S Y N TAX #create a handful of integer variables spam = 1 eggs = 2 print spam + eggs #print our greeting, followed by the sum of spam and eggs print greeting, spam + eggs HelloDynamic() Hello World! 3 Hello World! 3 Success! The use of the comma instead of the plus sign tells IronPython that first we want to display the string value of the greeting variable and then we want to display the integer result of adding spam and eggs together.

It should output something like the following. Please enter your first name: Alan Please enter your last name: Harris Please enter your age: -1 You, Alan Harris , are younger than the author. Now technically, that is correct; someone who is –1 years old is definitely younger than I am. But when is the last time you met someone who was younger than 0 years? This is an example of a logical error, that is, an error that does not stop the program from continuing execution but that results in flawed or inaccurate data or output.

We will also be introduced to object-oriented programming, and in the end we will build an object-oriented IronPython business solution. Welcome to Advanced IronPython! String Operations Revisited The output we have displayed to the user so far has been fairly simplistic. It has consisted of a few words put together into a line or two with no real concern for formatting or special characters. But certain very common situations require more complex output formats. For instance, suppose we want to create an application that takes the user’s name as input and prints it back to the screen.

Download PDF sample

Rated 4.25 of 5 – based on 13 votes