Re: input() on python 2.7.5 vs 3.3.2

2013-12-12 Thread Amit Saha
On Fri, Dec 13, 2013 at 12:45 AM, wrote: > Can someone explain? Thanks. > > Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit > (AMD64)] on win32 > Type "help", "copyright", "credits" or "license" for more information. x = input() > Hello there print(x) > Hel

Re: Python application for rpm creation

2013-11-26 Thread Amit Saha
On Wed, Nov 27, 2013 at 1:39 AM, Unix SA wrote: > >> Sounds to me more like he is looking to package some other in house >> software, as opposed to packaging python specific libraries, etc.. > > - Yes, This is exactly i am looking at > > >> Doing an apt-cache search on my Ubuntu desktop results wi

Re: Using try-catch to handle multiple possible file types?

2013-11-18 Thread Amit Saha
On Tue, Nov 19, 2013 at 5:13 PM, Victor Hooi wrote: > Hi, > > I have a script that needs to handle input files of different types > (uncompressed, gzipped etc.). > > My question is regarding how I should handle the different cases. > > My first thought was to use a try-catch block and attempt to

Re: How can I get the variable to subtract the input please?

2013-11-18 Thread Amit Saha
On Tue, Nov 19, 2013 at 9:56 AM, Ed Taylor wrote: > This will be very simple to most of you I guess but it's killing me! > > print ("Please type in your age") > age = input () > leave = 16 > print ("You have" + leave - age + "years left at school") > > I want to have an input where the users age

Re: [Python-Dev] [RELEASED] Python 3.3.0

2012-09-29 Thread Amit Saha
On Sat, Sep 29, 2012 at 10:37 PM, Dave Angel wrote: > On 09/29/2012 08:23 AM, Amit Saha wrote: >> On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl wrote: >>> >>> >>> For a more extensive list of changes in 3.3.0, see >>> >>> http://docs

Re: [Python-Dev] [RELEASED] Python 3.3.0

2012-09-29 Thread Amit Saha
On Sat, Sep 29, 2012 at 10:18 PM, Georg Brandl wrote: > On behalf of the Python development team, I'm delighted to announce the > Python 3.3.0 final release. > > Python 3.3 includes a range of improvements of the 3.x series, as well > as easier porting between 2.x and 3.x. Major new features and