ptember, 2014 3:08:09 PM
Subject: Re: Python 3.3.2 help
Hello David, and thanks for replying. More comments below.
D Moorcroft wrote:
> Hi,
>
> We are using windows 7 and it is all pupils as they are more restricted
> than staff.
>
> They are using the python 3.3.2 shell an
..
irrational number, including π, can be represented by an infinite series of
nested fractions...". So it won't be very complicated to implement.
6. Implement dos2unix/unix2dos
7. Calculator, that gets a string, put data into a tree and after
calculates the value.
Vytas D.
On Tue,
+= 1
def main():
generator = counter()
while True:
print(next(generator))
if __name__ == '__main__':
main()
Hope helps.
Vytas D.
On Tue, Feb 26, 2013 at 4:34 PM, Colin J. Williams wrote:
> On 24/02/2013 7:36 PM, Ziliang Chen wrote:
>
>> Hi folk
Hello,
Just recently learned about memory-mapped files (module mmap). If two
processes open the same file, this file is mapped for both processes. So at
the same time the same memory space can be accesses by two processes. The
documentation stated that memory-mapped files can (and are) used for
in
Hi,
If you want to have one program running forever and printing sales_records,
you would do (one of the possibilities) something like this:
def salesrecord(serial_number):
for i in salesrecord:
print first_sales_record
serial_number += 1
print serial_number
return
Please correct me if im wrong..
PySide is LGPL and is free and by using that someone can develop commercial
(and non commercial) software, while being able at the same to choose between
both close and open Source.
PyQT4 Commercial Licence costs more than 300 Euro and by using that someone can
Hi there,
Im searching for an installation guide for PyQt toolkit.
To be honest im very confused about what steps should i follow for a complete
and clean installation. Should i better choose to install the 32bit or the
64bit windows version? Or maybe both? Any chance one of them is more/less
bu
Τη Τετάρτη, 20 Μαρτίου 2013 2:55:22 π.μ. UTC+2, ο χρήστης Terry Reedy έγραψε:
> On 3/19/2013 8:12 PM, D. Xenakis wrote:
>
> > Hi there, Im searching for an installation guide for PyQt toolkit. To
>
> > be honest im very confused about what steps should i follow for a
>
3.3.0 Windows X86-64 MSI Installer" from
http://www.python.org/download/ , here: "C:\Python33" (i have 64 bit Win7 pro
Greek edition)
2)Downloaded and unzipped "sip-4.14.5.zip" from
http://www.riverbankcomputing.com/software/sip/download , here:
"D:\Downloads\si
Τη Τρίτη, 2 Απριλίου 2013 6:39:07 μ.μ. UTC+3, ο χρήστης D. Xenakis έγραψε:
> Hi there im trying to install PyQT (version
> PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe) but i dont know how to make sure i
> have installed everything correctly. I tried to find documentation about this
> bu
I had also installed in the past python 2.7 . Now when im trying to run a .py,
interpreter 2.7 is always being called.. (also when im right clicking and
sellecting to run in IDLE, 2.7 is agai
n starting instead of 3.3) so PyQt4 is crashing. Any tip to make 3.3 the
default interpreter plz?
--
ht
Τη Τρίτη, 2 Απριλίου 2013 10:44:43 μ.μ. UTC+3, ο χρήστης Sibylle Koczian έγραψε:
> Am 02.04.2013 18:10, schrieb David Robinow:
>
> >
>
> > 3)Downloaded and installed "PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe"
>
> > from http://www.riverbankcomputing.com/software/pyqt/download ,
>
> >
Hi there, i installed python 2.7 (windows 32bit version) from
http://www.enthought.com/products/epd_free.php and after that i installed
official 3.3 version too. So now i got two python folders like this..
c:/Python27 and c:/Python33 .
My problem is that when im trying to execute a .py file, t
I tried to reinstall python 3.3 but there was not change :(.
I selected to run all component from my PC.
I'll give it a try with those registries.
--
http://mail.python.org/mailman/listinfo/python-list
Τη Τετάρτη, 3 Απριλίου 2013 12:43:43 μ.μ. UTC+3, ο χρήστης Wolfgang Maier
έγραψε:
> D. Xenakis hotmail.com> writes:
>
>
>
> >
>
> > Hi there, i installed python 2.7 (windows 32bit version) from
>
> > http://www.enthought.com/products/epd_free.php a
thx solved
--
http://mail.python.org/mailman/listinfo/python-list
Hey Usenetites!
I have a horrible Python program to allow two people to chat with each
other. It has horribly any functionality, but it is meant for the
public to work on, not necessarily me. Anyways, here's a quick FAQ.
What does this do that IRC can't? What does this do that AIM can't?
--It a
On Apr 5, 9:26 pm, Andrew Berg wrote:
> On 2013.04.05 20:07, Roy Smith wrote:> I know this is off-topic, but I
> encourage people to NOT invent their own
> > licenses.
>
> Perhaps he meant this existing license:http://www.wtfpl.net/about/
> --
> CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1
On Apr 5, 8:52 pm, Demian Brecht wrote:
> Thanks for sharing some of your work with the community. However...
>
> Speaking to the sharing aspect: Why would you post a block of code in an
> email? If you're looking for people to contribute, it would likely be a
> much better idea to post it on gith
On Apr 7, 6:36 pm, Steven D'Aprano wrote:
> On Sun, 07 Apr 2013 14:47:11 -0700, jhunter.dunefsky wrote:
> > Actually, my current licence can be found here:
> >https://github.com/jhunter-d/im.py/blob/master/LICENCE. Whaddaya think
> > about this, Useneters?
>
> I
There's a new version of im.py out on GitHub:
https://github.com/jhunter-d/im.py/blob/master/im.py
--
http://mail.python.org/mailman/listinfo/python-list
I just put out a new version of im.py on GitHub. You can find it
here:
https://github.com/jhunter-d/im.py/blob/master/im.py
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> Write code, not usenet posts.
QOTW!
--
http://mail.python.org/mailman/listinfo/python-list
Tolga wrote:
> I am not unfamiliar to programming but a newbie in Python. Could you
> recommend me (a) great book(s) to start with? Free online books or
> solid books are welcome.
>
http://www.ibiblio.org/g2swap/byteofpython/read/index.html
http://www.ibiblio.org/obp/thinkCSpy/
http://www.freene
[EMAIL PROTECTED] wrote:
> I am using a toolkit that has a SetFaveNumbers() method. the method
> accepts any number
> of comma-separated numbers.
>
> the following are all valid examples:
>
> FooToolkit.SetFaveNumbers(1,3,5)
> FooToolkit.SetFaveNumbers(2,4,6,8,10)
> FooToolkit.SetFaveNumbers(1)
>
Kay Schluehr wrote:
> gsteff wrote:
>
>
>>So I'm wondering, what is
>>innovative about Python, either in its design or implementation? Or is
>>its magic really just in combining many useful features of prior
>>languages in an unusually pleasant way?
>>
>>Greg
>
>
> The latter.
>
> http://www.
Kay Schluehr wrote:
> [EMAIL PROTECTED] wrote:
>
>>I am trying to learn GUI programming in Python, but have to confess I
>>am finding it difficult.
>
>
> Don't do it if you can prevent it.
What kind of helpful advice is that?
> Conclusion: if you are already familiar with BASIC I would just
>
Hi,
are there any specific groups for zope / plone regarding questions?
my question is:
How is it possible to use Zope 3 Products with Plone, which is an
extension based on Zope 2?
Thank you Dennis
--
http://mail.python.org/mailman/listinfo/python-list
Neuruss wrote:
> I'm sorry for asking about another language here, but since I only know
> Python and I'm trying to write something in C#, I guess this is the
> best place...
>
> I'd like to know how to write this in C#:
>
> x=[]
> sz = 1000
> x.extend(range(sz))
>
> My question is about "ra
ocale.LC_ALL, 'English_United States.1252')
print locale.format("%d", 123456789, grouping=True)
Someone should make a module that uses .NET or Java's formmating.
You just use {0:n} or ###,### instead of all the above.
http://blog.stevex.net/index.php/string-formatting-in-csharp/
ht
Christoph Zwerschke wrote:
>
> See the following web page if you dont find it ;-)
> http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html
>
The point of that is that it did fail. It threw an
ArrayIndexOutOfBoundsException exception. But it was just luck that
h
Donn Cave wrote:
> I can say "Python can serve as a scripting language for some applications",
> but not "Python is a scripting language!"
bruno at modulix wrote:
> as soon as you say "interpreted, scripting", peoples think "not
> serious".
Cameron Laird wrote:
> I *think* you're proposing tha
Peter Hansen wrote:
> Jason Mobarak wrote:
>
>> What's wrong with:
>>
>> def blah():
>> def _ (a, b, c):
>> a = a + 2
>> print "stmt 2"
>> return a+b/c
>> return doSomethingWith(_)
>>
>> It's basically "anonymous", it just uses a name that you don't care
>> about. AFAIK, it can be
phil wrote:
> I get a digest several times a day.
> When I wish to respond to an item I must
> cut and paste the item and the subject line.
> Is there something to click on for a simple reply?
> Using an old mozilla mail.
> Thanks
>
Perfectly valid question.
Add an nntp connection in mozilla mail
Peter Hansen wrote:
> could ildg wrote:
>
>> I need a regular expression to check if a string matches it.
>
>
> Why do you think you need a regular expression?
>
> If another approach that involved no regular expressions worked much
> better, would you reject it for some reason?
>
> -Peter
A
Fredrik Lundh wrote:
> "D H" <[EMAIL PROTECTED]> wrote:
>
>
>>>Why do you think you need a regular expression?
>>>
>>>If another approach that involved no regular expressions worked much
>>>better, would you reject it for some rea
Robert Kern wrote:
> It's called Daily Python-URL not Daily Python-Like-Languages-URL. *That*
> explains it.
google for logix site:pythonware.com He's announced plenty non-python
stuff that is of interest to python users, including plenty of marketing
for his own software.
> It's not like Py
Sakesun Roykiattisak wrote:
> IMHO, Pythonware.com does not have to be about python. It can be
> anything the maintainer want it to be.
>
> Get the point ?
You successfully repeated my own argument, so yes, I get the point.
--
http://mail.python.org/mailman/listinfo/python-list
Robert Kern wrote:
> The Daily Python-URL isn't obligated to link to *anything*.
I never suggested it was.
--
http://mail.python.org/mailman/listinfo/python-list
msvcrt!_endthread+0xa6
14 023fffec 77bc9032 01415bd8
kernel32!BaseThreadStart+0x34
- Saravanan D
"Saravanan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> Im running Python Application as a Windows Service (using wi
Hello,
Component which uses only windows extension modules and callback from C++ to
Python.
- Saravanan D
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Saravanan D" <[EMAIL PROTECTED]> wrote:
>
> > 03 023ffaa4
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Saravanan D" <[EMAIL PROTECTED]> wrote:
>
> > 03 023ffaa4 1e013182 055b1250 00637470 python23!cmp_outcome(int
op
> > = 88026108, struct _object * v = 0x
result of strcmp (-1, 0, 1 ?) supposed to be callable?
> Is this guarded by a rarely triggered condition?
>
> Terry J. Reedy
The above one is C Code. The same line is present in object.c file of
Python Interpreter Source and the function name is default_3way_compare().
Windows debugger p
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Saravanan D" wrote:
>
> > > > 03 023ffaa4 1e013182 055b1250 00637470
python23!cmp_outcome(int
> > op
> > > > = 88026108, struct _object * v
Hello,
In windows, I am launching Python process to execute python script in the
back ground. This Python script which internally launches another windows
exe. Here, how do I redirect output of windows.exe to caller process.
(python.exe).
I would appreciate, if any one provides sample code for th
Elliot Temple wrote:
> Hi I have two questions. Could someone explain to me why Python is
> case sensitive? I find that annoying.
I do too. As you've found, the only reason is because it is, and it is
too late to change (it was even too late back in 1999 when it was
considered by Guido). I
Roy Smith wrote:
> In article <[EMAIL PROTECTED]>, D H <[EMAIL PROTECTED]> wrote:
>
>
>>Elliot Temple wrote:
>>
>>>Hi I have two questions. Could someone explain to me why Python is
>>>case sensitive? I find that annoying.
>>
>&
Jon Slaughter wrote:
> I'm trying to get into web development for creating a professional web site
> and I'm confused on which language I should use. I've read some comparisons
> between the major languages and I was thinking that python might be the way
> to go for the most powerful and genera
Peter Hansen wrote:
> With a case statement, on the other hand, you *know* that it must be
> just simple conditionals (a series of x == some_constant tests), so you
> don't need to look at all the cases, just the one that interests you.
Since you and Steve Holden agree that a case statement is u
Steve Holden wrote:
> Fernando M. wrote:
>
>> Hi,
>>
>> i was just wondering about the need to put "self" as the first
>> parameter in every method a class has because, if it's always needed,
>> why the obligation to write it? couldn't it be implicit?
>>
>> Or is it a special reason for this being
Philippe C. Martin wrote:
> Yet for the first time I get (most) of my questions answered by a language I
> did not know 1 year ago.
^^
You're in the Python honeymoon stage.
--
http://mail.python.org/mailman/listinfo/python-list
Andrea Griffini wrote:
> On Sat, 11 Jun 2005 21:52:57 -0400, Peter Hansen <[EMAIL PROTECTED]>
> wrote:
>
>
>>I think new CS students have more than enough to learn with their
>>*first* language without having to discover the trials and tribulations
>>of memory management (or those other things
Andrea Griffini wrote:
> On Mon, 13 Jun 2005 22:23:39 +0200, Bruno Desthuilliers
> <[EMAIL PROTECTED]> wrote:
>
>
>>Being familiar with
>>fondamental *programming* concepts like vars, branching, looping and
>>functions proved to be helpful when learning C, since I only had then to
>>focus on p
Peter Hansen wrote:
> D H wrote:
>
>> Peter Hansen wrote:
>>
>>> With a case statement, on the other hand, you *know* that it must be
>>> just simple conditionals (a series of x == some_constant tests), so
>>> you don't need to look at a
Peter Hansen wrote:
>> But apparently some guru I greatly respect thinks so
>> (I'm not kidding, http://www.spellen.org/youcandoit/).
>
>
> With respect to the author, and an understanding that there is probably
> much that didn't go into his self-description (add "about.htm" to the
> above URL
George Sakkis wrote:
> During the last 18 months or so I have indulged in the joy of learning
> and using python for almost everything, but I may have to go back to
> C/C++ at work. Suddenly I found myself transliterating (or translating
> at least) common python idioms and patterns, looking for li
Hi,
I am facing a problem in starting IDLE. The hourglass appears for a
while and then goes off. When i tried opening it after switching of the
firewall, it still din help. If some other program is accessing the port can
anyone tell me how to assign the port to python. Thanks .
--
http://mail
I expressed my creativity & created two routines, listsort & dictsort.
def listsort(l,cmp=None): l.sort(cmp); return l
def dictsort(d,cmp=None):return [(k,d[k])for k in listsort(d.keys(),cmp=cmp)]
Basically I am more familiar with sorting inside a for loop, eg in
bourne shell one can
Choice answer. It exactly hit the mark.
I implemented "sorted" as follows:
#!/usr/bin/env python
d=dict(zip("cba",(2,1,3)))
for k in sorted(d,key=lambda k: d[k]): print k,d[k]
Output:
b 1
c 2
a 3
I am glad I asked. Now I know.
Thanᚷ
NevilleDNZ
On Wed, 2007-06-20 a
Hi,
I am trying to send a message to a SOAP implementation where the parameters
must in sequence. I am creating a SOAPProxy and then sending the message
with:
proxy.methodName(paramName=value, paramName2=value2)
Is there a way to explicitly set the order of parameters?
If not, is there a way to
I figured it out.
The SOAPPRoxy class has an attribute 'SOAPPRoxy.config.argsOrdering'
You can set it to a dict. Each key is the name of a method, and the value is
a list with the attributes in the correct order.
-Dave
D Unit wrote:
>
> Hi,
>
> I am trying to se
Blatherskite!
http://innovators.vassar.edu/innovator.html?id=8
http://www.itweek.co.uk/itweek/comment/2160655/laziness-mother-invention
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
> In a couple of posts in the past year i have crossed-posted (e.g.
> recently “What are OOP's Jargons and Complexities”, “is laziness a
> programer's virtue?”, “On Java's Interface (the meaning of interface
> in computer programing)” ), there are a some controversy, and lots of
> of
Hi, I recently started coding with Python and I've been trying for the
past hour or so to determine why, every time I "import wx" (or compile
another piece of code that imports wx), Python can never find the
libraries.
I'm running Ubuntu Edgy 6.10, and, as per
http://www.wxpython.org/download.php
On Feb 10, 1:07 pm, hg <[EMAIL PROTECTED]> wrote:
> By default, you need to have wx installed in the python site-package path /
> under Mandriva, I have wx 2.8 installed
> here: /usr/lib/python2.4/site-packages/wx-2.8-gtk2-ansi/
>
> hg
Ah, now I see. But I have a new problem:
"ls /usr/lib/python
Kay Schluehr wrote:
> To make a witty comment:
> Xah is the star, who undresses his mind.
> But good and sensitive people don't like liking to
> contribute in those nasty battles and believe their time is deserved to
> something less wastefull.
> I mildly disagree with attitude and tend to
> t
Fredrik Lundh wrote:
> vbgunz wrote:
>
>>> I have new a list , when it hava large number of values, I wonna to
>>> delete all the values in it,how to do?
>>
>> something like this will probably help.
>>
>> x = [1,2,3,4,5,6,7,8,9]
>> y = x
>>
>> list([x.pop() for z in xrange(len(x))])
>>
>> print x
Hello, I've just picked up the Python language and am really enjoying it.
I've just signed up to this mailing list and I'm looking forward to taking
part in some discussions.
My first post is a question I've been pondering for the last couple of days:
For relatively static data (such as a list),
? Really?
I think I should have said process start up, for example a long running
process that can supply the object to new ones, loaded on webserver start
up.
I appreciate comments, It is purely so I can understand python and program
design better.
Regards,
Mike
On Feb 1, 2008 12:09 AM, S
ugh it would be much
safer.
I'll continue to investigate, thanks for your input.
On Feb 1, 2008 11:00 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
> Mike D wrote:
> > Steve,
> >
> > Thanks for the response. My question really comes down to, as you
> > suggest
I have a simple requirement: A user belongs to groups and groups contain
items.
Based on user/group I want to display items.
Based on user I want to display groups.
What would be the best method of implementing this? A dictionary of objects?
I'd usually just use a database but I feel it's quite
Hello,
I'm using XML Reader (xml.sax.xmlreader.XMLReader) to create an rss reader.
I can parse the file but am unsure how to extract the elements I require.
For example: For each element I want the title and description.
I have some stub code; I want to create a list of objects which include a
On 3/3/08, Mike D <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm using XML Reader (xml.sax.xmlreader.XMLReader) to create an rss
> reader.
>
> I can parse the file but am unsure how to extract the elements I require.
> For example: For each element I want the tit
Hello, I've spent the morning trying to parse a simple xml file and have the
following:
import sys
from xml.dom import minidom
doc=minidom.parse('topstories.xml')
items = doc.getElementsByTagName("item")
text=''
for i in items:
t = i.firstChild
print t.nodeName
if t.nodeType == t.TEXT
I really should say net cast as I think it's a better term ;)
Does anyone have any recommended net casts on Python, or programming in
general?
Whats everyone listening to?
Cheers Guys!
--
http://mail.python.org/mailman/listinfo/python-list
I have a script that will login to my ftp server and download all the
backup files, but I want it to only download the files that were
created today, e.g. if I ran the script today I want it to only fetch
files created today.
I am really not sure about how to do this, but it is quite important
to
On Dec 10, 5:55 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Andrew D wrote:
> > I have a script that will login to my ftp server and download all the
> > backup files, but I want it to only download the files that were
> > created today, e.g. if I ran the script to
On Dec 10, 6:13 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Andrew D wrote:
> > On Dec 10, 5:55 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> >> Andrew D wrote:
> >>> I have a script that will login to my ftp server and download all the
> >>
On Dec 10, 6:55 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> > I have a script that will login to my ftp server and download
> > all the backup files, but I want it to only download the files
> > that were created today, e.g. if I ran the script today I want
> > it to only fetch files created today.
On Dec 18, 11:52 am, eric wrote:
> On Dec 18, 8:37 pm, collin.da...@gmail.com wrote:
>
> > I am trying to write a simple application to factor polynomials. I
> > wrote (simple) raw_input lines to collect the a, b, and c values from
> > the user, but I dont know how to implement the quadratic equat
On Dec 18, 1:09 pm, Mark Dickinson wrote:
> On Dec 18, 8:47 pm, Scott David Daniels wrote:
>
> > else: # a single result (discriminant is zero)
> > return (-b / (2 * a),)
>
> Maybe make that (-b / (2. * a)) to avoid getting funny results
> when a and b are integers. (Or do a from _
On Dec 18, 4:41 pm, "James Mills"
wrote:
> On Fri, Dec 19, 2008 at 10:11 AM, Gabriel Genellina
>
> wrote:
> > En Thu, 18 Dec 2008 17:37:35 -0200, escribió:
>
> >> I am trying to write a simple application to factor polynomials. I
> >> wrote (simple) raw_input lines to collect the a, b, and c val
On Dec 18, 5:30 pm, "James Mills"
wrote:
> UPDATE:
>
> jmi...@atomant:~/tmp$ cat polycalc.py
> #!/usr/bin/env python
>
> from math import sqrt
>
> def f(a, b, c):
> if (b**2 - (4 * a * c)) < 0:
> return None, None # Can't solve
> x1 = -b - (sqrt(b**2 - (4 * a * c)) / (2 * a))
>
tic_solution(a,b,c)
sol1 = -1*b + ((b**2 - 4*a*c)**.5)/2*a
sol1 = -1*b - ((b**2 - 4*a*c)**.5)/2*a
return (sol1, sol2)
Squaring the -b would give you some strange solutions :D
-CD
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 18, 11:37 am, collin.da...@gmail.com wrote:
> I am trying to write a simple application to factor polynomials. I
> wrote (simple) raw_input lines to collect the a, b, and c values from
> the user, but I dont know how to implement the quadratic equation
>
> x = (-b +or- (b^2 - 4ac)^1/2) / 2a
On Dec 18, 6:12 pm, Collin D wrote:
> On Dec 18, 11:37 am, collin.da...@gmail.com wrote:
>
> > I am trying to write a simple application to factor polynomials. I
> > wrote (simple) raw_input lines to collect the a, b, and c values from
> > the user, but I dont know how to
On Dec 18, 6:23 pm, "Russ P." wrote:
> On Dec 18, 6:17 pm, Collin D wrote:
>
>
>
>
>
> > On Dec 18, 6:12 pm, Collin D wrote:
>
> > > On Dec 18, 11:37 am, collin.da...@gmail.com wrote:
>
> > > > I am trying to write a simple applicat
On Dec 18, 6:27 pm, Collin D wrote:
> On Dec 18, 6:23 pm, "Russ P." wrote:
>
>
>
>
>
> > On Dec 18, 6:17 pm, Collin D wrote:
>
> > > On Dec 18, 6:12 pm, Collin D wrote:
>
> > > > On Dec 18, 11:37 am, collin.da...@gmail.com wrote:
&g
On Dec 18, 6:41 pm, "Russ P." wrote:
> On Dec 18, 6:31 pm, Collin D wrote:
>
>
>
>
>
> > On Dec 18, 6:27 pm, Collin D wrote:
>
> > > On Dec 18, 6:23 pm, "Russ P." wrote:
>
> > > > On Dec 18, 6:17 pm, Collin D wrote:
>
On Jan 5, 6:25 am, "Djames Suhanko" wrote:
> Hello!
> I'm sorry my terrible english (my native language is portuguese).
> I has a litle program that open another window. When I close de root
> window in quit button, I need clicking 2 times to close. is where the
> problem?
>
> The source:
> 1 #!
On Jan 5, 9:21 am, Roger wrote:
> On Jan 5, 11:52 am, Collin D wrote:
>
>
>
> > On Jan 5, 6:25 am, "Djames Suhanko" wrote:
>
> > > Hello!
> > > I'm sorry my terrible english (my native language is portuguese).
> > > I has
Hello James,
Thanks for your response.
But I cannot use a third party software, I need to use the exisiting API's
within python.
As I am new to python, I suspected that I should go by a simpler approach
and so
scrapped off the below code and wrote a very simple UDP server code as
follows:
logFileN
On Thu, Nov 6, 2008 at 10:27 AM, James Mills
<[EMAIL PROTECTED]>wrote:
> On Fri, Nov 7, 2008 at 12:57 AM, I D <[EMAIL PROTECTED]> wrote:
> > Thanks for your response.
> > But I cannot use a third party software, I need to use the exisiting
> API's
> > wit
Hi, I'm using a script.py to write a file in a dir on the server. Mod_python
work but i get:
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch
result = objec
Ok, solved: apache is unable to follow relative paths from the script.
Putting ol absolute paths it's ok!
Simo D wrote:
>
> Hi, I'm using a script.py to write a file in a dir on the server.
> Mod_python work but i get:
> Mod_python error: "PythonHandler mod_pytho
Hello, I'm trying to configure the apache to handle the python scripts. My
platform is a CentOs server.
I wrote these directives in the conf.d/python.conf:
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddHandler mod_python .py
PythonHand
Xah Lee wrote:
This page is a short collection of online communities that banned me,
in a way that i don't consider just. It illustrates the political
nature among the tech geeking males.
If anybody on this list visits Boston, contact me to claim your free beer.
:)
--
http://mail.python.org/
How about:
mov = open(afile)
line = mov.readline()
...(process your ':' line)
for line in mov.readlines():
...
On May 20, 1:34 pm, [EMAIL PROTECTED] wrote:
> i have a big file with sentences, the first file of each sentence
> contains a colon(:) somewher eon that line
> i want to jump past th
Hi,
I am trying to parse an xml file using the minidom parser.
from xml.dom import minidom
xmlfilename = "sample.xml"
xmldoc = minidom.parse(xmlfilename)
The parser is failing on this line:
Heinrich Kèufner, Norbert Nedopil, Heinz Schèoch (Hrsg.).
This is the error message I get:
Traceback (
On Jul 4, 2:36 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > The parser is failing on this line:
>
> > Heinrich Kèufner, Norbert Nedopil, Heinz Schèoch (Hrsg.). > mrcb245-c>
>
> If it is literally this line, it's no surprise: there must not be a line
> break between the slash and the closing
201 - 300 of 538 matches
Mail list logo