Automatic chmod

2009-10-09 Thread Victor Subervi
Hi; I have a python script that automatically writes another script. I need to be able to automatically chmod the script so that it will execute. Also, it appears that's not enough, because when I manually chmod the script (775), it throws this error: fopen: Permission denied TIA, V

Re: Automatic chmod

2009-10-09 Thread Victor Subervi
= cursor.fetchall()[0][0].tostring() cursor.close() print '''Content-Type: text/plain Content-Encoding: base64 ''' print print content.encode('base64') TIA, V On Fri, Oct 9, 2009 at 10:14 AM, Richard Mahlerwein mahle...@yahoo.comwrote: From: Victor Subervi victorsube...@gmail.com Subject: Automatic chmod

Re: Automatic chmod

2009-10-09 Thread Victor Subervi
I should have mentioned the import of the login works for other scripts, so that is not the issue. V On Fri, Oct 9, 2009 at 10:20 AM, Victor Subervi victorsube...@gmail.comwrote: User? I only have one user on this shared server. Here's the code: #!/usr/local/bin/python import cgitb

Re: Variable Substitution

2008-03-08 Thread Victor Subervi
PROTECTED] wrote: On Monday 03 March 2008 15:52:51 Victor Subervi wrote: Forgive this basic question, but can´t figure out how to google it. If I want to substitute strings in an expression, I can use %s for string, or %d for digit. What about file? What is this process called, so I can

Variable Substitution

2008-03-03 Thread Victor Subervi
Hi: Forgive this basic question, but can´t figure out how to google it. If I want to substitute strings in an expression, I can use %s for string, or %d for digit. What about file? What is this process called, so I can find a howto? TIA, Victor ___

Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Hi; Way OT here...but don't know where else to ask ;) I'm considering starting an open source project for language translation. Initially, I'll write this in python (with both MySQL and OpenLDAP for different needs). But the processing will be heavy duty, so I need to look toward a low-level

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Java not low level? It's a scripting lang? Doesn't compile? C is easy enough. C++ is tough but would be necessary. What about C#? Forget it? TIA, Victor On Dec 31, 2007 12:02 PM, Frank Staals [EMAIL PROTECTED] wrote: Victor Subervi wrote: Hi; Way OT here...but don't know where else to ask

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Good point. Most legacy s/w is in C++. I'm assuming from lack of comment that C# is as yet an unborn language ;) TIA, Victor On Dec 31, 2007 12:28 PM, Erich Dollansky [EMAIL PROTECTED] wrote: Hi, Victor Subervi wrote: toward a low-level language. I am not good in any :( I'm

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
and rebuild the kernel for working with Java. Is that true of C++ as well? Or is it like C, native to FBSD? TIA, Victor On Dec 31, 2007 12:55 PM, Ivan Voras [EMAIL PROTECTED] wrote: Victor Subervi wrote: I'm thinking Java's probably my best bet, just because there are more Java programmers out

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Yuck. Steering clear of Java ... :) Thanks, Victor On Dec 31, 2007 1:05 PM, Erich Dollansky [EMAIL PROTECTED] wrote: Hi, Victor Subervi wrote: Good point. Most legacy s/w is in C++. I'm assuming from lack of comment that C# is as yet an unborn language ;) there is another very simple

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Perfect. Yet another reason to choose c++ Thanks, Victor On Dec 31, 2007 1:14 PM, Victor Subervi [EMAIL PROTECTED] wrote: Yuck. Steering clear of Java ... :) Thanks, Victor On Dec 31, 2007 1:05 PM, Erich Dollansky [EMAIL PROTECTED] wrote: Hi, Victor Subervi wrote: Good point

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Thanks. I'll drop him a line. Victor On Dec 31, 2007 1:24 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Victor Subervi wrote: Thanks for the comments. It's a serious project. It appears that no one has yet done anything substantial in open

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Hmm. Why did you switch to Java? Also, that email address for Henry bounced :-} Could you check it? TIA, Victor On Dec 31, 2007 1:31 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Victor Subervi wrote: Thanks. I'll drop him a line. Forgot

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Yeah, this is what happens when some ding-a-ling asks a wide open emotionally sensitive question on an issue he knows nothing about LOL. Do it all in C? Interesting. Much easier, much more support from the community. Will look into it. Is jquery installed server-side? TIA, Victor On Dec 31, 2007

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Thanks for both :) Victor On Dec 31, 2007 1:50 PM, Victor Subervi [EMAIL PROTECTED] wrote: Yeah, this is what happens when some ding-a-ling asks a wide open emotionally sensitive question on an issue he knows nothing about LOL. Do it all in C? Interesting. Much easier, much more support from

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Now that's the smartest suggestion yet! Victor On Dec 31, 2007 1:56 PM, Aryeh M. Friedman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: On Mon, 31 Dec 2007 13:04:07 -0400 Victor Subervi [EMAIL PROTECTED] wrote: Thanks for the comments. It's

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
Annoted :) On 12/31/07, Robert Huff [EMAIL PROTECTED] wrote: Victor Subervi writes: Yeah, this is what happens when some ding-a-ling asks a wide open emotionally sensitive question on an issue he knows nothing about LOL. Do it all in C? Interesting. Much easier, much more support

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
BTW, someone wisely suggested looking up what the industry uses. This from Google: ¨translation software¨java 2,350,000 hits ¨translation software¨¨c++ 224,000 hits Hmmm... Victor On 12/31/07, Robert Huff [EMAIL PROTECTED] wrote: Victor Subervi writes: Yeah, this is what happens

Re: Low Level Language Suggestions: OT

2007-12-31 Thread Victor Subervi
BTW, someone wisely suggested looking up what the industry uses. This from Google: ¨translation software¨java 2,350,000 hits ¨translation software¨¨c++ 224,000 hits Hmmm... Victor On 12/31/07, Victor Subervi [EMAIL PROTECTED] wrote: Annoted :) On 12/31/07, Robert Huff [EMAIL

Re: Problem With PoEdit

2007-12-17 Thread Victor Subervi
: Victor Subervi [EMAIL PROTECTED] writes: Hi; I installed poedit from the port on 5.5. I didn't have X11 before, so it took a very_long_time. Once installed, I tried to fire it up: # poedit Error: Unable to initialize gtk, is DISPLAY set properly? What do? I don't know the program

Problem With PoEdit

2007-12-14 Thread Victor Subervi
Hi; I installed poedit from the port on 5.5. I didn't have X11 before, so it took a very_long_time. Once installed, I tried to fire it up: # poedit Error: Unable to initialize gtk, is DISPLAY set properly? What do? TIA, Victor ___