Before calling pygame.init(), you can call pygame.mixer.pre_init.
Make sure the sample rate and sample size matches your audio file.
But most likely the issue is that the default audio buffer size of
1024 doesn't cut it for some sound cards; try increasing to the next
power of two.
Ex.
Hi
I need a benchmark for speed , comparing with other languages
Regards
Arsham
--
http://mail.python.org/mailman/listinfo/python-list
On 30/11/2007, Ben Finney [EMAIL PROTECTED] wrote:
Dotan Cohen [EMAIL PROTECTED] writes:
On 29/11/2007, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
Regardless of what Google/Yahoo/M$/AOL want you to think,
using a web-based mail client is typically the worst way to follow
On 29 Nov, 22:32, TheSeeker [EMAIL PROTECTED] wrote:
On Nov 29, 3:13 pm, mcl [EMAIL PROTECTED] wrote:
I have been given a url ofCSVfile (http://hostname/dir/file.csv),
which when I put the full URL in a web browser shows the contents of
the file.
I want to be able to use theCSVmodule
On Nov 30, 1:59 am, Vidyadhar74 [EMAIL PROTECTED] wrote:
Please check your hard disk partition is NTFS or FAT32 if it is FAT32
then Convert the partition to NTFS and unzip the 7zipped file on NTFS
partition.
Ok, I admit I don't understand what you mean by this.
--
George Sakkis a écrit :
On Nov 26, 2:04 pm, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
Donn Ingle a écrit :
I see someone already showed you eval. Eval is evil. Don't use it.
Especially if the functions are coming to you from a public URL!
Yes, I suggested to him (by email) this:
Hi,
I read that the getpixel function of the PIL library is relatively slow.
Which alternative is therefore faster and more efficient, accesing the
result of getdata() as a flat list or
using the function load(), and accessing pixels through the resulting
2-dimensional array?
Thanks a lot.
j.
On Dec 1, 1:58 am, [EMAIL PROTECTED] wrote:
Python is a good programming language, but Python is not a good
name.
First, python also means snake, Monty Python. If we search python in
google, emule, many results are not programming resource. If we search
PHP, all results are programming
What modules are you __import__ing, and what is platform-dependent in
each?
The only thing we're importing __import__ are some modules of ours, with no
sytem dependent code in them at all. Some of them are even empty modules,
as was suggested by one response (for benchmarking purposes).
[EMAIL PROTECTED] wrote:
If we search python in
google, emule, many results are not programming resource.
Have you actually tried this? When I do a google search
for python, the very *first* result I get is Python
Programming Language - Official Website.
Also, out of the first 10 results, 7
we search python in
google, emule, many results are not programming resource. If we search
PHP, all results are programming resource.
i'm agree!
On Dec 1, 2007 12:08 PM, [EMAIL PROTECTED] wrote:
Pytn
New name Pytn may be better, do you think so ?
--
Ok, so we have this code:
t = timeit.Timer(stmt='r()', setup='from __main__ import r')
sys.path.insert(0,'/path/to/code')
def r():
for m in ['three','module','names']:
try:
x = __import__(m)
except ImportError, e:
if not e.message.startswith('No
On Nov 30, 6:58 am, [EMAIL PROTECTED] wrote:
Python is a good programming language, but Python is not a good
name.
I agree that Python is not a good name for a programming language, but
I'm afraid we're stuck with it.
If I had invented Python, I would have called it Newton or Euler,
arguably
On Dec 1, 10:08 am, Joshua Kugler [EMAIL PROTECTED] wrote:
[I tried googling for this, didn't find anything relevant.]
We've recently been doing some profiling on a project of ours. It runs
quite fast on Linux but *really* bogs down on Windows 2003. We initially
thought it was the
Matt Nordhoff [EMAIL PROTECTED] wrote:
..snip..
Great, now the Google results will just be filled with AMD typoes. :-P
Clever! But typoes is a typo :-P
From m-w.com:
typo
Function:
noun
Inflected Form(s):
plural: typos
Etymology:
short for typographical (error)
Date:
1878
: an
On Nov 30, 5:08 pm, Joshua Kugler [EMAIL PROTECTED] wrote:
[I tried googling for this, didn't find anything relevant.]
We've recently been doing some profiling on a project of ours. It runs
quite fast on Linux but *really* bogs down on Windows 2003. We initially
thought it was the
Announcing
--
The 2.8.7.1 release of wxPython is now available for download at
http://wxpython.org/download.php. This release has had some bugs
fixed, some minor patches applied, and also incorporates the Google
Summer of Code 2007 version of XRCed, and adds the Editra source code
[I tried googling for this, didn't find anything relevant.]
We've recently been doing some profiling on a project of ours. It runs
quite fast on Linux but *really* bogs down on Windows 2003. We initially
thought it was the simplejson libraries (we don't use the C extensions) but
profiling
Every few months, i receive a hearty letter about how well people
agree with my criticism of Python's docs.
(see
http://xahlee.org/perl-python/python_doc_index.html
)
Here's one received this week:
--
Hello,
I landed on your website's comments about the Python
I hope you don't use Python to access the database, get a tuple back,
convert it to a string and then try to break up that string into a list!?
Sadly, that is the case. Well, kinda. I'm using psycopg2 to access
postgresql, which is great. Though postgres has more features than
psycopg2
Greetings:
My cookiejar contains the cookie that I need however when I do
cj.save(file) it does not actually save out to the cookies.lwj Does
anyone have any clue what would keep this from saving? It CREATED my
cookies.lwj file so I know it's not permissions.
cookies.lwp:
#LWP-Cookies-2.0
On 30 nov, 06:10, SMALLp [EMAIL PROTECTED] wrote:
Hello!
I'm new in wxPython and before i start doing anything I have one qustion.
Shoul I use some of editors like boa, spe or shoud i use my favorite
text editor!
i used IDLE on windows and it seamd nice. Now i have linux installed on
my
[EMAIL PROTECTED] wrote:
First, python also means snake, Monty Python. If we search
python in google, emule, many results are not programming
resource. If we search PHP, all results are programming resource.
Who cares? No one looking for special Python programming tips will
use only python as
SMALLp [EMAIL PROTECTED] writes:
Shoul I use some of editors like boa, spe or shoud i use my favorite
text editor!
Any text editor will, in a minimal way, do the job, so there's nothing
to enforce should. But since it seems you're asking for opinions:
A text editor is an indispensible tool
Ben Finney wrote:
I'm not interested in learning some centralised web-application
interface, and far prefer the discussion forum to be available by a
standard *protocol*, that I can use my choice of *local client*
application with.
I agree: I use Thunderbird, and it works well. But I
Try the free komodo edit.
it works on both windows, Linux and Mac OS X
http://www.activestate.com/Products/komodo_edit/
It is what is drawing me away from the kde editor kate
and I will close my message with a linke to the features list
and what Dabo does dovetails nicely.
Dovetails?
Sorry, English is not my native language ;)
A carpentry term where two pieces of wood are formed to fit
together to create the joint:
http://images.google.com/images?q=dovetail
Used metaphorically to mean as if they were meant to fit
On Nov 30, 2007 11:17 AM, Matt Nordhoff [EMAIL PROTECTED] wrote:
Tim Chase wrote:
(You'd think this was the Lisp ML, not Python... groans)
Atsp? :-)
--
Athp? Wait, no, Microsoft already claimed that one...
--
http://mail.python.org/mailman/listinfo/python-list
Pytn
New name Pytn may be better, do you think so ?
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 30, 3:07 pm, Wang, Harry [EMAIL PROTECTED] wrote:
$$ TestCase ID : 001
Step : deleteDvc,206268
Result Eval type : XmlChk
Step : deleteDvc,206269
Result Eval type : XmlChk
Traceback (most recent call last):
File C:\UDR2\UDRxmlGateway.py, line 388, in module
ParseAll()
File
$$ TestCase ID : 001
Step : deleteDvc,206268
Result Eval type : XmlChk
Step : deleteDvc,206269
Result Eval type : XmlChk
Traceback (most recent call last):
File C:\UDR2\UDRxmlGateway.py, line 388, in module
ParseAll()
File C:\UDR2\UDRxmlGateway.py, line 371, in ParseAll
if (PfFlag ==
Hi there,
I would like to know if such function would be correct for verifying
if a link is broken and/or circular.
def isvalidlink(path):
assert os.path.islink(path)
try:
os.stat(path)
except os.error:
return 1
return 0
--
[EMAIL PROTECTED] wrote:
On Nov 29, 5:46 pm, [EMAIL PROTECTED] wrote:
Hi all,
Fairly new Python guy here. I am having a lot of trouble trying to
figure this out. I have some data on some regulations in Excel and I
need to basically add up the total regulations for each country--a
Tim Couper wrote:
but it would mean that a version for large duration projects would be
MarAthon ...
Can't decide whether you were deliberately avoiding long-running
there, Tim, or just missed the opportunity :)
TJG
--
http://mail.python.org/mailman/listinfo/python-list
Does any one know who would be the webmaster ?
On Nov 29, 4:41 pm, Ben Finney [EMAIL PROTECTED]
wrote:
sjol [EMAIL PROTECTED] writes:
To the webmaster of python.org,
I have tried to have a job posted on the job board but! Alas, it
doesn't work and I cannot get a response from the
In Athon, the first letter A could pronounce as [ e ] .
For English speakers that pronunciation is just plain wrong.
Going back to my shell scripting days, I nominate nothyP as the new name.
--greg
--
http://mail.python.org/mailman/listinfo/python-list
but it would mean that a version for large duration projects would be
MarAthon ...
Dr Tim Couper
CTO, SciVisum Ltd
www.scivisum.com
Gerardo Herzig wrote:
div class=moz-text-flowed style=font-family:
-moz-fixed[EMAIL PROTECTED] wrote:
Python is a good programming language, but Python is
Bruno Desthuilliers schrieb
I have a file that might contain literal python
variable statements at every line. For example
the file info.dat looks like this:
users = [Bob, Jane]
status = {1:ok,2:users[0]}
the problem is I want to read this file and load
whatever variables
And if editor is bether choice witch one to use!
The two main choices that meet the criteria above are Vim and Emacs.
In my opinion, either is a good choice.
Both Vim and Emacs are hard to learn. In other words, they will
require that you spend at least some time studying how they work and
nmp a écrit :
Bruno Desthuilliers wrote:
nmp a écrit :
Hello to all. I am only just learning both Python and PyGTK (with
Glade). I also need to learn how to use databases in my programs. My
preliminary research leads me in the direction of SQLAlchemy, which
seems to be what everybody else
In Athon, the first letter A could pronounce as [ e ] .
For English speakers that pronunciation is just plain wrong.
You're trolling, right?
Yeth, obviouthly he ith... ;)
(You'd think this was the Lisp ML, not Python... groans)
-tkc
--
On Nov 30, 2007 9:20 AM, [EMAIL PROTECTED] wrote:
On Nov 30, 7:23 am, nmp [EMAIL PROTECTED] wrote:
Hello to all. I am only just learning both Python and PyGTK (with Glade).
I also need to learn how to use databases in my programs. My preliminary
research leads me in the direction of
On 2007-11-30, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
In Athon, the first letter A could pronounce as [ e ] .
For English speakers that pronunciation is just plain wrong.
You're trolling, right?
--
Grant Edwards grante Yow! As President I have
On 2007-11-30, mcl [EMAIL PROTECTED] wrote:
Brilliant - I had fears of much more complication.
I've been writing Python programs for almost 10 years, and I
still have that reaction not infrequently.
--
Grant Edwards grante Yow! I like the way ONLY
the list.sort method seems to do exactly what you want?
Unless your array() method is creating a custom array object with
different sort functionality than list?
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Python is a good programming language, but Python is not a good
name.
First, python also means snake, Monty Python. If we search python in
google, emule, many results are not programming resource. If we search
PHP, all results are programming resource.
Second, python
On 2007-11-30, Eduardo O. Padoan [EMAIL PROTECTED] wrote:
On Nov 30, 2007 11:18 AM, Peter Decker [EMAIL PROTECTED] wrote:
On Nov 30, 2007 1:19 AM, Tim Roberts [EMAIL PROTECTED] wrote:
You also have a couple of instances of:
print(Error Squeezing %s...)
The parentheses serve no
Hi,
I need to do a lot of string formating, and I have strings and/or
unicode strings and when I do the following:
%s %s % (u'Salut', 'H\xe4llo'), I get an exception :
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position
1: ordinal not in range(128)
How can I insure I don't get an
On Dec 1, 12:24 am, Thomas Guettler [EMAIL PROTECTED] wrote:
Sorry, but this does not work. If there is an ImportError
during importing the existing module, it won't get inserted
into sys.modules. I just tried it with a small example.
An other solution would be to inspect the traceback. If
nmp a écrit :
Bruno Desthuilliers wrote:
[..]
About DB access, there are two major APIs : the official (low-level -
that is,relatively to the other one...) db-api, and the higher-level
SQLAlchemy package. Note that while having an ORM part, SQLAlchemy is
first an higher-level SQL/Python
On Nov 30, 2007 11:36 AM, Hrvoje Niksic [EMAIL PROTECTED] wrote:
Eduardo O. Padoan [EMAIL PROTECTED] writes:
No, writing this way will confound the 2to3 tool.
Why? print(foo) is a perfectly valid Python 2 statement. Maybe
it's simply a matter of fixing the tool.
print(foo) -
On Nov 30, 7:23 am, nmp [EMAIL PROTECTED] wrote:
Hello to all. I am only just learning both Python and PyGTK (with Glade).
I also need to learn how to use databases in my programs. My preliminary
research leads me in the direction of SQLAlchemy, which seems to be what
everybody else is using.
On Nov 30, 10:01 am, Neil Cerutti [EMAIL PROTECTED] wrote:
On 2007-11-30, Eduardo O. Padoan [EMAIL PROTECTED] wrote:
On Nov 30, 2007 11:18 AM, Peter Decker [EMAIL PROTECTED] wrote:
On Nov 30, 2007 1:19 AM, Tim Roberts [EMAIL PROTECTED] wrote:
You also have a couple of instances of:
I'm still on 10.4 and I'm trying to build pyOpenSSL, but I'm failing
with Python.h trying to include and failing to find any of the shared
libraries. I can't figure this one out because i just don't compile
anything non trivial often.
ironfroggy:~/Desktop/pyOpenSSL-0.6 ironfroggy$ python setup.py
I havent looked much into string.template . I think i will have to now.
I went trying MAKO, Cheetah, Genshi and some others too. But in less time, I
got confused. I didn;t need a total language. Rather I just want to write my
xHTML/CSS/JS in a page with embedded placeholders like ${variableName}
On Nov 30, 2007 11:18 AM, Peter Decker [EMAIL PROTECTED] wrote:
On Nov 30, 2007 1:19 AM, Tim Roberts [EMAIL PROTECTED] wrote:
You also have a couple of instances of:
print(Error Squeezing %s...)
The parentheses serve no purpose here, and are unidiomatic.
I thought that with the
On Nov 30, 2007 1:19 AM, Tim Roberts [EMAIL PROTECTED] wrote:
You also have a couple of instances of:
print(Error Squeezing %s...)
The parentheses serve no purpose here, and are unidiomatic.
I thought that with the eventual dropping of 'print' as a statement in
Python 3, that writing it
Sorry, but this does not work. If there is an ImportError
during importing the existing module, it won't get inserted
into sys.modules. I just tried it with a small example.
An other solution would be to inspect the traceback. If the
app_name+'.management' is in it, it exists.
Graham Dumpleton
Benjamin schrieb:
On Nov 29, 2:34 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Benjamin schrieb:
Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the Mac bundle.
How should I go about doing this?
The py2app distutils
C-Sharifi Cluster Engine: The Second Success Story on Kernel-Level
Paradigm for Distributed Computing Support
Contrary to two school of thoughts in providing system software
support for distributed computation that advocate either the
development of a whole new distributed operating system (like
On 30 Nov, 06:16, Martin v. Löwis [EMAIL PROTECTED] wrote:
New to mac. I have leopard. What's the difference between python and
pythonw? So far (which isn't very far) I can't tell the difference.
IIUC, pythonw is linked with the WindowManager library, so it can do
GUI operations; python
On Nov 30, 2007 5:57 AM, Astan Chee [EMAIL PROTECTED] wrote:
Hi,
I have a file that might contain literal python variable statements at
every line. For example the file info.dat looks like this:
users = [Bob, Jane]
status = {1:ok,2:users[0]}
the problem is I want to read this file and load
Use threads or sub processes
On Nov 29, 2007 9:17 PM, Francesco Pietra [EMAIL PROTECTED] wrote:
Dennis:
Why am I using web-based email? As I work on several machines scp linked.
I
find often useful to see the same mail on different machines around,
without
downloading anything, just to
Google and wikipedia!
On Nov 30, 2007 9:39 AM, ArShAm Shirvani [EMAIL PROTECTED] wrote:
Hi
I need a benchmark for speed , comparing with other languages
Regards
Arsham
--
http://mail.python.org/mailman/listinfo/python-list
--
http://search.goldwatches.com/?Search=Movado+Watches
Martin Blume a écrit :
Astan Chee schrieb
I have a file that might contain literal python
variable statements at every line. For example
the file info.dat looks like this:
users = [Bob, Jane]
status = {1:ok,2:users[0]}
the problem is I want to read this file and load
whatever variables
Carl Banks a écrit :
On Nov 30, 4:40 am, Ant [EMAIL PROTECTED] wrote:
On Nov 30, 9:10 am, SMALLp [EMAIL PROTECTED] wrote:
(snip)
And if editor is bether choice witch one to use!
One with a spell checker would be a good start.
Punny.
indeed !-)
--
Hi!
Sorry, I don't understand english. But, with Babelfish-translation, I
recovered essence...
(you should learn French ; yes! yes! yes!)
I'm glad you found a solution
Thank you for your solicitude
if that executable doesn't honour the wait
I have just try on another CPU, with a very
Tim Roberts a écrit :
rm [EMAIL PROTECTED] wrote:
(snip)
You also have a couple of instances of:
print(Error Squeezing %s...)
The parentheses serve no purpose here, and are unidiomatic.
And FWIW, error messages should go to sys.stderr, not to sys.stdout
which is for normal program
Astan Chee schrieb
I have a file that might contain literal python
variable statements at every line. For example
the file info.dat looks like this:
users = [Bob, Jane]
status = {1:ok,2:users[0]}
the problem is I want to read this file and load
whatever variables written in it as normal
Méta-MCI (MVP) wrote:
Hi, Tim!
You are right, for shimgvw.dll (on XP / 2000, or some Vista). But
others Vista (ou users practice) had associate images with
WindowsPhotoGallery.exe.
But shimgvw.dll already exist.
I found that this line:
command = 'start %s /wait
Hi, Tim!
You are right, for shimgvw.dll (on XP / 2000, or some Vista). But
others Vista (ou users practice) had associate images with
WindowsPhotoGallery.exe.
But shimgvw.dll already exist.
I found that this line:
command = 'start %s /wait %s\\System32\\rundll32.exe
On Nov 30, 4:40 am, Ant [EMAIL PROTECTED] wrote:
On Nov 30, 9:10 am, SMALLp [EMAIL PROTECTED] wrote:
Hello!
I'm new in wxPython and before i start doing anything I have one qustion.
Shoul I use some of editors like boa, spe or shoud i use my favorite
text editor!
i used IDLE on
Méta-MCI (MVP) wrote:
Re!
I have found the problem. On Vista, the Windows-Photo-Galery (soft
default displayer) don't wait. Even with START /WAIT (in Image.py
_showxv), it don't wait.
Then, like the preview don't wait, the (next) DEL run prior the end of
the launch of the software
On Nov 30, 3:30 am, John Velman [EMAIL PROTECTED] wrote:
New to mac. I have leopard. What's the difference between python and
pythonw? So far (which isn't very far) I can't tell the difference.
I have a small application using TKinter that I was working on under
Linux. Both python and
Re!
I have found the problem. On Vista, the Windows-Photo-Galery (soft
default displayer) don't wait. Even with START /WAIT (in Image.py
_showxv), it don't wait.
Then, like the preview don't wait, the (next) DEL run prior the end of
the launch of the software ; and Windows-Photo-Galery
Hi,
A.T.Hofkamp wrote:
So what is the focus in the list?
I think 'science' is both too broad and in many cases not at all relevant for
the problem at hand.
[snip]
Any particular brand of science (CS, Math, Physics, Bio, Chemistry, other)?
Should I use Python for programming a
On Nov 30, 9:10 am, SMALLp [EMAIL PROTECTED] wrote:
Hello!
I'm new in wxPython and before i start doing anything I have one qustion.
Shoul I use some of editors like boa, spe or shoud i use my favorite
text editor!
i used IDLE on windows and it seamd nice. Now i have linux installed on
my
Hi!
Not a true solution ; because people who don't have IrfanView don't use
it.
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
hi everyone.. i've been chugging along learning python for a few months
now and getting answers to all needed questions on my own, but this one
i can't figure out nor can i find information on the internet about it,
possibly because i don't understand the right words to type into google..
i
On Nov 30, 2007 5:10 PM, SMALLp [EMAIL PROTECTED] wrote:
Hello!
I'm new in wxPython and before i start doing anything I have one qustion.
Shoul I use some of editors like boa, spe or shoud i use my favorite
text editor!
i used IDLE on windows and it seamd nice. Now i have linux installed
Hello!
I'm new in wxPython and before i start doing anything I have one qustion.
Shoul I use some of editors like boa, spe or shoud i use my favorite
text editor!
i used IDLE on windows and it seamd nice. Now i have linux installed on
my mashine and boa works, spe wont start, IDLE crashes
On Thu, 29 Nov 2007 12:12:20 -0800, Siah wrote:
I need to convert the string: '(a, b, c, d, e)' into the following
list ['a', 'b', 'c', 'd', 'e']. Much like a csv reader does. I usually
use the split function, but this mini-monster wouldn't properly get
split up due to those random quotations
Paul Boddie wrote:
I didn't proceed any
further than a simple wrapping around KDialog, Zenity and Xdialog,
since the aim is to cover more than the usual UNIX-like platforms.
However, I could make that code available separately
Thanks for the feedback and the links. I'd like to use your code
On Nov 30, 6:48 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Benjamin schrieb:
On Nov 29, 2:34 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Benjamin schrieb:
Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the
Today, I am very excited to announce the first release of the Apydia
API reference documentation generator for Python. It's designed as an
instantly serviceable replacement for Pudge's API documentation
generator. It won't generate complete websites from reST etc. like
Pudge does, though -
[1] http://www.python.org/pypi/desktop
Oh, just saw this link and fetched the code -- will have a look around.
\d
--
http://mail.python.org/mailman/listinfo/python-list
Tim Chase wrote:
(You'd think this was the Lisp ML, not Python... groans)
Atsp? :-)
--
--
http://mail.python.org/mailman/listinfo/python-list
Méta-MCI (MVP) wrote:
[Excuse my execrable French below]
Sorry, I don't understand english. But, with Babelfish-translation, I
recovered essence...
(you should learn French ; yes! yes! yes!)
Vraiment!
I have just try on another CPU, with a very new Vista-premium
(configuration of exit
Calvin Spealman schrieb:
I'm still on 10.4 and I'm trying to build pyOpenSSL, but I'm failing
with Python.h trying to include and failing to find any of the shared
libraries. I can't figure this one out because i just don't compile
anything non trivial often.
On Nov 30, 10:05 am, Martin Blume [EMAIL PROTECTED] wrote:
Bruno Desthuilliers schrieb
I have a file that might contain literal python
variable statements at every line. For example
the file info.dat looks like this:
users = [Bob, Jane]
status = {1:ok,2:users[0]}
the problem
Hi,
Okay, so I am in the mood to try this: Inform the user about what modules
the app requires in a graphical dialogue that can vary depending on what
the system already has installed. (It will fail-to output on cli)
I am running Kubuntu and I seem to have 'kdialog' installed by default (not
I'm happy to report the release of a PLOS paper: A Primer on Python
for Life Science Researchers.
It is a six page education paper introducing Python. If you have a
friend that is a researchers in a biological area and you think that
he may need to know Python, please send him this e-mail:
URL:
Kevac Marko a écrit :
On Nov 10, 8:39 pm, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
Don't think so. It's a surprise for many but then class attributes are
not that common in code or they even use this gotcha for
immutable default values. As long a the value isn't changed the default
Donn Ingle a écrit :
(about class attributes, instance attributes and lookup rules)
Okay, I sort of see that. It's not a property
For clarity, better s/property/attribute/ here. In Python, property is a
builtin class used for computed attributes.
of 'j' so it looks upwards
into the class.
Kevac Marko [EMAIL PROTECTED] writes:
When changing default value, is there any way to change class
attribute and all referenced attributes too?
class M:
name = uMarko
a, b = M(), M()
a.name = uKevac
print M.name, a.name, b.name
- Marko Kevac Marko
Is there any way to get
Eric
On Nov 30, 2007 12:26 PM, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
Carl Banks a écrit :
On Nov 30, 4:40 am, Ant [EMAIL PROTECTED] wrote:
On Nov 30, 9:10 am, SMALLp [EMAIL PROTECTED] wrote:
(snip)
And if editor is bether choice witch one to use!
One with a spell checker
Once you use urlopen you can read the website like a file
On Nov 30, 2007 10:58 AM, mcl [EMAIL PROTECTED] wrote:
On 29 Nov, 22:32, TheSeeker [EMAIL PROTECTED] wrote:
On Nov 29, 3:13 pm, mcl [EMAIL PROTECTED] wrote:
I have been given a url ofCSVfile (http://hostname/dir/file.csv),
On Nov 30, 4:33 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hey guys I am running Windows XP and am having an issue with a game
that my team has created. Whenever an audio file is played it creates
a very distorted, crackly sound. Any ideas what could be the issue?
Thanks
No,
and the
John Machin sj...exicon.net wrote:
Pythons are good snakes; they hypnotise the meaninglessly chattering
bandarlog and eat them. Beware!
What is a bandarlog - I know the bandersnatch and the boojum, but
bandarlog?
If it is something you can knit -
If I get you the wool, will you make me one?
Dennis:
Why am I using web-based email? As I work on several machines scp linked. I
find often useful to see the same mail on different machines around, without
downloading anything, just to set up the files on-the-fly for local trial
computation before sending a calculation to the mainframe.
1 - 100 of 193 matches
Mail list logo