Alex Martelli wrote:
> Michele Simionato <[EMAIL PROTECTED]> wrote:
>
>> You want this recipe from Michael Hudson:
>>
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164
>>
>> "automatically upgrade class instances on reload()"
>
> Note that the version in the printed Cookb
Ok, I think this code snippet enough to show what i said;
===
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#Change utf-8 to latin-1
#Or move variable decleration to another file than import it
val='00090±NO:±H±H±H±H±'
from urllib import urlencode
data={'key':v
Hi,
I try to call rsync (with ssh) with subprocess but _some times_ it
freeze without traceback, without any reason.
My code look like that :
def sh(self,cmd):
log.debug("S cmd: " + " ".join(cmd))
p = Popen(cmd, stdout = PIPE, stderr = PIPE)
stdout, stderr = p.communic
I think looking at the occurrences in the standard library only is
unfair. I have a large "Zope +Plone+my stuff" installation and I get
154 occurrences of 'create' but nearly 0 occurrences
of 'make' (only a few in Zope/lib/python/BTrees/tests/testSetOps.py). I
guess 'make' sounds
too Lispy, this i
hi
my purpose is just to connect to an FTP server and delete all files in
a directory
Is there a way using ftplib module? something like ftp.delete("*") ?
another way i can do is using LIST to list out all the files in that
directory, grab the filename, append to an array, then do a for loop to
del
Evren Esat Ozkan wrote:
> Ok, I think this code snippet enough to show what i said;
>
> ===
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
> #Change utf-8 to latin-1
> #Or move variable decleration to another file than import it
>
> val='00090±NO:±H±H±H±H
[EMAIL PROTECTED] wrote:
> I have a list y
>
y
>
> ['20001201', 'ARRO', '04276410', '18.500', '19.500', '18.500',
> '19.500', '224']
>
> from which I want to extract only the 2nd and 4th item
>
> by partially
> unpacking the list. So I tried
>
a,b = y[2,4]
Mmm, so lovely and meaningful
On 01/04/06, John Salerno <[EMAIL PROTECTED]> wrote:
> I V wrote:
>
>
> > Note that print gets called after _each_ time that printBackward
> > returns. So, as the different calls to printBackward return, they print
> > whatever 'head' was set to in that invocation. Now, logically enough,
> > the la
[Richie]
> But Tidy fails on huge numbers of real-world HTML pages. [...]
> Is there a Python HTML tidier which will do as good a job as a browser?
[Walter]
> You can also use the HTML parser from libxml2
[Paul]
> libxml2 will attempt to parse HTML if asked to [...] See how it fixes
> up the mi
On Thu, 06 Apr 2006 20:00:13 +0200, Just wrote:
> In article <[EMAIL PROTECTED]>,
> Kent Johnson <[EMAIL PROTECTED]> wrote:
>
>> Robin Haswell wrote:
>> Is this what you mean?
>> In [9]: int(r'\x2019'[2:], 16)
>> Out[9]: 8217
>>
>> or maybe you meant this:
>> In [6]: ord(u'\u2019')
>> Out[6]:
just couldn't help taking the bait...
def morris(seed) :
"""
>>> m = morris('3447221')
>>> m.next()
'1324172211'
>>> m.next()
'1113121411172221'
>>> m.next()
'31131112111431173211'
"""
assert isinstance(seed,basestring) and seed.isdigit(),"bad se
Michael Yanowitz wrote:
>
> At-least Pythetic isn't a word (yet).
>
:))) "now that's quite pythetic !"
hmmm, clearly that word could become damaging to python,
so I suggest the best course is to preventively focus the meaning
in a way that prevents the danger, by providing canonical
examples
Serge Orlov wrote:
> bruno at modulix wrote:
> > Steven Bethard wrote:
> > > The PEP below should be mostly self explanatory. I'll try to keep the
> > > most updated versions available at:
>
> [snip]
>
> >
> > Seems mostly clean. +1.
> >
>
> That's what Trojans said when they saw a wooden horse at
Robin Haswell wrote:
>
> [EMAIL PROTECTED]:~$ python
> Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
> [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> int("\x2019")
> 19
> >>>
>
> Something like that. Exc
My current employer is looking for a senior system
administrator/programmer with good Python
expertise. Notice that the job is in Milan, Italy and that we do not
consider remote work.
You can mail your CV and/or ask questions to [EMAIL PROTECTED]
I can say this is a nice place to work ;)
Here is t
Robin Haswell wrote:
> Hey guys. This should just be a quickie: I can't figure out how to convert
> r"\x2019" to an int - could someone give me a hand please?
>>> int(r'\x2019'.decode('string_escape'))
19
--
http://mail.python.org/mailman/listinfo/python-list
I can handle making the connections and running queries, but what's the
best way to process table rows returned in Python? What about turning a
table definition into an object? Just looking for ways to be efficient,
since I know I will be hitting the same external RDBMS from Python and
regularly pr
Alle 00:20, sabato 08 aprile 2006, Bo Yang ha scritto:
> I want to develop an application to record some of the best words and
> ideas
On linux and KDE desktop is easy as a breathing, by Klipper applet:-)
And also no virus prone like windowz.
Pls no flame, just a consideration.
F
--
http://mail
[EMAIL PROTECTED] wrote:
> Martin v. Löwis wrote:
>> [EMAIL PROTECTED] wrote:
>>> This works if I use the console but gives the following error if I use
>>> IDLE:
>>>
>>> Traceback (most recent call last):
>>> File "C:\test.py", line 4, in ?
>>> text2 = unicode(raw_input(), sys.stdin.encoding
hi
if i have a string like this
"ABCE-123456 ABC_DEF_Suggest(abc def ghi).txt"
that needs to be passed to a python script
and i wanted to get the words inside the brackets after i passed this
string. I did a re
something like
thestring = sys.argv[1:]
pat = re.compile(r".*\((.*)\)\.txt$")
if pa
> hi
>
> if i have a string like this
>
> "ABCE-123456 ABC_DEF_Suggest(abc def ghi).txt"
>
> that needs to be passed to a python script
> and i wanted to get the words inside the brackets after i passed this
> string. I did a re
> something like
>
> thestring = sys.argv[1:]
> pat = re.compile(r".*
I copied and pasted my code to new file and saved with utf-8 encoding.
it produced 00090%C2%B1NO%3A%C2%B1H%C2%B1H%C2%B1H%C2%B1H%C2%B1
Than I added "u" to decleration and encode it with iso-8859-1 as you
wrote and finally it produced proper result.
Your reply is so helped and clarify some things ab
I need to process large lists (in my real application, this is to parse the
content of a file). I noticed that the performance to access the individual
list
elements degrades over runtime.
This can be reproduced easily using this code:
import time
N=10
p=1
A=[]
for i in range(N):
Michele Simionato wrote:
..
> The Company
> StatPro, a leader Company in the field of portfolio analytics for the
> global asset management market, is looking for a Senior Systems/Network
> Engineering Specialist, who is ready for a new challenge.
>
>
real pity, I used to do portfolio an
> Therefore r'\x2019' is left unchanged, and cannot be converted to an
> int.
>
> Rob, this explains *why* you are getting the above error. It does not
> explain how to achieve your objective, as you have not specified what
> it is. If you give more information, one of the resident gurus may be
>
Joachim Worringen wrote:
> I need to process large lists (in my real application, this is to parse
> the content of a file).
Then you probably want to use generators instead of lists. The problem
with large lists is that they eat a lot of memory - which can result in
swapping .
> I noticed that
[EMAIL PROTECTED] wrote:
> I can handle making the connections and running queries, but what's the
> best way to process table rows returned in Python?
depends on what you want to do with them.
> What about turning a
> table definition into an object? Just looking for ways to be efficient,
> sinc
bruno at modulix wrote:
> Joachim Worringen wrote:
>> I need to process large lists (in my real application, this is to parse
>> the content of a file).
>
> Then you probably want to use generators instead of lists. The problem
> with large lists is that they eat a lot of memory - which can resul
Robin Becker wrote:
> Michele Simionato wrote:
> ..
> > The Company
> > StatPro, a leader Company in the field of portfolio analytics for the
> > global asset management market, is looking for a Senior Systems/Network
> > Engineering Specialist, who is ready for a new challenge.
> >
>
> >
Joachim Worringen wrote:
> I need to process large lists (in my real application, this is to parse
> the content of a file). I noticed that the performance to access the
> individual list elements degrades over runtime.
>
> This can be reproduced easily using this code:
>
> import time
>
> N=10
Hi there,
Sorry to repost this, but I didn't get any answer one month ago. In
essence, it seems that the ImageDraw line function draws lines one
pixel shorter in some circumstances. This could be very annoying for
some applications where precise geometry does matter.
Below I test this function on
in python
dd = "\\xd6\\xd0\\xb9\\xfa"
d = "\xd6\xd0\xb9\xfa"
but how to convert one to other ?
thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> I have a sinking feeling I'm missing something really,
> really simple.
>
> I'm looking for a format string similar to '%.3f'
> except that trailing zeroes are not included.
>
> To give some examples:
>
> FloatString
> 1.0 1
> 1.1 1.1
> 12.1234
[EMAIL PROTECTED] wrote:
> Sorry to repost this, but I didn't get any answer one month ago. In
> essence, it seems that the ImageDraw line function draws lines one
> pixel shorter in some circumstances. This could be very annoying for
> some applications where precise geometry does matter.
http:/
While testing recursive algoritms dealing with generic lists I stumbled
on infinite loops which were triggered by the fact that (at least for my
version of Pyton) characters contain themselves.See session:
system prompt% python
Python 2.3.5 (#2, Feb 9 2005, 00:38:15)
[GCC 3.3.5 (Debian 1:3.3.5
In article <[EMAIL PROTECTED]>,
Robin Becker <[EMAIL PROTECTED]> wrote:
.
.
.
>My math skills are now so degraded I have difficulty reading about conic
>programming using Nesterov's barrier functions etc etc.
ygao wrote:
> in python
> dd = "\\xd6\\xd0\\xb9\\xfa"
> d = "\xd6\xd0\xb9\xfa"
> but how to convert one to other ?
>>> "\\xd6\\xd0\\xb9\\xfa".decode("string-escape")
'\xd6\xd0\xb9\xfa'
>>> "\xd6\xd0\xb9\xfa".encode("string-escape")
'\\xd6\\xd0\\xb9\\xfa'
Peter
--
http://mail.python.org/mailm
WENDUM Denis 47.76.11 (agent):
>While testing recursive algoritms dealing with generic lists I stumbled
>on infinite loops which were triggered by the fact that (at least for my
>version of Pyton) characters contain themselves.
No, strings contain characters. And 'a' is a string consisting of on
Lonnie Princehouse wrote:
> Here's my take on the thing. It only prints one term, though.
>
> http://www.magicpeacefarm.com/lonnie/code/morris.py.html
>
> (a bit too long to post)
>
yikes, scary! :)
there was always the hint that using itertools might be helpful, as you
guys are doing,
I am learning wxPython for one of my projects.
I was wondering if there is drag and drop in any Python IDE like there
is Visual Basic where you select an object like command_button and put
onto the frame. Is there any help to make life easier in Python.
Every help is greatly appreciated,
--
ht
In fact, not just characters, but strings contain themselves:
>>> 'abc' in 'abc'
True
This is a very nice(i.e. clear and concise) shortcut for:
>>> 'the rain in spain stays mainly'.find('rain') != -1
True
Which I always found contorted and awkward.
Could you be a bit more concrete about your c
So last night I had a dream that me and two other guys needed to get a
simple task done in Java. We were staring at the problem in confusion
and I kept saying "First we have to create a class, then instantiate it,
then..." etc. etc. They didn't agree with me so we kept arguing back and
forth ab
Rene Pijlman <[EMAIL PROTECTED]> writes:
> WENDUM Denis 47.76.11 (agent):
> >While testing recursive algoritms dealing with generic lists I stumbled
> >on infinite loops which were triggered by the fact that (at least for my
> >version of Pyton) characters contain themselves.
>
> No, strings con
Michele Petrazzo <[EMAIL PROTECTED]> wrote:
>Sion Arrowsmith wrote:
>> This is a documented behaviour of shelve:
> [ open(filename) may create files with names based on filename + ext ]
>(and I fail to understand why
>> it is a problem).
>Because:
>1) I pass a name that, after, I'll pass to anothe
John Salerno wrote:
> So last night I had a dream that me and two other guys needed to get a
> simple task done in Java.
Then s/dream/nightmare/
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
--
http://mail.
Works for me.
I get "abc def ghi" using your script on Windows XP and ActiveState
Python 2.4.3
rd
--
http://mail.python.org/mailman/listinfo/python-list
Daniel Nogradi <[EMAIL PROTECTED]> wrote:
>If you execute your script from the command line on Linux you need to
>enclose it in quotation marks otherwise your shell will interfere. So
>you need to invoke your program as
>
>python yourscript.py "ABCE-123456 ABC_DEF_Suggest(abc def ghi).txt"
Same i
Michele> I think looking at the occurrences in the standard library only
Michele> is unfair.
In addition, when considering the standard library you need to search the
source repository, not just what's installed on your platform. I noticed in
your earlier post that you pointed your count
I think you are looking for a drag and drop GUI builder? If so then
http://wxglade.sourceforge.net/ -- wxglade is what you need. There are
some others but this is what I prefer myself.
--
http://mail.python.org/mailman/listinfo/python-list
Well I am not too familiar with ftplib but I have done some minimal
work.
Example:
try:
server=FTP()
server.connect('ftp.mcafee.com', 21)
except:
print "Could not connect to server"
raw_input("Hit Enter to quit:")
sys.exit(0)
login = server.login('anonymous', '[EMAIL PROTEC
Joachim Worringen on comp.lang.python said:
> I use Python 2.3.4 (#1, Sep 3 2004, 12:08:45)
> [GCC 2.96 2731 (Red Hat Linux 7.3 2.96-110)] on linux2
Check Peter Otten's answer, and remember as well that GCC 2.96 can lead to
highly strange issues whenever used.
--
Alan Franzoni <[EMAIL PRO
You just need to literlize them with a forward slash.
" globber = '/home/zhomer/test/{dir1*,dir2*}/{subdir1,subdir2}'
globlist = glob.glob(globber) "
globber = '/home/zhomer/test/\{dir1*,dir2*\}/\{subdir1,subdir2\}'
globlist = glob.glob(globber)
See if that works for you.
--
http://mail.pytho
Peter Otten wrote:
> Your timing code is buggy. Change it to
Ooops, you're right. Everything is fine now... Thanks.
Joachim
--
Joachim - reply to joachim at domain ccrl-nece dot de
Opinion expressed is personal and does not constitute
an opinion or statement of NEC Laboratories.
--
http://m
Hi,
I wrote a program some days back and I was using lists heavily for
performing operations such as pop, remove, append. My list size was
around 1024x3 and there were around 20 different objects like this.
What I want to ask you is that my program also degraded over a period
of time. I cannot po
marcello wrote:
> Hello
> I need to do this:
> 1 opening a file for writing/appending
> 2 to lock the file as for writing (i mean: the program
> that lock can keep writing, all others programs can't )
> 3 wtite and close/unlock
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
been
Ivan Vinogradov wrote:
> I have not much clue about databases, except that they exist, somewhat
> complex, and often use proprietary formats for efficiency.
Prorietary storage format, but a standardized API...
> So any points on whether RDBM-based setup
> would be better would be greatly appreci
Can we download wxPython doc as an offline folder because if I dont
have internet its difficult to have the access to all the docs.
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
> A Lambda Logo Tour
> (and why LISP languages using λ as logo should not be looked upon
> kindly)
>
> Xah Lee, 2002-02
>
> Dear lispers,
For the love of Java! Where is the Java in this post?
Underwear related off topic trivia:
At university we worked out that Y-fronts weren't Y-
Peter Otten <[EMAIL PROTECTED]> wrote:
> Alex Martelli wrote:
>
> > Michele Simionato <[EMAIL PROTECTED]> wrote:
> >
> >> You want this recipe from Michael Hudson:
> >>
> >> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164
> >>
> >> "automatically upgrade class instances on
Hello!
I want to connecto to a ftp server. There I woult like to read the
directiroy and getting the filename, file owner and the file size.
How can I do this in python and if possible please post the code for it.
Thanks!
Arne
--
http://mail.python.org/mailman/listinfo/python-list
Okay I'm getting really frustrated with Python's Unicode handling, I'm
trying everything I can think of an I can't escape Unicode(En|De)codeError
no matter what I try.
Could someone explain to me what I'm doing wrong here, so I can hope to
throw light on the myriad of similar problems I'm having?
Hello !
I am looking for a widget with the following properties:
- showing the tree file structure/ directory structure
- next to each file should be a checkbox
- the tree should only show certain files (i. e. only for the looked in
user)
Maybe you can post me a link.
Thanks!
Arne
--
http:/
Hi John,
It works. Thank you veyr much.
Cheers,
Q
--
http://mail.python.org/mailman/listinfo/python-list
Robin Haswell wrote:
> Okay I'm getting really frustrated with Python's Unicode handling, I'm
> trying everything I can think of an I can't escape Unicode(En|De)codeError
> no matter what I try.
Have you read any of the documentation about Python's Unicode support? E.g.,
http://effbot.org/zone/
Robin Haswell wrote:
> Could someone explain to me what I'm doing wrong here, so I can hope to
> throw light on the myriad of similar problems I'm having? Thanks :-)
>
> Python 2.4.1 (#2, May 6 2005, 11:22:24)
> [GCC 3.3.6 (Debian 1:3.3.6-2)] on linux2
> Type "help", "copyright", "credits" or "li
try:
exc_type, exc_value, exc_traceback = sys.exc_info()
# Do something
finally:
exc_traceback = None
Why the try/finally with setting exc_traceback to None? The python docs
didn't give me any clue, and I'm wondering what this person knows that
I don't.
Thanks,
-Sandra
--
http://mail.p
Arne:
>I want to connecto to a ftp server. There I woult like to read the
>directiroy and getting the filename, file owner and the file size.
>
>How can I do this in python
http://docs.python.org/lib/module-ftplib.html
--
René Pijlman
--
http://mail.python.org/mailman/listinfo/python-list
"Arne" <[EMAIL PROTECTED]> wrote:
> I want to connecto to a ftp server. There I woult like to read the
> directiroy and getting the filename, file owner and the file size.
>
> How can I do this in python and if possible please post the code for it.
there's an example in the library reference that
I have been trying out jpype for python to java work and love it. It
works great on my gentoo box with the java 1.4.2 blackdown sdk.
I am now trying it on Red Hat Enterprise Linux 3 for access to business
intelligence tools (JasperReports, Mondrian, Pentaho, etc) for which we
don't have analogous
Peter Hansen wrote:
> Mirco Wahab wrote:
>
>> Hi Ralf
>>
>>> So we should rename Python into Cottonmouth to get more attention.
>>
>>
>> No, always take some word that relates to
>> something more or less 'feminine', its about
>> 96% of young males who sit hours on programming
>> over their belove
Hi,
Is it possible to create a com server in python and then access that
server using VB .NET, for example using the following code. A very
basic com server i found in a tutorial about win32com:
class HelloWorld:
_reg_clsid_ = "{7CC9F362-486D-11D1-BB48-E838A65F}"
_reg_desc_ = "Python
Sandra> try:
Sandra>exc_type, exc_value, exc_traceback = sys.exc_info()
Sandra># Do something
Sandra> finally:
Sandra>exc_traceback = None
Sandra> Why the try/finally with setting exc_traceback to None?
The intent is to decrement the reference count to any obj
Hello,
My Python application calls web services available on the Internet. The
web service being called is defined through application user input.
The Python built-in library allows access to web services using HTTP
protocol, which is not acceptible - generating SOAP messages for
arbitrary web
Robin Haswell wrote:
> Okay I'm getting really frustrated with Python's Unicode handling, I'm
> trying everything I can think of an I can't escape Unicode(En|De)codeError
> no matter what I try.
If you follow a few relatively simple rules, the days of Unicode errors
will be over. Let's take a look
Ivan Zuzak wrote:
> I need a package/tool that generates web service proxies that will do
> all the low-level HTTP work. (Someting like the WSDL.EXE tool in .NET
> Framework) The ZSI and SOAPy packages [1] that i found (should) have
> those functionalities but either have a bug (SOAPy) or eithe
Carl Banks wrote:
> Steven Bethard wrote:
>> I've updated the PEP based on a number of comments on comp.lang.python.
>> The most updated versions are still at:
>>
>> http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt
>> http://ucsu.colorado.edu/~bethard/py/pep_create_statement.
John Salerno wrote:
> So last night I had a dream that me and two other guys needed to get a
> simple task done in Java. We were staring at the problem in confusion
> and I kept saying "First we have to create a class, then instantiate it,
> then..." etc. etc. They didn't agree with me so we kept
On 2006-04-07, Robin Haswell <[EMAIL PROTECTED]> wrote:
> Okay I'm getting really frustrated with Python's Unicode handling, I'm
> trying everything I can think of an I can't escape Unicode(En|De)codeError
> no matter what I try.
>
> Could someone explain to me what I'm doing wrong here, so I can h
I found the problem. So if anyone else has it here is the fix.
In the documentation distributed with JPype 0.5.1 in the examples/linux
directory, there is a file that describes a problem with loading the
jvm on linux. So one needs to modify the LD_LIBRARY_PATH environment
variable to fix it.
I
I am running through the wxPython guide and docs and extrapolating
enough to get confused.
BAsed on the tute in the getting started wiki I created a panel that
has most of the elements I want; some check boxes and a couple of
buttons. The button I have is a simple thing that is supposed to just
[EMAIL PROTECTED] wrote:
> John Salerno wrote:
>> So last night I had a dream that me and two other guys needed to get a
>> simple task done in Java. We were staring at the problem in confusion
>> and I kept saying "First we have to create a class, then instantiate it,
>> then..." etc. etc. They di
Hi!!
I'd like to install Oracle 10 g express edition over Ubuntu to use with
Python 2.4. I have installed Ubuntu, Python 2.4 and Oracle database. I
think that I have installed correctly cx_Oracle because I have
cx_Oracle.so in /usr/share/python2.4/site-packages/ directory. My
environment variables
Well you will need to download the " docs demos and tools " and that
contains a windows help file that is easily searchable. If you run
Linux there is a Gnome tool to run the help file in Linux if you so
wish.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am pretty new to python and will use it mainly in
combination with scientific packages. I am running ubuntu
breezy right now and see that some packages are out of date.
Do you have any suggestion, how I can get/keep the latest
python modules (e.g. scipy, numpy,...) on my ubuntu system?
I.e.
Hi All,
Sorry if this is a newbie question.
I promise I have RTFMed, though.
Here goes:
I'm trying to invoke an external program
from python. The program is jar.exe, which is part of java. The
following is the command I want to send:
jar -xvf file1.jar jile2.jar file3.jar
os.execvp(file, a
This would indeed be a nice feature.
The glob module is only 75 lines of pure python. Perhaps you would
like
to enhance it? Take a look.
--
http://mail.python.org/mailman/listinfo/python-list
example,
the proxy server is :123.123.123.123
and the port is :1080
and the username/password is : user/pass
I want to open http://www.google.com
how to write this script?
thanks.
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to place a dialog in the center of the screen based on a users
screen resolution.
I can get the width and height of the screen, but I can't seem to use the
following:
root.geometry('WxH+X+Y')
It appears the values for X and Y need to be integers and not a variable
like width/2-40
S
Sandra-24 wrote:
> try:
>exc_type, exc_value, exc_traceback = sys.exc_info()
># Do something
> finally:
>exc_traceback = None
>
> Why the try/finally with setting exc_traceback to None? The python docs
> didn't give me any clue, and I'm wondering what this person knows that
> I don't.
What does the repair command in the 2.5a1 msi installer do?
Apparently it does not replace changed files, although it seems
to replace deleted files.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
Hello all
I have the problem of how to calculate the resolution of the system
clock.
Its now two days of head sratching and still there is nothing more than
these few lines on my huge white sheet of paper stiring at me. Lame I
know.
import time
t1 = time.time()
while True:
t2 = time.time()
Thanks, I use Ubuntu Linux and there is tool called xchm which lets you
do that.
RunLevelZero wrote:
> Well you will need to download the " docs demos and tools " and that
> contains a windows help file that is easily searchable. If you run
> Linux there is a Gnome tool to run the help file in L
Fabian Braennstroem wrote:
> Hi,
>
> I am pretty new to python and will use it mainly in
> combination with scientific packages. I am running ubuntu
> breezy right now and see that some packages are out of date.
> Do you have any suggestion, how I can get/keep the latest
> python modules (e.g. sci
Keep on coding. It'll just go away..
--
http://mail.python.org/mailman/listinfo/python-list
You should consider gentoo as it big on python with all the latest
packages. And no, installing doesn't take much effort.
--
http://mail.python.org/mailman/listinfo/python-list
Fabian Braennstroem wrote:
>
> I am pretty new to python and will use it mainly in
> combination with scientific packages. I am running ubuntu
> breezy right now and see that some packages are out of date.
You can quite often backport some of the newer packages from
packages.ubuntu.com, although t
Hi!
Answer in the mailing-list.
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Tkinter takes strings as its arguments; it's TCL's legacy. You can use
string formatting for this:
x = width/2-40
y = height/2-30
root.geometry('%ldx%ld+%ld+%ld' % (width, height, x, y))
--
http://mail.python.org/mailman/listinfo/python-list
WENDUM Denis 47.76.11 (agent) a écrit :
>
> While testing recursive algoritms dealing with generic lists I stumbled
> on infinite loops which were triggered by the fact that (at least for my
> version of Pyton) characters contain themselves.
There is *no* character type in Python. 'a' is a stri
Thanks.
S
"Lonnie Princehouse" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tkinter takes strings as its arguments; it's TCL's legacy. You can use
> string formatting for this:
>
> x = width/2-40
> y = height/2-30
>
> root.geometry('%ldx%ld+%ld+%ld' % (width, height, x, y))
>
1 - 100 of 163 matches
Mail list logo