[issue44709] [3.7] Popen Control Characters in stdout affect shell session

2021-07-23 Thread San
San added the comment: I just realised that this is not a problem of python but rather a problem of the shell that I was using. I was testing the io in a different environment. Now I retried in the same environment that the wrapper was operating and the behaviour is the same using io

[issue44709] [3.7] Popen Control Characters in stdout affect shell session

2021-07-23 Thread San
San added the comment: I get your point. But I thought setting 'stdout=PIPE' should not send the stdout directly to the terminal but rather through the pipe first?! Also what you're saying seems to contradict that this doesn't happen if I don't set the encoding and let it be a byte-stream

[issue44709] [3.7] Popen Control Characters in stdout affect shell session

2021-07-22 Thread San
New submission from San : I was trying to wrap an old game server executable with a built-in console using Popen. class ServerWrapper(Thread): def __init__(self, pathToExecutable: str, statusMonitor: Popen = None, active: bool = False): super().__init__

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

[issue40034] cgi.parse() does not work with multipart POST requests.

2020-03-23 Thread San
Change by San : -- keywords: +patch pull_requests: +18492 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19130 ___ Python tracker <https://bugs.python.org/issu

[issue40034] cgi.parse() does not work with multipart POST requests.

2020-03-21 Thread San
New submission from San : The cgi.parse stdlib function works in most cases but never works when given a multipart/form-data POST request because it does not set up pdict in a way cgi.parse_multipart() likes (boundary as bytes (not str) and including content length). $ pwd /tmp $ $ /tmp

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

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

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

def __init__(self):

2016-04-26 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

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

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

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

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

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 ppv.g...@gmail.com wrote: 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

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',

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

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Sidney San Martín
Sidney San Martín s...@sidneysm.com added the comment: Thanks Hynek, awesome! It looks like it’s in now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14835

[issue14835] plistlib: output empty elements correctly

2012-05-27 Thread Sidney San Martín
Sidney San Martín s...@sidneysm.com added the comment: Hynek: Here you go! Ronald: Emailed it in on Friday. -- Added file: http://bugs.python.org/file25734/plistlib_empty_element_test.patch ___ Python tracker rep...@bugs.python.org http

[issue14652] Better error messages for wsgiref validator failures

2012-05-17 Thread Sidney San Martín
Sidney San Martín s...@sidneysm.com added the comment: Thanks Jeff, I’m actually a relatively new Python developer and got the impression that it was best practice to always use a tuple for string formatting, for consistency. Here’s an updated patch which drops the tuples for those cases

[issue14835] plistlib: output empty elements correctly

2012-05-16 Thread Sidney San Martín
New submission from Sidney San Martín s...@sidneysm.com: plistlib’s output is currently byte-for-byte identical to Apple’s, except arrays and dictionaries are stored with self-closing tags (e.g. 'array/') and plistlib outputs empty tags with a newline (e.g. 'array\n/array'). This tiny patch

[issue14652] Better error messages for wsgiref validator failures

2012-04-23 Thread Sidney San Martín
New submission from Sidney San Martín s...@sidneysm.com: wsgiref’s validation middleware is missing messages for many of its assertions, and its docstring doesn’t reflect read() now requiring an argument (said that it took an optional argument). Here’s a patch to add some and update

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-10 Thread Sidney San Martín
Changes by Sidney San Martín s...@sidneysm.com: -- nosy: +ssm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14204 ___ ___ Python-bugs-list mailing

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]]

Re: Replacement for the shelve module?

2011-08-19 Thread Forafo San
On Aug 19, 11:54 am, Thomas Jollans t...@jollybox.de 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 calculations on daily stock prices and the result is a nested

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

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 instantiate an object with that class

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

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

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

2006-05-04 Thread san
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: [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 windows prog.), if we can find WxPython-like can be ported (I can import

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

2005-02-17 Thread john san
yes. u need mod-xbox. since its be easy done and we already have OS, Python support what we need now is only that Python can easy to coding and show window program just like wt we can do under Windows. Lucas Raab [EMAIL PROTECTED] news:[EMAIL PROTECTED] Leif B. Kristensen wrote: john san

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 installed under dos? Thanks. Are you actually

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
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 want to show windows under dos without MsWindows. Also find

[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

pyclbr

2005-02-10 Thread Fernando San Martín Woerner
readmodule again. any idea?, thanks in advance -- Fernando San Martn Woerner Jefe de Informtica Galilea S.A. -- http://mail.python.org/mailman/listinfo/python-list