Great! That was the solution I was looking for. Thanks!
Chris
On Sun, Aug 30, 2009 at 12:29 PM, Christian Heimes wrote:
> Chris Colbert wrote:
>> Is there a way to fix this so that the local dist-packages is added to
>> sys.path before the system directory ALWAYS? I can do this by editing
>> site
In article ,
RunThePun wrote:
>
>I made a DictMixin where the keys are filenames and the values are the
>file contents. It was very simple and easy to do thanks to DictMixin.
>
>For example this code writes "abc" in a file named "temp.txt" and
>prints the contents of the file named "swallow", the
Hello World!
This is my first post on the list and I'm hoping it is the right forum and
not OT, I've searched
a bit on this, but, none-the-wiser!
My question is on the Popen method, here is my snippet:
p1 = Popen(["cat", "georgi_ddr7_allmag_kcor_in_test.dat"], stdout=PIPE )
> p2 = Popen(["fit_coe
>
> So why the heck are we supporting such capitalistic implementations as
> Unicode. Sure we must support a winders installer but Unicode, dump
> it! We don't support a Python group in Chinese or French, so why this?
> Makes no sense to me really. Let M$ deal with it.
>
Who, exactly, do you think
On Sun, Aug 30, 2009 at 9:56 AM, Vitaly Babiy wrote:
> Hey,
> Any one know of a good thread pool library. I have tried a few but they
> don't seem to clean up after them selfs well.
>
> Thanks,
> Vitaly Babiy
>
>
As obscene as it seems, I actually use twisted's :)
I mean, it's obscene not becaus
twisted? I don't get it
On Sun, Aug 30, 2009 at 1:55 PM, Stephen Hansen wrote:
>
> On Sun, Aug 30, 2009 at 9:56 AM, Vitaly Babiy wrote:
>
>> Hey,
>> Any one know of a good thread pool library. I have tried a few but they
>> don't seem to clean up after them selfs well.
>>
>> Thanks,
>> Vitaly Ba
On Sun, Aug 30, 2009 at 1:06 PM, John Haggerty wrote:
> twisted? I don't get it
>
Twisted. Big library / framework for network'd applications. Specifically,
asynchronous network'd applications, really.
--S
--
http://mail.python.org/mailman/listinfo/python-list
the excellent GWT Chart Library, GChart:
http://code.google.com/p/gchart/
is being ported to python, to run under the pyjamas [desktop / web]
widget set:
http://pyjamas.svn.sourceforge.net/viewvc/pyjamas/trunk/library/pyjamas/chart/
approximately 15 of the 30 examples and 1 of the 90 test
On Sun, Aug 30, 2009 at 12:33 PM, Sebastian wrote:
> Hello World!
> This is my first post on the list and I'm hoping it is the right forum and
> not OT, I've searched
> a bit on this, but, none-the-wiser!
>
> My question is on the Popen method, here is my snippet:
>
>> p1 = Popen(["cat", "georgi_dd
hello, i'm new in python, i used to program in C,
i have a small problem, i tryed to do some serial port things
manipulation
with python.
i have something like:
import sys,termios
fd = sys.stdin.fileno()
term_conf=termios.tcgetattr(fd);
now i want to modify the actuall values in term_conf zone
On Aug 30, 10:27 am, Derek Martin wrote:
> On Sun, Aug 30, 2009 at 03:52:36AM -0700, Paul McGuire wrote:
> > > It is surprising how many times we
> > > think things are "intuitive" when we really mean they are "familiar".
>
> > Of course, just as I was typing my response, Steve D'Aprano beat me to
Mug schrieb:
hello, i'm new in python, i used to program in C,
i have a small problem, i tryed to do some serial port things
manipulation
with python.
i have something like:
import sys,termios
fd = sys.stdin.fileno()
term_conf=termios.tcgetattr(fd);
now i want to modify the actuall values in t
On Sun, 30 Aug 2009 10:48:24 -0700, r wrote:
> I think a point and click GUI builder (although some may disagree) is
> actually detrimental to your programming skills. The ability to
> visualize the GUI only from the source code as you read it, is as
> important to a programmer as site reading she
I would concur
On Fri, Aug 28, 2009 at 9:49 AM, 7stud wrote:
> On Aug 28, 8:18 am, Fencer
> wrote:
> > 7stud wrote:
> >
> > [snip]
> >
> > Thanks for your reply. After consulting the sysadmins here I was able to
> > get it to work.
> >
> > - Fencer
>
>
> Ok, but how about posting your code so t
"Thomas Guettler" wrote in message
news:7fq56df2m6ql...@mid.individual.net...
> Looks like your pygtk package does not fit to the installed python
> package.
Okay, I won't disagree, but I how do if fix this?
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 30, 8:58 pm, "Diez B. Roggisch" wrote:
> Mug schrieb:
>
> > hello, i'm new in python, i used to program in C,
> > i have a small problem, i tryed to do some serial port things
> > manipulation
> > with python.
> > i have something like:
>
> > import sys,termios
>
> > fd = sys.stdin.fileno()
Pierre wrote:
Hello...
Do you know how I can calculate the quantiles of a student
distribution in pyhton ?
Try searching the net for 'Python student distribution quantiles'
--
http://mail.python.org/mailman/listinfo/python-list
Byung-Hee HWANG wrote:
casebash writes:
So much of it could be removed even by simple keyword filtering.
Use python-list@python.org [1], instead.
[1] http://mail.python.org/mailman/listinfo/python-list
Or read python-list as a newsgroup via news.gmane.org, which mirrors
python-list, not
Nobody wrote:
Apart from the impossibility of implementing such a tax, it isn't going to
discourage spammers when the tax will be paid by the owner of the
compromised PC from which they're sending their spam.
It would encourge PC owners to not let their machine be used as a spambot.
--
http:/
> I want to write a program that will use ode for the physics
> simulation, whose python bindings are outdated. So I'm writing
> the physics engine in C and want to write the drawing code in
> Python. What will be the best way of making those two programs
> work together? THe physics engine w
"Thomas Guettler" wrote in message
news:7fq56df2m6ql...@mid.individual.net...
> Looks like your pygtk package does not fit to the installed python
> package.
Okay, I won't disagree, but how do I fix this?
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 28, 6:27 pm, r wrote:
> Have you tried saving the files as MYScriptName.py? notice the py
> extension, very important ;)
Just for fun try the .pyw extension and observe the result.
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-08-30, Mug wrote:
> hello, i'm new in python, i used to program in C, i have a
> small problem, i tryed to do some serial port things
You're probably better off just using pyserial:
http://pyserial.sourceforge.net/
If you really want to muck about with termios stuff, you can
look at
On Thu, 27 Aug 2009 07:05:51 -0700 (PDT), Paul Boddie
wrote:
> No, it's the problem of the Pythonic packaging brigade that package
> retrieval, building and installing is combined into one unsatisfactory
> whole.
Brigade? That implies a disciplined and systematic approach..
I would suggest a be
On 2009-08-31, Grant Edwards wrote:
> If you want a configuration that's all zeros, why bother
> calling tcgetattr() at all? Just set the configuration to
> zeros:
>
> term_conf = [0,0,0,0,0,0]
Oops, I forgot about cc. That should be:
term_conf = [0,0,0,0,0,0,['\x00']*32]
That's why it's e
I managed to get some more answers here:
http://stackoverflow.com/questions/1352886/nice-copying-from-python-interpreter
On Aug 14, 5:05 pm, casebash wrote:
> I mainly develop on Linux these days, but if I ever end up doing
> anything on windows I'll make sure to look at that.
>
> On Aug 13, 6:5
On Aug 30, 4:59 pm, Mug wrote:
(snip)
> is there a fonction like "memset" or "bzero" in python?
Not that i know of ;). Try this link for a coverage of the Python
built-in functions. You cannot write quality Python code without
them.
http://docs.python.org/3.1/library/functions.html
What you refe
En Sun, 30 Aug 2009 17:25:40 -0300, Chris Rebert
escribió:
On Sun, Aug 30, 2009 at 12:33 PM, Sebastian wrote:
Hello World!
This is my first post on the list and I'm hoping it is the right forum
and
not OT, I've searched
a bit on this, but, none-the-wiser!
My question is on the Popen meth
Esam Qanadeely wrote:
>On Aug 28, 8:27 am, Tim Roberts wrote:
>> Deep_Feelings wrote:
>>
>> >python got relatively fewer numbers of developers than other high
>> >level languages like .NET , java .. etc why ?
>>
>> How do you know, and why does it matter?
>>
>> By the way, .NET is not a languag
David Robinow wrote:
This works for a simple binary file, but the actual file I'm trying to
read is give throwing an error that the file cannot be found. Here is the
name of the my file:
2009.08.02_06.52.00_WA-1_0001_00_0662_0.jstars
Should python have trouble reading this file name or extension
exar...@twistedmatrix.com wrote:
On 10:23 pm, a...@pythoncraft.com wrote:
In article <4a998465$0$1637$742ec...@news.sonic.net>,
John Nagle wrote:
Personally, I consider Python to be a good language held back by
too-close ties to a naive interpreter implementation and the lack
of a formal
On Aug 29, 11:14 pm, kennyken747 wrote:
(snip)
> You guys can say anything you'd like it to be in this thread, but the
> actual reason comes down to
> 1. No marketing. Seriously, if Microsoft was pushing Python it would
> obviously be a lot bigger in terms of developers.
I really don't care if 10
Hi,
i have a question about the built in map function. Here 'tis:
say I have a list, myList. Now say I have a function with more than
one argument:
myFunc(a, b='None')
now, say I want to map myFunc onto myList, with always the same
argument for b, but iterating over a:
map(myFunc(b='booHoo'),
Hi,
I'm newbie in python. I try to connect to remote server with ms sql
server from my ubuntu. I install pyodbc and I do:
>>> conn = >>> Conn =
pyodbc.connect("DRIVER=
{FreeTDS};SERVER=defekas62;UID=emuser;PWD=temporal;DATABASE=em620")
pyodbc.connect ( "DRIVER = () FreeTDS; SERVER = defekas62;
On Sun, Aug 30, 2009 at 9:55 PM, elsa wrote:
> Hi,
>
> i have a question about the built in map function. Here 'tis:
>
> say I have a list, myList. Now say I have a function with more than
> one argument:
>
> myFunc(a, b='None')
>
> now, say I want to map myFunc onto myList, with always the same
>
On 08/30/2009 10:55 PM, elsa wrote:
> i have a question about the built in map function. Here 'tis:
>
> say I have a list, myList. Now say I have a function with more than
> one argument:
>
> myFunc(a, b='None')
>
> now, say I want to map myFunc onto myList, with always the same
> argument for b, b
On Aug 30, 10:08 pm, mierdatutis mi wrote:
> Hi,
>
> I'm newbie in python. I try to connect to remote server with ms sql
> server from my ubuntu. I install pyodbc and I do:
>
> >>> conn = >>> Conn =
> pyodbc.connect("DRIVER=
> {FreeTDS};SERVER=defekas62;UID=emuser;PWD=temporal;DATABASE=em620")
>
elsa :
>now, say I want to map myFunc onto myList, with always the same
>argument for b, but iterating over a:
>>> from functools import partial
>>> def g(x,y=1): return x+y
...
>>> map(partial(g,y=2),[1,2])
[3, 4]
>>> map(partial(g,y=42),[1,2])
[43, 44]
--
Wir danken für die Beachtung aller S
It seems to be a language embraced by people who enjoy coding. Not so
much by the time-spent-seeking-degree to paycheck ratio balancing
crowd. Or maybe I just hate bloated IDEs and I've heard too many Java
dev jokes to be impartial.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 30, 10:33 pm, a...@pythoncraft.com (Aahz) wrote:
> In article
> ,
>
>
>
>
>
> RunThePun wrote:
>
> >I made a DictMixin where the keys are filenames and the values are the
> >file contents. It was very simple and easy to do thanks to DictMixin.
>
> >For example this code writes "abc" in a
101 - 140 of 140 matches
Mail list logo