[issue45906] Python github installation issue

2021-11-26 Thread Some User
Change by Some User : -- title: Python github installatiomn issue -> Python github installation issue ___ Python tracker <https://bugs.python.org/issu

[issue45906] Python github installatiomn issue

2021-11-26 Thread Some User
New submission from Some User : Whenever i try to setup python3.9 configure via github, It raises a configure error. `` $ ./configure checking build system type... type checking host system type... type checking for python3.9... no checking for python3... no checking for python... no checking

Re: Can we use Python for hacking?

2019-11-20 Thread user
On Tue, 12 Nov 2019 08:49:44 +0400, Abdur-Rahmaan Janhangeer wrote: > Greetings all, > > Someone requested my answer to the question: "Can we use Python for > hacking?" > > I compiled some interesting tools and uses here . > That's as far as i could see. If someone has

[issue2771] Test issue

2019-09-11 Thread ZW Test User
Change by ZW Test User : -- components: +Tests -Documentation nosy: +zach.ware type: enhancement -> behavior versions: -Python 3.8 ___ Python tracker <https://bugs.python.org/iss

AsyncSSH and timeout

2016-10-27 Thread Standard User
Good day, I'm trying to run multiple SSH clients using AsyncSSH lib. This is an example from manual, which works fine: http://pastebin.com/zh4zymeQ The problem is, it is not possible to directly set connect timeout in run_client() function. However, the manual says: "asyncio calls can be

Re: please can i get help on this problem

2015-12-27 Thread User of Products
In other words, nobody wants to do your homework for you. Your fault for being a lazy POS and doing everything last minute. -- https://mail.python.org/mailman/listinfo/python-list

Python for Dummies exaple

2015-10-14 Thread NewsLeecher User
Hello, I have the book Python for Dummies and i downloaden from the Dummiesite some python examples. But with this script i get an error: But i have not so many experience to see what the error is. Good someone help me with this ? #Chapter 3 #Basic Elements and Syntax #= #SHORT EXAMPLES

Re: Python for Dummies exaple

2015-10-14 Thread NewsLeecher User
In reply to "edmondo.giovanno...@gmail.com" who wrote the following: > Il giorno mercoled=EC 14 ottobre 2015 12:04:30 UTC+2, Chris Angelico ha scr= > itto: > > On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote: > > > But with this script i get an erro

[issue2771] Test issue

2013-04-09 Thread Test User Deily
Test User Deily added the comment: testing -- nosy: +testusernad -ezio.melotti, mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771

Newbie to python. Very newbie question

2013-04-07 Thread ReviewBoard User
Hi I am a newbie to python and am trying to write a program that does a sum of squares of numbers whose squares are odd. For example, for x from 1 to 100, it generates 165 as an output (sum of 1,9,25,49,81) Here is the code I have print reduce(lambda x, y: x+y, filter(lambda x: x%2, map(lambda x:

How to get path to Python standard library directory?

2011-11-25 Thread user
In a Makefile (or sometimes inside python) I need the path to the root of the Python standard lib folder used by env python. e.g. /usr/lib/python2.6/ orC:\Python27\Lib\ what is the best/canonical way to get that? -- http://mail.python.org/mailman/listinfo/python-list

Learning Python

2011-08-23 Thread User
Hello all, Does anyone have any good resources for learning Python? I know basic Java and basic Python (loops, data types, if-then statements, etc), but I want to delve into Python further. If anyone knows of any good books, video tutorials, etc it would be greatly appreciated. Thanks, User

Re: develop for Windows on GNU/Linux, using Python

2010-09-20 Thread Default User
On Sun, Sep 19, 2010 at 14:31, J.O. Aho u...@example.net wrote: Kev Dwyer wrote: On Sun, 19 Sep 2010 12:55:43 -0500, Default User wrote: Consider: Can someone do development of programs for use on Windows systems, but developed totally on a GNU/Linux system, using standard

develop for Windows on GNU/Linux, using Python

2010-09-19 Thread Default User
Consider: Can someone do development of programs for use on Windows systems, but developed totally on a GNU/Linux system, using standard, contemporary 32 and / or 64-bit PC hardware? This would be for someone who can not or will not use Windows, but wants to create software for those who do.

Re: Python why questions

2010-08-08 Thread Default User
Not to prolong a good food fight, but IIRC, many years ago in QBasic, one could choose OPTION BASE 0 or OPTION BASE 1 to make arrays start with element [0] or element [1], respectively. Could such a feature be added to Python without significantly bloating the interpreter? Then, if starting

Python why questions

2010-08-06 Thread Default User
From the emperor's new clothes department: 1) Why do Python lists start with element [0], instead of element [1]? Common sense would seem to suggest that lists should start with [1]. 2) In Python 3, why is print a function only, so that: print Hello, World is not okay, but it must be

Re: Should I Learn Python or Ruby next?

2010-06-24 Thread Default User
On Thu, Jun 24, 2010 at 02:53, Gregory Ewing greg.ew...@canterbury.ac.nzwrote: Jean-Michel Pichavant wrote: (that makes me think that Perl should be renamed as it outrageously share the same 1st character with Python). +1. I suggest CalcifiedMolluscSecretion. The very awkwardness of that

Re: freebsd and multiprocessing

2010-03-02 Thread Pop User
On 3/2/2010 12:59 PM, Tim Arnold wrote: I'll write some test programs using multiprocessing and see how they go before committing to rewrite my current code. I've also been looking at 'parallel python' although it may have the same issues. http://www.parallelpython.com/ parallelpython

Re: Google AI Challenge at U of Waterloo

2010-02-05 Thread **Group User**
On Feb 6, 7:02 am, Forthminder menti...@myuw.net wrote: Contest runs from 4 February to 26 February 2010. You may choose a programming language, such as Java, C++, Python, Ruby or Haskell. See details at http://csclub.uwaterloo.ca/contest/problem_description.php Bonne Chance! Mentifex

Manyfile Processing

2009-12-04 Thread user
Hey, sorry if i bother you with a beginners question but i have an issue with processing a bunch of files. They are some arithmetic lists the processing of one file is an easy task but how do i process many files? I tried reading that files in to a list and looping over the list elements but the

Re: Manyfile Processing

2009-12-04 Thread user
On 12/04/2009 12:58 PM, Dan Sommers wrote: On Fri, 04 Dec 2009 10:00:53 +0200, user wrote: sorry if i bother you with a beginners question but i have an issue with processing a bunch of files. They are some arithmetic lists the processing of one file is an easy task but how do i process

Re: how can i use lxml with win32com?

2009-10-25 Thread User
On 25 Oct 2009, at 07:45 , elca wrote: i want to make web scraper. if possible i really want to make it work together with beautifulsoup or lxml with PAMIE. Scraping information from webpages falls apart in two tasks: 1. Getting the HTML data 2. Extracting information from the HTML data

Re: how can i use lxml with win32com?

2009-10-25 Thread User
On 25 Oct 2009, at 08:06 , elca wrote: because of javascript im trying to insist use PAMIE. I see, your problem is not with lxml or BeautifulSoup, but getting the raw data in the first place. i want to extract some text in CNN website with 'CNN Shop' 'Site map' in bottom of CNN website

Re: how can i use lxml with win32com?

2009-10-25 Thread User
On 25 Oct 2009, at 08:33 , elca wrote: www.cnn.com in main website page. for example ,if you see www.cnn.com's html source, maybe you can find such like line of html source. http://www.turnerstoreonline.com/ CNN Shop and for example if i want to extract 'CNN Shop' text in html source. So,

Problem with urllib2.urlopen() opening a local file

2009-10-24 Thread deja user
I want to use urlopen() to open either a http://... file or a local file File:C:/... I don't have problems opening and reading the file either way. But when I run the script on a server (ArcGIS server), the request won't complete if it was trying to open a local file. Even though I call close()

Re: Serial connections and threads in a GUI

2009-09-29 Thread user
settings 3) Command robot to do something for time, t - While robot does something, read sensor data and plot 4) End of t seconds, resume at (2) I have the application reading from the serial port in a separate thread, but my problem is this - I'd like the user to be able to write to the serial

Re: UnboundLocalError - (code is short simple)

2009-09-28 Thread New User
, Chris Kaynor ckay...@zindagigames.com wrote: From: Chris Kaynor ckay...@zindagigames.com Subject: Re: UnboundLocalError - (code is short simple) To: python-list@python.org Date: Monday, September 28, 2009, 4:00 PM On Sun, Sep 27, 2009 at 10:39 PM, New User for_pyt...@yahoo.com wrote: Hi Chris, Thank

Re: UnboundLocalError - (code is short simple)

2009-09-28 Thread New User
Thanks for the light you shed on the namespace issue, and for the additional info and code example.  I'll be studying more about the info you shared.  Also, I tried out your code example, to get firsthand experience with it. Cheers, Martin --- On Mon, 9/28/09, Bruno Desthuilliers

Re: ANN: PyGUI 2.0.1

2009-04-13 Thread user
Greg Ewing wrote: PyGUI 2.0.1 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ Fixes some problems in setup.py affecting installation on Linux and Windows. What is PyGUI? -- PyGUI is a cross-platform GUI toolkit designed to be lightweight and have a highly

Re: function call overhead

2009-02-03 Thread Default User
The original message in this thread was posted with the intent to disrupt comp.lang.c by setting follow-ups there. Please either ignore this thread or change the distribution. Thanks, and sorry our troll has caused problems in your group. Brian --

_checkversion.py

2008-11-06 Thread user
As part of the Python 2.5 distribution there are some Tools. Are the notions behind checkversions.py still considered current? I find that there is no _checkversion.py in my site-packages. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

python debugger tips?

2008-10-10 Thread just . another . random . user
Hi All, I'm switching to python from perl, and like the language a ton, but I find pdb and pydb to be vastly inferior debuggers to the perl version. In particular, I've grown very used to stepping into arbitrary functions interactively. For instance, in perl you can do this: casqa1:~ perl -de

Re: python vs. grep

2008-05-07 Thread Pop User
Anton Slesarev wrote: But I have some problem with writing performance grep analog. I don't think you can ever catch grep. Searching is its only purpose in life and its very good at it. You may be able to come closer, this thread relates.

Re: Efficient way of testing for substring being one of a set?

2008-04-03 Thread Pop User
[EMAIL PROTECTED] wrote: Dennis Benzinger: You could use the Aho-Corasick algorithm http://en.wikipedia.org/wiki/ Aho-Corasick_algorithm. I don't know if there's a Python implementation yet. http://hkn.eecs.berkeley.edu/~dyoo/python/ahocorasick/

modify a file

2007-11-04 Thread tech user
Hello, I have a file which is large about 3.5G. I need to modify some lines in it,but I don't like to create another file for the result. How can i do it? thanks. National Bingo Night. Play along for the chance to win $10,000 every week. Download your gamecard now at Yahoo!7 TV.

[issue1000] test

2007-08-22 Thread user
Changes by user: -- type: - rfe __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1000 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue1000] test

2007-08-22 Thread user
New submission from user: test patch -- files: python.diff messages: 55112 nosy: user severity: normal status: open title: test __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1000 __Index: Modules/_ssl.c

[issue1001] Test 2

2007-08-22 Thread user
Changes by user: -- severity: normal status: open title: Test 2 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1001 __ ___ Python-bugs-list mailing list Unsubscribe

[issue1767787] MSVC++8 x86 tkinter build patch for trunk

2007-08-07 Thread user
Changes by user: _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1767787 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

newbie: HTTPS screen scraping

2007-04-21 Thread user
Hi, Can anyone help me out here. I would like to authenticate myself to a website which uses HTTPS and then after authentication, I would like to get the contents of the webpage. How can this be done using python. I have tried urllib and urllib2 but it has not solved my problem. TIA /varun

Re: Regex Speed

2007-02-21 Thread Pop User
[EMAIL PROTECTED] wrote: While creating a log parser for fairly large logs, we have run into an issue where the time to process was relatively unacceptable (upwards of 5 minutes for 1-2 million lines of logs). In contrast, using the Linux tool grep would complete the same search in a matter of

Re: Regex Speed

2007-02-21 Thread Pop User
John Machin wrote: Or a Glushkov NFA simulated by bit parallelism re module ... see http://citeseer.ist.psu.edu/551772.html (which Russ Cox (author of the paper you cited) seems not to have read). NR-grep looks interesting, I'll read that. Thanks. Cox uses a pathological regex (regex = a?

Using printf in a C Extension

2005-12-08 Thread user
Hi, I am extending python with C and trying to debug with printf. The code below succssfully returns the string hello when compiled and called, but the can print from in here phrase does not reach python stdout. Is there something screwy with my environment or is there some trick to this

Re: Retrieving and saving images from internet address

2005-07-25 Thread user
rock69 wrote: Hi all :) I got this address: http://www.infomedia.it/immagini/riviste/covers/cp/cp137.jpg and I would like to download that image and save it to a local file. How do you do that in Python? I'd use urllib.urlretrieve, Copy a network object denoted by a URL to a local

Re: Xah's edu corner: on Microsoft hatred

2005-07-19 Thread Default User
J|rgen Exner wrote: Just for the records at Google et.al. in case someone stumbles across Xah's masterpieces in the future: Xah is very well known as the resident troll in many NGs and his 'contributions' are less then useless. Best is to just ignore him. I already had him killfiled.

Re: What is Expresiveness in a Computer Language?

2005-07-11 Thread Default User
Randy Howard wrote: Keith Thompson wrote (in article [EMAIL PROTECTED]): \/| |\| __\,,\ /,,/__ \||/ | | | jgs (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Re: Is Python appropriate for web applications?

2005-04-16 Thread Unknown User
Thank you very much. On Fri, 15 Apr 2005 06:47:14 -0300, Peter Maas [EMAIL PROTECTED] wrote: Unknown User schrieb: I am a Python programmer and I'm thinking about learning PHP, which is similar to C++ wrong (quite different from Python). true I want to start writing web applications. Do you

Is Python appropriate for web applications?

2005-04-14 Thread Unknown User
I am a Python programmer and I'm thinking about learning PHP, which is similar to C++ (quite different from Python). I want to start writing web applications. Do you think if I learn PHP I'll develop faster? Does PHP have more features? How about the speed of execution? What are the pros and