Productivity and economics at software development

2005-09-23 Thread Adriano Monteiro
Hi folks,

I'm making a little research project about programming languages e
their respective IDEs. The goal is to trace each language silhouettes,
where it fits better, their goods/bads and the costs of developing in
this language.

It's easy to find projects that doesn't worked as expected because
they were develop with the wrong toolkit, or people that now dislike a
given language because didn't know where the language is better used.

To provide a good quality research, with results that near
reality, I need the help of the community to answer my survey. This
survey doesn't ask any information that identifies the person who
answer the questions and is super fast to be answered. The average
time to fill out the survey is 50 seconds.

The survey: http://www.globalred.com.br/quest

The results and the research will be released as soons as they get
ready. Thank you for your cooperation!


Cheers!


---
Adriano Monteiro Marques

http://umit.sourceforge.net
http://www.globalred.com.br
-- 
http://mail.python.org/mailman/listinfo/python-list


Help with modem terminal

2005-04-09 Thread Adriano Monteiro
Hey folks,

I need to talk to my modem through a terminal, so I can send commands
and get the answers. Does anybody here know what can I do?
I've tried to use pty.py, but I'm lost...

Regards,
[]'s!

-- 

Adriano Monteiro Marques
www.gopython.com.br
[EMAIL PROTECTED]

I'm FREE... Are you?
(PYTHON powered)
-- 
http://mail.python.org/mailman/listinfo/python-list


Variables variable

2005-04-19 Thread Adriano Monteiro
Hi folks,

Someone know how to make variables variable like in PHP?
It's something like this:

$a = 'hi'
$$a = 'testing'
echo $hi
'testing'

Regards

-- 

Adriano Monteiro Marques
www.gopython.com.br
[EMAIL PROTECTED]

I'm FREE... Are you?
(PYTHON powered)
--
http://mail.python.org/mailman/listinfo/python-list


Subprocess quote problem

2006-08-18 Thread Adriano Monteiro
Hi Folks,

I'm working on a script that executes a command with arbitrary
options. Most of its options works fine with subprocess, but at least
one (as far as I know) is giving me a headache. The program that I'm
trying to execute is Nmap, and the problematic option is the -iL, that
is used to indicate a file with the targets that nmap should scan.

If I open my terminal, and write: nmap -iL "/tmp/target_list" , nmap
picks the file, read it and scan every target written inside it.

But, if I try to use the same scan on my command execution script, it
makes nmap raise a strange error:

"Failed to open input file "/home/adriano/umit/test/targets" for reading
QUITTING!"


This is not a permission issue. I put this target_file file on /tmp
and set chmod 777 on it.


The script:


_stdout_handler = open(self.stdout_output, "w+")
_stderr_handler = open(self.stderr_output, "w+")
command = ['nmap', '-T', 'Aggressive', '-n', '-F', '-iL',
'"/home/adriano/umit/test/targets"']

command_process = Popen(command, bufsize=1,
  stdin=PIPE,
  stdout=_stdout_handler.fileno(),
  stderr=_stderr_handler.fileno(),
  shell=False)


The problem seens to be the double quoted path. But it doesn't make
any sense for me, as any other command that I put there works fine.

Any clue?


Cheeers!

-- 
Adriano Monteiro Marques
http://umit.sourceforge.net
[EMAIL PROTECTED]

"Don't stay in bed, unless you can make money in bed." - George Burns
-- 
http://mail.python.org/mailman/listinfo/python-list


About Encapsulation

2005-05-04 Thread Adriano Monteiro
Hey folks,

I wanna know more about encapsulation in python. Is it fully suported?
How can I define the encapsulation statements for methods and attributes?

Regards!

[]'s!


-- 

Adriano Monteiro Marques
www.gopython.com.br
[EMAIL PROTECTED]

I'm FREE... Are you?
(PYTHON powered)
-- 
http://mail.python.org/mailman/listinfo/python-list