[BangPypers] Need help for python coding

hiharry danny hrdspl at gmail.com
Sat Apr 20 21:10:25 CEST 2013

HELLO, please check for the file extension  in ur code for .PCL , AND if
the check matches then invoke the corresponding application required to
open for that particular file using the if...elif...elif construct in
python which is the substitute of switch case statements in other languages.

On Sun, Apr 21, 2013 at 12:01 AM, Gora Mohanty <gora at mimirtech.com> wrote:

> On 20 April 2013 22:47, Kamalakar gs <foxrun2005 at gmail.com> wrote:
> > What i am asking is i have a file of other format for example .PCL which
> is
> > Patran file (Software used for analysis). Now what i want is if user
> inputs
> > a file name,python has to recognise the file name and directory of file
> > which exists and executes the file in patran window.
> (a) Please do not start separate threads for the same question
> (b) You might wish to review how to use mailing lists to your
>      advantage, and with the added benefit of preserving the
>      sanity of people trying to respond to your messages. Here
>      are some excellent pointers:
>      - http://wiki.apache.org/solr/UsingMailingLists
>      - https://code.djangoproject.com/wiki/UsingTheMailingList
>      - http://catb.org/~esr/faqs/smart-questions.html
> I am not sure who on this list might have an idea of some random
> software that you are interested in. Please formulate this in a way
> relevant to this list.
> Regards,
> Gora
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers

More information about the BangPypers mailing list