Mag Gam wrote:
> Yes, the system has 64Gig of physical memory.
>
>
> What I meant was, is it possible to load to a hdf5 dataformat
> (basically NumPy array) without reading the entire file at first? I
> would like to splay to disk beforehand so it would be a bit faster
> instead of having 2 copi
Yes, the system has 64Gig of physical memory.
What I meant was, is it possible to load to a hdf5 dataformat
(basically NumPy array) without reading the entire file at first? I
would like to splay to disk beforehand so it would be a bit faster
instead of having 2 copies in memory.
On Tue, Jun
Hi,
I'm trying to graph something that looks like the bottom half of this
http://windirstat.info/images/windirstat.jpg
I was wondering if there is any API in python or wxPython specifically
to do this?
I know it is possible to do calculation manually and use floatcanvas or
something similar but
Hi,
I'm trying to graph something that looks like the bottom half of this
http://windirstat.info/images/windirstat.jpg
I was wondering if there is any API in python or wxPython specifically
to do this?
I know it is possible to do calculation manually and use floatcanvas or
something similar but
Do you even HAVE 14 gigs of memory? I can imagine that if the OS needs to
start writing to the page file, things are going to slow down.
--
http://mail.python.org/mailman/listinfo/python-list
"aberry" wrote in message
news:24146775.p...@talk.nabble.com...
I am facing an error on Unicode decoding of path if it contain a
folder/file
name starting with character 'u' .
Here is what I did in IDLE
1. >>> fp = "C:\\ab\\anil"
2. >>> unicode(fp, "unicode_escape")
3. u'C:\x07b\x07nil'
4.
On Mon, Jun 22, 2009 at 7:31 PM, bluefisher80 wrote:
> Hi
>
> Thanks for you tip,
>
> I am generating some code for another python application,
>
> so is there a better way for code generating? Actually i just need to
> generate some list objects to define EDI syntax using python.
Well, I would sa
On Mon, 22 Jun 2009 23:17:22 -0400, Mag Gam wrote:
> Hello All,
>
> I have a very large csv file 14G and I am planning to move all of my
> data to hdf5.
[...]
> I was wondering if anyone knows of any techniques to load this file
> faster?
Faster than what? What are you using to load the file?
Hello All,
I have a very large csv file 14G and I am planning to move all of my
data to hdf5. I am using h5py to load the data. The biggest problem I
am having is, I am putting the entire file into memory and then
creating a dataset from it. This is very inefficient and it takes over
4 hours to cr
pyt...@bdurham.com wrote:
> Saurabh,
>
> 1. The Dabo crew is doing some exciting thing. Might be worth checking
> out.
> http://dabodev.com
yes Dabo is doing a lot these days. Using wxPython for the GUI, a fast
interface for data supporting SQLite, MySQL,Postgres, Firebird, MsSQL and
Now a web
Hi!
Short: I need to turn a Python program that I (mostly) wrote into C code, and I
am at a loss.
Long: I'm doing research/programming for a professor, and we are working with
MIDI files (a type of simple music file). The research deals with generating
variations from a musical melody; current
Hi
Thanks for you tip,
I am generating some code for another python application,
so is there a better way for code generating? Actually i just need to generate
some list objects to define EDI syntax using python.
2009-06-23
bluefisher80
发件人: Chris Rebert
发送时间: 2009-06-23 09:55:41
On Mon, Jun 22, 2009 at 8:04 PM, Dave Angel wrote:
> CM wrote:
>
>> I'd like to launch a number of programs, one of which is a Python GUI
>> app, from a batch file launcher. I'd like to click the .bat file and
>> have it open all the stuff and then not show the "DOS" console.
>>
>> I can launch
2009/6/22 bluefisher80 :
>
> Actually I think i am just looking for
>
> print >> myFile.py, myListObj
Well, that syntax is deprecated. And you'd have to create the actual
file object. And put it in a variable.
So it's more like:
f = file("myFile.py", "w")
f.write(str(myListObj))
f.close()
Howeve
Actually I think i am just looking for
print >> myFile.py, myListObj
2009-06-23
bluefisher80
发件人: J. Cliff Dyer
发送时间: 2009-06-22 22:17:12
收件人: Jim Qiu
抄送: python-list
主题: Re: How to output a complex List object to a file.
Have you looked at the JSON module?
On Mon, 2009-06-22 at
Let me get my question more clear,
I want like the "structure" object printed into another python source file,
which i will use in other program.
The pickled format or even JSONed format does not fullfil my requirement, does
it?
Do i make it clear, I still need your guides.
Jim
Detail ste
In message , 1x7y2z9 wrote:
> Not sure if this is defined in a later version, but it would be nice
> to define re.NONE = 0 in the re module.
Do so:
re.NONE = 0
Problem solved.
--
http://mail.python.org/mailman/listinfo/python-list
CM wrote:
I'd like to launch a number of programs, one of which is a Python GUI
app, from a batch file launcher. I'd like to click the .bat file and
have it open all the stuff and then not show the "DOS" console.
I can launch an Excel and Word file fine using, e.g.:
Start "" "path/mydocument.do
Rhodri wrote:
They aren't talking about None, they're talking about a hypothetical
re.NONE to use as a flag to re.match() and the like. There's no
issue with defining that to be 0, since it is the correct value!
Ah, I see. That makes more sense. Thanks. :]
(... I fail at sending to mailing list
Re-ordered to eliminate the top-posting.
On Tue, 23 Jun 2009 00:47:49 +0100, Xavier Ho wrote:
On Tue, Jun 23, 2009 at 9:43 AM, MRAB wrote:
1x7y2z9 wrote:
I am currently using python v2.5.2.
Not sure if this is defined in a later version, but it would be nice
to define re.NONE = 0 in the
(arg, MRAB, sorry, wrong address!)
Defining None to 0 is a bad idea. You'll have trouble debugging later on.
Ching-Yun "Xavier" Ho, Technical Artist
Contact Information
Mobile: (+61) 04 3335 4748
Skype ID: SpaXe85
Email: cont...@xavierho.com
Website: http://xavierho.com/
On Tue, Jun 23, 2009 at
1x7y2z9 wrote:
I am currently using python v2.5.2.
Not sure if this is defined in a later version, but it would be nice
to define re.NONE = 0 in the re module. This would be useful in cases
such as:
flags = re.DOTALL if dotall else re.NONE
Also useful for "building up" flags by ORing with othe
On 6/22/2009 3:40 PM saurabh apparently wrote:
> I am an experienced C programmer and recently dived into python,
> I have developed an instant love for it.
> I have been doing some routine scripting for day to day admin tasks,also
> have done some Tkinter and socket programming using python.
>
>
Hi, I'm working on a version of Stackless
Python (2.5.2) for Nanodesktop PSP.
The interpreter works, but it is
slow.
So, I want to ask this: is there any
option/#define that I can pass to
pyconfig.h that makes faster the
interpreter ?
Which are the #define that affect the
performance of Stackles
ndPython for Nanodesktop
http://www.psp-ita.com/forum/viewtopic.php?t=28323
It shall be the most advanced, professional, reliable
Python interpreter for Playstation Portable but
there is actually a lack of performance and we are
working to identify the origin of the problem.
We need help.
--
On Jun 22, 2009, at 12:14 AM, Ben Charrow wrote:
What is subtly wrong about this piece of code? I can't see any bugs
and can't think of subtle gotchas (e.g. the '\' is removed or the
lines become separated, because in both cases an IndentationError
would be raised).
Perhaps, along with o
Greg Reyna wrote:
Learning
Python (on a Mac), with the massive help of Mark Lutz's excellent
book, "Learning Python".
What I want to do is this:
I've got a Class Object that begins with a def. It's designed to be
fed a string that looks like this:
"scene 1, pnl 1, 3+8, pnl 2, 1+12, pnl 3,
Saurabh,
1. The Dabo crew is doing some exciting thing. Might be worth checking
out.
http://dabodev.com
2. The Py2exe project is also looking for help (and some C experience
would be beneficial to this project).
http://py2exe.org
3. There's a bunch of encryption code floating around in native Py
Saurabh> I am looking for some open source python project preferably in
Saurabh> one of the above areas (not strictly, am open to others too) to
Saurabh> contribute.
If you have some Windows programming experience the SpamBayes project
(http://www.spambayes.org/) could use some assist
On 2009-06-22, Lie Ryan wrote:
> Ben Charrow wrote:
>> value = foo.bar()['first'][0]*baz.quux(1, 2)[5:9] \
>> + calculate_number(10, 20)*forbulate(500, 360)
>> What is subtly wrong about this piece of code? I can't see any bugs and
>> can't think of subtle gotchas (e.g. the '\' is removed
On Mon, Jun 22, 2009 at 6:17 AM, Jim Qiu wrote:
> Hi all,
>
> I have a object list list this:
> I need to output this "structure" object into a file, how to do that ?
Links for the modules mentioned:
http://docs.python.org/library/pickle.html
http://docs.python.org/library/json.html
Cheers,
Chr
I am currently using python v2.5.2.
Not sure if this is defined in a later version, but it would be nice
to define re.NONE = 0 in the re module. This would be useful in cases
such as:
flags = re.DOTALL if dotall else re.NONE
Also useful for "building up" flags by ORing with other flags.
Thanks
I'd like to launch a number of programs, one of which is a Python GUI
app, from a batch file launcher. I'd like to click the .bat file and
have it open all the stuff and then not show the "DOS" console.
I can launch an Excel and Word file fine using, e.g.:
Start "" "path/mydocument.doc"
But if I
Andre Engels wrote:
> On Mon, Jun 22, 2009 at 6:58 PM, zelegolas wrote:
>> Let me know if it's the right place to ask.
>>
>> I'm looking for wiki writen with python where I can import all
>> wikipedia site.
>> If you have any links please let me know.
>
> I don't think that's possible. If you wna
On Jun 22, 2009, at 2:16 PM, David C. Ullrich wrote:
On Mon, 22 Jun 2009 10:31:26 -0400, Charles Yeomans
wrote:
On Jun 22, 2009, at 8:46 AM, pdpi wrote:
On Jun 19, 8:13 pm, Charles Yeomans wrote:
On Jun 19, 2009, at 2:43 PM, David C. Ullrich wrote:
Hmm. You left out a bit in the
A big yes to Scott's remarks.
The first law of programming is:
"Write as you would be written unto".
Apologies to Kingsley.
Phil
-Original Message-
From: Scott David Daniels [mailto:scott.dani...@acm.org]
Sent: Tuesday, 23 June 2009 7:14 a.m.
To: python-list@python.org
Subject: Re: Go
On 22 Giu, 21:40, saurabh wrote:
> Hi There,
> I am an experienced C programmer and recently dived into python,
> I have developed an instant love for it.
> I have been doing some routine scripting for day to day admin tasks,also
> have done some Tkinter and socket programming using python.
>
> I
On Jun 11, 6:23 pm, Mensanator wrote:
> Removing the duplicates could be a big problem.
It is fairly easy to ignore duplicates in a sorted list:
from itertools import groupby
def unique(ordered):
"""Yield the unique elements from a sorted iterable.
"""
for key,_ in groupby(ordered):
On Mon, 2009-06-22 at 12:13 -0700, Greg Reyna wrote:
> Learning Python (on a Mac), with the massive help of Mark Lutz's
> excellent book, "Learning Python".
>
> What I want to do is this:
> I've got a Class Object that begins with a def. It's designed to be
> fed a string that looks like this:
Lawrence D'Oliveiro wrote:
... Use Python mapping objects.
Most real-world databases will fit in memory anyway.
Interesting theory. Certainly true for some definitions of "most"
and "real-world" (and "databases" for that matter).
--Scott David Daniels
scott.dani...@acm.org
--
http://mail.pyt
Hi There,
I am an experienced C programmer and recently dived into python,
I have developed an instant love for it.
I have been doing some routine scripting for day to day admin tasks,also
have done some Tkinter and socket programming using python.
I am looking for some open source python project
On Jun 22, 7:43 pm, David C. Ullrich wrote:
> Surely you don't say a curve is a subset of the plane and
> also talk about the integrals of verctor fields over _curves_?
> [snip rest of long response that needs a decent reply, but
> possibly not here... ]
I wonder whether we can find a better pl
Learning Python (on a Mac), with the massive help of Mark Lutz's
excellent book, "Learning Python".
What I want to do is this:
I've got a Class Object that begins with a def. It's designed to be
fed a string that looks like this:
"scene 1, pnl 1, 3+8, pnl 2, 1+12, pnl 3, 12, pnl 4, 2+4,"
I'
On 2009-06-22 13:31, Jean-Michel Pichavant wrote:
Moreover, writing numpy instead of np is not harder for the coder than
switching mentally from np to numpy for the reader. It's just about who
you want to make the life easier, the coder or the reader ?
It depends on the audience. For those fa
Chris Jones wrote:
Maybe I'm nitpicking, but the one thing I don't understand is how you
practice programming.
The term makes obvious sense when you're talking about your golf swing,
acquiring competitive driving skills, playing tetris..
But programming..??
It is practice in the same
On Mon, 22 Jun 2009 21:01:16 +0200, Andre Engels
wrote:
> On Mon, Jun 22, 2009 at 8:24 PM, ZeLegolas wrote:
>
>> Well sorry I was not clear. I have a wiki running with mediawiki and I
>> want
>> to import in a wiki written with python.
>
> I don't think it will work, but you could try using the
On Mon, Jun 22, 2009 at 8:24 PM, ZeLegolas wrote:
> Well sorry I was not clear. I have a wiki running with mediawiki and I want
> to import in a wiki written with python.
I don't think it will work, but you could try using the Special:Export page.
--
André Engels, andreeng...@gmail.com
--
ht
tanner barnes wrote:
Hi i was wondering how i should go about this problem: ok so i am
writing a program for my school's football team and to keep the stats
for each player there is a notebook with 3 tabs that has a txtctrl and a
+ and - button. i need to find a way to when you click the + or -
> I suggest you look at matplotlib.
+1
Another vote Matplotlib. It has impressive graphing/plotting
capabilities and is used as a Python module/library.
Description from site:
"matplotlib is a python 2D plotting library which produces publication
quality figures in a variety of hardcopy formats
On Fri, 19 Jun 2009 12:40:36 -0700 (PDT), Mark Dickinson
wrote:
>On Jun 19, 7:43 pm, David C. Ullrich wrote:
>> Evidently my posts are appearing, since I see replies.
>> I guess the question of why I don't see the posts themselves
>> \is ot here...
>
>Judging by this thread, I'm not sure that mu
Lie Ryan wrote:
Jean-Michel Pichavant wrote:
Maybe I've been a little bit too dictatorial when I was saying that
renaming namespaces should be avoided.
Sure your way of doing make sense. In fact they're 2 main purposes of
having strong coding rules:
1/ ease the coder's life
2/ ease the rea
On Mon, 22 Jun 2009 10:31:26 -0400, Charles Yeomans
wrote:
>
>On Jun 22, 2009, at 8:46 AM, pdpi wrote:
>
>> On Jun 19, 8:13 pm, Charles Yeomans wrote:
>>> On Jun 19, 2009, at 2:43 PM, David C. Ullrich wrote:
>>>
>>>
>>>
>>>
>>>
>>>
Hmm. You left out a bit in the first definition you cite:
On Mon, 22 Jun 2009 05:46:55 -0700 (PDT), pdpi
wrote:
>On Jun 19, 8:13 pm, Charles Yeomans wrote:
>> On Jun 19, 2009, at 2:43 PM, David C. Ullrich wrote:
>>
>>
>>
>>
>>
>> > Evidently my posts are appearing, since I see replies.
>> > I guess the question of why I don't see the posts themselves
>
BJörn Lindqvist wrote:
> 2009/6/22 :
>> Hello,
>>
>> I have thousends of files with logs from monitoring system. Each file
>> has some important data (numbers). I'd like to create charts using those
>> numbers. Could you please suggest library which will allow creating
>> such charts ? The preferr
On Mon, Jun 22, 2009 at 6:58 PM, zelegolas wrote:
> Let me know if it's the right place to ask.
>
> I'm looking for wiki writen with python where I can import all
> wikipedia site.
> If you have any links please let me know.
I don't think that's possible. If you wnat to import Wikipedia in a
wiki,
Jean-Michel Pichavant wrote:
> Maybe I've been a little bit too dictatorial when I was saying that
> renaming namespaces should be avoided.
> Sure your way of doing make sense. In fact they're 2 main purposes of
> having strong coding rules:
> 1/ ease the coder's life
> 2/ ease the reader's life
Does this help:
http://www.mediawiki.org/wiki/MoinMoin
On Mon, Jun 22, 2009 at 6:58 PM, zelegolas wrote:
> Let me know if it's the right place to ask.
>
> I'm looking for wiki writen with python where I can import all
> wikipedia site.
> If you have any links please let me know.
>
> Thanks
> --
>
I suggest you look at matplotlib. It's a bit of a learning curve but will
do whatever you need. I have a similar requirement and found that gnuplot
did not work for me. The plots are impressive.
Paul Simon
wrote in message
news:h1nv4q$5k...@news.dialog.net.pl...
> Hello,
>
> I have thousend
Let me know if it's the right place to ask.
I'm looking for wiki writen with python where I can import all
wikipedia site.
If you have any links please let me know.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Hi i was wondering how i should go about this problem: ok so i am writing a
program for my school's football team and to keep the stats for each player
there is a notebook with 3 tabs that has a txtctrl and a + and - button. i need
to find a way to when you click the + or - button it updates th
Leo 4.6 b2 is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=29106
Leo is a text editor, data organizer, project manager and much more. See:
http://webpages.charter.net/edreamleo/intro.html
The highlights of Leo 4.6:
--
- Cached ext
J. Cliff Dyer wrote:
On Mon, 2009-06-22 at 14:57 +0200, Jean-Michel Pichavant wrote:
J. Cliff Dyer wrote:
On Wed, 2009-06-17 at 14:13 +0200, Jean-Michel Pichavant wrote:
On Wed, Jun 17, 2009 at 04:14, Steven D'Aprano wrote:
What's np.arange?
przemol...@poczta.fm-n-o-s-p-a-m wrote:
Try Google Charts. It is quite excellent for easily creating simple
charts. There is also Gnuplot which is more advanced and complicated.
Both tools have python bindings.
By the way: do I need any access to internet while using this library ?
http://co
> aberry (a) a écrit:
>a> I am facing an error on Unicode decoding of path if it contain a folder/file
>a> name starting with character 'u' .
>a> Here is what I did in IDLE
>a> 1. >>> fp = "C:\\ab\\anil"
>a> 2. >>> unicode(fp, "unicode_escape")
>a> 3. u'C:\x07b\x07nil'
>a> 4. >>> fp = "C:\
aberry wrote:
I am facing an error on Unicode decoding of path if it contain a folder/file
name starting with character 'u' .
Here is what I did in IDLE
1. >>> fp = "C:\\ab\\anil"
The results in two single \s in the string.
Use / for paths, even on Windows, and you will have less trouble.
Kushal Kumaran wrote:
On Sun, Jun 21, 2009 at 9:04 PM, Vincent Davis wrote:
I am running python on a mac and when I was getting going it was difficult
to setup information. Specifically how modify bash_profile, how pythonpath
works and how to set it up. how to switch between python versions. How
tkp...@hotmail.com wrote:
> I think a setup guide for the Mac would prove very useful. Earlier
> this year, I tried installing Python 2.6 on my iMac, and ran into all
> sorts of problems, largely as a result of the fact that I knew very
> little about Unix. I finally downloaded and installed the
On Mon, Jun 22, 2009 at 3:06 AM, Kless wrote:
> Is there any way to check that it's installed a module without import
> it directly?
>
> I'm using the nex code but it's possible that it not been necessary to
> import a module
>
> -
> try:
> import module
> except ImportError:
>
2009/6/22 aberry :
>
> I am facing an error on Unicode decoding of path if it contain a folder/file
> name starting with character 'u' .
>
> Here is what I did in IDLE
> 1. >>> fp = "C:\\ab\\anil"
> 2. >>> unicode(fp, "unicode_escape")
> 3. u'C:\x07b\x07nil'
> 4. >>> fp = "C:\\ab\\unil"
> 5. >>> un
On Jun 22, 2009, at 8:46 AM, pdpi wrote:
On Jun 19, 8:13 pm, Charles Yeomans wrote:
On Jun 19, 2009, at 2:43 PM, David C. Ullrich wrote:
Hmm. You left out a bit in the first definition you cite:
"A simple closed curve J, also called a Jordan curve, is the image
of a continuous one-t
Have you looked at the JSON module?
On Mon, 2009-06-22 at 21:17 +0800, Jim Qiu wrote:
> Hi all,
>
> I have a object list list this:
>
> from bots.botsconfig import *
> from D96Arecords import recorddefs
> from edifactsyntax3 import syntax
>
> structure=[
> {ID:'UNH',MIN:1,MAX:1,LEVEL:[
> {I
On Mon, 2009-06-22 at 14:57 +0200, Jean-Michel Pichavant wrote:
> J. Cliff Dyer wrote:
> > On Wed, 2009-06-17 at 14:13 +0200, Jean-Michel Pichavant wrote:
> >
> >> On Wed, Jun 17, 2009 at 04:14, Steven D'Aprano wrote:
> >>
> What's np.arange?
>
>
> >>> import nu
On Jun 22, 2009, at 8:56 AM, aberry wrote:
thanks for suggestion...
what should I put in 'bashrc ' so that I can switch between different
version.
as python command will always point to one Python framework (lets
either
2.4.x or 2.5.x).
Something like this would work:
alias py25='/Librar
BJörn Lindqvist wrote:
> 2009/6/22 :
>> Hello,
>>
>> I have thousends of files with logs from monitoring system. Each file
>> has some important data (numbers). I'd like to create charts using those
>> numbers. Could you please suggest library which will allow creating
>> such charts ? The prefer
Piet van Oostrum wrote:
>I notice that I see several postings on news:comp.lang.python that are
>replies to other postings that I don't see.
Aahz wrote:
>As stated previously, my suspicion is that at least some is caused by a
>problem with MIME messages and the mail->news gateway on python.org
aberry wrote:
>
> thanks for suggestion...
> what should I put in 'bashrc ' so that I can switch between different
> version.
> as python command will always point to one Python framework (lets either
> 2.4.x or 2.5.x).
if you want to switch, put in there three different lines, and comment that
BJörn Lindqvist wrote:
> 2009/6/22 :
>> Hello,
>>
>> I have thousends of files with logs from monitoring system. Each file
>> has some important data (numbers). I'd like to create charts using those
>> numbers. Could you please suggest library which will allow creating
>> such charts ? The prefer
If you are looking for *classics*, then you can't beat Michael
Jackson's "Principles of Program Design" and "System Development".
They are pre-ObjectOriented, but if you really want to understand what
application programming is all about, this is where you should
start.
I also recommend Eric S. Ro
On Jun 22, 2009, at 9:17 AM, Jim Qiu wrote:
Hi all,
I have a object list list this:
from bots.botsconfig import *
from D96Arecords import recorddefs
from edifactsyntax3 import syntax
structure=[
{ID:'UNH',MIN:1,MAX:1,LEVEL:[
{ID:'BGM',MIN:1,MAX:1},
{ID:'DTM',MIN:1,MAX:5},
...snip...
2009/6/22 :
> Hello,
>
> I have thousends of files with logs from monitoring system. Each file
> has some important data (numbers). I'd like to create charts using those
> numbers. Could you please suggest library which will allow creating
> such charts ? The preferred chart is line chart.
>
> Bes
In article <4a3f4b46$0$11882$426a7...@news.free.fr>,
Bruno Desthuilliers wrote:
>Aahz a écrit :
>> In article <4a3b5dc3$0$2985$426a7...@news.free.fr>,
>> Bruno Desthuilliers wrote:
>>>
>>> NB : answering the OP (original post didn't show up on c.l.py ???)
>>
>> Correct. There's a problem with
Nick Craig-Wood wrote:
luca72 wrote:
There is a command for ctypes that help me to know the entry points
inside a library.
I don't know..
However nm on the library works quite well on the command line
$ nm --defined-only -D /usr/lib/libdl.so
A GLIBC_2.0
A GLIBC_2
Hi all,
I have a object list list this:
from bots.botsconfig import *
from D96Arecords import recorddefs
from edifactsyntax3 import syntax
structure=[
{ID:'UNH',MIN:1,MAX:1,LEVEL:[
{ID:'BGM',MIN:1,MAX:1},
{ID:'DTM',MIN:1,MAX:5},
{ID:'NAD',MIN:1,MAX:5,LEVEL:[
{ID:'CTA',MIN:0,MAX:5,LEVEL:[
Hello,
I have thousends of files with logs from monitoring system. Each file
has some important data (numbers). I'd like to create charts using those
numbers. Could you please suggest library which will allow creating
such charts ? The preferred chart is line chart.
Besides is there any library w
I am facing an error on Unicode decoding of path if it contain a folder/file
name starting with character 'u' .
Here is what I did in IDLE
1. >>> fp = "C:\\ab\\anil"
2. >>> unicode(fp, "unicode_escape")
3. u'C:\x07b\x07nil'
4. >>> fp = "C:\\ab\\unil"
5. >>> unicode(fp, "unicode_escape")
6.
7.
J. Cliff Dyer wrote:
On Wed, 2009-06-17 at 14:13 +0200, Jean-Michel Pichavant wrote:
On Wed, Jun 17, 2009 at 04:14, Steven D'Aprano wrote:
What's np.arange?
import numpy as np
--
Pierre "delroth" Bourdon
Étudiant à l'EPITA / Student at EPITA
Perfect example of
thanks for suggestion...
what should I put in 'bashrc ' so that I can switch between different
version.
as python command will always point to one Python framework (lets either
2.4.x or 2.5.x).
regards,
aberry
Diez B. Roggisch-2 wrote:
>
> aberry wrote:
>
>>
>> Switching between python ver
Here is what I use in easygui:
#--
# check python version and take appropriate action
#--
"""
>From the python documentation:
sys.hexversion contains the version number encoded as a single
integer. Thi
On Jun 19, 8:13 pm, Charles Yeomans wrote:
> On Jun 19, 2009, at 2:43 PM, David C. Ullrich wrote:
>
>
>
>
>
> > Evidently my posts are appearing, since I see replies.
> > I guess the question of why I don't see the posts themselves
> > \is ot here...
>
> > On Thu, 18 Jun 2009 17:01:12 -0700 (PDT),
I think a setup guide for the Mac would prove very useful. Earlier
this year, I tried installing Python 2.6 on my iMac, and ran into all
sorts of problems, largely as a result of the fact that I knew very
little about Unix. I finally downloaded and installed the Enthought
Python distribution for th
aberry wrote:
>
> Switching between python version
> Lets assume you have python 2.4.x and now you installed 2.5.x.By default
> python path will point to 2.4.x. To switch to python 2.5.x, use following
> commands...
>
> cd /usr/bin
> sudo rm pythonw
> sudo ln -s "/Library/Frameworks/Python.frame
luca72 wrote:
> Can you tell me how load a list of library
from ctypes.util import find_library
from ctypes import CDLL
for name in list_of_libraries:
lib = CDLL(find_library(name))
Do you actually read the documentation of ctypes? Or python, for that
matter?
Diez
--
http://mail.python.or
Switching between python version
Lets assume you have python 2.4.x and now you installed 2.5.x.By default
python path will point to 2.4.x. To switch to python 2.5.x, use following
commands...
cd /usr/bin
sudo rm pythonw
sudo ln -s "/Library/Frameworks/Python.framework/Versions/2.5/bin/pythonw"
py
Can you tell me how load a list of library
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
In message , Wilbert
Berendsen wrote:
> I' prefer:
>
> value = (foo.bar()['first'][0] * baz.quux(1, 2)[5:9] +
> calculate_number(10, 20) * forbulate(500, 360))
I prefer using a two-dimensional layout to make the expression
structure more obvious:
value = \
(
foo
On 21 Jun., 22:51, Scott David Daniels wrote:
> LorenzoDiGregoriowrote:
> > On 21 Jun., 01:54, Dave Angel wrote:
> >> ...
> >> class B(object):
> >> def __init__(self,test=None):
> >> if test==None:
> >> test = A()
> >> self.obj =()
> >> return
> > ...
> >
On 22 juin, 12:44, Kushal Kumaran
> Have you seen the page athttp://www.python.org/download/mac/and the
> pages linked from it?
>
As a (usefull) add-on : iPython (a must), I found this page a good
help :
http://www.brianberliner.com/2008/04/ipython-on-mac-os-x-105-leopard/
Olivier
--
http://mail
On 22 juin, 12:44, Kushal Kumaran
wrote:
> On Sun, Jun 21, 2009 at 9:04 PM, Vincent Davis
> wrote:
> > I am running python on a mac and when I was getting going it was difficult
> > to setup information. Specifically how modify bash_profile, how pythonpath
> > works and how to set it up. how to s
Op maandag 22 juni 2009, schreef Lawrence D'Oliveiro:
> value = \
> (
> foo.bar()['first'][0] * baz.quux(1, 2)[5:9]
> +
> calculate_number(10, 20) * forbulate(500, 360)
> )
I' prefer:
value = (foo.bar()['first'][0] * baz.quux(1, 2)[5:9] +
c
On 22 июн, 10:33, 马不停蹄的猪 wrote:
> Hi all,
> Does anybody use libgmail with proxy? I met error here.
I wouldn't recommend to use this module at all. It was writtent at the
time when no IMAP was available at Google. Now there are POP and IMAP,
so it's better to use them.
--
http://mail.python.org
1 - 100 of 125 matches
Mail list logo