2010/2/24 Lars Gustäbel
> On Wed, Feb 24, 2010 at 09:37:19AM +0100, Baptiste Lepilleur wrote:
> > I stumbled uppon this and find it somewhat odd: some class methods of
> > TarFile and TarInfo do not appears in either the online documentation or
> > search while they have a doc string:
> >
> > htt
When a package is imported, it gets the dosctring to store it in
*__doc__*.
Does that funcion is built in python? because I would want use it to
get the docstring without import a package
--
http://mail.python.org/mailman/listinfo/python-list
Am 26.02.10 09:55, schrieb Joan Miller:
When a package is imported, it gets the dosctring to store it in
*__doc__*.
Does that funcion is built in python? because I would want use it to
get the docstring without import a package
You'd need to write your own parser for that. All standard tools s
Am 26.02.10 06:07, schrieb darnzen:
Having an odd problem that I solved, but wondering if its the best
solution (seems like a bit of a hack).
First off, I'm using an external DLL that requires static callbacks,
but because of this, I'm losing instance info. It could be import
related? It will ma
Am 26.02.10 05:01, schrieb D'Arcy J.M. Cain:
On Fri, 26 Feb 2010 01:12:00 +0100
"Diez B. Roggisch" wrote:
That better way turned out to asynchronous update transactions. All we
did was keep feeding updates to the remote site and forget about ACKS.
We then had a second process which handled ACK
100,000 hits a day is not a low. I get that some day on my web server
without problem and without one request dropped.
Most frameworks web2py, Django, Pylons can handle that kind of load
since Python is not the bottle neck.
You have to follow some tricks:
1) have the web server serve static pages
On Fri, Feb 26, 2010 at 09:28:04AM +0100, Baptiste Lepilleur wrote:
> 2010/2/24 Lars Gustäbel
>
> > On Wed, Feb 24, 2010 at 09:37:19AM +0100, Baptiste Lepilleur wrote:
> > > I stumbled uppon this and find it somewhat odd: some class methods of
> > > TarFile and TarInfo do not appears in either th
Hi all, someone can help me to pymodbus use? I must send some command
and read aswer from an inverter. It use ModBus RTU.
Thanks a lot
--
http://mail.python.org/mailman/listinfo/python-list
Hi Mr.Posner & nn,
Thank your for your time & effort. I never knew that for...ever
combination even existed. I would keep these insights in mind in the
future.
Thanks again,
Prasad
On Feb 25, 10:57 pm, John Posner wrote:
> On 2/25/2010 7:23 AM, prasad_chand wrote:
>
>
>
> > Hi,
>
> > I use pyth
Joan Miller wrote:
When a package is imported, it gets the dosctring to store it in
*__doc__*.
Does that funcion is built in python? because I would want use it to
get the docstring without import a package
Epydoc, a documentation builder is able to do so with the --parse-only
option. You co
Joan Miller writes:
> When a package is imported, it gets the dosctring to store it in
> *__doc__*.
Joan, in this message and numerous others you've been following the
widespread convention of using asterisks ‘*’ to surround text you want
to emphasise.
Normally that's good, but in a programming
Joan Miller wrote:
> When a package is imported, it gets the dosctring to store it in
> *__doc__*.
>
> Does that funcion is built in python? because I would want use it to
> get the docstring without import a package
Something to get you started:
import ast
def walk(root, stack):
for nod
In message , Gib Bogle wrote:
> The only clue is that the machines that her program runs on have
> Python installed, while the one that fails doesn't.
Wouldn’t it be a whole lot simpler to install Python on the bloody machine?
--
http://mail.python.org/mailman/listinfo/python-list
On 26 feb, 10:51, Ben Finney wrote:
> Joan Miller writes:
> > When a package is imported, it gets the dosctring to store it in
> > *__doc__*.
>
> Joan, in this message and numerous others you've been following the
> widespread convention of using asterisks ‘*’ to surround text you want
> to empha
On 26 feb, 10:57, Peter Otten <__pete...@web.de> wrote:
> Joan Miller wrote:
> > When a package is imported, it gets the dosctring to store it in
> > *__doc__*.
>
> > Does that funcion is built in python? because I would want use it to
> > get the docstring without import a package
>
> Something to
System:
# rpm -q python m2crypto
python-2.4.3-27.el5
m2crypto-0.16-6.el5.6
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
I have the following method:
def ftp_tarball(aggregation_dir, date_format, ftp_server, ftp_user,
ftp_pass):
date = datetime.today().strftim
I've just installed Python 2.6.4 and PyQt 4.7 on my Windows machine, on which I
was using Python 2.5 and PyQt 4.5. Now 'from PyQt4 import QtGui'
fails to find the DLL. Some googling shows that others have encountered the
same problem, and a workaround is to copy QtGui4.dll (for example) from
D
Am 25.02.2010 17:39, schrieb Grant Edwards:
IMO, any sort of "commented out" code left in a program is a
big mistake. If the code is soething that does need to stay
for optional use, then it needs to be properly integrated along
with logic to control when it's used.
OK, then we are perfectly f
Am 26.02.2010 12:47, schrieb Michael Rudolf:
I'd just hate to see something like "if False" in production level code.
And yeah, I've seen it. And worse.
--
http://mail.python.org/mailman/listinfo/python-list
Wes James wrote:
On Wed, Feb 24, 2010 at 5:03 AM, Jonathan Fine wrote:
Hi
Does anyone know of a collection of regular expressions that will break a
TeX/LaTeX document into tokens? Assume that there is no verbatim or other
category code changes.
I'm not sure how this does it, but it might he
Diez B. Roggisch wrote:
Am 25.02.10 18:08, schrieb Robert:
After (intended/controlled) reload or similar action on a module/class
the pickle/cPickle.dump raises errors like
pickle.PicklingError: Can't pickle : it's
not the same object as somemodule.SomeClass
Cause in pickle.py (and cPickle) i
Hi,
pysandbox is a new Python sandbox project under development. By default,
untrusted code executed in the sandbox cannot modify the environment (write a
file, use print or import a module). But you can configure the sandbox to
choose exactly which features are allowed or not, eg. import sys m
Suppose you have to put into a Python string the following sentence :
The play "All's Well That Ends Well" by Shakespeare
It's easy do it :
>>> print """The play "All's Well That Ends Well" by Shakespeare"""
The play "All's Well That Ends Well" by Shakespeare
Now, change the sentence to this on
Le vendredi 26 février 2010 13:29:33, Victor Stinner a écrit :
> pysandbox is a new Python sandbox project
... I just forget to explain how to download it.
Website: http://github.com/haypo/pysandbox/
Download the repository using git:
git clone git://github.com/haypo/pysandbox.git
or
git cl
On 26.2.2010. 13:29, candide wrote:
Suppose you have to put into a Python string the following sentence :
The play "All's Well That Ends Well" by Shakespeare
It's easy do it :
print """The play "All's Well That Ends Well" by Shakespeare"""
The play "All's Well That Ends Well" b
Joan Miller writes:
> I use a function in 'setupy.py' to get automatically the description
> from the package's docstring, but there is a problem when you import a
> module that has to be built by cython (because it tries load a module
> that doesn't exists).
A simple approach (at least, simpler
Le vendredi 26 février 2010 13:29:04, candide a écrit :
> But the first method doesn't run correctly :
> >>> print """The play "All's Well That Ends Well
>
> File "", line 1
> print """The play "All's Well That Ends Well
>^
> Syntax
On Thu, 25 Feb 2010 12:51:00 -0800 (PST) John Roth
wrote:
> On Feb 24, 1:23 pm, Andreas Waldenburger
> wrote:
> > a company that works with my company writes a lot of of their code
> > in Python (lucky jerks). I've seen their code and it basically
> > looks like this:
> >
> > """Function that do
On 26 feb, 12:35, Ben Finney wrote:
> Joan Miller writes:
> > I use a function in 'setupy.py' to get automatically the description
> > from the package's docstring, but there is a problem when you import a
> > module that has to be built by cython (because it tries load a module
> > that doesn't
On Fri, Feb 26, 2010 at 7:29 AM, candide wrote:
> Suppose you have to put into a Python string the following sentence :
>
> The play "All's Well That Ends Well" by Shakespeare
>
> It's easy do it :
>
> >>> print """The play "All's Well That Ends Well" by Shakespeare"""
> The play "All's Well That
at that point of comparison the module is already identical ("klass =
getattr(mod, name)")
Ah, didn't know that context.
even more corner-cases. Python's import-mechanism can sometimes be
rather foot-shoot-prone.
still don't see a real reason against the mere module+name comparison.
same iss
On Fri, 26 Feb 2010 13:29:04 +0100, candide wrote:
> But the first method doesn't run correctly :
>
>
print """The play "All's Well That Ends Well
> File "", line 1
> print """The play "All's Well That Ends Well
>^
> SyntaxEr
Hello,
System:
# rpm -q python m2crypto
python-2.4.3-27.el5
m2crypto-0.16-6.el5.6
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
I have the following method:
def ftp_tarball(aggregation_dir, date_format, ftp_server, ftp_user,
ftp_pass):
date = datetime.today(
Leo 4.7.1 final is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=29106
Leo 4.7.1 fixes a dangerous bug in Leo 4.7. When converting file-like
sentinels to thin-like sentinels in an external file, Leo now issues a
warning and sets the corresponding @file nod
Hi Luca,
On Feb 26, 2010, at 12:41 AM, Luca wrote:
MRAB wrote:
Perhaps you could use a different extension, eg ".pyn", so existing
".py" files are handled as-is but ".pyn" files are read through a
translator.
This could be a good idea... especially since i could make my own
extension since
PyCon 2010 is complete and plans for PyCon 2011 in Atlanta have already
begun! The main conference will once again be proceeded by two days of
tutorials. There was quite a bit of feedback from students and teachers
this year that we want to incorporate in next years classes. In order to do
this,
Find a new release of python-ldap:
http://www.python-ldap.org/
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
stuff (e.g. processin
>> pysandbox is a new Python sandbox project
Out of curiosity, the python sandbox behind google app engine is open source?
If so, how is it different from your project, if not, anyone knows if
it will be in the future?
Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putit
Is it possible to import from a cStringIO file object (containing
compiled byte code) vs. a physical file on disk?
I'm thinking that this is possible, given Python's ability to
import from zip files, but I'm not sure where to look next.
Thank you,
Malcolm
--
http://mail.python.org/mailman/listin
Andreas Waldenburger wrote:
On Thu, 25 Feb 2010 12:51:00 -0800 (PST) John Roth
wrote:
On Feb 24, 1:23 pm, Andreas Waldenburger
wrote:
a company that works with my company writes a lot of of their code
in Python (lucky jerks). I've seen their code and it basically
looks like this:
""
Le vendredi 26 février 2010 15:37:43, Daniel Fetchinson a écrit :
> >> pysandbox is a new Python sandbox project
>
> Out of curiosity, the python sandbox behind google app engine is open
> source? If so, how is it different from your project, if not, anyone knows
> if it will be in the future?
On 2010-02-26, Steven D'Aprano wrote:
> On Fri, 26 Feb 2010 13:29:04 +0100, candide wrote:
>
>> But the first method doesn't run correctly :
>>
>>
> print """The play "All's Well That Ends Well
>> File "", line 1
>> print """The play "All's Well That Ends Well
>>
On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
> Hi all,
>
> a company that works with my company writes a lot of of their code in
> Python (lucky jerks). I've seen their code and it basically looks like
> this:
>
> """Function that does stuff"""
> def doStuff():
> while not wise(up):
>
On Feb 26, 3:15 am, "Diez B. Roggisch" wrote:
> Am 26.02.10 06:07, schrieb darnzen:
>
>
>
>
>
> > Having an odd problem that I solved, but wondering if its the best
> > solution (seems like a bit of a hack).
>
> > First off, I'm using an external DLL that requires static callbacks,
> > but because
Am 26.02.10 16:32, schrieb darnzen:
On Feb 26, 3:15 am, "Diez B. Roggisch" wrote:
Am 26.02.10 06:07, schrieb darnzen:
Having an odd problem that I solved, but wondering if its the best
solution (seems like a bit of a hack).
First off, I'm using an external DLL that requires static call
On Feb 26, 1:12 am, Steven D'Aprano wrote:
> On Thu, 25 Feb 2010 21:07:55 -0800, darnzen wrote:
> > Having an odd problem that I solved, but wondering if its the best
> > solution (seems like a bit of a hack).
>
> > First off, I'm using an external DLL that requires static callbacks, but
> > becau
On Feb 26, 9:41 am, "Diez B. Roggisch" wrote:
> Am 26.02.10 16:32, schrieb darnzen:
>
>
>
>
>
> > On Feb 26, 3:15 am, "Diez B. Roggisch" wrote:
> >> Am 26.02.10 06:07, schrieb darnzen:
>
> >>> Having an odd problem that I solved, but wondering if its the best
> >>> solution (seems like a bit of a
Hi Everybody,
I do a fair bit of programming in Python and I have to say I find perl a
little intimidating right now as I don't have a lot of experience with
it however its the only language I have found that seemed to have a
library for what I need right now: Win32::Registry (or maybe
Win32::TieR
On Feb 26, 9:41 am, "Diez B. Roggisch" wrote:
> Am 26.02.10 16:32, schrieb darnzen:
>
>
>
>
>
> > On Feb 26, 3:15 am, "Diez B. Roggisch" wrote:
> >> Am 26.02.10 06:07, schrieb darnzen:
>
> >>> Having an odd problem that I solved, but wondering if its the best
> >>> solution (seems like a bit of a
I have lots of data that I currently store in dictionaries. However,
the memory requirements are becoming a problem. I am considering
using a database of some sorts instead, but I have never used them
before. Would a database be more memory efficient than a dictionary?
I also need platform indep
On 26 Feb, 13:29, candide wrote:
> Suppose you have to put into a Python string the following sentence :
>
> The play "All's Well That Ends Well" by Shakespeare
>
> It's easy do it :
>
> >>> print """The play "All's Well That Ends Well" by Shakespeare"""
>
> The play "All's Well That Ends Well" by
Am 26.02.10 16:57, schrieb darnzen:
On Feb 26, 9:41 am, "Diez B. Roggisch" wrote:
Am 26.02.10 16:32, schrieb darnzen:
On Feb 26, 3:15 am, "Diez B. Roggisch"wrote:
Am 26.02.10 06:07, schrieb darnzen:
Having an odd problem that I solved, but wondering if its the best
solution (seems
On Fri, Feb 26, 2010 at 10:58 AM, Jeremy wrote:
> I have lots of data that I currently store in dictionaries. However,
> the memory requirements are becoming a problem. I am considering
> using a database of some sorts instead, but I have never used them
> before. Would a database be more memo
r0g wrote:
> Hi Everybody,
>
> I do a fair bit of programming in Python and I have to say I find perl a
> little intimidating right now as I don't have a lot of experience with
> it however its the only language I have found that seemed to have a
> library for what I need right now: Win32::Registr
Am 26.02.10 17:08, schrieb Diez B. Roggisch:
Am 26.02.10 16:57, schrieb darnzen:
On Feb 26, 9:41 am, "Diez B. Roggisch" wrote:
Am 26.02.10 16:32, schrieb darnzen:
On Feb 26, 3:15 am, "Diez B. Roggisch" wrote:
Am 26.02.10 06:07, schrieb darnzen:
Having an odd problem that I solved, but
On Fri, Feb 26, 2010 at 7:58 AM, Jeremy wrote:
> I have lots of data that I currently store in dictionaries. Â However,
> the memory requirements are becoming a problem. Â I am considering
> using a database of some sorts instead, but I have never used them
> before. Â Would a database be more mem
On Feb 26, 3:58Â pm, Jeremy wrote:
> I have lots of data that I currently store in dictionaries. Â However,
> the memory requirements are becoming a problem. Â I am considering
> using a database of some sorts instead, but I have never used them
> before. Â Would a database be more memory efficien
On Fri, 26 Feb 2010 15:50:25 +0100 Jean-Michel Pichavant
wrote:
> Andreas Waldenburger wrote:
>
> > And they use mixedCase function/method names.
> >
> and ? whatIsTheProblem ?
Thanks for proving my point. ;)
No seriously though: Let it go. I wasn't being serious. As long as it
works and I
On Fri, 26 Feb 2010 09:09:36 -0600 Tim Daneliuk
wrote:
> On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
> > [stuff]
>
> Reminiscent of:
>
> mov AX,BX ; Move the contents of BX into AX
>
Well, there might be some confusion there as to what gets moved where,
wouldn't you say? I
In article
<891a98fa-c398-455a-981f-bf72af772...@s36g2000prh.googlegroups.com>,
Jeremy wrote:
> I have lots of data that I currently store in dictionaries. However,
> the memory requirements are becoming a problem. I am considering
> using a database of some sorts instead, but I have never us
In article ,
Tim Daneliuk wrote:
> On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
> > Hi all,
> >
> > a company that works with my company writes a lot of of their code in
> > Python (lucky jerks). I've seen their code and it basically looks like
> > this:
> >
> > """Function that does stuf
Andreas Waldenburger wrote:
> """Function that does stuff"""
> def doStuff():
> while not wise(up):
> yield scorn
>
> Now my question is this: How do I kill these people without the
> authorities thinking they didn't deserve it?
Their unit tests are just as complete, illustrative, and
pyt...@bdurham.com wrote:
> Is it possible to import from a cStringIO file object (containing
> compiled byte code) vs. a physical file on disk?
>
> I'm thinking that this is possible, given Python's ability to import
> from zip files, but I'm not sure where to look next.
>
> Thank you,
> Malco
"Andreas Waldenburger" wrote in message
news:20100226173907.55676...@geekmail.invalid...
>> Reminiscent of:
>>
>> mov AX,BX ; Move the contents of BX into AX
>>
> Well, there might be some confusion there as to what gets moved where,
> wouldn't you say?
Depends on what assembler
I'm developing an in house app. Many coders here are not fluent in
english, so docstrings must be in Spanish in spite of recommendations
that docstrings better be in English.
When I use accented characters (in this case an 'ó') in my docstrings I
get :
>>> help('OpMejoraBizobj')
Traceback (most rec
On Feb 26, 9:29Â am, Chris Rebert wrote:
> On Fri, Feb 26, 2010 at 7:58 AM, Jeremy wrote:
> > I have lots of data that I currently store in dictionaries. Â However,
> > the memory requirements are becoming a problem. Â I am considering
> > using a database of some sorts instead, but I have never
On Fri, 26 Feb 2010 11:39:51 -0500
Roy Smith wrote:
> Once you get into databases, platform independence will be an issue. There
> are many databases out there to pick from. If you want something which
> will work on a lot of platforms, a reasonable place to start looking is
> MySQL. It's fr
Hi,
Probably u should try couchdb! its a document oriented database. (
apache.couchdb.org)
u can store your dictionaries as json documents and yes they are simple
text files; data structures cna be directly stored into JSON documents.
memory efficient too..
python module @ http://code.google.com/
Jeremy wrote:
I have lots of data that I currently store in dictionaries. However,
the memory requirements are becoming a problem. I am considering
using a database of some sorts instead, but I have never used them
before. Would a database be more memory efficient than a dictionary?
I also nee
Jeremy wrote:
Shelve looks like an interesting option, but what might pose an issue
is that I'm reading the data from a disk instead of memory. I didn't
mention this in my original post, but I was hoping that by using a
database it would be more memory efficient in storing data in RAM so I
woul
Andreas Waldenburger wrote:
On Fri, 26 Feb 2010 09:09:36 -0600 Tim Daneliuk
wrote:
On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
[stuff]
Reminiscent of:
mov AX,BX ; Move the contents of BX into AX
Well, there might be some confusion there as to what
D'Arcy J.M. Cain wrote:
Or PostgreSQL. It's free, runs on lots of platforms, has good Python
support, and there's lots of people on the net who know it and are
willing to give help and advice. In addition, it is a truly enterprise
level, SQL standard, fully transactional database. Don't start
Roy Smith wrote:
In article ,
Tim Daneliuk wrote:
On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
Hi all,
a company that works with my company writes a lot of of their code in
Python (lucky jerks). I've seen their code and it basically looks like
this:
"""Function that does stuff
Hi, I have a small script that runs a TCP server. A client connects to
this server and transmits a stored file line-by-line, and then waits
for a confirmation "done". However, when I run them the first loop
never really ends -- as the TCP server keeps expecting more data. I am
using a file-like-obj
Roy Smith wrote:
/**
* Tracing facility. Writes the message to the specified output stream.
* If output stream is NULL, writes the message to the process log.
*
* @param msg_id The message id to use for lookup.
* @param ostrThe output stream.
* @param p1 The first substition p
Hi All,
I am getting error in "SystemError: error return without exception
set" which i am not able debug. I made following test program which
gives same error.
=test.py==
import numpy
class testClass:
def __init__(self,param1=1,param2=2):
self.param1,self.param2=
The Python 2.6.4 docs for collections at
http://docs.python.org/library/collections.html say that __next__() is an
abstract method for the Iterable ABC. But my understanding is that __next__()
isn't supposed to be used until Python 3. Also, I'm using the Mapping ABC,
which inherits from Iterabl
Gregory Ewing wrote:
Lawrence D'Oliveiro wrote:
And then there’s caching. Modern CPUs owe most of their speed to
assumptions that programs will obey locality of reference.
Pointer-chasing is a cache-
hostile activity.
Another thing to consider is the rate at which garbage is
created. Java's
Now that I use python, this is the amount of time
per day that I spend adding forgotten semicolons while
debugging other languages.
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Michael Pardee wrote:
>
>I'm relatively new to python and I was very surprised by the following
>behavior:
http://starship.python.net/crew/mwh/hacks/objectthink.html
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"Many customs in this life persist
Tobiah wrote:
> Now that I use python, this is the amount of time
> per day that I spend adding forgotten semicolons while
> debugging other languages.
You can fix that by not using other languages. :>
--
Matt Nordhoff
--
http://mail.python.org/mailman/listinfo/python-list
Shailendra wrote:
Hi All,
I am getting error in "SystemError: error return without exception
set" which i am not able debug. I made following test program which
gives same error.
=test.py==
import numpy
class testClass:
def __init__(self,param1=1,param2=2):
self
Tobiah wrote:
Now that I use python, this is the amount of time
per day that I spend adding forgotten semicolons while
debugging other languages.
My objects are flat and I don't know who's Guido.
I blame it all on Python.
How about a PEP "Let's make Python look like PHP"?
Regards,
mk
--
ht
Arjun Chennu wrote:
No need to flush because you're writing to a file and it'll be flushed
anyway when you close it.
True. I had introduced those flush lines while I was trying to
troubleshoot this annoying situation. :-)
You've closed the file view, but the underlying socket is sti
Steve,
> You'll need to write a custom importer. PEP 302 contains the necessary
> details.
Thanks for pointing me to PEP 302 and the imp module.
It looks like "imp.load_compiled(name, pathname[, file])" is what I
need, but the description of this method (and similar methods) has the
following
On Wed, 24 Feb 2010 20:16:24 +0100, mk wrote:
> On 2010-02-24 20:01, Robert Kern wrote:
>> I will repeat my advice to just use random.SystemRandom.choice() instead
>> of trying to interpret the bytes from /dev/urandom directly.
>
> Out of curiosity:
>
> def gen_rand_string(length):
> prng = r
On Feb 26, 10:08 am, Gary Robinson wrote:
> The Python 2.6.4 docs for collections
> athttp://docs.python.org/library/collections.htmlsay that __next__() is an
> abstract method for the Iterable ABC. But my understanding is that __next__()
> isn't supposed to be used until Python 3. Also, I'm us
On Wed, 24 Feb 2010 21:02:07 +0100, mk wrote:
[snip]
>
> rand_str_SystemRandom_seeding
> mean 3845.15384615 std dev 46.2016419186
> l 3926 1.75 std devs away from mean
> y 3916 1.53 std devs away from mean
> d 3909 1.38 std devs away from mean
> a 3898 1.14 std devs away from mean
> p 3898 1.14 st
On Feb 26, 10:58Â am, Jeremy wrote:
> I have lots of data
How much is "lots"?
> that I currently store in dictionaries. Â However,
> the memory requirements are becoming a problem. Â I am considering
> using a database of some sorts instead, but I have never used them
> before. Â Would a databas
* Michael Pardee:
I'm relatively new to python and I was very surprised by the following behavior:
a=1
b=2
'a' refers to an object representing the integer 1.
Since 1 is an immutable value you can just as well think of it as 'a' containing
the value 1, because a reference to an immutable va
How can I interrogate Python to find out where it is looking to find the PyQt4
DLLs in a Windows installation? Secondarily, how is this search path set?
--
http://mail.python.org/mailman/listinfo/python-list
Seems rather late...:
http://pythonmagazine.com/
"We'll be back, better than ever, on January 26th, 2010. "
Olivier
--
http://mail.python.org/mailman/listinfo/python-list
Jean-Michel Pichavant wrote:
> Andreas Waldenburger wrote:
>> On Fri, 26 Feb 2010 09:09:36 -0600 Tim Daneliuk
>> wrote:
>>> Reminiscent of:
>>> mov AX,BX ; Move the contents of BX into AX
>> Well, there might be some confusion there as to what gets moved where,
>> wouldn't you say?
Shelve looks like an interesting option, but what might pose an issue
is that I'm reading the data from a disk instead of memory. I didn't
mention this in my original post, but I was hoping that by using a
database it would be more memory efficient in storing data in RAM so I
wouldn't have to r
On 2010-02-26, Jean-Michel Pichavant wrote:
> Andreas Waldenburger wrote:
>> On Fri, 26 Feb 2010 09:09:36 -0600 Tim Daneliuk
>> wrote:
>>
>>
>>> On 2/24/2010 2:23 PM, Andreas Waldenburger wrote:
>>>
[stuff]
>>> Reminiscent of:
>>>
>>> mov AX,BX ; Move the c
I'm a python newbie but I do have some basic scripting experience. I
need to take the line starting with "wer" and extract the year and day
of year from that string. I want to be able to add the year and day
of year from the last line having "wer*" to the lines occurring in
between "wer*" lines.
* qtrimble:
I'm a python newbie but I do have some basic scripting experience. I
need to take the line starting with "wer" and extract the year and day
of year from that string. I want to be able to add the year and day
of year from the last line having "wer*" to the lines occurring in
between
On 26 fév, 22:08, qtrimble wrote:
> I'm a python newbie but I do have some basic scripting experience. I
> need to take the line starting with "wer" and extract the year and day
> of year from that string. I want to be able to add the year and day
> of year from the last line having "wer*" to th
On Fri, Feb 26, 2010 at 12:45 PM, Gib Bogle
wrote:
> How can I interrogate Python to find out where it is looking to find the
> PyQt4 DLLs in a Windows installation?
import sys
print(sys.path)
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 26, 4:14 pm, OdarR wrote:
> On 26 fév, 22:08, qtrimble wrote:
>
>
>
> > I'm a python newbie but I do have some basic scripting experience. I
> > need to take the line starting with "wer" and extract the year and day
> > of year from that string. I want to be able to add the year and day
1 - 100 of 156 matches
Mail list logo