Unable to use pip to install packages

2021-04-01 Thread Md Sohail Ansari via Python-list
Hi Team, Thanks for your support. I am having trouble installing any packages using pip in Python 3.x (earlier had Python 3.8.3, so changed to 3.8.8) in Windows 10. Please help me with below issues: ---C:\Users\mohsohai>pip install pytestTraceback (most

Re: "Edit with IDLE" doesn't work any more ?

2018-10-18 Thread md . shoaibakhtar2013
On Friday, April 28, 2017 at 5:37:55 PM UTC+5:30, Yip, Kin wrote: > Hi, > > I'm relatively new with Python3 in Windows 7. I'm using now Python 3.6.1. > > Suddenly right-clicking on a .py file and choose "Edit with IDLE" just > doesn't work. > > I've tried to do : > > "c:\program files\python

Fwd: how to collect old tweets from 03-20 Aug, 2014 for a particular location

2015-02-18 Thread Md. Hasanuzzaman
Hello, I am a PhD student. I am new to python and using TwitterSearch to collect tweets from 03-20 Aug for a particular location (geocode). I am trying to run the following piece of code. twitter = Twython(CONSUMER_KEY,CONSUMER_SECRET,ACCESS_KEY,ACCESS_SECRET) results = twitter.cursor(twitter.sea

How to extract contents of inner text of html tag?

2014-03-01 Thread Golam Md. Shibly
Hi, ###in.txt cp -v --remove-destination /usr/share/zoneinfo/ \ /etc/localtime import sys import unicodedata from bs4 import BeautifulSoup file_name="in.txt" html_doc=open(file_name,'r') soup=BeautifulSoup(html_doc) #print soup.prettify().encode('utf-8') #file_to_write.writ

Re: PEP8 79 char max

2013-07-31 Thread Marcelo MD
> > In my experience, aligning columns in large tables reduces maintence > cost by making it much easier/faster to see what you've got and by > providing a way to visually "prompt" you for the correct value in the > correct place when you add new lines. > > Works great until one of the values chang

Re: Setting value of Python variable in a Python C extension

2007-10-01 Thread MD
basically I want to modify value of "var1" in the function "func1" defined in test.c. Is this possible? Thanks, -Manas On Oct 1, 11:26 am, Carsten Haese <[EMAIL PROTECTED]> wrote: > On Mon, 2007-10-01 at 09:08 -0700, MD wrote: > > Hi, > >I have a functio

Setting value of Python variable in a Python C extension

2007-10-01 Thread MD
Hi, I have a function developed in C that is being used as a Python extension. The function is being passed a variable from the Python program. Is it possible to change the value of this variable from within the C function? Thanks, -MD -- http://mail.python.org/mailman/listinfo/python-list

How to change a PyObject passed to the C extension

2007-08-11 Thread MD
Hi, I have a Python C extension which is passed a PyObject containing an integer value. Is it possible to change this same PyObject so that now the integer is of a different value? Thanks and Regards, -MD -- http://mail.python.org/mailman/listinfo/python-list

Re: Does PyModule_GetDict return information about class method variables?

2007-08-10 Thread MD
'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Thu, 09 Aug 2007 19:34:37 -0700, MD wrote: > >I have a variable which is defined inside a class method. When I > > call PyModule_GetDict on the module containing this class, the > > dictionary doesn't c

Does PyModule_GetDict return information about class method variables?

2007-08-09 Thread MD
hon C extension. Thanks and Regards, -MD -- http://mail.python.org/mailman/listinfo/python-list

Re: Accessing Python variables in an extension module

2007-07-16 Thread MD
Hi Alex, Thanks for the answer. Are there any C defines (for e.g. STRING, BOOLEAN) corresponding to each Python type? Thanks, -Manas On Jul 16, 9:53 am, [EMAIL PROTECTED] (Alex Martelli) wrote: > MD <[EMAIL PROTECTED]> wrote: > > Hi Alex, > >Thanks for your reply. It w

Re: Accessing Python variables in an extension module

2007-07-16 Thread MD
;This is a boolean object"; . . } I don't want to run all the C Py***_Check functions on the object. Something like the switch statement above will lead to nice and clean code. Thanks again for your reply. Regards, -Manas On Jul 15, 11:02 pm, [EMAIL PROTECTED]

Accessing Python variables in an extension module

2007-07-15 Thread MD
Hi, I would like to access "variables" defined in my Python program in a C module extension for Python. Is this possible? I looked at the Python C API reference but didn't find anything there that could help me. Thanks in advance for any help/tips. Regards, -MD -- http://

Tests for Python Database API

2007-07-07 Thread MD
Hi, Are there any tests that will help me ensure that my Python database driver conforms to the Database API v2.0 specification? Thanks in advance. Regards, -MD -- http://mail.python.org/mailman/listinfo/python-list

HL7 servers in Python?

2007-03-02 Thread Richard Low, MD
. Low MD CEO Infor-Med Corporation 6271 Variel Avenue, Suite A Woodland Hills, California 91367-2512, USA Phone: 818-592-2900 Direct fax: (818)743-7759 Email: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] URL: <http://www.infor-med.com/>http://

Need Help in Python source code

2006-01-11 Thread Khai R. Md Safi'ee
Hi, I am in need of Python source codes that deals with both multithreading and socket programming(server-client). I need an example of a client/server multi-threading simulator for the clients to generate a high level of threading to "stress" the server side concurrently. In the end, it can benc