|
by: Raymond Hettinger |
last post by:
Here are four more mini-mysteries for your amusement
and edification.
In this episode, the program output is not shown.
Your goal is to predict the output and, if anything
mysterious occurs, then explain what happened
(again, in blindingly obvious terms).
There's extra credit for giving a design insight as to
why things are as they are.
|
by: mike420 |
last post by:
I think everyone who used Python will agree that its syntax is
the best thing going for it. It is very readable and easy
for everyone to learn. But, Python does not a have very good
macro capabilities, unfortunately. I'd like to know if it may
be possible to add a powerful macro system to Python, while
keeping its amazing syntax, and if it could be possible to
add Pythonistic syntax to Lisp or Scheme, while keeping all
of the...
|
by: Nuff Said |
last post by:
When I type the following code in the interactive python shell,
I get 'UTF-8'; but if I put the code into a Python script and
run the script - in the same terminal on my Linux box in which
I opened the python shell before -, I get 'ANSI_X3.4-1968'.
How does that come?
Thanks in advance for your answers! Nuff.
|
by: Neal D. Becker |
last post by:
"""All computer languages must evolve to the point that they implement
symbolic mathematics"""
So, has anyone worked on this in python?
|
by: Steven T. Hatton |
last post by:
If you are into 3d programming, you may be interested in this book:
_Essential Mathematics for Games and Interactive Applications_
http://tinyurl.com/4wrl6
I just bought it on a lark. After looking it over, I have to say it looks
to be well written. The reason I'm mentioning it here is because it comes
with what looks to be a pretty nice C++ library. The licensing terms for
the CD seem quite reasonable. Basically, you can use the...
|
|
by: Juan R. |
last post by:
The initial CanonMath program presented here
http://canonicalscience.blogspot.com/2006/02/choosing-notationsyntax-for-canonmath.html]
was discussed with several specialists, including father of XML-MAIDEN
project (which provided many interesting ideas over original desing).
The initial CanonMath program (was abandoned) was presented at the w3c
mailing list for mathematics. There was little discussion but
subsequent discussion on others...
|
by: arnuld |
last post by:
I want to learn algorithms & data-structures. search told me nothing
beats KNUTH, the DON. since my Maths is weak, i purchased prerequisite
to his AoCP i.e. "Concrete Mathematics" . it's very complicated &
confusing for the time being i am unable to make any sense out of it
but i am persisting because i think sooner or later it will make sense
( i am reading this book from last 5-6 days). if i leave this book then
i will not be able to to...
|
by: Juan R. |
last post by:
Since the idea of encoding mathematics using MathML is being very far
from popular due to a number of factors -expensive tools, bad
accesibility of generated code, unusual verbosity, lack of adequate
support, special fonts, namespaces, special plugins, backward
incompatiblity of MathML with other internet technologies, duplication
of code, and others-, alternative encodings are spreading over the
internet.
Probably the most popular one...
|
by: Joe Salmeri |
last post by:
I just upgraded from Python 2.4.2 to Python 2.5.1 and have found some
unexpected behavior that appears to be a bug in the os.stat module.
My OS is Windows XP SP2 + all updates.
I have several programs that have worked flawlessly on all previous Python
versions for years and they are now producing incorrect results in the code
that uses os.stat.
Searching through the 2.5.1 release notes I found the following:
|
by: Terry Reedy |
last post by:
"Luis Zarrabeitia" <kyrie@uh.cuwrote in message
news:200805081914.06459.kyrie@uh.cu...
| Btw, there seems to be a math problem in python with exponentiation...
| >>0**0
| 1
| That 0^0 should be a nan or exception, I guess, but not 1.
a**b is 1 multiplied by a, b times. 1 multiplied by 0 no times is 1.
But there are unenlighted people who agree with you ;-)
Wikipedia has a discussion of this.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|