You may find following useful.
2.6+ --- http://docs.python.org/library/multiprocessing.html
3.x --- http://docs.python.org/dev/library/multiprocessing.html
On 23-Jan-2011, at 11:46 AM, bruce wrote:
> Hi.
>
> I'm working on a project that uses python to spawn/create multiple
> threads, to run p
Hi.
I'm working on a project that uses python to spawn/create multiple
threads, to run parallel processes to fetch data from websites. I'm
looking to (if possible) go over this in person with someone in the
San Fran area. Lunch/beer/oj can be on me!!
It's a little too complex to try to describe h
elegant. :)
simple yet elegant.
> Date: Sun, 23 Jan 2011 14:10:35 +1100
> From: st...@pearwood.info
> To: tutor@python.org
> Subject: Re: [Tutor] Help on RE
>
> tee chwee liong wrote:
> > thanks for making me understand more on re. re is a confusing topic as i'm
> > starting on python.
>
tee chwee liong wrote:
thanks for making me understand more on re. re is a confusing topic as i'm starting on python.
I quote the great Jamie Zawinski, a world-class programmer and hacker:
Some people, when confronted with a problem, think 'I know, I'll
use regular expressions." Now th
On Sun, Jan 23, 2011 at 12:38:10AM +, tee chwee liong wrote:
> i have a set of data and using re to extract it into array. however i only
> get positive value, how to extract the whole value including the -ve sign?
> numbers = re.findall("\d+", line)
The \d matches a digit character. \d
thanks for making me understand more on re. re is a confusing topic as i'm
starting on python.
> Date: Sat, 22 Jan 2011 16:55:37 -0800
> From: st...@alchemy.com
> To: tc...@hotmail.com
> CC: tutor@python.org
> Subject: Re: [Tutor] Help on RE
>
> On Sun, Jan 23, 2011 at 12:38:10AM +, tee c
thanks it works!! :)
> Date: Sat, 22 Jan 2011 19:51:35 -0500
> Subject: Re: [Tutor] Help on RE
> From: ja...@pearachute.com
> To: tc...@hotmail.com
> CC: tutor@python.org
>
> it's a bug in your regex - you want something like "-?\d+"
>
> - japhy
>
> On Sat, Jan 22, 2011 at 7:38 PM, tee chwee
hi,
i have a set of data and using re to extract it into array. however i only get
positive value, how to extract the whole value including the -ve sign?
For eg:
Platform: PC
Tempt : 25
TAP0 :0
TAP1 :1
+
Port Chnl Lane EyVt EyHt
+
Elwin Estle wrote:
I seem to remember that Python (is it supposed to be capitalized? Official
logo is in lower case)
The official logo of Apple doesn't even have an "A" in it, but we don't
spell the company "pple" :)
By long-standing convention and practice, the programming language is
s
"michael scott" wrote
don't need a person walking me through it, a simple, "build a
program that asks
a user to give you a name and create permutations of it" is great.
Of course
that example is elementary, but that is the gist of the responses
I'm looking
for.
So have you done it yet?
An
"David Hutto" wrote
I'm getting ahead and behind my self here. I'm going from
electrician
to programmer. So I'm tring to construct the 'flow through' and the
functional flow through.
Can you step back a bit and explain what it is you are trying to
accomplish? "flow through" and "functional
"David Hutto" wrote
No, its just wondering whether it works like the USB, with two data
pins, and -+, I know how the original works, but interpreting
through
computer language is a little disabling.
The original what?
What works like USB?
A traditional analog line works with a 2 wire sign
"David Hutto" wrote
This is just a reach question. What modules would i want to use if i
wanted to just send the signal, and receive the signal, other than
maybe, signal. In other words please tone.dumb it down, and show a
pseudo example.
We need a lot more info. How are you interfacing and
> [...] I'm finding that I
> understand concepts, but have no real way to implement them.
>
> So now my problem emerges... can anyone give me suggestions of exercises I
> should do to help improve my knowledge of what I can "actually" do with the
> concepts I have.
michael,
first of all, welcom
Okay, here's another one. I started this geez...30 years ago? On a Texas
Instruments 99/4A computer. I've never gotten around to doing anything further
with the idea.
It was a game called "Piledriver". The idea was that in a distant future,
energy demands had become so great that there were
I dabble in Blender 3d. Just for the heck of it, I made some desktop
wallpapers using the python logo. Enjoy or not, as suits your fancy.
http://thepythonnoob.blogspot.com/2011/01/some-3d-python-wallpapers.html
___
Tutor maillist - Tutor@p
For me, the quickest way to jump into a programming language was seeing
a current open source project and say "I wish it did this too, or that
instead ..." and implement it myself. Not only do you learn about the
project itself, and pick up some tips and tricks along the way, you then
also have
Well, I'm a noob myself, so perhaps take what I say with a grain or three of
salt. On the other hand, I have sort of the opposite problem, lots of ideas,
but not the time nor skill to make them happen.
Do you even necessarily have to complete a project? Sometimes just making an
attempt can te
On 01/22/2011 03:09 PM, David Hutto wrote:
When I felt I was ready to start doing some work, I got involved in an open
source project. It's definitely an experience! Try going through
http://freshmeat.net/
Isn't that for those that aren't given real apprenticeship?:)
Programming is my hobby,
I'm getting ahead and behind my self here. I'm going from electrician
to programmer. So I'm tring to construct the 'flow through' and the
functional flow through.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http:
No, its just wondering whether it works like the USB, with two data
pins, and -+, I know how the original works, but interpreting through
computer language is a little disabling.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscriptio
Hi David,
On 22 January 2011 20:03, David Hutto wrote:
> This is just a reach question. What modules would i want to use if i
> wanted to just send the signal, and receive the signal, other than
> maybe, signal. In other words please tone.dumb it down, and show a
> pseudo example.
>
I've read
> I just have no idea of what kind of programs to build,
Some of the stock answers for this question are:
http://projecteuler.net/
http://www.pythonchallenge.com/
I usually suggest porting one of the old games in:
http://www.atariarchives.org/basicgames/
Alan
___
This is just a reach question. What modules would i want to use if i
wanted to just send the signal, and receive the signal, other than
maybe, signal. In other words please tone.dumb it down, and show a
pseudo example.
--
The lawyer in me says argue...even if you're wrong. The scientist in
me...
On Sat, Jan 22, 2011 at 3:02 PM, Corey Richardson wrote:
> On 01/22/2011 11:56 AM, michael scott wrote:
>>
>> I am new to programming, I intend to get an entry level job programming
>> next year (or a little bit longer). I am switching fields and not going
>> to college, but kinda "self teaching"
On 01/22/2011 11:56 AM, michael scott wrote:
I am new to programming, I intend to get an entry level job programming
next year (or a little bit longer). I am switching fields and not going
to college, but kinda "self teaching" myself through various methods. I
currently understand concepts in pro
On 1/21/2011 10:17 AM brian.she...@pmaclabs.com said...
I would have thought that building python-2.7.1 would be pretty straightforward
- even on an SGI Altix. There were no issues when I ran configure. However,
running make results in the following compile error:
You should ask this on the po
I am new to programming, I intend to get an entry level job programming next
year (or a little bit longer). I am switching fields and not going to college,
but kinda "self teaching" myself through various methods. I currently
understand
concepts in programming in python up to classes (like I un
28 matches
Mail list logo