answersLogoWhite

0

Python Programming

Python was first released in 1991, it is an high-level programming language. It was created by Python Software Foundation. The language is influenced by a number of programming language such as C, Lisp, Perl, Java and others.

155 Questions

Can you delete code on python?

you can uninstall it just like any other program.

What are some features of the python programming language?

Here are some of the features I like:

  • Fairly simple, and easy to learn, compared with other languages.
  • Supported on many platforms.
  • The language in general requires less statements to achieve something than many other languages.
  • The scope of a for, while, if, etc. is defined by indentation. That is, no special symbols are used to indicate the end of such a block. This also means you must indent correctly.
  • A procedure can return more than one value, like this:
    • In the procedure: return a, b
    • Calling the procedure: x, y = myprocedure(...)
    • I guess that technically, the procedure returns a single item (a list), but the language syntax makes it easy to assign the parts of this list to more than one variable.
  • Built-in support for complex numbers.
  • Built-in support for numbers of an arbitrary size.

I want to add more info, like

Versatile

Flexible

Cross-platform and Open Source

Also as of March 2016, Python had the highest year-on-year job demand growth (at 19%) among all programming languages. On Angel List, Python stands as the 2nd most demanded skill and also the skill with the highest average pay offered.

How do you do a while loop in python?

#LMGTFY

In this example, I have created an array of numbers called 'foobar', and while the variable 'sum' is less than 20, I will have the program continue to loop back and add the next number in the array sequence.

#!usr/bin/env

foobar = [1, 4, 7, 2, 9, 11, 0, 6, 5, 4, 16, 3]

sum = 0

iteration = 0

while(sum < 20):

sum += foobar[iteration]

iteration += 1

print("Finished!")

What does a Python Developer do?

The main aim of software developers are to create a website as per the user requirements and need. They create unique database whether for small or large companies. And Coordinate with owner for the website interface. If you are looking for good software developer, Dmitry Khodarenok is serving custom android application development since 7 years.

Where can one download a free Python tutorial?

The only place you can get a legitimate trial of the software Python is from Python's official site. Other downloads may contain virus or other malicious software.

How do you get input in python?

I get in put with input() function like this:

x = input("what do you want to ask")

What is the meaning of print python programming?

In Python; the "print" feature will simply output something (defined by you) onto the screen. For example: print("Hello") would output "Hello" to the screen!

What are the rules for naming variables in python?

A variable falls under the category of "Python identifier". SUch an identifier must start with a letter (uppercase or lowercase) or an underscore, followed by zero or more letters, underscores, and digits. Note that Python is case-sensitive; for example, myvariable, MyVariable, and MYVARIABLE would be treated as three different variables.

How do you write a program that prompts the user to enter a short message and the number of times it is to be displayed and then displays the message the required number of times in Python?

Sorry, I'm not doing your homework for you.

I suggest you flowchart the problem, execute it yourself by hand on the flowchart a few times to make sure it works, then convert the flowchart to code in whatever language the teacher told you to use.

That's what I did back in 1973 with my program to play tic-tac-toe, that I had to punch on cards using the FORTRAN II programming language when I first started on computers. Hand execution of a program though tedious and boring is a very effective means to find bugs and gain insight to the way computers operate.

What type of software is python?

  • Bazaar, a free distributed revision control system
  • BitTorrent original client, along with several derivatives
  • BuildBot, a continuous integration system
  • Chandler, a personal information manager including calendar, email, tasks and notes support that is currently under development
  • Decibel Audio Player, an open source audio player
  • Deluge, a bittorrent client for GNOME
  • Emesene, an msn/wlm substitute
  • Exaile, an open source audio player
  • Gajim, an instant messaging client for the XMPP protocol
  • GMapCatcher, an open source offline maps viewer
  • GRAMPS, an open source genealogy software
  • Juice, a popular podcast downloader
  • Listen, an open source media player
  • Mercurial a cross-platform, distributed source management tool
  • Morpheus, file-sharing client/server software operated by the company StreamCast
  • MusicBrainz Picard, a cross-platform MusicBrainz tag editor
  • Nicotine, a PyGTK SoulSeek client.
  • Pitivi a video editor
  • Portage, the heart of Gentoo Linux. An advanced package management system based on the BSD-style ports system
  • Quake Army Knife, an environment for developing 3D maps for games based on the Quake engine
  • Resolver One, a spreadsheet
  • SAGE (sagemath) combines more than 20 main opensource math packages and provides easy to use web interface with the help of python
  • SCons, a tool for building software
  • Yum, a package management utility for RPM-compatible Linux operating systems.
  • Phenny, an IRC bot.
  • Calibre, an ebooks management software.

Who created the Python programming language?

#LMGTFY

Guido van Rossum, a Dutch computer programmer is the author of the programming language Python. Among Python programmers and the Python community, van Rossum us known as the "Benevolent Dictator For Life" (BDFL).

What is python 2.5.1?

Python is a scripting language. Which you can use to make games, gui apps, text based apps or anything you want. Python comes "with batteries included" which means that the standard library contains a lot, for many different things.

Any good teaching sites for Python?

Codecademy offers a python course which works pretty well. That's how I learned!

The Official Python Tutorial

*Maybe* you could start there?

Python for non-programmers is a LIST OF TUTORIALS

Invent Your Own Computer Games With Python

I used it a lot, even though it's called '... computer games ...' it teaches you a lot of the basics in a fun, simple way.

Sthurlow is a great beginners tutorial too.

Help:

StackOverflow is for programming related questions

The official Python IRC channel is very good

I would add websites like

Udemy

Coursera are very good.

Also you can rely on tutorials by

Tutorialspoint where you get answered for all your queries.

Are applescript and python the same?

There both programming languages if that's what you mean but they're different in how they are implemented. Python is a general-purpose language compatible with almost any OS but Applescript is designed for Macintosh and apple products.

Do python identifiers have to start with a letter or underscore?

Yes, that's the rule in Python (and in many other programming languages, as well).

How do you import random in python 3.2?

import random

random.randrange(1, 99999) #Set range from 1 to 99999

Where can one obtain a Python list?

Python lists can't be downloaded from an adress or website source. They have to be created in the Python programming language. Lists can then be created by using a text editor.

How can you create infinite instances of the same class using Python?

try using a never ending looping statement

(I know that I need a while/for loop, but I don't know how to assign variables to a randomly generated string)

What is the meaning of print and input in idle python?

"print" will output a value onto the screen for a user to see.

"input" or "raw_input" gets a user's input.

Example of semantic errors?

scores = [51, 47, 53, 97, 27]

summation = 0.0

for score in scores:

summation *= score # Semantic Error.

average = summation / len(scores)

print average # Isn't average. average == 0