Paul Rubin wrote:
> Jean-Paul Calderone <[EMAIL PROTECTED]> writes:
> > >which more explicitly shows the semantics actually desired. Not that
> > >"huge" a benefit as far as I can tell. Lisp programmers have gotten
> > >along fine without it for 40+ years...
> >
> > Uh yea. No lisp programmer ha
Paul Rubin wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > Having memory protection is superior to not having it--OS designers
> > spent years implementing it, why would you toss out a fair chunk of it?
> > Being explicit about what you're sharing is generally better than not.
>
> Par
Paul Rubin wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > > 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 w
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > Part of the win of programming in Python instead of C is having the
> > language do memory management for you--no more null pointers
> > dereferences or malloc/free errors. Using shared memory puts all that
> > squarely back in your lap.
>
> Huh
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> You can, absolutely. If you're sharing memory through mmap it's
> usually the preferred solution; fcntl locks ranges of an open file, so
> you lock exactly the portions of the mmap that you're using at a given
> time.
How can it do that without ha
Simon Forman wrote:
> Fredrik Lundh wrote:
>
>>Simon Forman wrote:
>>
>>
>>>I'm sorry, your post makes very little sense.
>>
>>you're somewhat new here, right ? ;-)
>>
>>
>
>
>
> Yah, I've been posting here about three months now. Why, did I miss
> something? :-)
>
Yes: the previous posts f
[EMAIL PROTECTED] wrote:
> [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?
[EMAIL PROTECTED] wrote:
> [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?
[EMAIL PROTECTED] wrote:
> Paul Rubin wrote:
>
>>"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
>>
>>>Having memory protection is superior to not having it--OS designers
>>>spent years implementing it, why would you toss out a fair chunk of it?
>>> Being explicit about what you're sharing is gene
I'm a dba for SQL server and I Will import a textfile to SQL. For
example I use a file with 3 columns. ID, Name and Surname and the
columns are tab separated. I don't know much about programming.
Anyway, I use this code below. It works, but it will not split the
columns. I have tried to change the
[EMAIL PROTECTED] wrote:
> Paul Rubin wrote:
>
>>Jean-Paul Calderone <[EMAIL PROTECTED]> writes:
>>
which more explicitly shows the semantics actually desired. Not that
"huge" a benefit as far as I can tell. Lisp programmers have gotten
along fine without it for 40+ years...
>>>
>>>U
Liquid Snake wrote:
> 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
[EMAIL PROTECTED] wrote:
> Tim Williams:
>
>>You could also use a list comprehension for your case
>>
>alist = [1 ,2 ,3]
>alist = [x for x in alist if x != 2]
>alist
>>
>>[1, 3]
>
>
> The list comprehension filtering is the simpler and often the best
> solution. For memory-conscious
snowf wrote:
> There are no such a method using to download a whole directory in the
> lib of ' ftplib '.
> thanks for anybody's help!
>
If your Python distrbution contains a "Tools" directory you should look
for the "ftpmirror.py" utility in it. If you don't have Tools then you
can extract t
[EMAIL PROTECTED]
| I'm a dba for SQL server and I Will import a textfile to SQL.
Not a Python answer, but unless you're in it for the
learning experience, I *seriously* suggest you look
at the built-in BULK INSERT command to see if it
meets your needs.
Random URL:
http://www.sqlteam.com/item.
[EMAIL PROTECTED] wrote:
> 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.
I think you'r
[EMAIL PROTECTED] wrote:
> I'm a dba for SQL server and I Will import a textfile to SQL. For
> example I use a file with 3 columns. ID, Name and Surname and the
> columns are tab separated. I don't know much about programming.
> Anyway, I use this code below. It works, but it will not split the
> c
lazaridis_com wrote:
> 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 Djan
[Kai Mayfarth]
| 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
[EMAIL PROTECTED] wrote:
(snip)
> But shouldn't a significant feature like that be explained
> in the Python manuals?
Why should it ? It's a SQLite feature, not a Python one.
> Why should I go dig up Sqlite
> FAQs to learn what should have been in the manuals?
Why should you read the manuals at
MC enlightened us with:
> Thanks!
You're welcome!
> - and Python 2.4.x?
I've used Python 2.4.3 to write the article.
> - I have Python 2.4 and then "embbed Python 2.3 of OOo" ; how
> install some things in this last Python? I dream to call Pywin32
> from OOo...
Please rephrase that qu
i know the bulk instert functions i ms sql but i will use this script
for oracle in a linux enviroment to so i think python is a good choice.
regard joel
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
> [EMAIL PROTECTED] wrote:
> > Paul Rubin wrote:
> >
> >>Jean-Paul Calderone <[EMAIL PROTECTED]> writes:
> >>
> which more explicitly shows the semantics actually desired. Not that
> "huge" a benefit as far as I can tell. Lisp programmers have gotten
> along fine w
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Throwing them out without careful consideration is a bad
>idea--ref-counting is _not_ simply one GC implementation among many, it
>actually offers useful semantics and the cost of giving up those
>semantics should be considered before throwing out
Sybren,
you did not understand Michel question because Ubuntu seems to be the
only distribution coming with OpenOffice and Python 2.4 compiled
together.
Others platform such as Windoze are limitated to Python 2.3 when
working with OpenOffice and compiling is a pain especially under
Windoze.
Oli
| [Kai Mayfarth]
|
| | Ist there a way to search a Adressbook over Python for a
| | special contact.
[TJG]
| As far as I can see from a quick glance, there is no method
| of the AddressList or AddressEntries objects which calls into
| the Outlook code itself to search
Although now I Google a li
Steve Holden wrote:
> snowf wrote:
> > There are no such a method using to download a whole directory in the
> > lib of ' ftplib '.
> > thanks for anybody's help!
> >
> If your Python distrbution contains a "Tools" directory you should look
> for the "ftpmirror.py" utility in it. If you don't h
[EMAIL PROTECTED]
| I'm a dba for SQL server and I Will import a textfile to SQL. For
| example I use a file with 3 columns. ID, Name and Surname and the
| columns are tab separated. I don't know much about programming.
| Anyway, I use this code below. It works, but it will not split the
| columns
olive enlightened us with:
> you did not understand Michel question because Ubuntu seems to be
> the only distribution coming with OpenOffice and Python 2.4 compiled
> together.
Ah, okay. I have no other distributions here, so I rely on others to
give me more information about them.
> Others plat
Ok thanks Tim. I'm possible to read the file now as you described but
when I pass it to the DB I got an error says:
[['1', 'Joel', 'Sjoo'], ['2', 'Sture', 'Andersson'], ['3', 'Arne',
'Svensson']]
Traceback (most recent call last):
File "txttosql6.py", line 23, in ?
row
File "C:\Python24\Lib\si
You can use multiple processes to simulate threads via an IPC
mechanism. I use D-Bus to achieve this.
http://www.freedesktop.org/wiki/Software/dbus
km wrote:
> Hi all,
> Are there any alternate ways of attaining true threading in python ?
> if GIL doesnt go then does it mean that python is usele
I solved the problem by using a more recent version of MySQLdb,
compatible with MySQL 5.0.
--
http://mail.python.org/mailman/listinfo/python-list
Hello. I don't know if this topic is appropriate in this group (and my
English is not good).
My problem is here:
I created a HtmlWindow in wxPython, then I wrote some code and set it
to the page-text. In these code there was a line "mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]" (where "name" was m
[EMAIL PROTECTED]
| Traceback (most recent call last):
| File "txttosql6.py", line 23, in ?
| row
| File "C:\Python24\Lib\site-packages\pymssql.py", line 120, in execute
| self.executemany(operation, (params,))
| File "C:\Python24\Lib\site-packages\pymssql.py", line 146, in
| executemany
|
Hi!
>>> Poor people.
Poor people... but (very) rich client!!! ;-)
@+
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
When installing scipy I get this error:
python setup.py install
Traceback (most recent call last):
File "setup.py", line 55, in ?
setup_package()
File "setup.py", line 28, in setup_package
from numpy.distutils.core import setup
File "/usr/local/lib/python2.4/site-packages/numpy/_
Hi, I want to list the names of all the processes running on my machine. I am stuck at this point and do not know how to extract the name of a process. Using win32process.EnumProcesses, I am able to obtain the pids of all the processes and using
win32api.OpenProcess() I have obtained a ha
[Rama]
| I want to list the names of all the processes running on
| my machine. I am stuck at this point and do not know how to
| extract the name of a process.
WMI is good for this kind of thing:
http://tgolden.sc.sabren.com/python/wmi_cookbook.html#running_processes
TJG
__
On 06/09/06, Tim Golden <[EMAIL PROTECTED]> wrote:
[Rama]| I want to list the names of all the processes running on| my machine. I am stuck at this point and do not know how to| extract the name of a process.WMI is good for this kind of thing:
http://tgolden.sc.sabren.com/python/wmi_cookbook.h
[BTW, there is a list/newsgroup specifically for pywin32]
on 06.09.2006 12:56 Rama said the following:
> Hi,
>
> I want to list the names of all the processes running on my
> machine. I am stuck at this point and do not know how to extract the
> name of a process.
>
> Using win32pro
alex23 wrote:
> lazaridis_com wrote:
> > The "persist case" evaluates python persistency systems (or
> > mechanisms), and will show my personal preference:
>
> Do you feel that evaluating-for-evaluation's-sake produces a more
> measured understanding of the value of a product than that taken from
>
i gott the same results with both executemany and execute. i will try
with some other sql modules. if you try tim so let me now if you cot it
to work.
many thanks for your help.
regards joel
--
http://mail.python.org/mailman/listinfo/python-list
Bruno Desthuilliers wrote:
> lazaridis_com wrote:
> > 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 us
Hello,
What I need :
I need to write a scanner that test all the IP adresses that repond on
a given port.
The Ip list is of roughly of length 200.
I need to get the response every 60 seconds (or better).
I would prefer first not to use nmap.
Co
Steve Holden wrote:
> 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
Jim Hugunin wrote:
> I'm extremely happy to announce that we have released IronPython 1.0 today!
> http://www.codeplex.com/IronPython
Way to go, Jim!! I am impressed with the effort.
--greg
--
http://mail.python.org/mailman/listinfo/python-list
seb wrote:
> I need to write a scanner that test all the IP adresses that repond on
> a given port.
...
> I am using winXP pro on a 2GHZ P4 and 512 Mo.
If you have XP Service Pack 2, it cripples port-scanning as part of a
'security' fix. Broadly speaking, it limits the rate at which you can
make c
hi,
some of my friends told that python and java are similar in the idea of
platform independency. Can anyone give me an idea as i'm a newbie to java
and python but used to C++. My idea is to develop an app which can run both
in windows and linux.
Pls help.
Thanks in advance
--
http://mai
Bruno Desthuilliers wrote:
> [EMAIL PROTECTED] wrote:
> > I don't mind living with it as long as it's documented.
>
> It is. In SQLite manual. Or do you hope the Python manual to also fully
> document PostgreSQL, MySQL, Oracle, Apache, Posix, Win32 etc ?
With those other applications, you have a s
On Sat, 2 Sep 2006 20:13:01 +0200, Sybren Stuvel <[EMAIL PROTECTED]> wrote:
> Jorgen Grahn enlightened us with:
>>| def ip_is_active(addr):
>>| """Return success if 'addr' shows up in the output from 'netstat -an'.
>>| We assume that a suitable version of netstat exists.
>>| """
>
>
Is there a way to run a script within the editor of pyalamode? Or does
one need to open and run the saved .py file?
--
http://mail.python.org/mailman/listinfo/python-list
Hi Ben,
I am indeed using XP SP2.
I have checked on the event viewer and I have not seen the event 4226.
Besides I also run on the same PC angry Ip scanner 2.21. Checking using
ethereal the arp request are all dispatched quit quickly (see my mail
above).
Thanks for the advice anyway.
Sebastien.
[EMAIL PROTECTED]
| i gott the same results with both executemany and execute. i will try
| with some other sql modules. if you try tim so let me now if
| you cot it
| to work.
OK, the relevant thing here is the paramstyle. When I made that
misguided claim earlier that "?" was the most common pa
Aravind wrote:
> hi,
>
> some of my friends told that python and java are similar in the idea of
> platform independency. Can anyone give me an idea as i'm a newbie to java
> and python but used to C++. My idea is to develop an app which can run both
> in windows and linux.
That's true to an exte
Hi Ben,
I am indeed using XP SP2.
-
Some more info :
-
1)
I have checked on the event viewer and I have not seen the event 4226
while I have run the code sample above.
2)
I can still see this error (4226) recently In the log so that I must
have bu
Hello,
I need to get a list of active leases on a windows dhcp server.
Experts from Microsoft statet:
A: Go to the Address leases of each scope in the DHCP snap-in and dump
the leases to a text file from the DHCP server snap-in. The text file
gives you all the information for every active l
Yes i got it to work now. Thank you for all help Tim and Steve. I hope
it will work for Oracle to :)
Regards Joel
--
http://mail.python.org/mailman/listinfo/python-list
Jim Hugunin wrote:
> I'm extremely happy to announce that we have released IronPython 1.0 today!
> http://www.codeplex.com/IronPython
I'm no code guru but it sounds interesting. So can I import numpy,
scipy, matplotlib, wxpython etc like I do now with CPython and expect,
short of a few tweaks
Override OnLinkClicked() and check the passed link info for the 'mail:'
prefix. And if its there, don't call the OnLinkClicked() method of the
base class, to prevent wxWidgets from loading this link as a HTML
ressource.
Now, you have reduced your problem to: how do I call the standard Email
client
Aravind wrote:
> some of my friends told that python and java are similar in the idea of
> platform independency.
Similar in goal, but quite different in approach.
Python supports lots of platforms and goes to great lengths to offer
facades around whatever features a platform does have, so as
Great, I couldn't do better Ok, I couldn't do it all...
;o)
But I'm a little bit concerned. Have you ever thought of using a
different file prefix for python files depending on .NET assemblies
like .pyi? Sooner or later we want to associate IronPython files with
IronPython in the windows shell
Steve Holden wrote:
> Liquid Snake wrote:
> > 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, t
Chris:
> I'm no code guru but it sounds interesting. So can I import numpy,
> scipy, matplotlib, wxpython etc like I do now with CPython and expect,
> short of a few tweaks, that my code will work?
No, IronPython is currently unable to load CPython DLLs.
Neil
--
http://mail.python.or
The original message was included as attachment
Deleted0.txt
Description: Binary data
--
http://mail.python.org/mailman/listinfo/python-list
Chris wrote:
> Jim Hugunin wrote:
>> I'm extremely happy to announce that we have released IronPython 1.0
>> today!
>> http://www.codeplex.com/IronPython
>
>
>
> I'm no code guru but it sounds interesting. So can I import numpy,
> scipy, matplotlib, wxpython etc like I do now with CPython and
Stiamo cercando uno sviluppatore Python esperto in Vue 5 Infinite.
Grazie
Willy
--
http://mail.python.org/mailman/listinfo/python-list
(just wanted to share my experience with IronPython 1.0)
The context:
C:\IronPython> ipy.exe
IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
vs.
C:\Python24> python.exe
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (
On Wed, 6 Sep 2006 17:53:29 +0530, Aravind <[EMAIL PROTECTED]> wrote:
> hi,
>
> some of my friends told that python and java are similar in the idea of
> platform independency. Can anyone give me an idea as i'm a newbie to java
> and python but used to C++.
Well, what Java and Python (and some oth
Hello,
I've got the following problem: I've got a Userinterface that is made
in Glade, so i've got a
.glade file. What I want is to get the id's of every widget from the
class GtkEntry from a given window.
The glade file is like
http://glade.gnome.org/glade-2.0.dtd";>
True
Tevo - Invoe
Suppose a class has properties and I want to change the
setter in a derived class. If the base class is mine, I can do this:
http://www.kylev.com/2004/10/13/fun-with-python-properties/
Should I? (I.e., is that a good solution?)
And what if I cannot change the base class?
How to proceed then?
Than
Aravind wrote:
> hi,
>
> some of my friends told that python and java are similar in the idea of
> platform independency.
Well, not quite IMHO.
Java treats the problem by taking the autistic attitude of pretending
the underlying platform doesn't exists - which can be a major PITA.
Python is muc
Aravind wrote:
> hi,
>
> i am a newbie to python but used with some developement in c++ and VB. Can
> anyone suggest me a good IDE for python for developing apps...? i've seen Qt
> designer.. some of my friends said it can be used for python also but they r
> not sure.
What you're talking about h
Aravind wrote:
> hi,
>
> i am a newbie to python but used with some developement in c++ and VB. Can
> anyone suggest me a good IDE for python for developing apps...? i've seen Qt
> designer.. some of my friends said it can be used for python also but they r
> not sure.
>
> pls help...
>
> thanks i
Hi, I just tried to run Tkinter on OS X 10.3.9 under Python 2.4.3, and
I'm getting a bus error as soon as I call Tk(). Googling has turned up
info other Tkinter bus errors, but not this one that occurs right away,
before doing anything fancy.
Tk/Tcl is definitely installed on my computer, as veri
In <[EMAIL PROTECTED]>, Claudio Grondi wrote:
> The context:
>C:\IronPython> ipy.exe
>IronPython 1.0.60816 on .NET 2.0.50727.42
>Copyright (c) Microsoft Corporation. All rights reserved.
> vs.
>C:\Python24> python.exe
>Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bi
On 9/6/06, Aravind <[EMAIL PROTECTED]> wrote:
hi,some of my friends told that python and java are similar in the idea ofplatform independency. Can anyone give me an idea as i'm a newbie to javaand python but used to C++. My idea is to develop an app which can run both
in windows and linux.
IMHO
Cecilia Marini Bettolo wrote:
> Hi!
> When installing scipy I get this error:
>
> python setup.py install
> Traceback (most recent call last):
> File "setup.py", line 55, in ?
> setup_package()
> File "setup.py", line 28, in setup_package
> from numpy.distutils.core import setup
> Fi
Le mercredi 06 septembre 2006 16:33, David Isaac a écrit :
> Suppose a class has properties and I want to change the
> setter in a derived class. If the base class is mine, I can do this:
> http://www.kylev.com/2004/10/13/fun-with-python-properties/
> Should I? (I.e., is that a good solution?)
Why
On Wednesday, September 06, 2006, at 10:36AM, <[EMAIL PROTECTED]> wrote:
>Hello,
>
>I've got the following problem: I've got a Userinterface that is made
>in Glade, so i've got a
>.glade file. What I want is to get the id's of every widget from the
>class GtkEntry from a given window.
>
>The gla
[EMAIL PROTECTED] wrote:
> 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 norma
Claudio Grondi wrote:
> (just wanted to share my experience with IronPython 1.0)
>
> The context:
> C:\IronPython> ipy.exe
> IronPython 1.0.60816 on .NET 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
> vs.
> C:\Python24> python.exe
> Python 2.4.2 (#67, Sep 28 2
Hi folks,
I would like to access a remote Postgres server from a Python program in a
secure way. Postgres doesn't currently listen to the Internet for
connections, and I'd prefer to keep it that way.
I know how to forward ports using SSH, but I don't like doing this because
then anyone who knows
Hello,
i'm looking for this behaviour and i write a piece of code which works,
but it looks odd to me. can someone help me to refactor it ?
i would like to walk across a list of items by series of N (N=3 below)
of these. i had explicit mark of end of a sequence (here it is '.')
which may be any l
Claudio Grondi wrote:
>
> Another problem with IronPython where CPython 2.4.2 runs ok was while I
> was trying to do:
>f = file(r'\\.\PhysicalDrive0', 'rb')
> getting "ValueError: FileStream will not open Win32 devices such as disk
> partitions and tape drives. Avoid use of "\\.\" in the pat
Reid Priedhorsky <[EMAIL PROTECTED]> writes:
> I know how to forward ports using SSH, but I don't like doing this because
> then anyone who knows the port number can connect to Postgres over the
> same tunnel. (I'm not the only user on the client machine.)
Wouldn't they need a database password?
-
Can't you limit SSH tunneling access to the IP and/or MAC that you want
to access ? It's simplest than any other solution.
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to get an echoserver running on my N80 Nokia cell phone,
that uses "python for s60".
What worked:
I ran echoclient on the phone and echoserver on my Powerbook and it
worked.
What doesnt work:
When I try running the same scripts, so that I run echoclient on the
laptop and echoserver on
[EMAIL PROTECTED] wrote:
[snip rubbish]
You cannot even spell your own handle.
http://en.wikipedia.org/wiki/Thermite
Socks
--
http://mail.python.org/mailman/listinfo/python-list
Hallo
I would like to have a high class open source tools for scientific
computing and powerful 2D and 3D data visualisation. Therefore I chose python,
numpy and scipy as a base. Now I am in search for a visualisation tool. I tried
matplotlib and py_opendx with OpenDx. O
I installed Python 2.5 on Windows XP.
I got the following system that works well.
---
Python 2.5b3 (r25b3:51041, Aug 3 2006, 09:35:06) [MSC v.1310 32 bit
(Intel)] on
win32 Type "copyright", "credits" or "license()" for more information.
IDLE 1.2b3
>>> import sys
>>> sys.path
['C:\\Python25\\Li
[EMAIL PROTECTED] wrote:
> Hello,
>
> i'm looking for this behaviour and i write a piece of code which works,
> but it looks odd to me. can someone help me to refactor it ?
>
> i would like to walk across a list of items by series of N (N=3 below)
> of these. i had explicit mark of end of a seque
okay,I'm going through this python tutorial, and according to the
tutorial, I can type this:
[code]
myList = [1,2,3,4]
for index in range(len(myList)):
myList[index] += 1
print myList
[/code]
however, in my IDLE python shell, when I type
[code]
>>> myList = [1,2,3,4]
>>> for index in range(l
Larry Bates wrote:
> Claudio Grondi wrote:
>
>>(just wanted to share my experience with IronPython 1.0)
>>
>>The context:
>> C:\IronPython> ipy.exe
>> IronPython 1.0.60816 on .NET 2.0.50727.42
>> Copyright (c) Microsoft Corporation. All rights reserved.
>>vs.
>> C:\Python24> python.exe
>> Pyt
> Something is limiting the TCP/IP connections from my python program at
> 10 maximum at the same time.
> I do not see this limit in my code.
> I did not bumped over the 4226 error.
>
> => Where does this limit come from.
> => How can I overcome it.
You can just edit it by creating a new key in t
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, Claudio Grondi wrote:
>
>
>>The context:
>> C:\IronPython> ipy.exe
>> IronPython 1.0.60816 on .NET 2.0.50727.42
>> Copyright (c) Microsoft Corporation. All rights reserved.
>>vs.
>> C:\Python24> python.exe
>> Python 2.4.2 (#67, S
September 19?Okay ! Which year?
Apologies: only for LOL
--
http://mail.python.org/mailman/listinfo/python-list
QOTW: "The bad news is that I seem to be an anti-channeler, so my interest
is perhaps not a *good* sign" - Jim Jewett
"I'm sorry this letter is so long. I didn't have time to write a shorter
one." - Blaise Pascal (1657)
The Python 2.5 release date is now September 19th.
http://www.p
Michael Spencer a écrit :
> If you just need to 'walk across a list of items', then your buffer class and
> helper function seem unnecessary complex. A generator would do the trick,
> something like:
actually for the example i have used only one sentry condition by they
are more numerous and co
http://pydev.sourceforge.net/http://wiki.python.org/moin/PythonEditors
--
http://mail.python.org/mailman/listinfo/python-list
http://www.ferg.org/projects/python_java_side-by-side.html
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 171 matches
Mail list logo