On Sun, 23 Mar 2008 23:30:11 -0700, felciano wrote:
> The following reproduces the problem in python 2.5:
>
> import csv
> row = [1,"hello","this is\na multiline\ntext field"]
> writer = csv.writer(open("test.tsv", "w"), dialect="excel-tab",
> quotechar='"')
> writer.writerow(row)
>
> When openi
These are not cut&paste but typed by hand, yet they are identical to
the actual output.
seems like the first 8 bytes are swapped while the other half is
straightforward.
I deeply thank you for your assistance.
I am currently using a combination of reversed and list comprehension
to rebuild this b
"QS" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>From the title, I assumed this was spam like others with similar titles --
and that the perl newsgroup, for instance, would have 'Does perl hate
cathy?
| I am new to python, and I encountered a weird problem.
Observation: as yo
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Unfortunately there's nothing we can do to fix that error. Even though
| the function object has an attribute "__name__" (also known as
| "func_name") which is set to spam, it isn't used for tracebacks. Instead,
| the
Hi there
I just saw that program on the awards and wanted to use it as
i installed it on ubuntu gusty gibbon it worked fine without errors
and when i run it i get the following errors
File "/usr/bin/harvestman", line 364, in
spider.run_projects()
File "/usr/bin/harvestman", line 283, in
[EMAIL PROTECTED] wrote:
> Is there a conceptual difference between
> best =test[:]
> and
>best = [x for x in test] ?
> test is a list of real numbers. Had to use the second form to avoid a
> nasty bug
> in a program I am writing. I have to add too that I was using psyco
> in Python 2.5.1.
Hi there
I just saw that program on the awards and wanted to use it as
i installed it on ubuntu gusty gibbon it worked fine without errors
and when i run it i get the following errors
File "/usr/bin/harvestman", line 364, in
spider.run_projects()
File "/usr/bin/harvestman", line 283,
problem fixed ...
my bad.
I was using a dispatch mechanism where the C code always called the same python
dispatch function, with the actual function name to invoke as arguments.
Anyway, I forgot the 'return' statement.
The code is below.
Many thanks and apologies for the help provided :)
def disp
Hello all,
I would like to do something like:
def called(arg)
if arg==True:
!!magic!!caller.return 1
def caller(arg)
called(arg)
return 2
Here, the fake !!!magic!!! represents a statement (which I ignore)
that would make the caller function return a value different from what
Hey, I've run into another problem. I am trying to install the Mutagen
package to use as my first useful program, but can't figure out how to
install it on windows. The README says it is a simple application of--
Installing
--
$ ./setup.py build
$ su -c "./setup.py install"
--but I
Il Sat, 22 Mar 2008 14:11:16 -0700, rh0dium ha scritto:
> Hi all,
>
> I am struggling with parsing the following data:
>
> test1 = """
> Technology {
> name= "gtc" dielectric
>= 2.75e-05 unitTimeName
hi friends... google group invites you a wondering world of
businesss . do u want to earn millions of dollers per
month through online jobs joined with me and find the way to earn
dollers. visit us www.jobsforyouguys.blogspot.com
--
http://mail.python.org/mailman/lis
Hi!
I need to disable resize button in Tkinter.
I inherit the Frame class. Then in the constructor i make my buttons,
labels, etc. Then I pack them and when move borders of the frame
everything changes it's location and it looks really bad. How can I
change that?
That's my code:
# -*- coding: cp12
On Mar 23, 4:04 pm, rh0dium <[EMAIL PROTECTED]> wrote:
>
> I needed to tweak it a bit to ignore the comments.. Namely this fixed
> it up..
>
> mainDict = dictOf(
> Group(Word(alphas)+Optional(quotedString)),
> Suppress("{") + attrDict + Suppress("}")
> ) | c
Benjamin Serrato schrieb:
> Hey, I've run into another problem. I am trying to install the Mutagen
> package to use as my first useful program, but can't figure out how to
> install it on windows. The README says it is a simple application of--
>
> Installing
> --
> $ ./setup.py build
>
On Mon, 24 Mar 2008 04:33:53 -0400, Terry Reedy wrote:
> The fact that .func_name (which is writeable) is not used at first
> surprised me until I remembered that code objects can potentially be
> used by multiple function objects and hence are not connected to any one
> in particular.
How does t
On Mar 18, 9:10 pm, Gowri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a service running somewhere which gives me JSON data. What I do
> is this:
>
> import urllib,urllib2
> import cjson
>
> url = 'http://cmsdoc.cern.ch/cms/test/aprom/phedex/dev/gowri/datasvc/
> tbedi/requestDetails'
> params = {'fo
Hi all,
anybody knows a python equivalent of the perl PALM::Doc module (and
eventually other PALM::).
I have a e-book device wich reads mobi-pocket format (among others). I
have downloaded from a forum a set of perl scripts to convert HTML to
unencripted mobipocket format and vice-versa. It use
On Mar 24, 1:26 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Mon, 24 Mar 2008 04:33:53 -0400, Terry Reedy wrote:
> > The fact that .func_name (which is writeable) is not used at first
> > surprised me until I remembered that code objects can potentially be
> > used by mult
Hi,
I need your suggestions about the topic.
Actually, I'm not sure where to start but basically, I want to make
something like;
(I have an account on a site which requires log-in)
- I'll be logged-in to that site with my account in my server.
- And when a user connects to my site, I'll forward h
On Mon, 24 Mar 2008 04:21:29 -0700, Julien wrote:
> Hello all,
>
> I would like to do something like:
>
> def called(arg)
> if arg==True:
> !!magic!!caller.return 1
Instead of writing "if arg==True", or "if (arg==True)==True", or even
"if ((arg==True)==True)==True", you should just
hi i am using urllib2 to do some automated web thing.
basically i hit on sites and check the price what they are offering
for their product and then decide if i want to lower or increase my
pricing.so in short i have to hit hundreds of sites!
for the problem:
=
i run 20 threads all
On Mon, 24 Mar 2008 06:48:10 -0700, Arnaud Delobelle wrote:
> On Mar 24, 1:26 pm, Steven D'Aprano <[EMAIL PROTECTED]
> cybersource.com.au> wrote:
>> On Mon, 24 Mar 2008 04:33:53 -0400, Terry Reedy wrote:
>> > The fact that .func_name (which is writeable) is not used at first
>> > surprised me unti
ur in luck i am an expert at this!
tell me the details , site name etc
you would have to proxy everything, basically the urls in the copied
page have to be changed to point to ur site.
its highly possible. a minor adjustment to ur urlconf and it will work.
--
http://mail.python.org/mailman/listi
Is there any method in the standard modules that can perform proper
url encoding according to RFC?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 24, 7:04 pm, [EMAIL PROTECTED] wrote:
> Is there any method in the standard modules that can perform proper
> url encoding according to RFC?
whats wrong with the current encoding ??? it just works fine!!!
or is it that u dont know about urllib.urlencode() ??
--
http://mail.python.org/mail
On Mon, 24 Mar 2008 09:52:21 +, Duncan Booth wrote:
> The method usually recommended is:
>
> best = list(test)
>
> as it has no side effects
In general, you can't assume *anything* in Python has no side effects,
unless you know what sort of object is being operated on. Here's an
example
>
> Any chance you are doing this on Windows and Excel doesn't like the
> return+linefeed line endings that Windows produces when writing files in
> text mode? Try 'wb' as mode for the output file.
>
> Ciao,
> Marc 'BlackJack' Rintsch
>
Fixed! Can't believe I missed that...
Thank you for
On Mar 24, 2:01 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
[...]
>
> Yes, but what I'm asking is why the code objects have a co_name
> attribute. And even if there's a good reason for code objects to have a
> name, why do tracebacks use func.func_code.co_name instead of
> fun
On Mar 24, 5:21 am, Julien <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I would like to do something like:
>
> def called(arg)
> if arg==True:
> !!magic!!caller.return 1
>
> def caller(arg)
> called(arg)
> return 2
>
> Here, the fake !!!magic!!! represents a statement (which I ig
24 Mar 2008 13:36:13 GMT, Francesco Bochicchio <[EMAIL PROTECTED]>:
> Hi all,
>
> anybody knows a python equivalent of the perl PALM::Doc module (and
> eventually other PALM::).
>
> I have a e-book device wich reads mobi-pocket format (among others). I
> have downloaded from a forum a set of pe
On Mar 24, 9:48 am, Jason <[EMAIL PROTECTED]> wrote:
> On Mar 24, 5:21 am, Julien <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hello all,
>
> > I would like to do something like:
>
> > def called(arg)
> > if arg==True:
> > !!magic!!caller.return 1
>
> > def caller(arg)
> > called(arg)
>
Hello Guys,I have little to no experiance with element tree and I'm struggling
to find a way to parse the details from the XML document (attached) into my
application. Essentialy I'm looking to take the following document and turn it
into a dict of tuples, each dict element defines a datasource
I'm looking for a cool trick using generators. Know any exercises I
can work?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 23, 12:22 pm, Lie <[EMAIL PROTECTED]> wrote:
> On Mar 22, 2:23 pm, [EMAIL PROTECTED] wrote:
>
> > > Sane programmers don't write such semi-functional things (unless it
> > > helps expressing the problem in certain domains).
> > > I now think that deprecating map, lambda & Co. was a good thin
I am trying to create a simple web application that is written in
python, using apache and mysql. It appears as though the python web
modules have been installed, however, whenever I try to run a python
script, it only displays the code in the browser. It is like the
python code is not getting pr
Robert Rawlins wrote:
> Hello Guys,I have little to no experiance with element tree and I'm
> struggling to find a way to parse the details from the XML document
> (attached) into my application. Essentialy I'm looking to take the
> following document and turn it into a dict of tuples, each dict el
Stefan Behnel schrieb:
> Robert Rawlins wrote:
>> Hello Guys,I have little to no experiance with element tree and I'm
>> struggling to find a way to parse the details from the XML document
>> (attached) into my application. Essentialy I'm looking to take the
>> following document and turn it into a
binaryj wrote:
> On Mar 24, 7:04 pm, [EMAIL PROTECTED] wrote:
>> Is there any method in the standard modules that can perform proper
>> url encoding according to RFC?
>
> whats wrong with the current encoding ??? it just works fine!!!
>
> or is it that u dont know about urllib.urlencode() ??
I t
Il Mon, 24 Mar 2008 04:38:50 -0700, myonov ha scritto:
> Hi!
>
> I need to disable resize button in Tkinter. I inherit the Frame class.
> Then in the constructor i make my buttons, labels, etc. Then I pack them
> and when move borders of the frame everything changes it's location and
> it looks r
Il Mon, 24 Mar 2008 12:08:59 -0300, Guilherme Polo ha scritto:
> 24 Mar 2008 13:36:13 GMT, Francesco Bochicchio <[EMAIL PROTECTED]>:
>> Hi all,
>>
>> anybody knows a python equivalent of the perl PALM::Doc module (and
>> eventually other PALM::).
>>
>> I have a e-book device wich reads mobi-poc
Paul Rubin>It's at least pretty good. It's not ideal, but nothing
ever is.<
I agree. At the moment Python is among the best languages for that,
but it's not perfect for that purpose. I think newbies may need a bit
more structured language, where you have to put things in a certain
order to have a
Robert Rawlins wrote:
> I have little to no experiance with element tree and I'm struggling to
> find a way to parse the details from the XML document (attached) into
> my application. Essentialy I'm looking to take the following document
> and turn it into a dict of tuples, each dict element de
Hi, If ther's anyone who knows pretty much about wxPython can e-mail me? I'm
having some trouble in dealing with some guis here, I would thank u very
much if you could help me
bye
[]'s
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 23, 7:59 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Sun, 23 Mar 2008 14:24:52 -0700 (PDT), Craig <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>
> > This dll was designed to be used from either C or Visual Basic 6.
>
> > I have the declare statements for V
'''
hello, using pidgin instant messenger I can get the value of 'message'
when one is being sent but,
I dont know how to chage the value of message.
from the documentation (http://developer.pidgin.im/doxygen/dev/html/
conversation-signals.html#sending-im-msg):
_
sendin
or a way of letting me see the message then cancel sending it then I
could create a new message and send that one. but I cant see this in
the documentation
--
http://mail.python.org/mailman/listinfo/python-list
Hi David,
2008/3/24, David Anderson <[EMAIL PROTECTED]>:
> Hi, If ther's anyone who knows pretty much about wxPython can e-mail me? I'm
> having some trouble in dealing with some guis here, I would thank u very
> much if you could help me
You should subscribe to the wxPython users mailinglist and
I know that IronPython and CPython are different in that one does not
use the .net framework, but are they both really the same Python
language. From my basic understanding, it will depend on what the
programmer's goal is as to which of the two would be used, but I
didn't know if they were really
On Mar 24, 12:00 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
> I know that IronPython and CPython are different in that one does not
> use the .net framework, but are they both really the same Python
> language. From my basic understanding, it will depend on what the
> programmer's goal is as to whic
En Mon, 24 Mar 2008 03:25:02 -0300, Benjamin Serrato
<[EMAIL PROTECTED]> escribió:
> Hey, I've run into another problem. I am trying to install the Mutagen
> package to use as my first useful program, but can't figure out how to
> install it on windows. The README says it is a simple application
Hi,
I need your suggestions about the topic.
Actually, I'm not sure where to start but basically, I want to make
something like;
(I have an account on a site which requires log-in)
- I'll be logged-in to that site with my account in my server.
- And when a user connects to my site, I'll forward h
Hi all,
I'm new to python, and am trying to determine if it's possible to do
the following...
I have a directory structure like this, with both 'dir1' and 'dir2' in
my PYTHONPATH
dir1/
foo/
__init__.py
a.py
b.py
dir2/
foo/
__init__.py
a.py
c.py
I'd like to be able t
This is an initial announcement.
Tobu is a freeform database / tagger / PIM and more. It works in both
Linux and Windows and uses wxPython framework and pysqlite.
Comments, suggestions, feature requests and critique are gladly
appreciated.
Tutorial with links to download page and to graphical o
while I can invoke methods of empty string '' right in typing
(''.join(), etc.) I can't do the same with empty list
example:
>>> a = [1,2,3]
>>> b = [].extend(a)
>>> b
>>> b = []
>>> b.extend(a)
>>> b
[1,2,3]
I would not use b = a since I don't want changes on 'b' to apply on
'a'
do you think t
Hi,
I'm trying to write a plug-in for a ftp server of mine to permit the
integration with accounts defined on the Windows system.
What I basically need is impersonating a user, execute e filesystem
call (e.g. create a directory via os.mkdir()) and then switch back to
the original user (Administrato
Thanx
On Mon, Mar 24, 2008 at 2:00 PM, Frank Niessink <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> 2008/3/24, David Anderson <[EMAIL PROTECTED]>:
> > Hi, If ther's anyone who knows pretty much about wxPython can e-mail me?
> I'm
> > having some trouble in dealing with some guis here, I would thank
En Mon, 24 Mar 2008 15:06:51 -0300, <[EMAIL PROTECTED]> escribió:
> Hi all,
>
> I'm new to python, and am trying to determine if it's possible to do
> the following...
>
> I have a directory structure like this, with both 'dir1' and 'dir2' in
> my PYTHONPATH
>
> dir1/
> foo/
> __init__.py
>
Hi Everyone
I am new to programming in general although I have read alot and
done alot of experimentation as well as researched afew languages
namely java python and visual basic . My conclusion is that python
is one of the best because it eliminates the need to learn about
access modifi
En Mon, 24 Mar 2008 15:22:43 -0300, Tzury Bar Yochay
<[EMAIL PROTECTED]> escribió:
> while I can invoke methods of empty string '' right in typing
> (''.join(), etc.) I can't do the same with empty list
>
> example:
>
a = [1,2,3]
b = [].extend(a)
b
b = []
b.extend(a)
>>>
What does the code look like?
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 24, 1:53 pm, pythonnubie <[EMAIL PROTECTED]> wrote:
> Hi Everyone
>
> I am new to programming in general although I have read alot and
> done alot of experimentation as well as researched afew languages
> namely java python and visual basic . My conclusion is that python
> is one of
On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote:
> What does the code look like?
# Random Access
# Demonstrates string indexing
# Michael Dawson - 1/27/03
import random
word = "index"
print "The word is: ", word, "\n"
high = len(word)
low = -len(word)
for i in range(10):
position = rand
On Mar 24, 2:53 pm, pythonnubie <[EMAIL PROTECTED]> wrote:
> Hi Everyone
>
> I am new to programming in general although I have read alot and
> done alot of experimentation as well as researched afew languages
> namely java python and visual basic . My conclusion is that python
> is one of
pythonnubie wrote:
> On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote:
>> What does the code look like?
>
> # Random Access
> # Demonstrates string indexing
> # Michael Dawson - 1/27/03
>
> import random
Make sure that you do not have a random.py module in the current directory.
Python check
>
> > i have come across my first exeption using randrange . The exeption
> > is " no such attribute " in module random
>
> > platform is xp home and the python build is activestate 2.5
>
> Welcome aboard!
>
> There's definitely a randrange function in the random module, so
> something else
On Mar 24, 3:03 pm, pythonnubie <[EMAIL PROTECTED]> wrote:
> On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote:
>
> > What does the code look like?
>
> # Random Access
> # Demonstrates string indexing
> # Michael Dawson - 1/27/03
>
> import random
>
> word = "index"
> print "The word is: ", word,
pythonnubie wrote:
> The exeption
> is " no such attribute " in module random
Is your own source file named "random.py" by chance? If so, rename it, and
be sure to remove the leftover random.pyc file as well.
Jeffrey
--
http://mail.python.org/mailman/listinfo/python-list
pythonnubie wrote:
> On Mar 24, 11:57 am, Jeff <[EMAIL PROTECTED]> wrote:
>> What does the code look like?
>
> # Random Access
> # Demonstrates string indexing
> # Michael Dawson - 1/27/03
>
> import random
>
> word = "index"
> print "The word is: ", word, "\n"
>
> high = len(word)
> low = -le
On Mar 24, 3:13 pm, pythonnubie <[EMAIL PROTECTED]> wrote:
> > > i have come across my first exeption using randrange . The exeption
> > > is " no such attribute " in module random
>
> > > platform is xp home and the python build is activestate 2.5
>
> > Welcome aboard!
>
> > There's defini
On Mar 24, 12:18 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Mar 24, 3:13 pm, pythonnubie <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > > > i have come across my first exeption using randrange . The exeption
> > > > is " no such attribute " in module random
>
> > > > platform is xp home and
On Mar 24, 12:27 pm, Craig <[EMAIL PROTECTED]> wrote:
> On Mar 23, 7:59 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Sun, 23 Mar 2008 14:24:52 -0700 (PDT), Craig <[EMAIL PROTECTED]>
> > declaimed the following in comp.lang.python:
>
> > > This dll was designed to be used from eithe
On Fri, 21 Mar 2008 13:34:27 -0700, John Machin wrote:
> On Mar 22, 2:53 am, klaus <[EMAIL PROTECTED]> wrote:
>> On Fri, 21 Mar 2008 10:31:20 -0500, Tim Chase wrote:
>>
>> <..>
>>
>> Ok thank you !
>>
>> I think I got a bit lost in all the possibilities python has to offer.
>
> IMHO you g
On Mar 18, 10:09 am, amk <[EMAIL PROTECTED]> wrote:
> On Mar 17, 10:00 pm, dundeemt <[EMAIL PROTECTED]> wrote:
>
> > Anyone know who is in charge of this? I'd like to help out if I
> > could.
>
> I am, but haven't set anything up yet, such as a mailing list or a
> host for the video.
> I'll update
> I have a little problem. I have a script that is in the scheduler
> (win32). But every now and then I update this script and I dont want
> to go to every computer and update it.
Can't you just put the script on a network share?
Tobiah
--
Posted via a free Usenet account from http://www.terane
Hi,
I am a student interested in participating in this year's SoC.
At http://tsk.ch.uj.edu.pl/~janeczek/socapp.html (and also below
in this email) you can find a draft of my project proposal.
I'd like to ask you to comment on it, especially the deliverables
part. Are you interested in such a proj
Tzury Bar Yochay wrote in news:3a6c32fe-e7c1-4230-882d-efb3415196c1
@b1g2000hsg.googlegroups.com in comp.lang.python:
> for example:
> the value
> 'EE604EE3-4AB0-4EE7-AF4D-018124393CD7'
> is represent as
> '\xe3N`\xee\xb0J\xe7N\xafM\x01\x81$9<\xd7'
>
from uuid import *
u = UUID( bytes = '\xe3N`
I am using the paramiko library to pull a data from a server using SFTP.
It works perfect on a windows xp machine but bugs out a windows 2003
server. I get the following error:
Traceback (most recent call last):
File "S:\Temp\ftpBOA.py", line 5, in ?
import paramiko
File "C:\Python23\lib\pa
Hi,I am trying to create new tickets in the ticketing system using python. When I receive new email from a particular address, I have to trigger the python script and parse the mail in required format. The main hurdle here is, how to invoke the script on arrival of new mail? I checked the outloo
Hi,I am trying to create new tickets in the ticketing system using python. When I receive new email from a particular address, I have to trigger the python script and parse the mail in required format. The main hurdle here is, how to invoke the script on arrival of new mail? I checked the outloo
My previous post was not clear, hence resending this.
-
Hi,
I am trying to create new tickets in the ticketing system using python. When I
receive new email from a particular address, I have to trigger the python
script and parse the mail in required format.
The main
Well on a FreeBSD/Unix system you can use the .forward to pipe the
incoming mail for a user to a program. Below is the contents of my
.forward that invokes procmail.
"|/usr/local/bin/procmail -m /path/to/conf/.procmailrc"
So I imagine you could do something like this in a .forward.
"|/path/myp
Hi all, and thanks a lot for your answers!
I'll try to explain a bit more what I'm after, and hopefully that will
be clearer. In fact, what I'm trying to do is to "hijack" (I'm making
up the term) a function:
def hijacker(arg):
if I_feel_its_necessary:
hijack_caller_function_and_make_
Hi kids!
I've got some code that uses select.select() to capture all the output
of a subprocess (both stdout and stderr, see below). This code works
as expected on a variety of Fedora systems running Python > 2.4.0, but
on a Debian Sarge system running Python 2.2.1 it's a no-go. I'm
thinking thi
On 2008-03-24, SPJ <[EMAIL PROTECTED]> wrote:
> I am trying to create new tickets in the ticketing system
> using python. When I receive new email from a particular
> address, I have to trigger the python script and parse the
> mail in required format.
>
> The main hurdle here is, how to invoke t
On Mar 24, 3:45 pm, Craig <[EMAIL PROTECTED]> wrote:
> On Mar 24, 12:27 pm, Craig <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 23, 7:59 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>
> > > On Sun, 23 Mar 2008 14:24:52 -0700 (PDT), Craig <[EMAIL PROTECTED]>
> > > declaimed the following in comp.l
On Mar 25, 7:50 am, "Tarun Kapoor" <[EMAIL PROTECTED]> wrote:
> I am using the paramiko library to pull a data from a server using SFTP.
> It works perfect on a windows xp machine but bugs out a windows 2003
> server. I get the following error:
> Traceback (most recent call last):
> File "S:\Temp
Hi,
I know this is a pretty simple question but I've spent a while on this and
can't see whats wrong. I'm trying to access a shared library which I've
created called Simulation.so, its created as such (snip from makefile):
all: simulation
simulation: Simulation.so
Simulation.so: Simulation.o St
On Mar 25, 9:05 am, Julien <[EMAIL PROTECTED]> wrote:
> Hi all, and thanks a lot for your answers!
>
> I'll try to explain a bit more what I'm after, and hopefully that will
> be clearer. In fact, what I'm trying to do is to "hijack" (I'm making
> up the term) a function:
>
> def hijacker(arg):
>
On Mar 24, 10:05 pm, Julien <[EMAIL PROTECTED]> wrote:
> Hi all, and thanks a lot for your answers!
>
> I'll try to explain a bit more what I'm after, and hopefully that will
> be clearer. In fact, what I'm trying to do is to "hijack" (I'm making
> up the term) a function:
>
> def hijacker(arg):
>
Hello All,
I have a Beautiful Soup question and I'd appreciate any guidance the
forum can provide.
Let's say I have a file that looks at file.html pasted below.
My goal is to extract all elements where the following is true: and .
The lines should be ordered in the same order as they appear in
On Mar 24, 6:57 am, binaryj <[EMAIL PROTECTED]> wrote:
> hi i am using urllib2 to do some automated web thing.
> basically i hit on sites and check the price what they are offering
> for their product and then decide if i want to lower or increase my
> pricing.so in short i have to hit hundreds of
Hi binaryj,
Yeah I feel lucky, thanks...
Well, actually, I want my users to be able to see the auction
information about some vehicles.
It's a Japanese site (https://www.iauc.co.jp/)
I've no experience about the proxy staff, but when I googled I found;
- Twisted
- pyCurl
but, I don't know how to
I've built an app on linux which we have managed to localise into at
least three languages, the app runs well using this command LANG=fr_FR
python app.py which would translate the app into french. We've tried
the replicate the same principle on windows but so far nothing works,
the app will need to
On Mar 24, 6:32 pm, Tess <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I have a Beautiful Soup question and I'd appreciate any guidance the
> forum can provide.
>
I *know* you're using Beautiful Soup, and I *know* that BS is the de
facto HTML parser/processor library. Buut, I just couldn't help
"Arnaud Delobelle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>From what I remember when I looked at the source: stack frames execute
code objects, not functions. They don't know what function has
spawned them, only what code object they are executing. In fact when
one thinks o
On Mar 24, 12:18 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Mar 24, 3:13 pm, pythonnubie <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > > > i have come across my first exeption using randrange . The exeption
> > > > is " no such attribute " in module random
>
> > > > platform is xp home and
On Mar 24, 2:58 pm, Derek Martin <[EMAIL PROTECTED]> wrote:
> If and only if the total amount of output is greater than the
> specified buffer size, then reading on this file hangs indefinitely.
> For what it's worth, the program whose output I need to capture with
> this generates about 17k of out
Paul - thanks for the input, it's interesting to see how pyparser
handles it.
Anyhow, a simple regex took care of the issue in BS:
for i in soup.findAll(re.compile('^p|^div'),align=re.compile('^center|
^left')):
print i
Thanks again!
T
--
http://mail.python.org/mailman/listinfo/python-li
Hi Everyone,
I hope not to offend you with too many question.. I've been lurking a
long time. I'm not keen on keeping e-mails or data stored in the
public space so this is my first post to the group.
That being said, I'm keen on refining my skills, I hope that I can
prove that I've move on beyond
1 - 100 of 114 matches
Mail list logo