I wrote:
> The important thing is the dynamicism of lisp allowed one to write
> polymorphic programs, before most of us knew the term.
Chris Smith <[EMAIL PROTECTED]> writes:
> Sure. In exchange for giving up the proofs of the type checker, you
> could write all kinds of programs. To this day,
"Greg Buchholz" <[EMAIL PROTECTED]> writes:
> Chris F Clark wrote:
> > Thus, as we traverse a list, the first element might be an integer,
> > the second a floating point value, the third a sub-list, the fourth
> > and fifth, two more integers, and so on. I
"Fie Pye" <[EMAIL PROTECTED]> writes:
> Hallo
>
> I would like to have a high class open source tools for scientific
> computing and powerful 2D and 3D data visualisation. Therefore I chose
> python, numpy and scipy as a base. Now I am in search for a visualisation
> tool.
Hi
In typically windows environments I have used:
if 'Windows' in os.environ['OS']...
to prove it, but now I need to properly support different environments.
To do so I must accurately determine what system the python instance is
running on (linux, win, mac, etc).
Is there a best practises way
running on.
"Paul Watson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ian F. Hood wrote:
>> Hi
>> In typically windows environments I have used:
>> if 'Windows' in os.environ['OS']...
>> to prove it, but now I need
excellent, ty
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> On Dec 13, 6:32 pm, "Ian F. Hood" <[EMAIL PROTECTED]> wrote:
>> Hi
>> In typically windows environments I have used:
>> if 'Windows' in os.environ[
Dear list,
I am writing a daemon in Python that listens on AF_NETLINK and
processes RTM_NETLINK messages. FWIW, code is below since there is
hardly any reference on the net yet.
As you can see from the code, the NETLINK message is all binary/hex.
Before I go about wrapping it in a Python class, I
On Jun 11, 11:36 pm, Tim Bradshaw <[EMAIL PROTECTED]> wrote:
> On Jun 11, 8:02 am, Twisted <[EMAIL PROTECTED]> wrote:
>
> > On Jun 11, 2:42 am, Joachim Durchholz <[EMAIL PROTECTED]> wrote:
>
> > > It is possible to write maintainable Perl.
>
> > Interesting (spoken in the tone of someone hearing ab
had
> implemented totally different user interfaces.
>
> Examples:
>
> * In WordPerfect, the command to open a file was [F7], [3].
>
> * In Lotus 1-2-3, a file was opened with [/] (to open the menus),
> [W] (for Workspace), [R] (for Retrieve).
>
> * In Micr
You could pull those in to your project.
--
+---+
| Jason F. McBrayer[EMAIL PROTECTED] |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors. --- The Dhammapad
Basically, this doesn't work for the same reason that DRM doesn't
work.
--
+---+
| Jason F. McBrayer[EMAIL PROTECTED] |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all
Ken Tilton <[EMAIL PROTECTED]> writes:
> Hopefully it can be a big issue and still not justify a flame war.
>
> Mileages will always vary, but one reason for lambda is precisely not
> to have to stop, go make a new function for this one very specific
> use, come back and use it as the one lambda
[ I pruned the cross-posting down to a reasonable level ]
Ken Tilton <[EMAIL PROTECTED]> writes:
> Thomas F. Burdick wrote:
>
> > This is second-hand, as I don't actually follow Python closely, but
> > from what I've heard, they now have reasonable scoping ru
Ken Tilton <[EMAIL PROTECTED]> writes:
> As for:
>
> > At a syntax-sugar
> > level, for example, Lisp's choice to use parentheses as delimiter means
> > it's undesirable, even unfeasible, to use the single character '(' as an
> > ordinary identifier in a future release of the language.
>
> (def
[EMAIL PROTECTED] writes:
> Alex Martelli wrote:
> > Steve R. Hastings <[EMAIL PROTECTED]> wrote:
> >...
> > > > But the key in the whole thread is simply that indentation will not
> > > > scale. Nor will Python.
> > >
> > > This is a curious statement, given that Python is famous for scaling
Ken Tilton <[EMAIL PROTECTED]> writes:
> No, you do not want on-change handlers propagating data to other
> slots, though that is a sound albeit primitive way of improving
> self-consistency of data in big apps. The productivity win with
> VisiCalc was that one simply writes rules that use other c
David C Ullrich asked:
> Q: How do we ensure there are no loops in the dependencies?
>
> Do we actually run the whole graph through some algorithm
> to verify there are no loops?
The question you are asking is the dependency graph a "directed
acyclic graph" (commonly called a DAG)? One algorithm
Kenny replied to me saying:
> Yep. But with Cells the dependency graph is just a shifting record of
> who asked who, shifting because all of a sudden some outlier data will
> enter the system and a rule will branch to code for the first time,
> and suddenly "depend on" on some new other cell (new a
Ken Tilton <[EMAIL PROTECTED]> writes:
> David C. Ullrich wrote:
>
> > But duh, if that's how things are then we can't have transitive
> > dependencies working out right; surely we
> > want to be able to have B depend on A and then C
> > depend on B...
> > (And also if A and B are allowed to depen
Hello, nik.
On Jan 28, 2008, at 21:03, nik wrote:
> Hi,
>
> How does one express the time in ISO format with the timezone
> designator?
>
> what I want is -MM-DDThh:mm:ss.sTZD
>
>> From the documentation I see:
from datetime import tzinfo, timedelta, datetime
class TZ(tzinfo):
> ...
tzinfo object attached), you can do it
simply by feeding .now the tzinfo object you want attached, as below:
>>> print datetime.now(TZ()).isoformat('T')
2008-01-29T23:43:16.809049-05:00
See PSL, Sect. 5.1.4
Dates and Times are a bit ugly in Python. Don't be discoura
Hi,
xmlrpclib.dumps((None,), allow_none=True) yields
'\n\n\n\n'
Why doesn't it just yield
'\n\n\n\n'
Or even just
'\n\n\n'
Those are valid XML and valid XML-RPC, but isn't.
Thanks for any thoughts...
--
martin | http://madduck.net/ | http://two.sentenc.es/
a farmer is a man outst
also sprach martin f krafft <[EMAIL PROTECTED]> [2008.03.16.1421 +0100]:
> Why doesn't it just yield
>
> '\n\n\n\n'
>
> Or even just
>
> '\n\n\n'
There's a difference between those two. The first one has an empty
string value (
This is a query for information as to how to proceed. I am not a
professional programmer, but I use Python a great deal to help me in
my main job, which involves designing schedules for a global airline.
As such, I use datetime (and dateutil) extensively, and after much
use, I have come t
On Mar 19, 2008, at 16:30, Christian Heimes wrote:
> Nicholas F. Fabry schrieb:
>> This is a query for information as to how to proceed. I am not a
>> professional programmer, but I use Python a great deal to help me
>> in my main job, which involves designing s
On Mar 19, 2008, at 18:32, Steven D'Aprano wrote:
On Wed, 19 Mar 2008 17:40:39 -0400, Nicholas F. Fabry wrote:
To summarize my proposal VERY briefly:
- Make aware datetime objects display in local time, but calculate/
compare in UTC.
Your proposal is ambi
On Mar 21, 2008, at 13:36, Christian Heimes wrote:
> Colin J. Williams schrieb:
>> You might consider adding the Julian date
>> (http://en.wikipedia.org/wiki/Julian_date).
>>
>> I had a crack at this a while ago but didn't seem to get quire the
>> right
>> result, using the ACM algorithm. I se
I am trying to use subprocess - it basically works but.
command = 'ping ' + '-n '+ str(count) + ' -l ' +
str(size) + ' ' + str(node)
print command
p = subprocess.Popen(command, stdin=subprocess.PIPE,
Werner F. Bruhin wrote:
I am trying to use subprocess - it basically works but.
command = 'ping ' + '-n '+ str(count) + ' -l ' +
str(size) + ' ' + str(node)
print command
p = subproc
I am starting to use the logging module.
Simple log to file and/or console work very nicely.
Even managed to get TimedRotatingFileHandler to work.
The problem I am trying to solve.
1. I would like to have a "log viewer" a wxPython based app to be able
to look at a log generated by another scr
I would like to start looking into Python 2.6 and do some testing.
First hurdle I run into is that I can not find a 2.6 installer for
Windows for setuptools-0.6.9c, only Py2.4 and Py2.5 seem to be available
on pypi.
Is there such a thing yet? If yes can someone provide me a link to it.
Than
Tarek Ziadé wrote:
The Python Langage Summit is coming up. To prepare this event, I have
put online a survey you can take to tell us a bit more about you and
how you package your Python applications.
* Who should take the survey : any Python developer that packages
and distributes his code,
I see the following exception with a string formating problem.
TypeError: not all arguments converted during string formatting
Traceback (most recent call last):
File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
File "/usr/lib/python2.5/logging/__init
Werner F. Bruhin wrote:
I see the following exception with a string formating problem.
TypeError: not all arguments converted during string formatting
Traceback (most recent call last):
File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit
msg = self.format(record)
I am fully aware that the problem is in my code, however as getMessage
in logging.__init__.py does not catch the exception it is pretty
difficult to find the problem without manually inspecting any
logging.something statements.
My hack of logging.py is really a hack and I know that this can no
Hi Gabriel,
Gabriel Rossetti wrote:
Hello everyone,
I am wanting to create an installer for my project. I first use py2exe
to create win32 executables and then would like to have an easy to use
(for the end user) installer.
I use InnoSetup - link already given by David.
I would need the ins
Hi Marcus,
Marcus.CM wrote:
There is a bug with py2exe when (at least under windows) when importing
email
# example testmime.py
import email
msg = email.MIMEText.MIMEText("dsafdafdasfA")
print "ok"
1. Save the text above and setup as testmime.py
2. Run it and u can see "ok"
3. Create setup.py
On May 11, 3:10 am, [EMAIL PROTECTED] wrote:
> This really looks ugly for an error message:
>
> [1]+ Stopped python
>
> Please explain to me the role of the '+' sign. And why is there such a
> gap between 'Stopped' and 'python'?
I suspect you were running the python command line i
Ahmed, Shakir wrote:
Thanks everyone who tried to help me to parse incoming email from an exchange
server:
Now, I am getting following error; I am not sure where I am doing wrong. I appreciate any help how to resolve this error and extract emails from an exchange server.
First I tried:
mai
Yes, there is literature on the generating side of the regular
expression/FSM model. In fact, the matching problem and the
generating problems are exactly equivalent. A slight variation of the
definition of how a matcher works, turns it into a generator and vice
versa. To directly generate (rath
(newbie alert)
This is what I have so far:
http://patriot.net/~ramon/upload_facility.html
The code is shown below. It seems I need that actual script that
performs the file transfer. I would prefer it in Python.
TIA,
-Ramon
---
Name of file to be
On Jan 31, 10:49 am, Ramon F Herrera wrote:
> (newbie alert)
>
> This is what I have so far:
>
> http://patriot.net/~ramon/upload_facility.html
>
> The code is shown below. It seems I need that actual script that
> performs the file transfer. I would prefer it in Pyt
Just upgraded on my Windows 7 machine my copy of 2.6.4 to 2.6.5.
However doing sys.version still shows 2.6.4 even so python.exe is dated
19. March 2010 with a size of 26.624 bytes.
Is this a known issue? Or did I do something wrong?
If I install to a new folder all is well, but I would have
Martin,
Thanks for the quick reply.
On 10/05/2010 22:25, Martin v. Loewis wrote:
Werner F. Bruhin wrote:
Just upgraded on my Windows 7 machine my copy of 2.6.4 to 2.6.5.
However doing sys.version still shows 2.6.4 even so python.exe is dated
19. March 2010 with a size of 26.624 bytes
On 11/05/2010 23:13, Martin v. Loewis wrote:
When will it install into system32?
When you install "for all users".
Did the upgrade inform you that it was an upgrade, or did it warn you
that you would overwrite the previous installation?
It warned me that there is a previous
On Tue, 02 Nov 2010 20:33:18 -0700, Gunner Asch
wrote:
>On Tue, 02 Nov 2010 13:58:16 -0700, Rich Grise
>wrote:
>
>>On Tue, 02 Nov 2010 14:17:29 -0700, Gunner Asch wrote:
>>>
>>> But...shrug..there will be far less after the Great Cull
>>
>>I think some people might be surprised as to ex
fig()
--
Michael F. Stemper
I feel more like I do now than I did when I came in.
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-06-22 09:50, breamore...@gmail.com wrote:
On Thursday, June 22, 2017 at 3:33:36 PM UTC+1, Michael F. Stemper wrote:
I have some scripts running as cronjobs that capture the status
of some long-term processes and then periodically plot the data.
The box where they normally run went down
On 2017-06-22 10:54, Dennis Lee Bieber wrote:
On Thu, 22 Jun 2017 09:33:15 -0500, "Michael F. Stemper"
declaimed the following:
If the difference isn't due to a change in matplotlib, would it be
something OS-dependent? How can I track it down?
What renderer is bei
On 2017-06-22 12:56, bill.jans...@gmail.com wrote:
On Thursday, June 22, 2017 at 10:14:21 AM UTC-7, Michael F. Stemper wrote:
On 2017-06-22 09:50, breamore...@gmail.com wrote:
On Thursday, June 22, 2017 at 3:33:36 PM UTC+1, Michael F. Stemper wrote:
Is it likely that the difference in
On 2017-06-22 12:16, Michael F. Stemper wrote:
On 2017-06-22 10:54, Dennis Lee Bieber wrote:
On Thu, 22 Jun 2017 09:33:15 -0500, "Michael F. Stemper"
declaimed the following:
If the difference isn't due to a change in matplotlib, would it be
something OS-dependent? How can
rily
the current directory), it might not be able to find the many
accessory files that are there.
--
Michael F. Stemper
I feel more like I do now than I did when I came in.
--
https://mail.python.org/mailman/listinfo/python-list
(2017, 12, 27, 23, 58, 11)])
In [45]:
Thanks. I am just researching now the format that has come out. unclear what 58
represents.
On its own, not much. However, is 23:58:11 easier to understand?
--
Michael F. Stemper
- 1 root root 1, 3 Jul 16 15:22 /dev/null
username@hostname$
Its performance is awesome, and it comes with a powerful GUI for
configuring and customizing.
--
Michael F. Stemper
Indians scattered on dawn's highway bleeding;
Ghosts crowd the young child's fragile eggshell mind.
--
https:
"Gallagher, Tim (NE)" wrote :
> import win32com.client
> import time
> import datetime
>
> outlook = win32com.client.Dispatch("Outlook.Application")
> namespace = outlook.GetNamespace("MAPI")
> appointments = namespace.GetDefaultFolder(9).Items
>
> #print appointments.count
> x = 4 # This is a n
Hi,
I am trying to figure out, what files to copy with my app so I am able to
initialize the python runtime.
Where can I find information about this?
Thank you,
Filip
--
http://mail.python.org/mailman/listinfo/python-list
rint Loop (REPL) is ready for you to type some python
statements. For instance:
>>> x = 2**3
>>> print(x)
8
>>>
--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list
ped, I
find this hard to believe.
--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list
an be
proven correct or incorrect. But, there are a lot more that cannot.
--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list
to (12,5) is 13
The python ecosystem provides many tools to simplify writing and
running unit tests. Somebody has already mentioned "unittest". I
use this one all of the time. There are also "doctest", "nose",
"tox", and "py.test" (none of which I
s, dicts. Also
check out the collections library, eps. deque.[1]
I was nodding along with the people saying "list of lists" until I
reread this quote. A list of tuples seems most appropriate to me.
[1] <https://gist.github.com/hemanth/3715502>, as quoted by Bill
Lubanovic in
long, long way to run'
>>> d.keys()
['fa', 'mi', 'do', 're']
>>> d.values()
['a long, long way to run', 'a name I call myself', 'a deer, a female deer',
'a drop of golden sunshine']
>>>
--
Michael F. Stemper
Exodus 22:21
--
https://mail.python.org/mailman/listinfo/python-list
ta', 'epsilon', 'zeta', 'eta', 'theta']
>>> find_e(l)
'epsilon'
>>> l = ['The','fan-jet','airline']
>>> find_e(l)
Traceback (most recent call last):
File "", line 1, in
File "", line 2, in find_e
IndexError: list index out of range
>>>
--
Michael F. Stemper
If it isn't running programs and it isn't fusing atoms, it's just bending space.
--
https://mail.python.org/mailman/listinfo/python-list
On 10/06/2024 09.32, Stefan Ram wrote:
"Michael F. Stemper" wrote or quoted:
On 08/06/2024 14.18, Rob Cliffe wrote:
OK, here is the advanced version:
import os
class _cls(object):
def __repr__(self):
os.system('cls')
return ''
cls = _
e at the very top of the screen,
and the ">>>" prompt appears on the SECOND line.
(This blank line is because the IDLE prints the blank value returned by "return
''" and adds a newline to it, as it does when printing the value of any expression.)
Why hav
On 07/10/2024 08.56, Stefan Ram wrote:
"Michael F. Stemper" wrote or quoted:
if not re.search("\\sout\{", line):
So, if you're not down to slap an "r" before your string literals,
you're going to end up doubling down on every backslash.
Ne
;\\sout\{", line):
But the lines with that string keep coming through. What is the right syntax to
properly escape the backslash and the left curly bracket?
--
Michael F. Stemper
No animals were harmed in the composition of this message.
--
https://mail.python.org/mailman/listinfo/python-list
On 22/05/2025 15.27, Stefan Ram wrote:
"Michael F. Stemper" wrote or quoted:
Should I specify the location of the config file with a command-line
option, or is requiring the program to be executed in the directory
containing the configuration file considered acceptable practice?
hould I specify the location of the config file with a command-line
option, or is requiring the program to be executed in the directory
containing the configuration file considered acceptable practice?
[1] See Tegan Jovanka in _Castrovalva_ for more on this idea.
--
Michael F. Stemper
If it
Distress sale/JBR/1 Bed /AED790sqft / 15th floor/050-8320722
JBR
Lower Price
AED790per/sqft
15th floor
1,465.90sqft(AED1,160,000.00)
+Transfer Fee 2 % + Broker Fee 2%
JBR Apartments
Located near to Dubai Marina and lying in a beach front location
comprises
the area of JBR or Jumeirah Beach Reside
JBR
Lower market price
AED800per/sqft
5 unit (3Bed + Maid)(packet)
(1800sqft to 3000sqft)
+Transfer Fee 2 % + Broker Fee 2%
JBR Apartments
Located near to Dubai Marina and lying in a beach front location
comprises
the area of JBR or Jumeirah Beach Residences, Comprising clusters of 6
tower
covering
Dear
I have a client who is looking to buy apartment and Villa :
1. the palm jumeirah 3 bed + maid room sea view only (any building)
2. springs type 3E
3. springs type 3M
4. springs type 4E
Please send me your direct availabilities, or call me, viewing
tomorrow, thank you!
P
Required RENT Marina and JLT, 050-8320722
Dear
I have a client who is looking to Rent apartment :-
1. Dubai Marina and JLT :- Studio ,1Bed and 2 Bed only (any
building)
Please send me your direct availabilities, or call me, viewing
tomorrow, thank you!
Peter Wong F.H 王福兴
(个人注册RERA BRN:
running Python 3.12:
Mike
------
F. M. (Mike) Covington, PhD, PCPP, MCT
Automation Consultant, Developer, Instructor
--
https://mail.python.org/mailman/listinfo/python-list
301 - 374 of 374 matches
Mail list logo