08-12-2013
NOTE:-
"print" is a _statement_ in Python Versions up to the latest 2.7.x.
BUT, "print()" is now a function in Python 3.x.x.
It IS possible to get the function to work down to Python 1.4.0, and I have done it many times, but it is a little convoluted...
10 More Discussions You Might Find Interesting
1. IP Networking
Firstly I must apologise; I have posted something similar in the "general UNIX newbies" forum; but in reterospect I think that it's more appropriate here.
Anyhoo;
I am trying to detect whether people accessing one of my servers are coming via a proxied connection. I must add that this is... (1 Reply)
Discussion started by: sam_pointer
1 Replies
2. UNIX for Dummies Questions & Answers
This is quite a general question:
I am trying to detect whether people accessing my network are using a proxy server. This is *not* to ensure that web pages are not cached!
The only way that I can think of doing this is to intercept at packet level and examine the source port for... (1 Reply)
Discussion started by: sam_pointer
1 Replies
3. UNIX for Dummies Questions & Answers
Hi, I've been racking my brains trying to remember, but, whats the command to change the default shell? I'm currently always in the Korn shell and I want to start out in the Bash shell. I'm running a variant of BSD I guess in Mac OS X 10.2.2 and Mandrake. Thanks.
ccindyderek:confused: (4 Replies)
Discussion started by: ccindyderek
4 Replies
4. Shell Programming and Scripting
Perl, Python, and PHP are these languages easy to use? Are they command line or are they part of a GUI? (2 Replies)
Discussion started by: wmosley2
2 Replies
5. UNIX for Dummies Questions & Answers
This may be a dumb question (but this is the UNIX for Dummies Q&A forum :)
But I'm wondering, what is the purpose of a directory being given execute permissions? I can't execute a directory, only files, right? If I make a directory executable, the files inside still won't execute unless I give... (1 Reply)
Discussion started by: FredSmith
1 Replies
6. UNIX for Dummies Questions & Answers
Experience level : New to programming in Linux. Forgive my noobiness in this context with regards to programming, language or grammar.
Some Background info : I have seen a lot of programs which I use (Modo and Maya especially) which can use a command line to run the different parts of the... (2 Replies)
Discussion started by: snd321
2 Replies
7. Linux
I am looking for an alternate solution other than gzip or bzip2 to compress files that are 3 to 4 GB each and will be hundreds per day. Aside from increasing storage anybody found a good tool? (5 Replies)
Discussion started by: mykey242
5 Replies
8. Programming
Hey folks. Title says it all, but... It's been an interesting few days. Never done anything object-oriented before. Previously only had BASH experience. I'm LOVING python. I see so much potential (of course). Can't wait to really get a feel for what's available in the Standard Library.
I have no... (6 Replies)
Discussion started by: ryran
6 Replies
9. Shell Programming and Scripting
Hi guys,
I am currently working as a system administration engineer, administering telecom applications on linux/unix platforms.
I want to learn new things and improve the ones that i have and for this i though to really work on some project or something but i lack of ideas.
I want to be... (2 Replies)
Discussion started by: capitanui
2 Replies
10. Programming
Hi there,
im just having a hard time understanding why this code does not print anything that is suppose to print:
score = raw_input ('what is your score? \n')
try:
if 1.0 == float(score) >= 0.9:
print "A"
elif 0.9 > float(score) >= 0.8:
... (1 Reply)
Discussion started by: la2015
1 Replies
LEARN ABOUT DEBIAN
pydoc3.6
PYDOC3.6(1) General Commands Manual PYDOC3.6(1)
NAME
pydoc3.6 - the Python documentation tool
SYNOPSIS
pydoc3.6 name
pydoc3.6 -k keyword
pydoc3.6 -p port
pydoc3.6 -g
pydoc3.6 -w module [...]
DESCRIPTION
pydoc3.6 name Show text documentation on something. name may be the name of a Python keyword, topic, function, module, or package, or a
dotted reference to a class or function within a module or module in a package. If name contains a '/', it is used as the path to a Python
source file to document. If name is 'keywords', 'topics', or 'modules', a listing of these things is displayed.
pydoc3.6 -k keyword Search for a keyword in the synopsis lines of all available modules.
pydoc3.6 -p port Start an HTTP server on the given port on the local machine.
pydoc3.6 -g Pop up a graphical interface for finding and serving documentation.
pydoc3.6 -w name [...] Write out the HTML documentation for a module to a file in the current directory. If name contains a '/', it is
treated as a filename; if it names a directory, documentation is written for all the contents.
AUTHOR
Moshe Zadka, based on "pydoc --help"
PYDOC3.6(1)