Hi,
In the Visual Fox Pro world there is a help file that allows look ups /
searchs for functions, etc... just plain reference infomation. I.e. if I
were interested in the MAX() function I would just type Max() and get a page
that contained a description of how to use MAX() and what it returned
Thanks for your reply.
The following is the error message :
a
'\x00\x01\xa20\x82\x01\x9e0\x82\x01(\x02\x01\x000\r\x06\t*\x86H\x86\xf7\r\x01\x01\x04\x05\x000:1\x120\x10\x06\x03U\x04\x03\x13\tConst2-
2.1$0\n\x06\x03U\x04\x05\x13\x0339B0\x16\x06\t*\x86H\x86\xf7\r\x01\t\x02\x16\tConst2-2.0\x1e\x17
On 2/9/07, johnf <[EMAIL PROTECTED]> wrote:
> Is there a Python tool/document that is similar? Just a simple way to help
> understand.
Yes, use the __doc__ property.
>>> print list.__doc__
list() -> new list
list(sequence) -> new list initialized from sequence's items
>>> import os.path
>>> pri
Rikard Bosnjakovic schrieb:
> On 2/9/07, johnf <[EMAIL PROTECTED]> wrote:
>
>> Is there a Python tool/document that is similar? Just a simple way to help
>> understand.
>
> Yes, use the __doc__ property.
Which is made a lot easier by using the 'help' function in the interactive
interpreter:
>>
On Friday 09 February 2007 10:56, Christopher Arndt wrote:
> Rikard Bosnjakovic schrieb:
> > On 2/9/07, johnf <[EMAIL PROTECTED]> wrote:
> >> Is there a Python tool/document that is similar? Just a simple way to
> >> help understand.
> >
> > Yes, use the __doc__ property.
>
> Which is made a lot e
Does anyone know what is needed to install to get epydoc to generate pdf
files on Windows. Besides epydoc itself of course.
Thanks,
Don.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
johnf wrote:
> Hi,
> In the Visual Fox Pro world there is a help file that allows look ups /
> searchs for functions, etc... just plain reference infomation. I.e. if I
> were interested in the MAX() function I would just type Max() and get a page
> that contained a description of how to use MAX
On Friday 09 February 2007 04:15 pm, johnf wrote:
> Is there a Python tool/document that is similar? Just a simple way to help
> understand.
I make use of /usr/local/lib/python2.5/pydoc.py
(your path may be different, depending on OS and version)
On linux, I invoke it as a "server" as
p
johnf wrote:
> Hi,
> In the Visual Fox Pro world there is a help file that allows look ups /
> searchs for functions, etc... just plain reference infomation. I.e. if I
> were interested in the MAX() function I would just type Max() and get a page
> that contained a description of how to use MAX
ok, i have started doing this with my 4000 + line file. So far its been
working out.
i have another question about it.
i have two classes in my program that use a global object that is a socket
connection.
example:
global my_sockobj
serverhost = 'mehost.com'
serverport = 9100
my_sockobj = socke
Greetings,
I've written the attached simple web app. It serves as a more
pleasant user interface to a file located on our journal proxy
server. It relies on the Paramiko library for sftp and Mako for
templating. Basic file functions are as follows:
* ule: The user starts here. A page is produc
> i have two classes in my program that use a global object
> that is a socket connection.
> ... code snipped
> is there something tricky about passing this as a global object to
> different modules that would need to use it?
Whiler its possible to use a global in this way its usually better to
Why does the identity operator return "True" in the below cases, that is
when assigning the same value to basic variable types (float, integer,
string, bool..)? Are these rcopied by reference (shallow)? If so why?
i = 10
j = 10
i is j
True
a = 10
b = a
a is b
True
Thanks!
On Feb 9, 2007, at 10:34 PM, Cecilia Alm wrote:
> Why does the identity operator return "True" in the below cases,
> that is when assigning the same value to basic variable types
> (float, integer, string, bool..)? Are these rcopied by reference
> (shallow)? If so why?
>
> >>> i = 10
> >>>
On 10/02/07, Cecilia Alm <[EMAIL PROTECTED]> wrote:
> Why does the identity operator return "True" in the below cases, that is
> when assigning the same value to basic variable types (float, integer,
> string, bool..)? Are these rcopied by reference (shallow)? If so why?
>
> >>> i = 10
> >>> j =
>> Why does the identity operator return "True" in the below cases,
>> that is when assigning the same value to basic variable types
>> (float, integer, string, bool..)? Are these rcopied by reference
>> (shallow)? If so why?
>>
> i = 10
> j = 10
> i is j
>> True
The above you have
16 matches
Mail list logo