RE: [Tutor] Creating & Handling lots of objects

2004-12-03 Thread Robert, Andrew
Although I have never done so, I believe you can also store/manipulate objects in a database. Has anyone ever worked this option? Thank you, Andrew Robert Systems Architect Information Technology - OpenVMS Massachusetts Financial Services Phone: 617-954-5882 Pager: 781-764-7321 E-mail: [EMAI

RE: [Tutor] Create a binary for a python game

2004-12-03 Thread Robert, Andrew
Sure is. Try cx_freeze. It can be found at http://starship.python.net/crew/atuining/cx_Freeze/index.html . I've used it with great success. Thank you, Andrew Robert Systems Architect Information Technology - OpenVMS Massachusetts Financial Services Phone: 617-954-5882 Pager: 781-764-7321 E

RE: [Tutor] Connecting to interactive program

2004-12-07 Thread Robert, Andrew
Have you considered redirecting input from the terminal session itself? On Linux, I think you can test against sys.stdin.isatty() and assign a variable to /dev/tty. The methodology is similar on Windows but you need to import msvcrt and grab msvcrt.getche(). Thank you, Andrew Robert Systems

RE: [Tutor] Difference between for i in range(len(object)) and for i in object

2004-12-09 Thread Robert, Andrew
Good morning Kumar, I believe you need to do something like: # # Read from command line supplied input file # for line in open(sys.argv[1]).xreadlines(): # # Remove \n from end of line # line=line[:-1] # # Break line by tab delimiter

RE: [Tutor] hello i need help

2004-12-16 Thread Robert, Andrew
I recommend you use vim. You can get it at http://www.vim.org/download.php Thank you, Andrew Robert Systems Architect Information Technology - OpenVMS Massachusetts Financial Services Phone: 617-954-5882 Pager: 781-764-7321 E-mail: [EMAIL PROTECTED] Linux User Number: #201204 -Original

RE: [Tutor] Hi I made a mistake

2004-12-21 Thread Robert, Andrew
Good morning Julias, The python tutor list is a give and take of python information. If can contribute to an explanation or resolve a problem, then please do so. Additionally, you can read the e-mail messages and learn from others on how they handle things. Thank you, Andrew Robert Systems Ar

RE: [Tutor] O.T.

2004-12-29 Thread Robert, Andrew
I'm a father of two girls, living in Massachusetts. Professionally, I've been a VMS/Unix Systems Admin for the last 17 years. This includes designing high availability, fault tolerant configurations and management of disparate fiber storage area networking solutions. As an admin, I do a good

RE: [Tutor] German Totorial!?!

2005-01-05 Thread Robert, Andrew
How about: http://starship.python.net/crew/gherman/publications/tut-de/ Thank you, Andrew Robert Systems Architect Information Technology - OpenVMS Massachusetts Financial Services Phone: 617-954-5882 Pager: 781-764-7321 E-mail: [EMAIL PROTECTED] Linux User Number: #201204 -Original Me

[Tutor] Problem installing the Pymqi module

2005-04-07 Thread Robert, Andrew
Hi Everyone, I've tried installing the pymqi Python module on Windows but no luck so far. Has anyone had any success in doing this? Any help you can provide on this would be greatly appreciated. To install the module under Python v2.4, I did the following steps: 1. Download MinGW Gcc from ht

[Tutor] Odd problem with variable substitution and command execution

2005-04-13 Thread Robert, Andrew
Hi Everyone, I am trying to do an MQ inquiry but I am having mixed results. If I do the command direct via a print statement like the one below, it works, print 'Queue Description:\t' , q.inquire(CMQC.MQCA_Q_DESC) When I try to cycle through an array of command line supplied keys, it fails.