Beginning Python Using Python 2 6 and Python 3 1 Wrox Programmer to Programmer James Payne - The ebook in PDF format is ready for immediate access
Beginning Python Using Python 2 6 and Python 3 1 Wrox Programmer to Programmer James Payne - The ebook in PDF format is ready for immediate access
com
https://ebookname.com/product/beginning-python-using-
python-2-6-and-python-3-1-wrox-programmer-to-programmer-
james-payne/
OR CLICK HERE
DOWLOAD EBOOK
https://ebookname.com/product/ivor-horton-s-beginning-
visual-c-2010-wrox-programmer-to-programmer-1st-edition-ivor-
horton/
https://ebookname.com/product/programming-in-python-3-a-complete-
introduction-to-the-python-language-2nd-edition-summerfield/
https://ebookname.com/product/professional-office-business-
application-development-using-microsoft-office-sharepoint-
server-2007-and-vsto-wrox-programmer-to-programmer-1st-edition-
steve-fox/
https://ebookname.com/product/naked-employee-the-how-technology-
is-compromising-workplace-privacy-1st-edition-frederick-s-lane/
Disorders of the respiratory tract common challenges in
primary care 1st Edition Matthew L. Mintz
https://ebookname.com/product/disorders-of-the-respiratory-tract-
common-challenges-in-primary-care-1st-edition-matthew-l-mintz/
https://ebookname.com/product/dark-borders-jonathan-auerbach/
https://ebookname.com/product/eating-disorders-not-otherwise-
specified-scientific-and-clinical-perspectives-on-the-other-
eating-disorders-1st-edition-claes-norring/
https://ebookname.com/product/statistical-pattern-recognition-
third-edition-andrew-r-webb/
https://ebookname.com/product/raw-food-fast-fresh-easy-vegan-
food-first-american-edition-anat-fritz/
Thermal Remote Sensing of Active Volcanoes A User s
Manual 1st Edition Andrew Harris
https://ebookname.com/product/thermal-remote-sensing-of-active-
volcanoes-a-user-s-manual-1st-edition-andrew-harris/
Join the discussion @ p2p.wrox.com Wrox Programmer to Programmer™
Beginning
Python
Using Python 2.6 and Python 3.1
®
James Payne
Programmer to Programmer™
Contact Us.
We always like to get feedback from our readers. Have a book idea?
Need community support? Let us know by e-mailing [email protected]
Beginning Python®: Using Python 2.6 and Python 3.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii
Continues
Chapter 17: Extension Programming with C................................................ 337
Chapter 18: Numerical Programming .......................................................... 367
Chapter 19: An Introduction to Django ....................................................... 387
Chapter 20: Web Applications and Web Services ........................................ 407
Chapter 21: Integrating Java with Python ................................................... 481
James Payne
I would like to acknowledge the gang at Developer Shed: Jack and Jay Kim, whose constant hatred is an
inspiration, Charles Fagundes, who made me an editor and not just a writer, Keith Lee, who provided
coding support, and a special thanks to Jenny Ruggieri, who got me the job that got me this book. Lastly,
I’d like to thank all of the people that worked on the previous editions of this book for laying the
groundwork, and the Editors Carol Long, Jenny Watson, Ed Connor, and Chris McAvoy who helped me
meet deadlines no matter how much I didn’t want to.
I would also like to acknowledge Guido Von Rossum, without whom there would be no language to
write about.
Other documents randomly have
different content
VON STEENGRACHT: I said yesterday already that Herr Von
Ribbentrop, when he was with Hitler...
COL. PHILLIMORE: Never mind what you said yesterday. I am
putting it to you now, today. You have now seen that document. Do
you still say that Ribbentrop was against the policy of persecution
and extermination of the Jews?
VON STEENGRACHT: Here, too, I should like to make a
distinction between the real instincts of Von Ribbentrop and what he
said when he was under Hitler’s influence. I said already yesterday
that he was completely hypnotized by Hitler and then became his
tool.
COL. PHILLIMORE: Yes, became his tool. And from then on, he
was prepared to do anything that Hitler wanted and was as violent a
Nazi as anyone; isn’t that right?
VON STEENGRACHT: He followed blindly the orders given by
Hitler.
COL. PHILLIMORE: Yes. And to the extent of conniving at any
and every atrocity, isn’t that right?
VON STEENGRACHT: Since he had no executive powers he
personally did not commit these cruelties.
THE PRESIDENT: Do any of the other chief prosecutors want to
cross-examine?
COL. AMEN: You testified yesterday that you did not consider
Ribbentrop to be a typical Nazi; is that correct?
VON STEENGRACHT: Yes.
COL. AMEN: Do you consider Göring to be a typical Nazi?
VON STEENGRACHT: Göring made speeches at every type of
meeting and fought for the seizure of power, and accordingly he had
a completely different position in the party than Ribbentrop.
COL. AMEN: I think you can answer my question “yes” or “no.”
We are trying to save time as much as possible.
VON STEENGRACHT: Yes, certainly.
COL. AMEN: Do you consider Göring to be a typical Nazi
according to the same standards that you were using with
Ribbentrop, yes or no?
VON STEENGRACHT: This question one cannot answer in that
way with “yes” or “no.” I am trying every...
COL. AMEN: You answered it that way with respect to
Ribbentrop, didn’t you?
VON STEENGRACHT: Göring was a peculiar type of person. I
cannot class him with the ordinary Nazis, as one usually expresses it.
COL. AMEN: In other words, you don’t know whether you think
he is a typical Nazi or not, is that what you want the Tribunal to
understand?
VON STEENGRACHT: By a typical Nazi one understands the
“average” Nazi. Göring is a unique person and one cannot compare
his manner of living with the other National Socialists.
COL. AMEN: Well, are you acquainted with all of the gentlemen
in the box there in front of you?
VON STEENGRACHT: Yes.
COL. AMEN: Now, will you tell me which of those individuals you
consider to be a typical Nazi, according to the standards which you
applied yesterday to Ribbentrop?
THE PRESIDENT: Colonel Amen, I do not want to interrupt your
cross-examination, but want to say that there is too much laughter
and noise in Court, and I cannot have it. Go on, Colonel, with your
cross-examination.
COL. AMEN: Do you understand my last question? Please name
those of the defendants in the box whom you consider to be typical
Nazis, on the same standard which you yesterday applied to
Ribbentrop.
DR. HORN: Mr. President, I am convinced that here the witness
is making a decision which in my opinion should be made by the
Court at the end of the proceedings. That is an evaluation which the
witness cannot make.
COL. AMEN: This is the subject that was brought up by this very
Counsel yesterday with respect to Ribbentrop.
THE PRESIDENT: The Tribunal thinks it a perfectly proper
question. They understand that the phrase “a typical Nazi” was used
by the witness himself.
COL. AMEN: And please just give us the names and not a long
explanation, if you can.
VON STEENGRACHT: I said yesterday that by “typical Nazi” I
meant people who are familiar with the dogma and doctrine. I want
to add today that by “typical Nazis” I mean further those people who
during the time of struggle represented National Socialist ideology
and were propagandists of National Socialism. Rosenberg’s book is
known, Herr Frank, as President of the Academy for German Law is
known, these are really—Hess, of course, too—and these are people
whom I want to put into the foreground very particularly because by
their writings and so forth and by their speeches they became
known. No one ever heard Ribbentrop make an election speech.
COL. AMEN: But you are not answering my question. Am I to
assume from that that in your opinion Rosenberg, Frank and Hess
are the only persons whom you could characterize as being typical
Nazis, according to your standards?
VON STEENGRACHT: Well, shall I go through the ranks of the
defendants to give an opinion on each one?
COL. AMEN: Precisely. Just give me the names. No, I do not
want your opinion. I want to know under your standards which of
them you consider to be typical Nazis.
VON STEENGRACHT: I have already stated the standard before.
It can be proved by whether the people unreservedly represented
the National Socialist ideology in words or at meetings and in this
respect I named the prominent ones.
COL. AMEN: And you consider all of the others not to be typical
Nazis? Correct?
VON STEENGRACHT: I did not say that. Then I would have to
go through them individually.
COL. AMEN: I have asked you to do that three times. Will you
please name them individually?
VON STEENGRACHT: I also see Herr Sauckel. Herr Sauckel was
Gauleiter and was active as a leader in the National Socialist
movement. Then I see the Reich Youth Leader, who educated the
Hitler Youth.
COL. AMEN: Who else? Just give me the names. Do not give
these explanations, please.
VON STEENGRACHT: Well, I think that with that I have pointed
out the typical representatives of the Party.
COL. AMEN: Well, how about Streicher?
VON STEENGRACHT: I do not see him here, or I would have
answered in the affirmative.
COL. AMEN: In other words, you consider him to be a typical
Nazi under your standards?
VON STEENGRACHT: Yes, but please do not attribute his abuses
to all National Socialists.
COL. AMEN: Now, while you were working with Ribbentrop, do I
understand that you knew nothing about the murders, tortures,
starvations and killings which were taking place in the concentration
camps?
VON STEENGRACHT: By the fact that foreign diplomats applied
to me, and by the fact that I was informed by opposition elements in
Germany, and from enemy propaganda, I knew of the existence and
some of the methods. But, I emphasize, only a part of the methods.
I learned about the total extent and degree only in internment here.
COL. AMEN: Did you know that priests were being tortured and
starved and killed in concentration camps while you were working
with Ribbentrop?
VON STEENGRACHT: No, I heard nothing specific regarding
individual things that occurred there, and if that had happened or
has happened to priests, then I would consider the only authentic
information to be that which the Nuncio or the Vatican had given
me; but that did not occur. But in spite of the fact that, as I said
yesterday, the Vatican had no jurisdiction, I took care of all cases
based on humanity, that is, all humanitarian cases. I took care of
them, and always strove to handle them successfully. I handled 87
cases in which my activity threatened to bring about my death. I
intervened in hundreds of cases, and thus saved, or at least
improved, the lives of thousands and thousands of people.
COL. AMEN: If you don’t confine your answers directly to my
questions, it is very difficult to get through and to save time. Now,
will you please try to answer my questions “yes” or “no,” if possible,
and make your explanations short. Do you understand?
VON STEENGRACHT: I understand perfectly. As far as I can, I
shall of course do so.
COL. AMEN: Did you know that nuns were being tortured and
starved and killed in concentrations camps, while you were working
with Ribbentrop?
VON STEENGRACHT: No.
COL. AMEN: You did not know either about what was happening
to priests or the nuns or to other inmates of concentrations camps?
Correct?
VON STEENGRACHT: I have just said that I have intervened in
hundreds of cases, in which I was approached by the Nuncio even
when it concerned Jews, for whom the Nuncio was not authorized to
act, and in cases in which the Nuncio was acting on behalf of Polish
clergymen, also a sphere for which he was not authorized. In spite
of the fact that I had strictest orders not to receive such cases, I did
receive the cases; and, in spite of the “Nacht und Nebel” decree, I
always gave information when I could get any information. Details
other than those which I received officially I did not have.
COL. AMEN: And who gave you the instructions not to do
anything about these complaints?
VON STEENGRACHT: These orders came directly from Hitler and
came to me through Ribbentrop.
COL. AMEN: How do you know?
VON STEENGRACHT: I have already said yesterday that the two
notes which before my time were passed by State Secretary Von
Weizsäcker to Hitler through Ribbentrop were rejected with the
remarks that they were blunt lies and, apart from that, this was not
within the jurisdiction of the Nuncio; these notes were to be
returned and in the future such documents were not to be accepted.
Furthermore, there were to be no discussions and that applied, not
only to the Nuncio, it applied to all unauthorized actions particularly
when foreign diplomats intervened in matters in which they had no
jurisdiction.
COL. AMEN: But do you want the Tribunal to understand that
you went ahead and tried to do something about these complaints,
whereas Ribbentrop did nothing; is that correct?
VON STEENGRACHT: I tried to settle within my own sphere of
jurisdiction all cases which, according to instructions, I was not
permitted to accept at all. But if a case here and there was of
primary importance, or where the lives of several people could have
been saved, I always applied to Ribbentrop. In most of these cases
Ribbentrop took the matter before Hitler, after we had invented a
new competence, so that he could not raise the objection that the
Nuncio had no jurisdiction. Upon this, Hitler either absolutely
rejected them or at least said that the police would have to
investigate the case first. This presented the grotesque picture that
in a humanitarian matter or an affair which under all circumstances
had to be handled as foreign politics, the Foreign Minister no longer
made the decision, but the Criminal Inspector Meier or Schulze who
only needed to state “Undesirable in the interests of state security.”
COL. AMEN: Did Ribbentrop obey the instructions which you say
were received from the Führer not to do anything about these
complaints or did he not? “Yes” or “no”?
VON STEENGRACHT: I cannot answer that question since I do
not know how many orders he received from Hitler and whether he
obeyed in each individual case.
COL. AMEN: Well, you have been testifying that you received
instructions not to do anything about these complaints from the
Vatican; is that not correct?
VON STEENGRACHT: Yes, and I did not obey them.
COL. AMEN: Well, I am now asking you whether Ribbentrop
obeyed those instructions or whether he did not.
VON STEENGRACHT: But he was in a higher position. What
orders Hitler gave to Ribbentrop privately I cannot say since I do not
know.
COL. AMEN: Where did you receive your instructions from?
VON STEENGRACHT: From Ribbentrop.
COL. AMEN: Ribbentrop has testified under interrogation that he
knew nothing of what went on in any of these concentration camps
until the Führer ordered Luther to be placed in a concentration
camp. Do you know who Luther was?
VON STEENGRACHT: Yes.
COL. AMEN: Who was he, please?
VON STEENGRACHT: Luther was an Under Secretary of State of
the Foreign Office who was the head of the “Deutschland”
department.
COL. AMEN: And when was he placed in a concentration camp?
VON STEENGRACHT: That must have been about February
1943.
COL. AMEN: Now, as a matter of fact, is it not true that
Ribbentrop had a whole deskful of complaints from the Vatican
about killings, atrocities, the starving of priests and nuns, to which
he never made any reply at all, even an acknowledgment?
VON STEENGRACHT: Mr. Prosecutor, what happened before May
1943, I do not know. As long as I was State Secretary, I never failed
to accept a note or failed to answer it. On the contrary, I accepted
all notes and attempted, as I said before, to assist these people.
Regarding conditions before my term of service, I cannot give you
any information because I do not know them.
COL. AMEN: Well, I am not talking about that time; I am talking
about the period immediately before and following your appearance
there in ’43. Now I want to read you from...
VON STEENGRACHT: I am sorry. I would gladly answer your
question if I knew anything about the matter. During my time—I
cannot say anything about it because I do not know.
COL. AMEN: Well, I will read to you from the interrogation of
Ribbentrop and ask you whether what he says conforms with your
recollection of the facts.
VON STEENGRACHT: I should only like to say that until May
1943 I was not active politically, so that from my own knowledge I
cannot make a statement about it.
COL. AMEN: Well, as I read the testimony to you, you will find
that the interrogation refers to communications which remained in
his desk unanswered for an indefinite period of time. Did you have
access to Ribbentrop’s desk? Did you know what was in it?
VON STEENGRACHT: No.
COL. AMEN: “Question: ‘Did you receive from the Vatican a
communication dated 2 March 1943 calling your attention
to a long list of persecutions of bishops and priests, such as
imprisonment, shooting, and other interferences with the
exercise of religious freedom?’
“Answer: ‘I do not recollect at the moment, but I know that
we had protests from the Vatican, that is, we had a whole
deskful of protests from the Vatican.’ ”
Does that conform with your recollection?
VON STEENGRACHT: That was, I must unfortunately say again,
before my time. I cannot know whether he had a whole drawer full
of things.
COL. AMEN: If they had remained in his desk from March until
May, then you would know about them; isn’t that correct?
VON STEENGRACHT: I? No. I was not Herr Ribbentrop’s servant,
who went over his chairs or drawers.
COL. AMEN: So that your testimony is that you knew nothing
about any protests from the Vatican other than those which you
have already referred to?
VON STEENGRACHT: Apart from those I have mentioned, I
know nothing about protests. I emphasize again that during my time
in office I accepted them all and answered them all.
COL. AMEN: I will read you further from the interrogation:
“Question: ‘Did you reply to these Papal protests?’
“Answer: ‘I think there were very many we did not reply to
—quite a number.’ ”
Does that conform with your recollection?
VON STEENGRACHT: Certainly, that is correct. That was in
accordance with the instructions which were originally given.
COL. AMEN: By whom?
VON STEENGRACHT: Hitler’s instructions.
COL. AMEN: To whom?
VON STEENGRACHT: Certainly to Ribbentrop.
COL. AMEN: Those are the instructions which you say that you
were violating on the side, is that correct?
VON STEENGRACHT: Which I did not obey, for otherwise I
would not have been allowed to accept the notes from the Vatican in
all those cases where the jurisdiction was questioned; nor would I
have been allowed to accept, for example, protests from the
Swedish Ambassador regarding mistreatment in Norway, which,
however, I also accepted.
COL. AMEN: I will continue to read from the interrogation:
“Question: ‘Now, do you mean to say that you did not even
read a protest from the Vatican that came to your desk?’
“Answer: ‘It is really true. It is so that the Führer took such
a stand in these Vatican matters that from then on they did
not come to me any more.’ ”
Does that conform with your recollection?
VON STEENGRACHT: That Ribbentrop did not receive the
protests any more? Yes, that is correct, that tallies with what I said,
that in all these cases, where we could not accept them, I tried to
settle them on my own responsibility, since it was against orders.
COL. AMEN: And in the course of reading these complaints from
the Vatican which went unanswered, both you and Ribbentrop
learned full details of exactly what was going on in the concentration
camps, did you not?
VON STEENGRACHT: There was never anything about that in
these notes—the ones I saw—there was never anything about the
treatment in them. Instead they were concerned only with
complaints asking why the death sentence was ever imposed, or
why the clergyman was ever arrested, or similar cases, or the
closing of churches or the like.
COL. AMEN: I do not want to take the time of the Tribunal to
read to you the documents which are already in evidence. I am
referring to Document Numbers 3261-PS, 3262-PS, 3264-PS, 3267-
PS, 3268-PS and 3269-PS, but in those documents—I am sorry, sir,
3269 is not in evidence. But in those documents, Witness, are set
forth the details of numerous individual and collective cases of just
what went on in concentration camps. You say you were not familiar
with any of those matters?
VON STEENGRACHT: Mr. Prosecutor, I do not think that I
expressed myself in that way. I gave you to understand that
everything communicated to me by foreign diplomats I do, of
course, know. In other words, if detailed reports were received
during my term of office, then of course I know it. I never denied it.
THE PRESIDENT: What you said, Witness, was—at least what I
took down and understood you to say was—that nothing was ever
mentioned in the notes about the treatment in concentration camps.
VON STEENGRACHT: But I remarked with reference to the
previous question, when the question was put generally as to
whether I knew about conditions in concentration camps and the ill-
treatment, I said that I knew everything that had been reported to
me by foreign diplomats, by people of the opposition, and what I
could learn from the foreign press. In other words, if these
documents contained details during my time in office, then I know
that too. But may I ask the date of the documents?
COL. AMEN: There are many documents with many dates,
which can be obtained, but we don’t want to take too much of the
Tribunal’s time. What I want to find out is whether or not you and
Ribbentrop did not know all about the murders, tortures, starvations,
and killings that were taking place in the concentration camps, and
which were the subject of constant and continuous protests from the
Vatican, which Ribbentrop has testified were not even read or
acknowledged? Do you understand that, Witness?
VON STEENGRACHT: I understand that. I knew nothing at all of
the ill-treatment in concentration camps to the degree and in the
bestial way that I have heard about here. I must strongly protest
against the suggestion that I had heard things like that through the
Vatican at that time. Also, I am convinced that Herr Von Ribbentrop
had no idea of the details as we have heard them here and as they
have been shown in the films.
COL. AMEN: Isn’t it a fact, Witness, that if you had followed up
any of these complaints from the Vatican which Ribbentrop has
testified were ignored, you would have found out everything which
was going on in the concentration camps to the last detail? “Yes” or
“no.”
VON STEENGRACHT: No, that is not correct. I said yesterday
already that perhaps the key to it can be found in the speech made
by Himmler on 3 October 1943, in which he said that the action
against Jews and the matter of concentration camps were to be kept
just as secret as the matter of 30 June 1934. And the great majority
of the German people will confirm the fact that until a short time ago
they could not discover anything at all about these events. If I went
to Gruppenführer Müller or other officials I was always told that
everything in those concentration camps was functioning beautifully
and that there could be no question of ill-treatment. Then I insisted
that the foreigners, particularly the Red Cross, inspect a
concentration camp, and the Danish Red Cross was taken to the
Concentration Camp Theresienstadt. After that inspection took place
—this was a camp for Jews—the Danish Minister came to me and
told me that contrary to expectation everything had been favorable
there. I expressed my astonishment and he told me, “Yes, our
people were there, there was a theater there, and their own police
force, their own hospital, their own money; the thing is well-run.” I
had no reason, therefore, to doubt that it was true. But I myself
could get no idea of the true conditions from any German
department, since they would certainly have been afraid to tell a
member of the Foreign Office anything about it. But I want to
emphasize again that we really had no idea of the atrocities and
such things.
COL. AMEN: Why in the world should they be afraid to advise
the Foreign Office of these atrocities? Had the Foreign Office ever
done anything to discourage them?
VON STEENGRACHT: In all matters which were violations of
international law we attempted to bring the case to the attention of
the Red Cross in one way or another. We did this particularly in all
matters relating to prisoners of war and if anything appeared to be
wrong we drew the attention of the Swiss Delegate to it, on our own
initiative: “Go to this place and see what is going on.” And in this
case too, if I had gone to the Swiss and told them in confidence that
this and that has occurred in the concentration camps, Switzerland
and the Red Cross would probably have interfered, which could
ultimately have led to unpleasant measures.
THE PRESIDENT: Colonel Amen, I think we ought to have an
adjournment for 10 minutes.
COL. AMEN: I have only a few more questions.
[A recess was taken.]
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com