ice and could not get there, so I would say it
is a problem on the server's end.
Ken
--
Corruption is not the #1 priority of the Police Commissioner. His job
is to enforce the law and fight crime.
-- P. B. A. President E. J. Kiernan
--
http://mail.python.org/mailman/listinfo/python-list
em to find much info on built in functions except
for LU decomposition/solve.
Appreciate any comments.
Ken
--
http://mail.python.org/mailman/listinfo/python-list
This file has 1,000,000+ lines in it, yet when I print the counter 'cin'
at EOF I get around 10,000 less lines. Any ideas?
lineIn =
csv.reader(file("rits_feed\\rits_feed_US.csv",'rb'),delimiter='|')
for emp in lineIn:
cin=cin+1
print cin
--
http://mail.python.org/mailman/
uccessfully. Where
should I post it?
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
When I call urlopen.read() like this:
data = urlopen("http://localhost";).read().
Does that mean I will read the whole document to data, regardless how
many data being sent back?
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
how can I find out the value of an environment variable in my pythong
script?
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
Can you please tell me what is the timeout value of httplib.HTTP?
i.e. how long python will wait for a response in the below code?
h = httplib.HTTP(self.url, 8080)
h.putrequest('GET', '/sample/?url=' + self.url)
h.endheaders()
Thank you.
--
http://mail.python.org/mailman/lis
How to remove specified cookie (via a given name) in cookie jar?
I have the following code, but how can I remove a specified cookie in
the cookie jar?
cj = cookielib.LWPCookieJar()
if cj is not None:
if os.path.isfile(COOKIEFILE):
print 'Loading Cookie--'
Hi,
i have the following code to load a url.
My question is what if I try to load an invalide url ("http://
www.heise.de/"), will I get an IOException? or it will wait forever?
Thanks for any help.
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
urllib2.install_opener(opener)
Hi,
i have a class:
class LogHandler(ContentHandler):
# a reference to a file open by some other function/class
outputFile;
def endElement(self, name):
doSomething(self, "GroupResultList", self.text, outputFile)
First, I get an error saying 'NameError: global name 'outputF
Simon Pickles wrote:
> Hi,
>
> I'm building a server with python, but coming from a c++ background,
> garbage collection seems strange.
>
> For instance, I have a manager looking after many objects in a dict.
> When those objects are no longer needed, I use del manager[objectid],
> hoping to for
Yeah, those are all very good points. There is really no excuse for top
posting.
Jeff Schwab wrote:
D'Arcy J.M. Cain wrote:
On Tue, 26 Feb 2008 12:58:53 -0800
Tobiah <[EMAIL PROTECTED]> wrote:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting
?
Ken
--
http://mail.python.org/mailman/listinfo/python-list
written in python rather than C.
>
> Is there any other decent image libraries for python?
>
>
I use PIL, and I haven't had any difficulty with alpha channel
transparency. But maybe I'm using it for different things than you
(blitting PGN(RGBA) antialiased images most
y are somewhat harder to predict because they are invoked
implicitly at the whim of the python implementation.
In practice you don't need to use __del__ unless you are doing something
exotic like explicitly implementing your own memory model, or tuning
resource allocation in a large sys
I want to receive 4 bytes from a connected socket, I code like this:
data = sock.recv(4)
There is a problem with above code. The recv method will not block until it
get all 4 bytes. So I use the second param of recv method like this
data = sock.recv(4, socket.MSG_WAITALL)
This works fine on lin
I was testing select on windows xp with python 2.6.1, the code is simple:
import sys
import select
def testSelect():
r = select.select([sys.stdin], [], [], 5.0)
print r
if __name__ == "__main__":
try:
testSelect()
except select.error, e:
print e
While an error ra
"Gabriel Genellina" wrote in message
news:mailman.9312.1234332608.3487.python-l...@python.org...
> En Tue, 10 Feb 2009 16:22:36 -0200, Gary Wood
> escribió:
>
>> Can someone recommend a good tutorial for Python 3, ideally that has
>> tasks or assignments at the end of each chapter.
>
> I don'
How about this: http://www.pythonchallenge.com/
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
>
> I'm learning Python by teaching myself, and after going through several
> tutorials I feel like I've learned the basics. Since I'm not taking a
> class or anything, I've
Is there other python wrapper such as libhotmail or libyahoomail?
curiously ask. :p
--
http://mail.python.org/mailman/listinfo/python-list
I need a read-write-lock, is there already an implementation in the standard
library?
--
http://mail.python.org/mailman/listinfo/python-list
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> globalrev wrote:
>> if i want a function that can take any amount of arguments how do i
>> do?
>>
>> lets say i want a function average that accepts any number of integers
>> and returns the average.
>
> Use a parameter
hello
i have some problem to send POST value by use mechanize.
i can't write my article to my blog site.
here is full source. and what i want to do is, im posting my article
to my blog site.
thanks in advance.
# -*- coding: cp949 -*-
import mechanize
import cookielib
# Browser
br = mechanize.Bro
hello
i have some problem to send POST value by use mechanize.
i can't write my article to my blog site.
here is full source. and what i want to do is, im posting my article
to my blog site.
thanks in advance.
# -*- coding: cp949 -*-
import mechanize
import cookielib
# Browser
Hello All.
im making some website login function with mechanize.browser() module.
but problem is i can't send submit or click submit button with
mechanize click() function, it not working.
how can i submit button or click() function make it work?
i can make it work mechanize.Request and mechanize.u
hello ALL
im making some simple python post script but it not working well.
there is 2 part to have to login.
first login is using 'http://mybuddy.buddybuddy.co.kr/userinfo/
UserInfo.asp' this one.
and second login is using 'http://user.buddybuddy.co.kr/usercheck/
UserCheckPWExec.asp'
i can lo
amp;size=600x600&sensor=false
I was able to use curl to grab the images you linked. I believe you can use
urllib (or, better, requests - http://docs.python-requests.org/en/latest/)
to get and save the images.
hth.
best,
ken
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, May 22, 2013 at 7:25 PM, Gregory Ewing
wrote:
> Tim Chase wrote:
>
>> So a pirate programmer walks into a bar with a bird on his shoulder.
>> The bird repeatedly squawks "pieces of nine! pieces of nine!". The
>> bartender looks at him and asks "what's up with the bird?" to which
>> the pi
Use lambda expressions to define some constraints:
gt = lambda x: lambda y: x>y
eq = lambda x: lambda y: x==y
constraints = [gt(2), eq(1)]
data = [3,1]
for i,c in enumerate(constraints):
print c(data[i])
On 9/12/2012 5:56 AM, Jabba Laci wrote:
> Hi,
>
> I have an installer script t
Putting a few of peoples ideas together...
gt = lambda x: lambda y: x>y
eq = lambda x: lambda y: x==y
def constrain(c,d):
return all({f(x) for f, x in zip(c, d)})
constraints = [gt(2), eq(1)]
data0 = [1,1]
data1 = [3,1]
print constrain(constraints, data0)
print constrain(constraints, da
On Thursday, November 18, 2010 8:03:57 PM UTC+8, Grigory Petrov wrote:
> Hello.
>
> I have a DLL that allocates memory and returns it. Function in DLL is like
> this:
>
> void Foo( unsigned char** ppMem, int* pSize )
> {
> * pSize = 4;
> * ppMem = malloc( * pSize );
> for( int i = 0; i < *
Hi Guys,
I have a DLL which written in C language, one of the function is to allocate a
structure, fill the members and then return the pointer of the structure.
After Python called this function, and done with the returned structure, I
would like to free the returned structure. How can I achie
On Saturday, October 27, 2012 10:56:54 PM UTC+8, Chris Angelico wrote:
> On Sun, Oct 28, 2012 at 1:42 AM, wrote:
>
> > Hi Guys,
>
> >
>
> > I have a DLL which written in C language, one of the function is to
> > allocate a structure, fill the members and then return the pointer of the
> > st
On Sunday, October 28, 2012 6:26:28 AM UTC+8, Nobody wrote:
> On Sat, 27 Oct 2012 07:42:01 -0700, zlchen.ken wrote:
>
>
>
> > I have a DLL which written in C language, one of the function is to
>
> > allocate a structure, fill the members and then return the pointer of
>
> > the structure.
>
canf can be handled by regular expressions, but that would
clearly useless for you, and just slow you down more since it does not
perform the int conversion for you.
Your code appears to have a bug: I would expect that the last entry will
be lost unless both files end with the same index value. Be sure to test
your code on a few short test files.
I recommend psyco to make the whole thing faster.
Regards,
Ken Seehart
--
http://mail.python.org/mailman/listinfo/python-list
On 6/20/2011 10:31 PM, Ken Seehart wrote:
> On 6/20/2011 7:59 PM, king6c...@gmail.com wrote:
>> Hi,
>> I have two large files,each has more than 2 lines,and each
>> line consists of two fields,one is the id and the other a value,
>> the ids are sorted.
>
On 6/20/2011 11:56 PM, king6c...@gmail.com wrote:
> Thanks for your reply,Ken :)
> I found the two files ends with the same id……so I am lazy^-^
> I tried psyco,and unfortunately it costs nearly the same time as before.
> Is it true that we can only get str from files in Python?
>
On Thu, Jun 23, 2011 at 9:14 AM, sajuptpm wrote:
> Hi,
> How get all users belongs to a group using python ldap module.
Depends on what you mean by "users" and "group", what information you
already have, and what information you want to get. I'll assume you
mean posix accounts and groups, and tha
On Mon, Jul 11, 2011 at 2:31 PM, Igor Begić wrote:
> Hi,
> I,m new to Python and i want to study and write programs about perceptron
> feed forward neural networks in python. Does anyone have a good book or link
> for this?
Try Stephen Marsland's "Machine Learning: An Algorithmic Perspective".
Al
On Sat, Jul 30, 2011 at 7:13 AM, ray wrote:
> I found that structured data could be presented in Python using a module in
> wxPython.
>
> Where am I? I do not know the relationships between the Pythons. I
> feel that I am missing something. I started with Python as it has so
> much functionalit
On Fri, Aug 5, 2011 at 3:37 PM, Jack Bates wrote:
> I have two objects, and I want to replace all references to the first
> object - everywhere - with references to the second object. What can I
> try?
If using PyPy instead of CPython is an option, the "thunk" object
space's "become" function can
On Fri, Aug 19, 2011 at 11:31 AM, Forafo San wrote:
> Folks,
> What might be a good replacement for the shelve module, but one that
> can handle a few gigs of data. I'm doing some calculations on daily
> stock prices and the result is a nested list like:
For what you're doing, I would give PyTabl
On Fri, Aug 26, 2011 at 10:43 AM, Verde Denim wrote:
> Looking for this with find / -name libclntsh.so.11.1 -print produces
> /usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1
>
> I'm confused as to why Python doesn't see it...
Try running "sudo ldconfig".
--
http://mail.python.org/mailman/lis
On 3/11/2011 7:45 AM, Rita wrote:
http://us.pycon.org/2010/ http://us.pycon.org/2009/
Try the wayback machine:
http://replay.waybackmachine.org/20100701160843/http://us.pycon.org/2010/about/
--
http://mail.python.org/mailman/listinfo/python-list
Hey, all -- I know how to match and return stuff from a regex, but I'd
like to do an if, something like (from Perl, sorry):
if (/MatchTextHere/){DoSomething();}
How do I accomplish this in Python?
Thanks!
-Ken
--
http://mail.python.org/mailman/listinfo/python-list
r.
Can this be done?
Thanks!
-Ken
--
http://mail.python.org/mailman/listinfo/python-list
s (in
python 2.x), which has been around, documented and stable for quite a while.
So it's probably just as safe as any other monkey patching technique. :)
Best of luck,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Good point, Benjamin. I didn't think of testing on Jython before
answering. For practical purposes it's a really good idea to test
obscure features against all potential target platforms.
In this case, I would argue that**Benjamin's test demonstrates a bug in
Jython.
One could counter by p
;>>
So it works correctly in Jython 2.x.
Conclusion: Not an implementation detail, and safe to use.
Ken
On 4/24/2011 10:18 AM, Daniel Kluev wrote:
http://docs.python.org/dev/reference/datamodel.html
Callable types
...
Special attributes:
...
__defaults__A tuple containing default argume
Gotta love that email latency. :-D
Ken
On 4/24/2011 2:47 PM, Daniel Kluev wrote:
On Mon, Apr 25, 2011 at 8:21 AM, Ken Seehart wrote:
Good point, Benjamin. I didn't think of testing on Jython before
answering. For practical purposes it's a really good idea to test obscure
featur
On 4/25/2011 4:59 AM, Colin J. Williams wrote:
On 24-Apr-11 13:07 PM, Ken Seehart wrote:
On 4/24/2011 2:58 AM, Steven D'Aprano wrote:
Consider this in Python 3.1:
def f(a=42):
... return a
...
f()
42
f.__defaults__ = (23,)
f()
23
Is this an accident of implementation, or can I
On Wed, Apr 27, 2011 at 4:02 PM, Igor Soares wrote:
> Reading the section "6.11. The import statement"
> http://docs.python.org/py3k/reference/simple_stmts.html#the-import-statement
>
> I found:
> """
> Import statements are executed in two steps: (1) find a module, and
> initialize it if necessar
>>> '{:s}'.format('hello')
'hello'
My reading of the documentation says I should be able to specify a width
when interpolating a string.
I have tried this in 2.7.13, 3.6.1 and 3.6.2 and it fails in all of them.
Is this a bug or am I confused?
-Ken
--
https://mail.python.org/mailman/listinfo/python-list
Sure enough. There is it, right there in the documentation. I did not
read far enough.
My bad.
Thanks!
-Ken
--
https://mail.python.org/mailman/listinfo/python-list
, I'll just add that
for my purposes the data source is trusted. If you really want to talk
about the security of using exec and eval, fine, but start another
thread (BTW, I've written a simple secure eval())
Thanks in advance,
Ken
--
https://mail.python.org/mailman/listinfo/python-list
Maybe bounced by your mail provider. Try changing to another ESP such as
gmail.
On Wed, Oct 13, 2021 at 1:45 AM Antoon Pardon wrote:
> Have I missed something and has the maillinglist been moved. Activity is
> very low here, about one message every five days.
>
> Antoon Pardon.
> --
> https://ma
the template.
It appears the error occurs before __format__ is called (there is no
output from the print function).
Does anybody know why the format() method would work in this case but
the f-string would not?
Is this a bug in f-strings?
-Ken
--
https://mail.python.org/mailman/listinfo/python-list
hen used within the template.
It appears the error occurs before __format__ is called (there is no
output from the print function).
Does anybody know why the format() method would work in this case but
the f-string would not?
Is this a but in f-strings?
-Ken
--
https://mail.python.org/mailman/listinfo/python-list
braces
in the format_spec, and the implementation of f-strings should be
updated to be consistent with the syntax specification, and with the
format method.
-Ken
On 05/13/2018 07:08 PM, Terry Reedy wrote:
> On 5/13/2018 3:22 PM, Ken Kundert wrote:
>
> Please do not double post.
>
&g
Lele,
I'm afraid I was unclear. The ... in the code snippet was intended
to imply that these lines were appended to the end of the original code,
where d was defined.
-Ken
On 05/14/2018 12:30 AM, Lele Gaifax wrote:
> Ken Kundert writes:
>
>> I tried adding k and v to th
27;.format(d))
print()
print('Using f-string:')
print(f'Email: {d:{{k}} {{v}}}')
print()
print('Using f-string:')
k=6
v=9
print(f'Email: {d:{{k}} {{v}}}')
The result is:
NameError: name 'k' is not defined
-
ional spacing is
different: yield* sequence ).
Examples:
yield *(1,2,3)
... instead of :
yield 1; yield 2; yield 3
... or:
for x in (1,2,3): yield x
yield *chain(seq1, seq2)
... instead of :
for x in chain(seq1, seq2) yield x
~ Ken Seehart
--
https://mail.python.org/mailman/listinfo/p
in post-processing as well as
my own.
Any help much appreciated!
Thank you
Ken Martell
This is the error I get :
D:\>pip3 install py3exiv2
Collecting py3exiv2
Using cached
https://files.pythonhosted.org/packages/eb/c4/675823a2c23d8f138e7dc2b7574d09f26959f641d0b59c3ec7faa65764e5/py3exiv2-0
John J. Lee wrote:
[EMAIL PROTECTED] (Alex Martelli) writes:
[...]
Basically: if you want it on Windows for free, forget Qt
Correct.
I believe the book "C++ GUI programming Qt3" comes
with a windows Qt gpl 3.x version. Just have to buy
the book. No PyQt version to match thou.
Blackadder from the K
> My question is : does anybody know when pyqt 4 will be distributed ?
>
http://www.riverbankcomputing.co.uk/pyqt/roadmap.php
--
http://mail.python.org/mailman/listinfo/python-list
Jon Hewer wrote:
> Hi
>
> I'm about to start my third, and final, year in computer science at
> cambridge uni, and i need to come up with an idea for a software
> project, but i'm really struggling for ideas, and i was wondering
> whether anyone here had any suggestions.
>
> I'd say i'm probably
chris wrote:
> This is my first attempt at undertaking a C extension module. I want
> to wrap an existing C library so I can call the functions from Python.
> There are only two functions I'm interested in calling. I did mess
> with Pyrex a bit and Swig, to no avail, so I turned to doing it by
>
, but that seems like a
daunting task. I'd much rather find someone who has already done it who
has the binaries :)
I'm pretty sure the only files I actually need are the python executable
and the _socket shared library.
Thanks,
- Ken
--
http://mail.python.org/mailman/listinfo/python-list
Sybren Stuvel wrote:
> Ken Seehart enlightened us with:
>
>>Hello. Where might I find python binaries for ARM7 (Linux 2.4)?
>
>
> Check http://www.vanille.de/projects/python.spy
>
>
>>If I absolutely have to build my own python, I would probably use a
>>
Sybren Stuvel wrote:
> Ken Seehart enlightened us with:
>
>>1. How do I know whether to use sharprom or modern?
>
> If it works, use it.
That makes sense :)
>>2. What do I do with ipk files? I surfed around and found that in
>>one example, the command is &q
much difference either way..
>
>
> Will McGugan
> --
> http://www.kelpiesoft.com
Hey are you a perl programmer? That looks perlish to me. A python
programmer would never use "or" that way (even though it works). :)
It's okay, I used to be a perl programmer too. It's nothing to be
ashamed of. :)
- Ken
--
http://mail.python.org/mailman/listinfo/python-list
Thierry Lam wrote:
> Let's say I have the following data:
>
> 500 objects:
> -100 are red
> -300 are blue
> -the rest are green
>
> Is there some python package which can represen the above information
> in a pie chart?
>
> Thanks
> Thierry
>
What is the user interface context?
Is it a web pa
tc wrote:
Has anyone compiled binaries for qt/pyqt/eric3. i'd really like to try
it. at the moment i work with wxWindows and BoaConstructor which i'm
actually not so happy with. design of gui's with wx is not very
efficient...
so is there already a binary for qt/pyqt/eric3 available or when can i
e
Ben Floyd wrote:
Hey everyone,
Why doesn't this work? The code speaks much more clearly than I do,
so i shortened it and pasted it below. Running this
and clicking on 'Break Me' will... freak out the window...
You can not mix GUI threads and non GUI threads.
Just changing text may seem to work, bu
On Wed, 08 Dec 2004 15:55:09 -0900, Brian Jones wrote:
> I'm sure the solution may be obvious, but this problem is driving me
> mad. The following is my code:
>
> class a(object):
>
> mastervar = []
>
> def __init__(self):
> print 'called a'
>
> class b(a):
>
>
>I have a legacy system with data stored in binary files on a remote
>server.
>I need to access and modify the content of those files from a webserver
>running on a different host. (All Linux)
>
>I would like to install a server on the legacy host that would use my
>python
>code to translate bet
Jeremy Bowers wrote:
On Sun, 10 Apr 2005 13:57:26 +0200, Diez B. Roggisch wrote:
Domain-specific abstractions do that *faster* than GUI designers, not
slower. And better, too, since every iteration tends to be fully
functional and not just a "let's see what this looks like" prototype.
Can you show
I’ve tried writing the script using only
commands, without the accouterments of a full program (without the def
statement and without the if __name__ == ‘__main__’ …) to no avail. I’m out
of ideas. Any suggestions?
Ken Stewart
--
https://mail.python.org/mailman/listinfo/python-list
y, my computer still boots after mucking around in
the registry.
I haven't yet investigated the launcher suggested by Chris and Mark. That
may well be the proper solution. At the moment it looks like the Python
installer didn't create these registry entries properly in Windows 7.
Tha
Exactly. There are over 23,000 different kinds of trees. There's no way
you could get all of them to fit in a library, especially a standard
one. Instead, we prefer to provide people with the tools they need to
grow their own trees.
http://caseytrees.org/programs/planting/ctp/
http://www.ncsu.
and a
library (even the standard library) doesn't have to expose which one
was picked as long as the performance is good.
-- Devin
On Tue, Jan 20, 2015 at 12:15 PM, Ken Seehart wrote:
Exactly. There are over 23,000 different kinds of trees. There's no way you
could get all of them to f
Would seem to be a simple problem. I just want to print to my printer instead
of the console using Python 2.7, Windows 7. Hours of looking through FAQ's and
Google haven't yielded a solution. Any suggestions appreciated --
--
https://mail.python.org/mailman/listinfo/python-list
project somehow hopelessly out of date? And more to the
point, can someone direct me to a nice, fresh example project that will build a
little Python extension on Windows?
Thanks,
Ken
?
--
https://mail.python.org/mailman/listinfo/python-list
exercises left
to the reader.
Something vaguely like this:
/pseudocode:/
def safe_eval(s, symbols={}):
while search(s, r'\w+'):
replace match with '('+repr(symbols[match])+')' in s
return ast.literal_eval(s)
- Ken
--
http://mail.python.org/mailman/listinfo/python-list
n our
Zope CMS comes on-line or should I go the full way and design the web apps for
Zope from day zero?
k.
--
Ken Guest
Mobile: +353 86 8252 141http://blogs.linux.ie/kenguest/
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jan 05, 2006 at 10:10:39PM +0100, Diez B. Roggisch wrote:
> Ken Guest schrieb:
> > Hi,
> > I've two relatively small web applications that are currently implemented in
> > PHP and needed to be migrated to python and most likely zope afterwards as
> >
b/atlas']
language = c
mkl_info:
NOT AVAILABLE
It is clear that I have much but not all that is needed. I have already
downloaded lapack and compiled the blas and lapack libraries and put them
in /usr/lib/atlas and defined BLAS and LAPACK so I am not sure what I have
missed.
Thanks
Ken D.
--
http://mail.python.org/mailman/listinfo/python-list
ot;b","c"))
Doesn't seem to work, but that print statement shows that the newlist is
what I want... Maybe what I return from __new__ is overwritten in
__init__? Could someone enlighten me as to why - and why this is
different than the int case?
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Steven Bethard wrote:
>
> The __new__ method is for immutable types. So things like str and int
> do their initialization in __new__. But for regular mutable types, you
> should do your initialization in __init__::
>
I see... So, is there a use for __new__ in mutable types? From my
list-d
init__::
>
Okay, I see what's happening now. Steve and Alex - thanks for the great
explanations.
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
>
> • What Languages to Hate, Xah Lee, 2002
> http://xahlee.org/UnixResource_dir/writ/language_to_hate.html
Nonsense. This is technology, not religion. Technologists in fact have a
responsibility to identify and use the best tools available.
Xah, you are getting soft in your o
alex23 wrote:
> Xah Lee wrote:
>
>>No personal offense intended, but human animal's history is what? 3000
>>years at least in recorded history? And, all you can think of is what,
>>the view points of a fraction of your personal life span?
>
>
> Thank god evolution spat you out to lead us all t
Hi,
I am new to python regular expression, I would like to use it to get an
attribute of an html element from an html file?
for example, I was able to read the html file using this:
req = urllib2.Request(url=acaURL)
f = urllib2.urlopen(req)
data = f.read()
my question is how can I jus
Hi,
I would like to execute a shell command like this in python:
cmd = 'ant release -Dbuild=build_proxyonly -Drev=5.1.130f
-Dprops=\"-MIDP20_LARGE;PUSH_FEATURE=false;MIDlet-Version=5.0;version=5.0;MIDlet-Icon=midicon15x15.png;-FOUR_WAY_NAV_FEATURE\"
-DThree_Branding=true'
Which of the execl comma
Thanks I get this error 'NameError: global name 'call' is not defined"
I already import 'subprocess'.
Can you pleaes tell me what am I missing?
Robert Kern wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I would like to execute a shell command like this in python:
> > cmd = 'ant release -Dbuil
I am using python 2.4, so I don' t need to insteall that module
separately.
[EMAIL PROTECTED] wrote:
> Thanks I get this error 'NameError: global name 'call' is not defined"
>
> I already import 'subprocess'.
>
> Can you pleaes tell me what am I missing?
>
> Robert Kern wrote:
> > [EMAIL PROTECTED
Joe Marshall wrote:
> Xah Lee wrote:
>
>>in March, i posted a essay "What is Expressiveness in a Computer
>>Language", archived at:
>>http://xahlee.org/perl-python/what_is_expresiveness.html
>>
>>I was informed then that there is a academic paper written on this
>>subject.
>>
>>On the Expressive
The royal We has just learned that His Kennyness will be honoring the
boozehounds of LispNYC with His Presence tonight (deets below).
He will come bearing Celtk and news of PyCells, though the top billing
tonight goes to SoC student Extraordinaire Samantha Kleinberg.
kenzo
> Please join us for
Luis M. González wrote:
> Alok wrote:
>
>>While posting a comment on http://www.reddit.com I got an error page
>>with the following curious statement on it.
>>
>>"reddit broke (sorry)"
>>"looks like we shouldn't have stopped using lisp..."
>>
>>See screenshot at
>>http://photos1.blogger.com/blog
t creating a new instance?
I suppose I could create a function that creates a new "foo" and copies
its attributes, but is there a more direct way? Is the value "5" stored
in some special attribute I can just directly modify?
thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 392 matches
Mail list logo