On Mon, Dec 13, 2010 at 5:43 AM, marupalli charan
wrote:
> dont send me mails again. i want to unsubscript
>
unfortunately, the unsubscribe option is only available to those smart
enough to take the time to read the first few paragraphs of the
digest, or the last few of any message at all.
> On
On Sun, Dec 12, 2010 at 11:43 PM, marupalli charan
wrote:
> dont send me mails again. i want to unsubscript
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 12/12/2010 11:43 PM, marupalli charan wrote:
dont send me mails again. i want to unsubscript
At the bottom of every single message from the list there are the
following lines:
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
~Corey Richardson
__
os using vimscript and from your input I would guess
> that assert would have just clouded the process.
>
> thanks again.
> --
> Tim
> tim at johnsons-web.com or akwebsoft.com
> http://www.akwebsoft.com
>
>
> --
>
> Message: 3
> Date:
"Modulok" wrote
For more complex stuff, (think blue screens with little white boxes
you press spacebar to activate. Kind of like an OS installer) I
would
look into the `curses` module in the standard library?
curses on Unix but its not in the std library for windows.
I think there is a ve
"Steven D'Aprano" wrote
Spiced tea with milk. Well, technically, it just means "tea with
milk", but in English chai is used exclusively for spiced tea
Never heard of it I confess.
I've heard the, presumably related, term char, meaning a cup of black
tea (as in tea without milk, not black l
On Mon, 13 Dec 2010, Steven D'Aprano wrote:
Which operating system and terminal did you use?
In my experience, using print is not satisfactory...
You're right; it worked under Windows, but not under Linux. Given the
other details of the question, my suggestion is not an adequate solution.
Terry Carroll wrote:
import time
for t in range(10,0, -1):
print "%s \x0D" %t,
time.sleep(1)
print # get to next line
print "Done!"
Which operating system and terminal did you use?
In my experience, using print is not satisfactory, because the print
command buffers the output and doe
Alan Gauld wrote:
"Steven D'Aprano" wrote
ordered a chai latte at a cafe. The waiter had no idea what that was,
but must have known that "chai" means tea, and so mixed tea and coffee
So now I've got to ask, what is a chai latte?
I could Google it but I'm feeling lazy :-)
Spiced tea with m
On Fri, 10 Dec 2010, Modulok wrote:
Assume I'm working in a command shell on a terminal. Something like
tcsh on xterm, for example. I have a program which does *something*.
Let's say it counts down from 10. How do I print a value, and then
erase that value, replacing it with another value? Say I
On Sun, Dec 12, 2010 at 2:45 PM, David Hutto wrote:
> On Sun, Dec 12, 2010 at 2:45 PM, David Hutto wrote:
>> On Sun, Dec 12, 2010 at 2:44 PM, Walter Prins wrote:
>>>
>>>
>>> On 12 December 2010 19:16, David Hutto wrote:
I recall you making a habit of being an
asshole(pystats sho
On Sun, Dec 12, 2010 at 2:42 PM, Tim Johnson wrote:
> * Steven D'Aprano [101211 17:20]:
>> Tim Johnson wrote:
>>
>>> I've never had the occasion to use assert() or any other
>>> python - shooting tools, any thoughts on that?
>>
>>
>> Assertions are a great tool, but never ever, under pain of
On Sun, Dec 12, 2010 at 2:45 PM, David Hutto wrote:
> On Sun, Dec 12, 2010 at 2:44 PM, Walter Prins wrote:
>>
>>
>> On 12 December 2010 19:16, David Hutto wrote:
>>>
>>> I recall you making a habit of being an
>>> asshole(pystats should ring a bell, thanks for giving me the credit
>>> for inspi
On Sun, Dec 12, 2010 at 2:44 PM, Walter Prins wrote:
>
>
> On 12 December 2010 19:16, David Hutto wrote:
>>
>> I recall you making a habit of being an
>> asshole(pystats should ring a bell, thanks for giving me the credit
>> for inspiration...bitch)
>
> Rudeness objection. Ad-hominem objection.
On 12 December 2010 19:16, David Hutto wrote:
> I recall you making a habit of being an
> asshole(pystats should ring a bell, thanks for giving me the credit
> for inspiration...bitch)
>
Rudeness objection. Ad-hominem objection.
Come on, this is not kindergarten. We all have our foibles, and
* Steven D'Aprano [101211 17:20]:
> Tim Johnson wrote:
>
>> I've never had the occasion to use assert() or any other
>> python - shooting tools, any thoughts on that?
>
>
> Assertions are a great tool, but never ever, under pain of great pain,
> use assert for testing user input or function
On Sun, Dec 12, 2010 at 2:16 PM, David Hutto wrote:
> On Sat, Dec 11, 2010 at 10:39 PM, Steven D'Aprano wrote:
>> David Hutto wrote:
>>>
>>> On Sat, Dec 11, 2010 at 11:54 AM, Lie Ryan wrote:
On 12/07/10 23:37, Robert Sjöblom wrote:
>
> I've been told to use input() if I know th
On Sun, Dec 12, 2010 at 2:32 PM, David Hutto wrote:
> On Sun, Dec 12, 2010 at 2:27 PM, David Hutto wrote:
>> You need a file that sets the initial time used for the app(the time
>> on the individuals computer), and a function that checks that initial
>> start up file for the current time and the
On Sun, Dec 12, 2010 at 2:27 PM, David Hutto wrote:
> You need a file that sets the initial time used for the app(the time
> on the individuals computer), and a function that checks that initial
> start up file for the current time and the original usage time of
> first start up.
>
pseudocode:
d
You need a file that sets the initial time used for the app(the time
on the individuals computer), and a function that checks that initial
start up file for the current time and the original usage time of
first start up.
___
Tutor maillist - Tutor@pytho
On Sat, Dec 11, 2010 at 10:39 PM, Steven D'Aprano wrote:
> David Hutto wrote:
>>
>> On Sat, Dec 11, 2010 at 11:54 AM, Lie Ryan wrote:
>>>
>>> On 12/07/10 23:37, Robert Sjöblom wrote:
I've been told to use input() if I know that I'll only get integers,
and raw_input() for "everythin
Am 12.12.2010 19:16, schrieb Alan Gauld:
"cajsdy" wrote
Either paid or free open source is fine.
I'm creating automation frame work. Idealy it includes:
test plan management,
test manager across windows, unix, linux, solaris and other os.
UML documentation for python scripts
IDE tool for pyth
List,
Thanks! I think I got it working now with the help of some suggestions :-)
For more complex stuff, (think blue screens with little white boxes
you press spacebar to activate. Kind of like an OS installer) I would
look into the `curses` module in the standard library?
Thanks!
-Modulok-
"cajsdy" wrote
Either paid or free open source is fine.
I'm creating automation frame work. Idealy it includes:
test plan management,
test manager across windows, unix, linux, solaris and other os.
UML documentation for python scripts
IDE tool for python on windoes and linux
UI design tool fo
"Steven D'Aprano" wrote
ordered a chai latte at a cafe. The waiter had no idea what that
was, but must have known that "chai" means tea, and so mixed tea and
coffee
So now I've got to ask, what is a chai latte?
I could Google it but I'm feeling lazy :-)
Alan G.
"David Hutto" wrote
> That is a bad piece of advice. You should only use input() when
> you can
> fully trust whoever doing the input (i.e. you).
Who uses the crap we, as noobies produce?
Hopefully you do.
And can you really be absolutely sure you won't accidentally
type a dangerous command
Either paid or free open source is fine.
I'm creating automation frame work. Idealy it includes:
test plan management,
test manager across windows, unix, linux, solaris and other os.
UML documentation for python scripts
IDE tool for python on windoes and linux
UI design tool for python(best is int
On Sun, Dec 12, 2010 at 2:16 PM, Wayne Werner wrote:
>>
>> Try that in the interactive interpreter, it doesn't work.
>> >>> print "a" + chr(13)
>> a
>> (Python 2.6.6)
>
> Actually, it does:
> >>> print 'a' + chr(13) + 'b'
> b
> The cursor moves back, you just didn't bother to overwrite the 'a'.
>
Wayne,
Yes, you have characterized it pretty well. Additionally, it will be
accessed typically by maybe a dozen individuals, typically only reading
information from the database and infrequently writing to it.
--Bill
On Sun, Dec 12, 2010 at 7:36 AM, Wayne Werner wrote:
>
>
> I think the large
Thanks to all for your answers, especially those that went into detail about
why its done in that way.
As far as whether this is actually addressed in the book, as far as I can
tell by going a few pages forward, it does not. In fact, after the code
there's a how it works section which only added t
On Sat, Dec 11, 2010 at 12:07 PM, Bill Allen wrote:
> David,
>
> Thanks for the feedback. I should have been more specific on the usage of
> the data. The data will be some email addresses, names, department, and an
> indicator if the email address is internal to the business or an external
>
On Fri, Dec 10, 2010 at 2:38 PM, Corey Richardson wrote:
>
>
> On 12/10/2010 3:34 PM, Wayne Werner wrote:
>
>> If you just want a single line you can use chr(13) which is a carriage
>> return. If you want a more complex program you'll need a curses type
>> library
>> hth, wayne
>>
>> On 12/10/10,
Am 12.12.2010 03:42, schrieb David Hutto:
On Sat, Dec 11, 2010 at 9:52 AM, Knacktus wrote:
Hi everyone,
can anybody recommend a lib or some other ressources about license
mechanisms of desktop applications written in python. I'm thinking of a
license-key that can be used to limit the time the
33 matches
Mail list logo