Here's the thing. Python has one of the nicest communities of most
software projects (except maybe ubuntu), try Perl or C. Unless you
completely know what you're talking about, have spent atleast 1/2 an
hour researching your problem, those guys will refrain from helping.
On Sun, Jun 13, 2010 at 1:
What d'ya mean hang?
On Fri, Jun 4, 2010 at 10:16 AM, Roman Makurin wrote:
> Hi all
>
> Last time i have a big problem, i need parse xml files
> which have invalid xml chars outside of CDATA and xml
> parser hangs everytime on such files. Is there any way
> to parse such files ???
>
> thanks
>
>
Redhat as always believed in (sorry if this offends anyone): "Use legacy
stuff that works, we don't really give a flying hoot if the rest of the
world has moved on"
On Sat, May 29, 2010 at 6:55 PM, D'Arcy J.M. Cain wrote:
> On Sat, 29 May 2010 11:43:29 -0700
> John Nagle wrote:
> >The maj
no one cares? :(
On Sat, Apr 17, 2010 at 8:41 AM, Someone Something wrote:
> This is my first large-scale (sort of) project in python. It is still under
> daily development, but the core is pretty stable (although, I'm still adding
> features). Here's the code: http://
I would like to know more please. Does it have a website?
On Sat, Apr 17, 2010 at 4:03 AM, David Zhang wrote:
> Hello!
>
> I have started an open source project to develop human-level
> Artificial Intelligence, using Python and Java as programming
> language, OpenCog and OpenWonderland as basemen
That sounds like a nice idea, try it out and see what you make of it. (It
may have been done before but probably not as a standalone module as it
doesn't require that much code)
On Sat, Apr 17, 2010 at 6:52 AM, Jonathan Hartley wrote:
> On Apr 16, 5:59 pm, Lie Ryan wrote:
> > On 04/16/10 19:28,
This is my first large-scale (sort of) project in python. It is still under
daily development, but the core is pretty stable (although, I'm still adding
features). Here's the code: http://github.com/Poincare/PyEventLoop or
http://code.google.com/p/pyeventloop/
Tell me what you guys think of it (I'l
Cheetah would work, but it would be a major pain to debug (I hate those 500
Server Error pages) something django (as mentioned above) or turbogears
(with Kid) would get you rolling quickly.
On Wed, Mar 31, 2010 at 8:38 PM, KB wrote:
> Hi there,
>
> Years ago I wrote a LAMP app using python. I fi
Hi,
I've learned python a few months ago but I still use Perl because of CPAN
and the tremendous amount of stuff that's already been done for you. is
there something like CPAN for python?
--
http://mail.python.org/mailman/listinfo/python-list
Just initialize everything in the constructor, unless you have *really *good
reason not to do that.
On Sat, Mar 20, 2010 at 6:54 PM, Chris Rebert wrote:
> On Sat, Mar 20, 2010 at 3:15 PM, kj wrote:
> > I need to create a class solely for the purpose of encapsulating
> > a large number of dispara
Its an extremely bad idea to use regex for HTML. You want to change one tiny
little thing and you have to write the regex all over again. if its a
throwaway script, then go ahead.
2010/3/20 Luis M. González
> On Mar 20, 12:04 am, Jimbo wrote:
> > Hello
> >
> > I am trying to grab some numbers fr
Is there something like cpan for python? I like python's syntax, but I use
perl because of cpan and the tremendous modules that it has.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I need a python library that makes drawing lines and plotting points (these
two things are the only things I need to do) easy. Or, how can I do
something like this with pygame? Basically, what I want to do is make
graphs. In pygame, since the coordinate system switches the x's and the y's
I
I'm a pretty okay python programmer and I really want to start developing
for an open source project. I'm looking for one that preferably deals with
networking and isn't as huge as twisted (that's just a preference, not
extremely important). Could anyone suggest any projects? I also know C,
Perl, R
If you're actually going to release this, you shouldn't bundle it with
a preexisting text editor (IMHO) in case it goes out of development
and then you'll end up like DSL (damn small linux) did. In other words
either you get a text editor that's basically never going out of
development (emacs, not
Codechef and all those algorithmic websites aren't very good for python
because, quite frankly, python is definitley slower than C or C++. You
should probably pick up a project on sourceforge or freshmeat if you feel
confident enough.
On Thu, Nov 26, 2009 at 10:24 PM, astral orange <457r0...@gmail
I'm writing a simple tax calculator with Tkinter (just for fun).
Here's my current code:
from Tkinter import *;
class TaxCalc:
def __init__(self, root):
rate=Frame(root)
rate.pack()
income=Frame(root)
income
anyone?
On Sat, Nov 7, 2009 at 9:06 PM, Someone Something wrote:
>
>
> I'm just testing it on my channel! I promise! Besides, I'm doing it to
> learn about sockets! Please!
>
>
> On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund <
> krister.svanl...@gmail.com&
I'm just testing it on my channel! I promise! Besides, I'm doing it to learn
about sockets! Please!
On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund wrote:
> On Sun, Nov 8, 2009 at 2:00 AM, Someone Something
> wrote:
> > I have a irc spam bot (only testing on my channe
I have a irc spam bot (only testing on my channel :P ) whose main loop is
the following:
privc="PRIVMSG "+self.channel
while True:
self.sock.send(privc=" :SPAM SPAM SPAM!");
time.sleep(2);
And it gives an error "Broken Pipe".
How can I fix this?
--
http://mail.python.org/mailman/listin
I'm trying to write something related to IRC. The thing is, I have one
thread receiving and another sending. But, how can I keep the caller of the
recv() function informed about what was last received so that it can all be
printed out. But, I no idea how I can accomplish this. I was thinking about
how can I implement this in python?
On Tue, Oct 20, 2009 at 8:06 PM, Steven D'Aprano <
ste...@remove.this.cybersource.com.au> wrote:
> On Tue, 20 Oct 2009 16:20:14 -0700, Chris Rebert wrote:
>
> > On Tue, Oct 20, 2009 at 3:16 PM, Someone Something
> > wrote:
>
I'm trying to write a program that needs reg expressions in the following
way. If the user types in "*something*" that means that the asterixes can be
replaced by any string of letters. I haven't been able to find any reg
expression tutorials that I can understand. Help?
--
http://mail.python.org/
I was trying to write a program with just one class and it was working fine.
Then, I seperated that class into two different files and made the objects
and called the methods in a third (client.py IO.py main.py). Now, when I use
the command:
python client.py IO.py main.py
Nothing prints. I think
anyone?
On Sat, Oct 17, 2009 at 4:26 PM, Someone Something wrote:
> I'm trying to write a IRC client that has to have a method inside class
> Client that has to start a new thread that goes to run() which is in the
> same class. I'm not really understanding all the threa
I'm trying to write a IRC client that has to have a method inside class
Client that has to start a new thread that goes to run() which is in the
same class. I'm not really understanding all the threading tutorials i've
found. Can someone help?
p.s. trying to use the threading module, not the threa
I'm trying write a program that's going to be more than 100 lines or so but
I need it all in one class. Is there a painless way to have one class in two
files?
--
http://mail.python.org/mailman/listinfo/python-list
I've been programming since about 3 years, and come to think of it never
written anything large. I know a few languages: c, python, perl, java. Right
now, I just write little IRC bots that basically don't do anything.
I have two questions:
1) What should I start programming (project that takes 1-
I'm trying to write a little tic-tac-toe program I need a array/list such
that I can represent the tic tac toe board with an x axis and y axis and i
can access each square to find out whether there is an X or an O. I have
absolutely no idea how to do this in python and I really, really, don't want
Thanks a lot!
On Sun, Sep 13, 2009 at 4:29 PM, MRAB wrote:
> Someone Something wrote:
>
>> I"m trying to write an IRC bot just for fun (in python of course). Here's
>> my current code:
>>
>> 1 #!/usr/local/bin/python
>> 2 import time
>> 3
Anyone?
On Sun, Sep 13, 2009 at 3:58 PM, Someone Something wrote:
> I"m trying to write an IRC bot just for fun (in python of course). Here's
> my current code:
>
> 1 #!/usr/local/bin/python
> 2 import time
> 3 import socket
> 4
> 5 def message (x
I"m trying to write an IRC bot just for fun (in python of course). Here's my
current code:
1 #!/usr/local/bin/python
2 import time
3 import socket
4
5 def message (x, channel,s):
6 y="PRIVMSG"+" "+ channel+" :"+x
7 s.send(y);
8 host="irc.freenode.net";
9 port=6667;
10 si
C shouldn't be very hard.
You just get the url of the file you want to connect to, then just use the
normal connect sequence and read the file and print it out to the UNIX
shell, then at the unix shell, just pipe it to an MP3. Or you could just do
it with FILE *.
On Sat, Sep 12, 2009 at 4:37 PM, Ch
Anyone?
On Sat, Sep 12, 2009 at 11:46 AM, Someone Something wrote:
> But, I'm returning true or false right?
>
> On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote:
>
>> Someone Something wrote:
>>
>>> Project euler (in case you don't know: projecteuler.net
But, I'm returning true or false right?
On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote:
> Someone Something wrote:
>
>> Project euler (in case you don't know: projecteuler.net <
>> http://projecteuler.net>)
>>
>> I'm trying to do the third one
Project euler (in case you don't know: projecteuler.net)
I'm trying to do the third one and here's my current code:
1 def checkPrime (x):
2 factors=2;
3 while factors<=x:
4 if x==factors:
5 return True;
6 elif x%factors==0:
7 return Fa
Thanks a lot!
Also, can someone suggest some ideas for a medium sized or small sized
project?
On Sat, Sep 12, 2009 at 10:25 AM, Mark Tolonen
> wrote:
>
> "Someone Something" wrote in message
> news:e196a4050909120713m76592252r9e89fb24fdaae...@mail.gmail.com...
>
>
I know you've probably had this question a million and one times but here it
is again. I'm intermediate at C, pretty good at Java (though I really don't
want to program in this), okay at perl and I've just learned python. But, I
have no more ideas to write programs/scripts for! Any ideas will be he
38 matches
Mail list logo