Jason Christopher Child
Computer Network Services Professionals
Tech Support
505-986-1669
1-877-321-9165
[EMAIL PROTECTED]
VOZ Online
VOIP Install Tech
505-428-7500
1-877-428-7550
___
Tutor maillist - [EMAIL PROTECTED]
http://mail.python.org/mailm
Ok, so I have a decent grasp of python and have coded quite a few scripts. I
must say that the language rocks. I would like to embed python into a C app
to provide some scripting support. It would seem that my problem lies with
not understanding the environment (linux) well enough. First off, I mus
-
From: Danny Yoo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 12:18 PM
To: Jason Child
Cc: [EMAIL PROTECTED]
Subject: Re: [Tutor] embedding python in a C app on a linux box...
On Tue, 7 Dec 2004, Jason Child wrote:
> Ok, so I have a decent grasp of python and have coded qu
Hey there. Does anyone know of a way to output PDFs with python? I have some
data that I have processed from a series of textfiles that I would like to
provide PDF format reports for..
Jason Christopher Child
Computer Network Services Professionals
Tech Support
505-986-1669
1-877-321-9165
[EMAIL
test
Jason Christopher Child
Computer Network Services Professionals
Tech Support
505-986-1669
1-877-321-9165
[EMAIL PROTECTED]
VOZ Online
VOIP Install Tech
505-428-7500
1-877-428-7550
___
Tutor maillist - [EMAIL PROTECTED]
http://mail.python.org/m
scripting that I would need to do. To go
back to combing shell and Python again would be a bit deflating...but the
straight forward path might be the best.
Thanks,
John Ertl
-----Original Message-
From: Jason Child [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 12:36
Cc: [EMAIL
Ertl, John wrote:
I am trying to remove a directory that has other directories and files in
it. I thought removedirs was supposed to do a recursive remove of files and
directories.
When I try it I get
os.removedirs("DAF")
Traceback (most recent call last):
File "", line 1, in -tople
alex biggerstaff wrote:
is it possible 2 write a script for wordpad or something, i only
started so i dont know much
i do know a little about if ($1 == hi) && (£2 == m8)
but im not sure how 2 make this apply to other programs. i can only
write scripts on a thing called mIRC.
ne help would b grea
well, not sure if there is a module with the function you are looking
for, but...
#sloppy as hell method:
#...
if str(my_returned_value).find("-") != -1:
return my_returned_value #or whatever you want to do with it
#...
#slightly less sloppy as hell method:
if my_returned_value < 0:
return
I've got a silly question.
###
P1 = "prefix1"
P2 = "prefix2"
def my_func(list, items):
s = 0
out = ""
for i in range(len(list)):
if s == 0:
p = P1
else:
p = P2
for j in range(len(items)):
out += p +items[j]
return
Jason Child wrote:
I've got a silly question.
###
P1 = "prefix1"
P2 = "prefix2"
def my_func(list, items):
s = 0
out = ""
for i in range(len(list)):
if s == 0:
p = P1
else:
p = P2
for j in ran
Alan Gauld wrote:
oops, I forgot to add the s = 1 and s=0 lines to the example code i
posted...
OK, To save us guessing, why don't you post it with the s=1/0 and
also the actual output pattern you get?
Seeing the error is a very powerful technique for guessing what may
be
sorry everyone, I figured it out on my own ;)
Jason Child wrote:
Alan Gauld wrote:
oops, I forgot to add the s = 1 and s=0 lines to the example code i
posted...
OK, To save us guessing, why don't you post it with the s=1/0 and
also the actual output pattern you get?
Seeing the error
Ok, I guess my question (now) is:
how do I change global variables within a function:
##
VAR = "TEST"
def m():
VAR="no test"
##
when I do this (from the interactive editor):
##
>>>print VAR
TEST
>>>m(
Just wanted to extend warm feelings to all the list members! Have a safe
and happy season.
--
Jason Christopher Child
Computer Network Service Professionals
VOZ Online
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
John Purser wrote:
And I got my Christmas wish when UPS delivered my very own RS/6000!
Happiness is being root on your very own 'nix box!
No, happiness is being root on someone else's *nix box *grin*.
--
Jason Christopher Child
Computer Network Service Professionals
VOZ Online
__
Jacob S. wrote:
I hate to sound weird...
But who are you all, what are you're ages, what do you do, marriage status,
etc?
You obviously don't have to answer, I'm just curious who I'm boldly sending
emails to.
Jacob Schmidt
P.S.
I'm a student. 14 years. Play the piano better than I write scripts. Si
Pawel Kraszewski wrote:
Dnia piątek, 17 grudnia 2004 20:59, Alan Gauld napisał:
|Are there any Polish speakers on the tutor list who would like
|to check a new version of my tutorial? There are no formal links
|to it yet as there are only a few pages but it can be found at:
Wish I spoke Polish.
mdcooper wrote:
Hello all,
I am trying to use a least squares method (the one written by Konrad Hinsen),
but I do not want the method to be able to generate negative values. Is there
a way to stop least squares programs from doing so?
I have probably not included enough information but I am not
19 matches
Mail list logo