By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,282 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

Raw_input limit

P: 52
Okay fellow scripters, I have a problem. It's small but annoying. See, I wrote this program for encrypting messages. The program itself runs like a charm, except for one major issue. I'm sure I've read something about this somewhere else, but I just can't think of where, so I turn to thescripts for help.
My program uses the raw_input() thing, and it works perfectly, until I try to encrypt a piece of text that is just too big. So I figure there is some limit on the raw_input() that I don't know about. I checked if it might be the terminal's fault (I'm using terminal in Mac OS X Leopard) by just copying the entire message into the terminal. That went flawlessly, so it's something with python.

Too long and you didn't read it? I need to bypass the limit in the raw_input() command so that I can enter large amounts of text, and I'm asking what I need to put in my script to do so.
I'm using MacPython 2.5, and switch between textedit and idle for editing my script if that matters.
Mar 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: 52
Edit:
I ran the module in Idle after I just got too frustrated with there being seemingly no info on this on the internet, and lo and behold: It works flawlessly! So either it's the integrated version of python in Leopard that has the limit on it, or there's something fishy with terminal. In either case, it's not really something I expect help with from the scripts.
Thank you for being here though ^^
Mar 28 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.