How to read a make file in python and access its elements

2013-07-22 Thread san
How to read/load the cmake file in python and access its elements. I have a scenario, where i need to load the make file and access its elements. I have tried reading the make file as text file and parsing it,but its not the ideal solution Please let me know how to load the .mk file and acce

How Run Py.test from PyScripter

2012-11-14 Thread san
I am a newbie to py.test , Please let me know how to run the py.test in PyScripter Editor. I have tried in the belwo way but it doesn't work. import pytest def func(x): return x + 1 def test_answer(): assert func(3) == 5 pytest.main() below is the Exception that i get Traceback (most recent

How to sort list of String without considering Special characters and with case insensitive

2012-11-27 Thread san
Please let me know how to sort the list of String in either ascending / descending order without considering special characters and case. ex: list1=['test1_two','testOne','testTwo','test_one'] Applying the list.sort /sorted method results in sorted list ['test1_two', 'testOne', 'testTwo', 'test_o

from __future__ import print_function

2016-04-24 Thread San
Hi All, I want details explanation(why this statement used,when it can be used,etc) of following statement in python code "from __future__ import print_function" Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list

def __init__(self):

2016-04-25 Thread San
Hi All, Pls let me why " def __init__(self): " declaration required, what's the use of this one.Pls explain me in details. Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list

def __init__(self,cls):

2016-04-29 Thread San
Dear Group, Please explain the following in details. " def __init__(self,cls): self.cls = cls " Thanks in Advance. San -- https://mail.python.org/mailman/listinfo/python-list

ValueError: I/O operation on closed file

2016-05-25 Thread San
Hi Gorup, why i am getting "ValueError: I/O operation on closed file" this error. Pls let me know. Thanks in Advance. san -- https://mail.python.org/mailman/listinfo/python-list

Re: ValueError: I/O operation on closed file

2016-05-25 Thread San
On Wednesday, May 25, 2016 at 6:00:07 PM UTC+5:30, San wrote: > Hi Gorup, > > why i am getting "ValueError: I/O operation on closed file" this error. > Pls let me know. > > Thanks in Advance. > san Hello, Following is the code i used. def test_results(filename

Can I use python for this .. ??

2006-05-04 Thread san
Hi I am using windows xp and have installed python and win32. I am familiar with basic Python. I wanted to control some of the applications via python script. I would like to write a python script to say: 1. Open firefox and log on to gmail 2. Another firefox window to visit slickdeals 3. Open wi

Re: Can I use python for this .. ??

2006-05-04 Thread san
utable = wamp_exe) now is there anyway i can enter user name and password and then click okay .. (not for gmail but for other similar webpages which require loggin) .. ?? how to open pages in tabs .. ?? San -- http://mail.python.org/mailman/listinfo/python-list

Re: Can I use python for this .. ??

2006-05-04 Thread san
Petr I dont want hibernation .. its more like starting a list of programs when i want to have fun time on my pc... but thanx for ur reply .. -- http://mail.python.org/mailman/listinfo/python-list

Re: Can I use python for this .. ??

2006-05-05 Thread san
Rick Thanks for your reply .. didnt quite get your point in loggin into password protected site. Will try to seach this group for more .. Still looking for tab browsing and logging in password protected site .. can i use ctype or something like that .. some modute that will introduce key strokes

TypeError: 'module' object is not callable

2011-08-11 Thread Forafo San
I wrote a class, Univariate, that resides in a directory that is in my PYTHONPATH. I'm able to import that class into a *.py file. However when I try to instantiate an object with that class like: x = Univariate(a) # a is a list that is expected by the Univariate class python raise

Re: TypeError: 'module' object is not callable

2011-08-11 Thread Forafo San
On Thursday, August 11, 2011 8:22:20 PM UTC-4, MRAB wrote: > On 11/08/2011 23:43, Forafo San wrote: > > I wrote a class, Univariate, that resides in a directory that is in my > > PYTHONPATH. I'm able to import that class into a *.py file. However when I > > try to insta

Replacement for the shelve module?

2011-08-19 Thread Forafo San
Folks, What might be a good replacement for the shelve module, but one that can handle a few gigs of data. I'm doing some calculations on daily stock prices and the result is a nested list like: [[date_1, floating result 1], [date_2, floating result 2], ... [date_n, floating result n]] However,

Re: Replacement for the shelve module?

2011-08-19 Thread Forafo San
On Aug 19, 11:54 am, Thomas Jollans wrote: > On 19/08/11 17:31, Forafo San wrote: > > > > > > > > > > > Folks, > > What might be a good replacement for the shelve module, but one that > > can handle a few gigs of data. I'm doing some calcu

[newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-15 Thread john san
How to install python under DOS and is there any Wxpython-like can be installed under dos? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-16 Thread john san
pure DOS, old pc, used for teaching . want show some "windows" under DOS (under Python). "Daniel Bowett" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > john san wrote: > > How to install python under DOS and is there any Wxpython-like can be >

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-16 Thread john san
Just want to show "windows" under dos without MsWindows. Also find some difficulty to simply install WxPython under directory(DOS) and then run, which is very good thing if it is just like Java. I want a simple solution for Python to install to DOS and then can have "Windows" running.( to be used

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-16 Thread john san
... You will have HD screen and web surfing on HDTV and computing on HDTV. think about it! That is a real thing the python-like lang. should to do otherwise just a garbage(toy). "Jeff Shannon" <[EMAIL PROTECTED]> ???? news:[EMAIL PROTECTED] > john san wrote: > > > Just wa

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-17 Thread john san
if B. Kristensen" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > john san skrev: > > > Actually the "windows" running very good under the xbox-NTOS via > > xboxmediacenter. its just limited functions(not easy to programming > > the "windows"

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-17 Thread john san
oh, ya. "Fuzzyman" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > > john san wrote: > > Actually the "windows" running very good under the xbox-NTOS via > > xboxmediacenter. its just limited functions(not easy to programming > the > >

Re: [newbie]How to install python under DOS and is there any Wxpython can be installed under dos?

2005-02-17 Thread john san
s:[EMAIL PROTECTED] > Leif B. Kristensen wrote: > > john san skrev: > > > > > >>Actually the "windows" running very good under the xbox-NTOS via > >>xboxmediacenter. its just limited functions(not easy to programming > >>the "windows&qu

Graph or Chart Software for Django

2014-01-17 Thread San D
What is the best Graph or Chart software used with Django (libraries & products), preferably open source? Need something stable and robust, and used by many developers, so active on community channels. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Templating engines that work very well with Python/Django

2014-01-17 Thread San D
Can someone suggest a few templating engines that work really well with Django and help in coding efficiency? Where can I fin comparison of tempating engines I can find to know their pros and cons? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Weird python behavior

2013-04-24 Thread Forafo San
Hello All, I'm running Python version 2.7.3_6 on a FreeBSD system. The following session in a Python interpreter throws a mysterious TypeError: -- [ppvora@snowfall ~/xbrl]$ python Python 2.7.3 (default, Apr 22 2013, 18:42:18) [GCC 4.2.1 20070719 [FreeBSD

Re: Weird python behavior

2013-04-24 Thread Forafo San
On Wednesday, April 24, 2013 3:08:27 PM UTC-4, Neil Cerutti wrote: > On 2013-04-24, Forafo San wrote: > > > Hello All, > > > I'm running Python version 2.7.3_6 on a FreeBSD system. The following > > session in a Python interpret

pyclbr

2005-02-10 Thread Fernando San Martín Woerner
ny changes even if i execute readmodule again. any idea?, thanks in advance -- Fernando San MartÃn Woerner Jefe de InformÃtica Galilea S.A. -- http://mail.python.org/mailman/listinfo/python-list

Python for Windows

2020-10-14 Thread Ana María Pliego San Martín
Hi! I've tried to install Python a couple of times on my computer. Although it works fine when first downloaded, every time I turn off my computer and then back on Python says it has a problem that needs fixing. After "fixing" it, I still encounter some issues and have the need to uninstall it and