Hi,
I'm happy to announce the first beta release of Wing IDE 3.0. It is
available from http://wingware.com/wingide/beta
Wing IDE is a commercial IDE designed specifically for Python programmers.
More information about the product and free trials are available at
http://wingware.com/
The major
The Python Packaging Index (the software formerly known
as Cheeseshop) is now available at
http://pypi.python.org/pypi
The old addresses (www.python.org/pypi, and
cheeseshop.python.org/pypi) will continue to work,
either as aliases or using HTTP redirections.
The software was renamed to its old
With help from Jens Vagelpohl, I'm pleased to announce a new release of
Mailinglogger that now supports filtering of log entries...
Mailinglogger enables log entries to be emailed either as the entries
are logged or as a summary at the end of the running process.
This pair of enhanced emailing
Details of the talks we'll be having at the UK Python conference in
September are now appearing on the website:
http://www.pyconuk.org/talks.html.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
On Mon, 30 Jul 2007 21:57:17 -0700, Nagarajan wrote:
a = []
import csv
reader = csv.reader(open(filename, r), delimiter='\t' )
for row in reader:
a.append( row )
I would keep a reference to the file to close it properly and the loop can
be replaced by a call to `list()`:
import csv
On Jul 30, 6:25 pm, [EMAIL PROTECTED] wrote:
I'm trying to store binary data in a sqlite database and call into the
db using pysqlite 3.
What I've got so far is this:
import sqlite
con = sqlite.connect(DB_PATH)
cur = con.cursor()
query = create table t1(
ID INTEGER PRIMARY
On 30 Lip, 23:43, Rohan [EMAIL PROTECTED] wrote:
I would like to get a list of sub directories in a directory.
If I use os.listdir i get a list of directories and files in that .
i only want the list of directories in a directory and not the files
in it.
anyone has an idea regarding this.
Hi
Ok, i see...
Thank you all :)
--
http://mail.python.org/mailman/listinfo/python-list
Star a écrit :
MIT's freshman survey, EECS 1 is taught in Python and Scheme, soon to be
just Python.
they should keep scheme or replace it with another (statically typed ?)
functional language IMHO.
OT
please do the world (or at least usenet and mailing lists users) a
favour : learn to
Hullo,
I have started to use Python's logging, and got a problem. I have created
some loggers and wrote some lines in the log. The problem is, that most of
the lines appear doubled in the log, and some lines do not appear at all.
Any ideas or comments are wellcome,
Gabor
Here is the code:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
[ ... ]
for fileName in fileNames:
fileBeginning = os.path.splitext(fileName)[0]
fileEnd = os.path.splitext(fileName)[1]
if fileEnd == .py:
print fileName
f=open(fileBeginning+.tmp, 'w')
f.write(Hello)
f.close
Hello,
I have one simple string, backspace character question.Here is my
example:
text=Hello\bworld
print text
HelloBSworld
Should this character \b (backspace) in this text return this:
Helloworld?
Regards,
Vedran
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
text=Hello\bworld
print text
HelloBSworld
Should this character \b (backspace) in this text return this:
Helloworld?
[EMAIL PROTECTED] ~ % python Python
2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple
On 31 srp, 11:44, [EMAIL PROTECTED] wrote:
Hello,
I have one simple string, backspace character question.Here is my
example:
text=Hello\bworld
print text
HelloBSworld
Should this character \b (backspace) in this text return this:
Helloworld?
Regards,
Vedran
Hi,
If you mean on
[EMAIL PROTECTED] wrote:
If you mean on operating system then unfortunately Windows XP.
I don't know for sure but maybe it doesn't support all ASCII escapes
codes.
Why do you care about \b anyway :-) ?
--
Lawrence, oluyede.org - neropercaso.it
It is difficult to get a man to understand
On 31 srp, 12:03, [EMAIL PROTECTED] (Lawrence Oluyede) wrote:
[EMAIL PROTECTED] wrote:
If you mean on operating system then unfortunately Windows XP.
I don't know for sure but maybe it doesn't support all ASCII escapes
codes.
Why do you care about \b anyway :-) ?
--
Lawrence,
On Jul 30, 11:49 pm, Brad Johnson [EMAIL PROTECTED]
wrote:
Huang, Shun-Hsien shuang at ercot.com writes:
but how do I copy a excel file into
database table by using Python?
I'm not sure if this helps, but you can access the Excel Automation model very
easily with:
import
[EMAIL PROTECTED] wrote:
On 31 srp, 12:03, [EMAIL PROTECTED] (Lawrence Oluyede) wrote:
[EMAIL PROTECTED] wrote:
If you mean on operating system then unfortunately Windows XP.
I don't know for sure but maybe it doesn't support all ASCII escapes
codes.
Why do you care about \b anyway :-)
Gabor Urban [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
--=_Part_36089_18686793.1185871599583
Hullo,
I have started to use Python's logging, and got a problem. I have
created some loggers and wrote some lines in the log. The problem is,
that most of the lines appear doubled in
I'm wondering if a generator that is within a 'with' scope exits the 'with'
when it encounters 'yield'.
I would like to use a generator to implement RAII without having to
syntactically enclose the code in the 'with' scope, and I am hoping that
the the yield does not exit the 'with' scope and
You are not going beyond basicConfig - I'd write the above as:
Intentionally didn't go beyond basicConfig. The problem is global
level configuration vs. easy local (in function or in class)
configuration.
logging.basicConfig(...)
def __init__(self, x):
self.x = x
self.log =
On Tue, 31 Jul 2007 07:34:09 -0400, Neal Becker [EMAIL PROTECTED] wrote:
I'm wondering if a generator that is within a 'with' scope exits the 'with'
when it encounters 'yield'.
I would like to use a generator to implement RAII without having to
syntactically enclose the code in the 'with' scope,
Hi ALL:
I have only been switched from matlab to python few
months ago. I having trouble of plotting images from a
matrix size of 8x1 (unfortunately that is the size
of my data.)
for example,
x = rand(8,1)
inshow(x)
I have tried to use matplotlib function imshow(), but
all i get is
Considering I am a beginner I did a little test. Funny results too. The
function I proposed (lists1.py) took 11.4529998302 seconds, while the
other one (lists2.py) took 16.141324 seconds, thats about 40% more.
They were run in IDLE from their own windows (F5).
Of course my little test may me
On Jul 31, 8:01 pm, [EMAIL PROTECTED] wrote:
On 31 srp, 11:44, [EMAIL PROTECTED] wrote:
Hello,
I have one simple string, backspace character question.Here is my
example:
text=Hello\bworld
print text
HelloBSworld
Should this character \b (backspace) in this text return this:
On Jul 31, 7:17 am, John Machin [EMAIL PROTECTED] wrote:
On Jul 31, 8:01 pm, [EMAIL PROTECTED] wrote:
On 31 srp, 11:44, [EMAIL PROTECTED] wrote:
Hello,
I have one simple string, backspace character question.Here is my
example:
text=Hello\bworld
print text
HelloBSworld
I am wanting to write a library in nasm and call it from python.
Because python can call c++ libraries.
And nasm can be used in c++.
So I was wondering how I would go about using nasm in python?
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 2007-07-31 at 00:13 -0700, 7stud wrote:
On Jul 30, 6:25 pm, [EMAIL PROTECTED] wrote:
I'm trying to store binary data in a sqlite database and call into the
db using pysqlite 3.
What I've got so far is this:
import sqlite
con = sqlite.connect(DB_PATH)
cur = con.cursor()
Gilles Ganault a écrit :
On Sun, 29 Jul 2007 06:40:35 +0200, Martin v. Löwis
[EMAIL PROTECTED] wrote:
Why do you say that the Win32 API lacks documentation? I find the
documentation at msdn.microsoft.com to be quite useful.
No, I meant documentation on how to write Win32 apps using PyWin.
Gilles Ganault a écrit :
On Sun, 29 Jul 2007 21:49:04 -0700, sturlamolden
[EMAIL PROTECTED] wrote:
Why inflict suffering on yourself with MFC when you can use wxPython
or PyGTK?
Because I'd like to avoid having to pack several MB + having to
install the toolkit. Considering the size of the
On Jul 31, 10:33 pm, Dustan [EMAIL PROTECTED] wrote:
On Jul 31, 7:17 am, John Machin [EMAIL PROTECTED] wrote:
On Jul 31, 8:01 pm, [EMAIL PROTECTED] wrote:
On 31 srp, 11:44, [EMAIL PROTECTED] wrote:
Hello,
I have one simple string, backspace character question.Here is my
hi everery one
I Need help on getting examles of how to create a toolbar with images
using wxpython on a windows pc
how can i add a toolbar to a GUI
all sample codes i could find contain errors.
i did the following but it is wrong!
what is it with the IMAGES? do i have to create them, load
On Jul 31, 6:41 am, Pei-Yu CHAO [EMAIL PROTECTED] wrote:
Hi ALL:
I have only been switched from matlab to python few
months ago. I having trouble of plotting images from a
matrix size of 8x1 (unfortunately that is the size
of my data.)
for example,
x = rand(8,1)
inshow(x)
I
hi
please am learning wxpython and I Need help on getting examles of how
to create a toolbar with images
that is add a toolbar to a Frame using wxpython
using wxpython on a windows pc
how can i add a toolbar to a GUI
all sample codes i could find contain errors.
i did the following but it is
Rohan wrote:
I would like to get a list of sub directories in a directory.
If I use os.listdir i get a list of directories and files in that .
i only want the list of directories in a directory and not the files
in it.
anyone has an idea regarding this.
How far down do you want to go?
All
Pei-Yu CHAO wrote:
Hi ALL:
I have only been switched from matlab to python few
months ago. I having trouble of plotting images from a
matrix size of 8x1 (unfortunately that is the size
of my data.)
for example,
x = rand(8,1)
inshow(x)
I have tried to use matplotlib
I am working with Python 2.5 on Windows XP (SP2).
How can I traverse a folder, loop through a list of files and get
their file name and extension in an elegant, pythonic way?
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 31 Jul 2007 07:23:06 -0700, Alchemist wrote:
I am working with Python 2.5 on Windows XP (SP2).
How can I traverse a folder, loop through a list of files and get
their file name and extension in an elegant, pythonic way?
Take a look at the `os` and the `os.path` modules. In
Alchemist a écrit :
I am working with Python 2.5 on Windows XP (SP2).
How can I traverse a folder, loop through a list of files and get
their file name and extension in an elegant, pythonic way?
http://docs.python.org/lib/module-os.path.html
http://docs.python.org/lib/os-file-dir.html
(=
On Jul 31, 8:41 am, Pei-Yu CHAO [EMAIL PROTECTED] wrote:
Hi ALL:
I have only been switched from matlab to python few
months ago. I having trouble of plotting images from a
matrix size of 8x1 (unfortunately that is the size
of my data.)
for example,
x = rand(8,1)
inshow(x)
I
Kept testing (just in case).
There was this other version of lists2.py (see below). So I created
lists3.py and lists4.py.
The resulting times are
lists1.py : 11.4529998302
lists2.py : 16.141324
lists3.py : 3.1713134
lists4.py : 20.983676
lists3.py is by
On Jul 31, 8:24 am, yadin [EMAIL PROTECTED] wrote:
hi
please am learning wxpython and I Need help on getting examles of how
to create a toolbar with images
that is add a toolbar to a Frame using wxpython
using wxpython on a windows pc
how can i add a toolbar to a GUI
all sample codes i
I don't have OpenBSD available, so I have to do all my research over
the web. I would really appreciate if this problem could be solved
for good. In the past, it was always difficult that the *BSDs would
hide interfaces if I say that my program uses XOPEN/Unix. Python
uses a POSIX+ approach:
Alchemist wrote:
I am working with Python 2.5 on Windows XP (SP2).
How can I traverse a folder, loop through a list of files and get
their file name and extension in an elegant, pythonic way?
Thank you.
try this:
for root, dirs, files in os.walk('.'):
for f in files:
print
NicolasG [EMAIL PROTECTED] wrote:
...
The problem is that I would like to work as a Python programmer but
all the job vacancies I can find requires a couple of years of
professional experience ... that I don't have. How a wanna be
programmer can start working as a programmer if there is no
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Mon, 30 Jul 2007 21:57:17 -0700, Nagarajan wrote:
a = []
import csv
reader = csv.reader(open(filename, r), delimiter='\t' )
for row in reader:
a.append( row )
I would keep a reference to the file to close it properly and the
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
code files? What's the regular expression for
locating a number with an arbitrary number of digits
seperated into an arbitrary number of blocks of an
arbitray number of digits with an arbitrary number
of whitespace characters between each block?
On Jul 30, 5:48 pm, beginner [EMAIL PROTECTED] wrote:
Hi,
If I have a number n and want to generate a list based on like the
following:
def f(n):
l=[]
while n0:
l.append(n%26)
n /=26
return l
I am wondering what is the 'functional' way to do the same.
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not sure which library is
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I am thinking about implementing a standalone soap server, but I am
not
On Jul 31, 11:37 am, [EMAIL PROTECTED] (Alex Martelli) wrote:
NicolasG [EMAIL PROTECTED] wrote:
...
The problem is that I would like to work as a Python programmer but
all the job vacancies I can find requires a couple of years of
professional experience ... that I don't have. How a
s1 = hello
s2 = s1.encode(utf-8)
s1 = an accented 'e': \xc3\xa9
s2 = s1.encode(utf-8)
The last line produces the error:
---
Traceback (most recent call last):
File test1.py, line 6, in ?
s2 = s1.encode(utf-8)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
17: ordinal
On Tue, 31 Jul 2007 09:01:42 -0300, Ricardo Aráoz wrote:
Considering I am a beginner I did a little test. Funny results too. The
function I proposed (lists1.py) took 11.4529998302 seconds, while the
other one (lists2.py) took 16.141324 seconds, thats about 40% more.
They were run in IDLE
En Tue, 31 Jul 2007 13:53:11 -0300, 7stud [EMAIL PROTECTED]
escribió:
s1 = hello
s2 = s1.encode(utf-8)
s1 = an accented 'e': \xc3\xa9
s2 = s1.encode(utf-8)
The last line produces the error:
---
Traceback (most recent call last):
File test1.py, line 6, in ?
s2 =
Can someone help me find the proper way to do AES encryption/decryption
using Python?
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
hi all,
this Tkinter very simple code work fine:
##
from Tkinter import *
win = Tk()
win.mainloop()
##
but if I try to open a message box, it happens:
Exception in Tkinter callback
Traceback (most recent call last):
File lib-tk/Tkinter.py,
On Jul 31, 11:18 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
str.decode and unicode.encode should NOT exist, or at least issue a
warning (IMHO).
Yes, that sounds like a good idea.
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 31, 10:19 am, JS [EMAIL PROTECTED] wrote:
Can someone help me find the proper way to do AES encryption/decryption
using Python?
Thanks!
I did a quick look around the internet and found this seemingly good
link AES in general. Might be a good start.
Hi,
I have the following code:
str = C:/somepath/folder/file.txt
for char in str:
if char == \\:
char = /
The above doesn't modify the variable 'str' directly. I'm still pretty new
to Python so if someone could explain to me why this isn't working and what
I can do to achieve the
Hi Steve,
On Jul 31, 11:42 am, Steve Holden [EMAIL PROTECTED] wrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
JS [EMAIL PROTECTED] writes:
Can someone help me find the proper way to do AES encryption/decryption
using Python?
http://google.com/search?q=AES+Python
--
http://mail.python.org/mailman/listinfo/python-list
Robert Dailey wrote:
Hi,
I have the following code:
str = C:/somepath/folder/file.txt
for char in str:
if char == \\:
char = /
The above doesn't modify the variable 'str' directly. I'm still pretty new
to Python so if someone could explain to me why this isn't working
In article [EMAIL PROTECTED],
Steve Holden [EMAIL PROTECTED] wrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data to the web.
I
beginner wrote:
Hi Steve,
On Jul 31, 11:42 am, Steve Holden [EMAIL PROTECTED] wrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has to be able to easily receive
requests from the web and post data
Robert Dailey wrote:
Hi,
I have the following code:
str = C:/somepath/folder/file.txt
for char in str:
if char == \\:
char = /
The above doesn't modify the variable 'str' directly. I'm still pretty
new to Python so if someone could explain to me why this isn't working
Jay Loden schrieb:
Robert Dailey wrote:
str = C:/somepath/folder/file.txt
for char in str:
if char == \\:
char = /
strings in Python are immutable - in other words, they cannot be updated in
place as you're doing above. However, that doesn't mean you can't achieve
what
Azazello wrote:
On Jul 31, 10:19 am, JS [EMAIL PROTECTED] wrote:
Can someone help me find the proper way to do AES encryption/decryption
using Python?
Thanks!
I did a quick look around the internet and found this seemingly good
link AES in general. Might be a good start.
Steven D'Aprano wrote:
On Tue, 31 Jul 2007 09:01:42 -0300, Ricardo Aráoz wrote:
Considering I am a beginner I did a little test. Funny results too. The
function I proposed (lists1.py) took 11.4529998302 seconds, while the
other one (lists2.py) took 16.141324 seconds, thats about 40%
Hi,
Could somebody please point me to a good resource to read about the
contexts, context managers, and with_statement
Best Rgd,
G.
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
Alex Martelli [EMAIL PROTECTED] wrote:
Open source projects do not require previous professional experience to
accept volunteers. So, one way out of your dilemma is to make a name
for yourself as an open source contributor -- help out with Python
itself and/or with
On Jul 31, 1:11 pm, Steve Holden [EMAIL PROTECTED] wrote:
beginner wrote:
Hi Steve,
On Jul 31, 11:42 am, Steve Holden [EMAIL PROTECTED] wrote:
beginner wrote:
Hi Everyone,
I am looking for a way to allow a standalone python process to easily
interactive with a few web pages. It has
On Jul 31, 12:30 pm, Fabio Z Tessitore [EMAIL PROTECTED]
wrote:
hi all,
this Tkinter very simple code work fine:
##
from Tkinter import *
win = Tk()
win.mainloop()
##
but if I try to open a message box, it happens:
Exception in Tkinter
Pei-Yu CHAO wrote:
Hi ALL:
I have only been switched from matlab to python few
months ago. I having trouble of plotting images from a
matrix size of 8x1 (unfortunately that is the size
of my data.)
for example,
x = rand(8,1)
inshow(x)
Read the docstrings, they explain
Il Tue, 31 Jul 2007 19:12:48 +, kyosohma ha scritto:
I'm not sure, but I don't think you need the win variable at all. I
can get it to work as follows:
code
from Tkinter import *
from tkMessageBox import showinfo
def reply():
showinfo(title='ciao', message='hello')
Hi,
I'm happy to announce the first beta release of Wing IDE 3.0. It is
available from http://wingware.com/wingide/beta
Wing IDE is a commercial IDE designed specifically for Python programmers.
More information about the product and free trials are available at
http://wingware.com/
The major
Thx guys
You gave me good ideas. At the moment I do not have time for it, but I would
like to write a summary.
Have fun
--
http://mail.python.org/mailman/listinfo/python-list
JS wrote:
Can someone help me find the proper way to do AES encryption/decryption
using Python?
Thanks!
Use pycrypto. You can roll it into a standalone program for any major
OS. See http://passerby.sf.net. Don't attempt to write your own AES
implementation for production software.
On Tue, 2007-07-31 at 14:57 -0400, G wrote:
Hi,
Could somebody please point me to a good resource to read about
the contexts, context managers, and with_statement
There's PEP 343 at http://www.python.org/dev/peps/pep-0343/. I don't
know if that fits your definition of good, but it
On Tue, 31 Jul 2007 10:45:26 -0700, 7stud wrote:
On Jul 31, 11:18 am, Gabriel Genellina [EMAIL PROTECTED]
wrote:
str.decode and unicode.encode should NOT exist, or at least issue a
warning (IMHO).
Yes, that sounds like a good idea.
It sounds like horrible idea as those are the ones
Is there a way to create a shared object in python?
Thx,
Edgar
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 31, 4:35 am, Gilles Ganault [EMAIL PROTECTED] wrote:
Because I'd like to avoid having to pack several MB + having to
install the toolkit. Considering the size of the typical Python
script, it seemed overkill.
But you are happy to pack a Python runtime and PyWin32? This is really
a dumb
On Jul 31, 2:37 pm, Delgado, Edgardo CIV NAVAIR 4.1.4.3
[EMAIL PROTECTED] wrote:
Is there a way to create a shared object in python?
Thx,
Edgar
You can save variables in a separate module. Something like this
structure works quite well:
code
# shared.py
# shared variables / object
someNum
Chris Mellon [EMAIL PROTECTED] writes:
Better hand in your computer, then. You're never going to find a
situation where the environment won't affect the running time of your
algorithms.
The environment may affect the running time by an additive or linear
multiplicative constant but it should
Hey,
Thanks a lot for your answers guys. I had already known that strings are
immutable, but having been a C++ programmer for years I'm still trying to
get over the fact that it's not std::string :) The python documentation
isn't that easy to navigate in my opinion, so I wasn't able to find the
With help from Jens Vagelpohl, I'm pleased to announce a new release of
Mailinglogger that now supports filtering of log entries...
Mailinglogger enables log entries to be emailed either as the entries
are logged or as a summary at the end of the running process.
This pair of enhanced emailing
Turn your Computer into a Ultimate TV
• Watch all your favorite shows on your Computer TV!
• Channels you can’t get any other place in the U.S.A!
• Watch from anywhere in the world!
• Save 1000's of $$$ over many years on cable and satellite bills
• INSTANT DOWNLOAD
• And much, much more!
For
Il Tue, 31 Jul 2007 15:37:26 -0400, Delgado, Edgardo CIV NAVAIR 4.1.4.3
ha scritto:
Is there a way to create a shared object in python?
Thx,
Edgar
Usually object are shared in Python. i.e.
# a list
l = [ 1 , 2 , 3 ]
# a list containing l
m = [ l, 4, 5 ] # now m is [ [1,2,3] , 4
Robert Dailey wrote:
Hey,
Thanks a lot for your answers guys. I had already known that strings are
immutable, but having been a C++ programmer for years I'm still trying to
get over the fact that it's not std::string :) The python documentation
isn't that easy to navigate in my opinion, so
Azazello wrote:
We're looking to run some industrial machinery from a PC. Starting
with some basic servo controls and IO port reading for something like
an XYZ table (just X would be a good start!). Now there is some
existing software out there for PC control but this software is, to my
HI all,
I am using python v2.5 and I am an amateur working on python. I am
extending python for my research work and would like some help and
guidance w.r.t this matter from you experienced python developers.
II want to add some more KEYWORDS and DATATYPES into the python script
apart from the
From my experience, this primitive will fail with 'no child processes'
at the waitpid call if the forked child dies very quickly - before the
parent is scheduled back for execution. This seems to happen because
Python has a default SIGCHLD handler that, in this case, will reap the
process
Hi,
I'm looking for an elegant solution to the following (quite common)
problem:
Given a string of substrings separated by white space,
split this into tuple/list of elements.
The problem are quoted substrings like
abc xy z 1 2 3 a \ x
should be split into ('abc','xy z','1 2 3','a x')
For
str.decode and unicode.encode should NOT exist, or at least issue a
warning (IMHO).
Yes, that sounds like a good idea.
It sounds like horrible idea as those are the ones that are really needed.
Correct.
One could argue about `str.encode` and `unicode.decode`. But there are at
least
There's been some chatter on edu-sig (python.org) of late regarding
Python's
capabilities in the edit/continue tradition, meaning debugging
tools, and/or
IDE tools, that give the developer real time write access to running
programs.
I think a good design would be something like the ZODB, or the
Jay Loden schrieb:
I have to agree with you WRT to the Python documentation, it does tend to be
lacking and difficult to find things at times. In this case the two ways I
can think of to look for something like this would have been:
Hmm, I find the Python documentation just excellent. You
Helmut Jarausch wrote:
Hi,
I'm looking for an elegant solution to the following (quite common)
problem:
Given a string of substrings separated by white space,
split this into tuple/list of elements.
The problem are quoted substrings like
abc xy z 1 2 3 a \ x
should be split into
Delgado, Edgardo CIV NAVAIR 4.1.4.3 wrote:
Is there a way to create a shared object in python?
What's a shared object? Do you mean IPC or .so libraries, or
something different?
Regards,
Björn
--
BOFH excuse #404:
Sysadmin accidentally destroyed pager with a large hammer.
--
Hexamorph schrieb:
Jay Loden schrieb:
I have to agree with you WRT to the Python documentation, it does tend
to be lacking and difficult to find things at times.
Hmm, I find the Python documentation just excellent. You are
searching for a *string* related problem? Then just check the
The Python Packaging Index (the software formerly known
as Cheeseshop) is now available at
http://pypi.python.org/pypi
The old addresses (www.python.org/pypi, and
cheeseshop.python.org/pypi) will continue to work,
either as aliases or using HTTP redirections.
The software was renamed to its old
On Tue, 2007-07-31 at 22:30 +0200, Helmut Jarausch wrote:
Hi,
I'm looking for an elegant solution to the following (quite common)
problem:
Given a string of substrings separated by white space,
split this into tuple/list of elements.
The problem are quoted substrings like
abc xy z 1
1 - 100 of 146 matches
Mail list logo