[EMAIL PROTECTED] wrote:
> Hi
>
> I want to write a python script that accepts input ( a single line of
> text) from another program (squid proxy) and sends back output ( a
> single line of text). I am not sure how to go about this
>
Traditionally one of the popenN() functions would have been the
Dear All,
I am working on a module that validates the provided CSV data in a text
format, which must be in a predefined format.
We check for the :
1. Number of fields provided in the text file,
2. Text checks for max. length of the field & whether the field is
mandatory or optional
Example:
Amaury Forgeot d'Arc írta:
> Laszlo Nagy a écrit :
>
>> I wrote a little win32 console application that uses libxml2. It is
>> working fine. If I create an .exe version, I get this error when I try
>> to start the program:
>>
>> Traceback (most recent call last):
>> File "MyProgram.py", line
Hi,
I have to make internet connections through an ISA proxy server that
use NTLM or Kerberos authorization method.
I've found a program in python called ntlmaps that act like a proxy and
could make the NTLM authentication, but you have to run it and make all
your connection through it, not an opti
Carl Banks wrote:
> Bruno Desthuilliers wrote:
>> In python, assignement is a statement, not an expression, so there's no
>> way you could write 'if obj = None' by mistake (-> syntax error). So
>> this style is unpythonic. Also, None is a singleton, and identity test
>> is way faster than equality
Steve Holden <[EMAIL PROTECTED]> writes:
> You write as though the GIL was invented to get in the programmer's
> way, which is quite wrong. It's there to avoid deep problems with
> thread interaction. Languages that haven't bitten that bullet can bite
> you in quite nasty ways when you write thread
[EMAIL PROTECTED] wrote:
> Probably just me. I've only been using Access and SQL Server
> for 12 years, so I'm sure my opinions don't count for anything.
>
SQLite never pretended to be a full-blown RDBMS - just a lightweight
simple embedded database as SQL-compliant as possible. In it's category,
[EMAIL PROTECTED] wrote:
> Hi, why does
>
import compiler
compileFile("foo.py")
>
> complain name 'compileFile' not defined.
Probably because it's not ?
import imports the name in the current
namespace. Then let you access all the names defined in
namespace. So in you're case,
[EMAIL PROTECTED] wrote:
> What is the correct way to download a file through HTTP and save it to
> the file name suggested by "Content-Disposition"?
>
Perhaps something along the lines of the following?
>>> url =
>>> r'http://www.4so9.com/cauca/files/ban-doc/francois/stingray/198%20lb%20stingra
[EMAIL PROTECTED] wrote:
> Hi
>
> I want to write a python script that accepts input ( a single line of
> text) from another program (squid proxy) and sends back output ( a
> single line of text). I am not sure how to go about this
>
> cheers David
If you want the script to recieve this line in s
4 Sep 2006 19:19:24 -0700, Sandra-24 <[EMAIL PROTECTED]>:
> If there was a mod_dotnet I wouldn't be using
> CPython anymore.
I guess you won't be using then: http://www.mono-project.com/Mod_mono
--
Felipe.
--
http://mail.python.org/mailman/listinfo/python-list
I'm very new to Python, so consider this a silly newbie question...
Anyway, I'm building a small application to generate a XML. Using document
from minidom, I'm doing something like :
from xml.dom.minidom import Document
doc = Document()
c = doc.createElement("sometest")
doc.appendChild(c)
tmp
Hi All.
I'm newbee. I try to check syntax any XML file. I don't have any dtd or
shema file to this xml.
Is this possible that I check syntax in any xml file in python.
Regards,
Dreamen
--
http://mail.python.org/mailman/listinfo/python-list
Saluton!
Alex Martelli wrote:
> GVIM (and the normal Python interpreter) work better for me: to perform
> such a task, I would always write (and run) a script, of course (the
> purpose of the chroot step is somewhat mysterious here, btw). If I have
> to perform a strange and complex task once, it
RuPy 2007
Python & Ruby Conference
Poznan, Poland
April 7-8, 2007
RuPy is a Python & Ruby conference.
It will be held at Adam Mickiewicz University,
in Poznan, Poland, so it is relatively
accessible from both the East and the West of Europe.
The philosophy of RuPy is to put together Python & Rub
Greetings,
Does anybody know of or is working on any python modules that allow for
a direct but higher-level interface to OpenGL? For example, quick
functions to draw lines, curves, and basic shapes; define hsb color
mode; fill and stroke operations; easy loading of images, svg files,
etc (much li
[EMAIL PROTECTED] wrote:
> Hi, why does
>
> >>> import compiler
> >>> compileFile("foo.py")
>
> complain name 'compileFile' not defined. But
>
> >>>from compiler import *
>
> works. Why? (I did read the tutorial, it seems to say "import module"
> should work.
>
> Thank you, Mark
I did some as
[EMAIL PROTECTED] wrote:
> I'm newbee. I try to check syntax any XML file. I don't have any dtd or
> shema file to this xml.
> Is this possible that I check syntax in any xml file in python.
There are two forms of checking xml-documents:
- well-formedness, which means that the document adheres t
Leon wrote:
> http://www.processing.org/reference/index.html). The closest
> thing I could find was devachan -
Hava a look at Amanith http://www.amanith.org
OpenGL is that "low" level by design. Everything beyond is to be
packed into other libraries.
Wolfgang Draxinger
--
E-Mail address works,
"Paddy" <[EMAIL PROTECTED]> wrote:
>
> import module1
> # namespace becomes:
>\-/
> |module1.moduleFunc1 |
> |module1.moduleClass1: |
> | class1Method1 |
> | class1Method2 |
> |module1.moduleFunc2 |
> |module1.moduleVar1 |
On 2006-09-04, Tim Chase <[EMAIL PROTECTED]> wrote:
Hi,
[nested tuples]
thanks - I should not post before 8 am or 10 pm ...
Regards
Georg Sauthoff
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone,
I want to create a test that will do a proper login test to a web site
but I need some pointers.
I need to login to the website by accessing an https url and posting to
that, which should return a very small 302 reply with the address of the
internal page. I need to take that page
Hi All,
I have this BaseHTTPServer.HTTPServer that is located at C:\ (im on
Windows XP), when i run the program (httpserver.pyw) from the Run
Dialog as "C:\httpserver.pyw" the root folder ("\") for http server is
C:\, but when i add an entry to Registry Run so that it runs at boot
time, the root f
> So it seems the dom module sorts the attributes alphabetically. Is there any
> way I can prevent it from doing that ? What I want is to list them out in
> the same order as they are added in the code...
I don't know how to do what you ask, I'm just here to warn you that you
shouldn't rely on th
Georg Brandl wrote:
> lazaridis_com wrote:
> > Georg Brandl wrote:
> >> lazaridis_com wrote:
> >> > I would like to fulfill the following task:
> >> >
> >> > The construct:
> >> >
> >> > if __name__ == '__main__':
> >> >
> >> > should be changed to something like:
> >> >
> >> > if identifier.name =
Bruno Desthuilliers wrote:
> lazaridis_com wrote:
> > Ο/Η Bruno Desthuilliers έγραψε:
> >> lazaridis_com wrote:
> >>> John Salerno wrote:
> Are there any major differences between these two? It seems they can
> both be used with TurboGears, and SQLAlchemy with Django. I'm just
> wond
lazaridis_com wrote:
> Georg Brandl wrote:
>
>>lazaridis_com wrote:
>>
>>>Georg Brandl wrote:
>>>
lazaridis_com wrote:
>I would like to fulfill the following task:
>
>The construct:
>
>if __name__ == '__main__':
>
>should be changed to something like:
>
>>>
placid wrote:
> Hi All,
>
> I have this BaseHTTPServer.HTTPServer that is located at C:\ (im on
> Windows XP), when i run the program (httpserver.pyw) from the Run
> Dialog as "C:\httpserver.pyw" the root folder ("\") for http server is
> C:\, but when i add an entry to Registry Run so that it run
Hi,I am writing a specialized xml serialization function, and I would like to be able to serialize the value of a simple object with the object name as the tag. For example: first_name = 'Fred' sXML = my_xml_serializer(first_name)
should result in sXML = 'Fred'I can get class and field names, bu
Hari Sekhon wrote:
> If anybody knows how to do this could they please give me a quick
> pointer and tell me what libraries I need to go read up on?
>
One word. Selenium.
-Sandra
--
http://mail.python.org/mailman/listinfo/python-list
2006-09-05 15:49 +0200, Gardner Pomper <[EMAIL PROTECTED]>:
> Hi,
>
> I am writing a specialized xml serialization function, and I would like to
> be able to serialize the value of a simple object with the object name as
> the tag. For example:
>
>first_name = 'Fred'
>
> sXML = my_xml_seriali
On 2006-09-04, George Sakkis <[EMAIL PROTECTED]> wrote:
> Dr. Pastor wrote:
>> In the following code I would like to ascertain that x has/is
>> a number. What the simplest TEST should be? (Could not find
>> good example yet.)
>> ---
>> x=raw_input('\nType a number from 1 to 20')
>> if TEST :
>>
Steve Holden wrote:
> Quite right too. You haven't even sacrificed a chicken yet ...
Hopefully we don't get to that point.
> You write as though the GIL was invented to get in the programmer's way,
> which is quite wrong. It's there to avoid deep problems with thread
> interaction. Languages tha
hiaips wrote:
>
> Outdated??? It's Python 2.4.3 (and they already have a build for
> 2.5rc1), so I'm not sure what you mean.
>
There have been a couple of releases of Python 2.4.3 "universal" on OS
X.The first one was quietly posted for download from one of the
developers' .Mac account, and an
hiaips wrote:
>
> Outdated??? It's Python 2.4.3 (and they already have a build for
> 2.5rc1), so I'm not sure what you mean.
>
Also, for what it's worth, I strongly recommend the packages hosted at
pythonmac.org; these are built and tested by the core MacPython developers.
--
Kevin Walzer
Poe
bayerj wrote:
> Then you can use POSH [1] to share data and objects.
Do you use POSH? How well does it work with current Python?
Any major gotchas?
I think POSH looks like a great thing to have, but the latest
version is an alpha from over three years ago. Also, it only
runs on *nix systems.
-
poplib cannot receive hotmail.
Paul McGuire wrote:
> "" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > thanks.
> >
>
> poplib
--
http://mail.python.org/mailman/listinfo/python-list
Sandra> However, I don't expect that the GIL can be safely removed from
Sandra> CPython.
It was removed at one point in the dim, dark past (circa Python 1.4) on an
experimental basis. Aside from the huge amount of work, it resulted in
significantly lower performance for single-threaded a
Felipe Almeida Lessa wrote:
> 4 Sep 2006 19:19:24 -0700, Sandra-24 <[EMAIL PROTECTED]>:
> > If there was a mod_dotnet I wouldn't be using
> > CPython anymore.
>
> I guess you won't be using then: http://www.mono-project.com/Mod_mono
>
Oh I'm aware of that, but it's not what I'm looking for. Mod_mon
Hi all,
> And yet, Java programmers manage to write threaded applications all
> day long without getting bitten (once they're used to the issues),
> despite usually being less skilled than Python programmers ;-).
> These days, even semi-entry-level consumer laptop computers have dual
> core CPU's,
Sandra-24 wrote:
> > You seem to be confused about the nature of multiple-process
> > programming.
> >
> > If you're on a modern Unix/Linux platform and you have static read-only
> > data, you can just read it in before forking and it'll be shared
> > between the processes..
>
> Not familiar with *
Paul Rubin wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
>> If it's read/write data or you're not on a Unix platform, you can use
>> shared memory to shared it between many processes.
>>
>> Threads are way overused in modern multiexecution programming. The
>> decision on whether to use
"km" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I know many of my friends who did not choose python for obvious reasons
> of the nature of thread execution in the presence of GIL which means
> that one is wasting sophisticated hardware resources.
It would probably be easier
True, since smartness is a comparison, my friends who have chosen java
over python for considerations of a true threading support in a
language are smarter, which makes me a dumbo ! :-)
KM
On 9/5/06, Richard Brodie <[EMAIL PROTECTED]> wrote:
>
> "km" <[EMAIL PROTECTED]> wrote in message
> news:[
叮叮当当 wrote:
> poplib cannot receive hotmail.
Not true:
http://www.macworld.com/news/2002/06/18/hotmail/index.php
You need to pay for that, but they do offer pop.
And receiving hotmail (or any outher webmail) using scraping techniques is a
daunting task, to say the least - you should forget abo
> And receiving hotmail (or any outher webmail) using scraping
> techniques is a daunting task, to say the least - you should
> forget about that IMHO.
There's a perl project called "gotmail" that will do the scraping
to dump in a local mailbox file (I don't remember whether it's MH
or mbox form
"km" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> True, since smartness is a comparison, my friends who have chosen java
> over python for considerations of a true threading support in a
> language are smarter, which makes me a dumbo ! :-)
No, but I think you making unwise assu
You don't need the setup command. Just place SE.py and SEL.py into a path where
the import can find it. Also make sure SE.py and
SEL.py are spelled exactly like this. Linux requires the extension to be lower
case, as I was myself made aware of by an alert
person who was also experiencing import p
Tim Chase wrote:
And receiving hotmail (or any outher webmail) using scraping
techniques is a daunting task, to say the least - you should
forget about that IMHO.
There's a perl project called "gotmail" that will do the scraping
to dump in a local mailbox file (I don't remem
[EMAIL PROTECTED] wrote:
> Sandra> However, I don't expect that the GIL can be safely removed from
> Sandra> CPython.
>
> It was removed at one point in the dim, dark past (circa Python 1.4) on an
> experimental basis. Aside from the huge amount of work, it resulted in
> significantly low
Steve> Given the effort that GIL-removal would take, I'm beginning to
Steve> wonder if PyPy doesn't offer a better way forward than CPython,
Steve> in terms of execution speed improvements returned per
Steve> developer-hour.
How about execution speed improvements per hour of discu
Richard> It would probably be easier to find smarter friends than to
Richard> remove the GIL from Python.
And if the friends you find are smart enough, they can remove the GIL for
you!
Skip
--
http://mail.python.org/mailman/listinfo/python-list
(ack! forgot to push the send button several days ago - hopefully this isn't
woefully out-of-date now...)
neil> Based on the number of people still using 2.3, it looks to me like
neil> there would be interest.
aahz> Yes; the real question is whether there is enough labor available
Bryan Olson wrote:
> I think it's even worse. The standard Python library offers
> shared memory, but not cross-process locks.
File locks are supported by the standard library (at least on Unix,
I've not tried on Windows). They work cross-process and are a normal
method of interprocess locking ev
This seems to be an important issue and fit for discussion in the context of Py3k. What is Guido's opinion?As a developer of a multi-threaded system I would like to know more about these issues, so it's no time wasted for me... ;-)
regardsAndreOn 9/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
>
> > But watch this: being clueless (but not stupid) is a gift I have
> > for troubleshooting. I tried (incorrectly) to insert another record:
> >
> > cur.execute("insert into book(title, author, published) value
Duncan Booth wrote:
> "Paddy" <[EMAIL PROTECTED]> wrote:
>
> >
> > import module1
> > # namespace becomes:
> >\-/
> > |module1.moduleFunc1 |
> > |module1.moduleClass1: |
> > | class1Method1 |
> > | class1Method2 |
> > |module1.moduleFu
Sandra-24 <[EMAIL PROTECTED]> wrote:
> Oh I'm aware of that, but it's not what I'm looking for. Mod_mono just
> lets you run ASP.NET on Apache. I'd much rather use Python :) Now if
> there was a way to run IronPython on Apache I'd be interested.
Take a look here:
http://lists.ironpython.com/piper
On Saturday 02 September 2006 11:41, you wrote:
> [EMAIL PROTECTED] wrote:
> > Hi. I'm new to Python . . .very new. I was just wondering, once I've
> > written a program that opens the graphics window and I've got some
> > things going on in the grahics window, how do I display text in the
> > gra
Lawrence Oluyede <[EMAIL PROTECTED]> wrote:
> Take a look here:
> http://lists.ironpython.com/pipermail/users-ironpython.com/2006-March/00
> 2049.html
> and this thread:
> http://www.mail-archive.com/[email protected]/msg01826.html
Also this: http://www.codeproject.com/useritems/ipaspnet
Andre> This seems to be an important issue and fit for discussion in the
Andre> context of Py3k. What is Guido's opinion?
Dunno. I've never tried channeling Guido before. You'd have to ask him.
Well, maybe Tim Peters will know. He channels Guido on a fairly regular
basis.
Skip
--
htt
Neil Cerutti wrote:
> On 2006-09-04, George Sakkis <[EMAIL PROTECTED]> wrote:
> > x=raw_input('\nType a number from 1 to 20')
> > try:
> > x = int(x)
> > if x<1 or x>20: raise ValueError()
> > except ValueError:
> > Do_B
> > else:
> > Do_A
> >
> > If you want to distinguish between
>> I think your whole experience is based on it.
>> But shouldn't a significant feature like that be explained in the
>> Python manuals? Why should I go dig up Sqlite FAQs to learn what
>> should have been in the manuals?
I don't know, but I will take a stab at a plausible explan
I want to accept a cStringIO object in a function in a python extension
module. How do I do this?
e.g.,
static PyObject *myfunc(PyObject *self, PyObject *args)
{
PyObject *cstringio;
if (!PyArg_ParseTuple(args, "O:cStringIO", &cstringio)) {
PyErr_SetString(PyExc_ValueError,
http://www.sfgate.com/cgi-bin/article.cgi?file=/news/archive/2006/09/05/national/a082618D20.DTL
--
Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/
I support the RKAB
--
http://mail.python.org/mailman/listinfo/python-list
Just in case you didn't notice.
--
http://mail.python.org/mailman/listinfo/python-list
From what I understand in order to guarantee
thread safety Python implements an Global Interpreter Lock. Which
removes the concurrency, but provides thread safety. Is Python 2.4
still like this and if I used Python to handle rpc requests and
responses would it be efficient in a multithreaded sense.
"Aahz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> http://www.sfgate.com/cgi-bin/article.cgi?file=/news/archive/2006/09/05/national/a082618D20.DTL
He should have been practicing pair pet care ;-)
tjr
--
http://mail.python.org/mailman/listinfo/python-list
Hello
Ist there a way to search a Adressbook over Python for a special contact.
I know how i read and write a contact, but know i have to search over
Python for some contacts, because the adress book has know over 1700
entrys, and it tooks a long time to get them all over the Com object to
pyth
- Make Up to $50K -
This was my ad a month ago. I didn't make $50k, but I made $14,565,
that's $14,555, more than I invested into this little game. I
can't believe it. I'm still running the ads and sending emails so
maybe next month I will make $50,000. This is so much fun!!! My wife
thou
Strange request, but is there any way to get text into the linux
copy-paste buffer from a python script ?
I know the standard python libraries won't have that functionality
(except as a side-effect, perhaps?), but is there a simple trick that
would do it on linux? A command line to get text int
On 2006-09-05, George Sakkis <[EMAIL PROTECTED]> wrote:
> Neil Cerutti wrote:
>
>> On 2006-09-04, George Sakkis <[EMAIL PROTECTED]> wrote:
>> > x=raw_input('\nType a number from 1 to 20')
>> > try:
>> > x = int(x)
>> > if x<1 or x>20: raise ValueError()
>> > except ValueError:
>> > Do_B
Darwinism in action! :-P
--
http://mail.python.org/mailman/listinfo/python-list
matt> From what I understand in order to guarantee thread safety Python
matt> implements an Global Interpreter Lock. Which removes the
matt> concurrency, but provides thread safety. Is Python 2.4 still like
matt> this and if I used Python to handle rpc requests and responses
ma
[EMAIL PROTECTED] wrote:
> You can do the same on Windows if you use CreateProcessEx to create the
> new processes and pass a NULL SectionHandle. I don't think this helps
> in your case, but I was correcting your impression that "you'd have to
> physically double the computer's memory for a dual c
looping napisał(a):
> I have to make internet connections through an ISA proxy server that
> use NTLM or Kerberos authorization method.
> I've found a program in python called ntlmaps that act like a proxy and
> could make the NTLM authentication, but you have to run it and make all
> your connect
David Hirschfield wrote:
> Strange request, but is there any way to get text into the linux
> copy-paste buffer from a python script ?
>
> I know the standard python libraries won't have that functionality
> (except as a side-effect, perhaps?), but is there a simple trick that
> would do it on lin
[EMAIL PROTECTED] wrote:
> >> I think your whole experience is based on it.
>
> >> But shouldn't a significant feature like that be explained in the
> >> Python manuals? Why should I go dig up Sqlite FAQs to learn what
> >> should have been in the manuals?
>
> I don't know, but I will
Hello,
I am looking for Python code no other language wanted) that I couls
use/reuse/adapt to implement (via CGI, no specific app server wanted)
a web-based app that would offer the following functionality:
- browse a file hierarchy perhaps dealing with access rights check
- classical file manag
[EMAIL PROTECTED] writes:
> It was removed at one point in the dim, dark past (circa Python 1.4) on an
> experimental basis. Aside from the huge amount of work, it resulted in
> significantly lower performance for single-threaded apps (that is, the
> common case).
That's probably because they had
>> What I'll do is re-format my rant, suggest how *I* would do the
>> documentation, fix the errors I found in the examples and send it off
>> to the Python bug tracking as suggested in the manuals.
>> How's that as a plan?
That's fine. Reformat your rant as a documentation bug
Hi
Wouldn't this only cause problems with large lists - for once off
scripts with small lists it doesn't seem like a big issue to me.
Regards,
Chris
Bruno Desthuilliers wrote:
> Chris Brat a écrit :
> > Thanks, thats exactly what I was looking for - very neat.
> >
> Just note that both solutions
I'm extremely happy to announce that we have released IronPython 1.0 today!
http://www.codeplex.com/IronPython
I started work on IronPython almost 3 years ago. My initial motivation for the
project was to understand all of the reports that I read on the web claiming
that the Common Language Ru
This is good info...but I'm looking for the opposite direction: I want
to place some arbitrary command output text into the clipboard, not get
the current selection out of the clipboard.
Any help on that end?
-Dave
kdart wrote:
David Hirschfield wrote:
Strange request, but is the
Ah, indeed it does...my distro didn't have it, but a quick download and
compile and there it is.
Thanks a bunch,
-Dave
Keith Dart wrote:
On 9/5/06, David
Hirschfield <[EMAIL PROTECTED]>
wrote:
This is good info...but I'm
looking for the opposite direction: I want
to place so
I'm going to assume that it's supposed to work like this, but could
someone tell me the reasoning behind it? I.E. why is 3 skipped?
>>> alist=[1,2,3]
>>> for item in alist:
... print item
... if item==2:
... alist.remove(item)
...
1
2
>>>
Bonus Question:
Can we m
On 05 Sep 2006 13:19:03 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid>
wrote:
>[EMAIL PROTECTED] writes:
>> It was removed at one point in the dim, dark past (circa Python 1.4) on an
>> experimental basis. Aside from the huge amount of work, it resulted in
>> significantly lower performance f
Congratulations, Jim! Truly and amazing vision you and your development staff have brought into fruition :)From my recent post to the O'Reilly Windows DevCenter,ref:
http://www.oreillynet.com/windows/blog/2006/09/jim_huguninmsft_announce_ironp.html
Congratulations are in order to Jim Hugunin, Din
On 05/09/06, Gregory Piñero <[EMAIL PROTECTED]> wrote:> I'm going
to assume that it's supposed to work like this, but could
> someone tell me the reasoning behind it? I.E. why is 3 skipped?
>
> >>> alist=[1,2,3]
> >>> for item in alist:
> print item
> if item==2:
>
On 05/09/06, Tim Williams <[EMAIL PROTECTED]> wrote:
> On 05/09/06, Gregory Piñero <[EMAIL PROTECTED]> wrote:> I'm going
> to assume that it's supposed to work like this, but could
> > someone tell me the reasoning behind it? I.E. why is 3 skipped?
> >
> > >>> alist=[1,2,3]
> > >>> for item in ali
Félicitations. Et chapeau pour votre travail.
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
I think my question is clear.., is there any way to print any text on a portable way?..., and actually, i don't know how to print at all.., just give me some pointers, name a module, and i can investigate for myself.. sorry for my english, thanks in advance..
ps: i prefer a Standard Library module
http://pyopengl.sourceforge.net/ I wouldn't begin to tell you how to
install this.. Looks like russian roulette with virus since the .dll's
are not available and are not linked from the site but are available
from lots of places in the google search. Looks like there is a
copyright that might pre
On 9/5/06, Tim Williams <[EMAIL PROTECTED]> wrote:
> > It does already, you just haven't grasped list fully yet :):)
> >
> > when you remove 2 from alist, the list becomes length 2, there is no
> > longer a 3rd item in the list to iterate over.
> >
> > Try this
> >
> > > >>> alist=[1 ,2 ,3, 4]
>
Chris Brat wrote:
> Hi
>
> Wouldn't this only cause problems with large lists - for once off
> scripts with small lists it doesn't seem like a big issue to me.
>
> Regards,
> Chris
>
> Bruno Desthuilliers wrote:
> > Chris Brat a écrit :
> > > Thanks, thats exactly what I was looking for - very nea
On 05/09/06, Gregory Piñero <[EMAIL PROTECTED]> wrote:
> On 9/5/06, Tim Williams <[EMAIL PROTECTED]> wrote:
> > > It does already, you just haven't grasped list fully yet :):)
> > >
> > > when you remove 2 from alist, the list becomes length 2, there is no
> > > longer a 3rd item in the list to i
> I'm going to assume that it's supposed to work like this, but could
> someone tell me the reasoning behind it? I.E. why is 3 skipped?
Because:
>>> alist[2]
3
You are removing the third item, not the second.
--
http://mail.python.org/mailman/listinfo/python-list
sonald wrote:
> Dear All,
> I am working on a module that validates the provided CSV data in a text
> format, which must be in a predefined format.
> We check for the :
>
[snip]
>
> 3. valid-text expressions,
> Example:
> ValidText('Minor', '[yYnN]')
>
> Parameters:
>
On 5 Sep 2006 16:05:36 -0700, bayerj <[EMAIL PROTECTED]> wrote:
> > I'm going to assume that it's supposed to work like this, but could
> > someone tell me the reasoning behind it? I.E. why is 3 skipped?
>
> Because:
>
> >>> alist[2]
> 3
>
> You are removing the third item, not the second.
>
Actu
Hi folks!
The two small snippets I wrote two days ago were well received. With
the danger of being called a hero I proceded and wrote a proper
article about OpenOffice.org and Python.
It contains the following sections:
* Preparation
* Gaining access to a document
* Getting to the d
1 - 100 of 146 matches
Mail list logo