> an SSH implementation for them exists, but it is not
> worth my while trying to find out, because I will not
> be allowed to install anything on them (or even
> suggest it). So I access them using telnetlib:
Hmm, they won;t lket you install a secure access tool
but are happy to let you in with
John Joseph wrote:
> Hi
>Thanks to Allan,Danny,Pujo
>I did my simple python script for MySQL , the
> scripts add the data , and search for the data and
> display
> I have problem in searching email id ,ie
> If search for the [EMAIL PROTECTED] , I will not get any
> r
FC4 (the latest finished one) has python 2.4.1 as part of the distro (I
think RedHat actually use python for some of their scripts).
Just pull up a terminal and type 'python' and you should get the
prompt...
If you _are_ running FC4 and have more probs, feel free to drop me a
line. at matt at mwi
Hi Ivan
I'm not sure I understand what you are saying here.
Surely if the file is compiled it can just run (and
will only need to be RE-compiled when I have to change
the code (such as when one of the servers has their
password changed).
I would never need to de-compile, because I'll just
keep a c
on a barely related note, sets (mutable [set] and immutable
[frozenset]) were added to Python beginning in version 2.3... so
don't work too hard on your class! you may want to try something more
interesting like:
write a class which let's you keep track of time and does base 60
(sexagesimal / he
On Tue, 24 Jan 2006, Ivan Furone wrote:
> I'm not sure I understand what you are saying here. Surely if the file
> is compiled it can just run (and will only need to be RE-compiled when I
> have to change the code (such as when one of the servers has their
> password changed).
Hi Ivan,
But the
Greetings:
I took Edgar's script and added some more people. Here is the script as
I ran it.
class Person:
'''Represents a person.'''
population = 0
def __init__(self, name):
'''Initializes the person's data.'''
self.name =
--- Alan Gauld <[EMAIL PROTECTED]> wrote:
> command line arguments?
>
> $ startapp -d mydb -l user/password &
>
> That way they are
> 1) kept secret(especially if you turn shell history
> off ;-) and
> 2) can be changed every time you restart the server
> app and
> 3) you can have production a
Compiling is certainly helpful in my case, and I did
not realise how simple it was until you explained it.
I estimate that most of our MCSEs will not know about
the strings command or attempt to look inside
something like test.pyc for a password.
As for users, I'll be amazed if they tried it. An
> Compiling is certainly helpful in my case, and I did
> not realise how simple it was until you explained it.
Remember that only *imported* modules are compiled.
Your main program will not be compiled.
You can fix that by having your main program look like this:
### dummy mainprog.py
Thanks for the responses gentalmen and apologies! It seems that Python IS
included in Fedora but is not explicitly seen (as it is in Windows XP) as a
desktop icon. It can be accessed by from the terminal by simply typing
Python.
RC
From: Python <[EMAIL PROTECTED]>
To: CPIM Ronin <[EMAIL PRO
On Tue, 24 Jan 2006, my long-lost cousin Barry wrote:
> class Person:
...
> def __del__(self):
> '''I am dying.'''
> print '%s says bye.' % self.name
> Person.population -= 1
>
> if Person.population == 0:
> print 'I am the last one.'
> e
Hello all,
I was just messing around with a suggestion w chun (wescpy at gmail
dot com) gave (to make a class that handles time, ie:
>>> import myTime
>>> c = myTime.myTime(10,30)
>>> print c
10:30
>>> d = myTime.myTime(8,45)
>>> print c + d
19:15
etc), and I was trying to make it like th
13 matches
Mail list logo