Python Installation on Fedora Linux and Windows 7
Install Python 3.2 on Fedora Linux
Remember that you must be Super User to install Python the way we discuss here.
Download Python 3.2:
Extract Files to a directory Python-3.2
tar -xjf Python-3.2.tar.bz2 cd Python-3.2
Change to that directory:
Run make install:
And that's it. After this installation process, for all your Python Scripts, you have to add (if required) '#!/opt/python3/bin/python3' as your path.
You may test which version of Python is installed by running the following command :
Also remember that with most of the Linux distributions, while installing, a standard installation process also installs Python by default. To run Python, just type python and hit enter and it will take you to the python prompt.
Install Python 3.2 on Windows 7:
Download .msi file of Python from http://www.python.org/getit/releases/3.2/. Once downloaded, double-click the file to install Python 3.2 on Windows 7.
Select Installation folder:
Wait now till the installation process is finished.
Click Finish button at this stage and that's it. You may open Python command line from Start Menu and you may run python commands as shown bellow:
For both Windows and Linux, to leave the Python prompt, issue 'quit()'.
Test your Python skills with w3resource's quiz
Python: Tips of the Day
Combining Lists Using Zip:
- Takes multiple collections and returns a new collection.
- The new collection contains items where each item contains one element from each input collection.
- It allows us to transverse multiple collections at the same time.
name = 'abcdef' suffix = [1,2,3,4,5,6] zip(name, suffix) --> returns (a,1),(b,2),(c,3),(d,4),(e,5),(f,6)
- Weekly Trends
- Python Interview Questions and Answers: Comprehensive Guide
- Scala Exercises, Practice, Solution
- Kotlin Exercises practice with solution
- MongoDB Exercises, Practice, Solution
- SQL Exercises, Practice, Solution - JOINS
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join
We are closing our Disqus commenting system for some maintenanace issues. You may write to us at reach[at]yahoo[dot]com or visit us at Facebook