John Carmona wrote:
> After quite a while away from Python, I have decided to re-study Python. I
> am interested to learn Python to support my love for Cryptography. I have a
> first very easy question (did some search on Google but could not find
> anything helpful). I realise that this is very
* John Carmona <[EMAIL PROTECTED]> [061214 02:21]:
> After quite a while away from Python, I have decided to re-study Python. I
> am interested to learn Python to support my love for Cryptography. I have a
> first very easy question (did some search on Google but could not find
> anything helpfu
> odd =1
> >>>while odd <=100:
> if (odd%2)==1:
> print odd
> odd = odd + 1
> -
> I get a list of the odd numbers from 1 to 99. But now if I wanted to add
> those number t
> -Original Message-
> From: Kent Johnson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 13, 2006 3:42 PM
> To: Carroll, Barry
> Cc: tutor@python.org
> Subject: Re: [Tutor] Accessing the name of a Function
>
<>
>
> You could also do this very simply and cleanly with a decorator,
>
> odd =1
while odd <=100:
> if (odd%2)==1:
> print odd
> odd = odd + 1
> -
> I get a list of the odd numbers from 1 to 99. But now if I wanted to add
> those number t
Christer Enfors wrote:
> Now on to my actual questions:
>
> 1) I want to be able to update parts of the code (the game content)
> while the MUD (the engine) is running. Errors in the game shouldn't stop
> the entire MUD - I guess I should use exceptions for this? Any pointers
> as to where I sh
After quite a while away from Python, I have decided to re-study Python. I
am interested to learn Python to support my love for Cryptography. I have a
first very easy question (did some search on Google but could not find
anything helpful). I realise that this is very basic so be gentle with me.
"Peter Jessop" <[EMAIL PROTECTED]> wrote
>I am a windows system administrator and started learning
> python (as an alternative to VBScript) for the following reasons.
>
> 1) VBScript has serious limitations as a language
> 2) Needed access to TCP/IP protocols
> 3) Ability to to write scripts wit
Carroll, Barry wrote:
> Greetings:
>
> Andreas and Kent helped me solve my problem. We are writing a keyword
> driven framework for embedded SW testing. The framework supports scores
> of keywords, built-in and user-defined. We are still writing the
> framework, so none of the functions for man
I am a windows system administrator and started learning
python (as an alternative to VBScript) for the following reasons.
1) VBScript has serious limitations as a language
2) Needed access to TCP/IP protocols
3) Ability to to write scripts with GUI.
4) Portability
Windows system administrators
Greetings:
Andreas and Kent helped me solve my problem. We are writing a keyword
driven framework for embedded SW testing. The framework supports scores
of keywords, built-in and user-defined. We are still writing the
framework, so none of the functions for manipulating the target device
has be
You fixed it! Kudos and a cookie! (Name Brand even!)
Thanks a lot, seems to be moving along fine now.. :]
On 12/13/06, Tim Golden <[EMAIL PROTECTED]> wrote:
[Chris H]
> The reason I an forcing each line to string and splitting it is because
the
> pure numeric values coming from the excel sheet
[Chris H]
> The reason I an forcing each line to string and splitting it is because the
> pure numeric values coming from the excel sheet all come in a decimal, and
> have an appended .0 at the end.
Ah! You're using str to convert a number to a string. I see.
And you're relying on the fact that
Archana Maheshwari wrote:
> tell me about the applications of python programming in mapping field.
Python is now the primary scripting language for ESRI products:
http://www.esri.com/news/arcuser/0405/files/python.pdf
Python wraps GDAL:
http://www.gdal.org/gdal_tutorial.html
and OGR:
http://
Thanks for the detailed reply.
The reason I an forcing each line to string and splitting it is because the
pure numeric values coming from the excel sheet all come in a decimal, and
have an appended .0 at the end.
So 123456 in Excel is becoming 123456.0 when using the loop to extract it. I
was to
Archana Maheshwari wrote:
> tell me about the applications of python programming in mapping field.
What kind of mapping do you have in mind? Googling "python mapping"
finds this:
http://infohost.nmt.edu/tcc/help/lang/python/mapping.html
Depending on what kind of mapping you mean, googling "pytho
"Archana Maheshwari" <[EMAIL PROTECTED]> wrote
> tell me about the applications of python programming in mapping
> field.
>
Tell us about the mapping field.
I sounds fairly specialised. Do you have any specific software
systems requirements? Do you use software systems at
the moment? What makes
I'm new to Python, but I've been programming other languages for over 15
years. Now, I've decided that I want to code my own MUD engine from
scratch in Python. A MUD is a bit like a MMORPG (like World of
Warcraft), only it uses text instead of graphics. A MUD is the graphical
MMORPGs what books
tell me about the applications of python programming in mapping field.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Carroll, Barry wrote:
> Andreas:
>
> You're right, that is kind of messy and somewhat limited. In the
> present case, however, it is the function's defined name that I want, so
> this would work okay.
>
> I'm guessing that there is a way to determine the number and names of
> the arguments to
[Chris Hengge]
| 'ascii' codec can't encode character u'\xa0' in position 11:
| ordinal not in range(128)
| Error with: FRAMEMRISER of type:
| Excel Row : 6355
OK. Let's get to the basics first:
import unicodedata
print unicodedata.name (u'\xa0')
# outputs: NO-BREAK SPACE
So somewhere (ma
Cheers, I'll consider that. So the client would effectively hand shake
with the lower level program and be supplied with a list of
permissions which the user has access to.
You mentioned about many systems being multi-user. When the client
attempts to connect to the lower machine is it a trivial i
On 12/12/06, Tim Golden <[EMAIL PROTECTED]> wrote:
> But this is all quite Win32-specific (as well as
> being hand-wavingly unspecific). I don't know
> how you'd go about it on *nix but I bet it's nothing
> like the same.
The same general principle applies. You need to get a
UID or similar from a
Cheers for the reply,
I had feared as such! I didn't want to have to code two different apps
(windows or linux), or at best have large block of code around a few
cases base on the result of sys.platform.
The system is based on Windows at the moment, but I would of liked to
have produced a version
"Thomas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm writing a program to analyse the profiles of the 15500 users
> though about creating say 10 files to start off with that contained
> dictionaries of userid to field value. That way I'm dealing with 10
> to
> 50 files inst
With more than 15000 records you would be better off using a relational
database.
Although it will create more work to start with (you'll have to learn it),
it will save you a lot of work in the medium and long term.
Almost any relational database can be accessed from python.As it is just for
you
26 matches
Mail list logo