New to Programming: TypeError: coercing to Unicode: need string or buffer, list found

2015-04-02 Thread Saran A
Good Morning: I understand this error message when I run this code. However, I am curious to know what the most pythonic way is to convert the list to a string? I use Python 2.7. "Traceback (most recent call last): before = dict([(f, None) for f in os.listdir(dirlist)]) TypeError: coerci

Re: New to Programming: TypeError: coercing to Unicode: need string or buffer, list found

2015-04-02 Thread Saran A
On Thursday, April 2, 2015 at 8:26:01 AM UTC-4, Chris Angelico wrote: > On Thu, Apr 2, 2015 at 11:02 PM, Saran A wrote: > > I understand this error message when I run this code. However, I am curious > > to know what the most pythonic way is to convert the list to a string? I

Re: New to Programming: TypeError: coercing to Unicode: need string or buffer, list found

2015-04-02 Thread Saran A
On Thursday, April 2, 2015 at 8:26:51 AM UTC-4, Peter Otten wrote: > Saran A wrote: > > > Good Morning: > > > > I understand this error message when I run this code. However, I am > > curious to know what the most pythonic way is to convert the list to

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-02 Thread Saran A
On Wednesday, April 1, 2015 at 7:52:27 PM UTC-4, Dave Angel wrote: > On 04/01/2015 09:43 AM, Saran A wrote: > > On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote: > >> On 03/31/2015 07:00 AM, Saran A wrote: > >> > >> > @DaveA: This is a h

Re: New to Programming: TypeError: coercing to Unicode: need string or buffer, list found

2015-04-02 Thread Saran A
On Thursday, April 2, 2015 at 9:06:49 AM UTC-4, Chris Angelico wrote: > On Thu, Apr 2, 2015 at 11:46 PM, Saran A wrote: > > @ChrisA - this is a smaller function that will take the most updated file. > > My intention is the following: > > > > * Monitor a folder

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-02 Thread Saran A
On Thursday, April 2, 2015 at 5:11:20 PM UTC-4, Dave Angel wrote: > On 04/02/2015 09:06 AM, Saran A wrote: > > > > > Thanks for your help on this homework assignment. I started from scratch > > last night. I have added some comments that will perhaps help clarify m

Re: New to Programming: TypeError: coercing to Unicode: need string or buffer, list found

2015-04-02 Thread Saran A
On Thursday, April 2, 2015 at 8:03:53 PM UTC-4, Dennis Lee Bieber wrote: > On Thu, 2 Apr 2015 05:46:57 -0700 (PDT), Saran A > declaimed the following: > > > > >@ChrisA - this is a smaller function that will take the most updated file. > >My intention is the following

New to Programming: Adding custom functions with ipynotify classes

2015-04-02 Thread Saran A
Hello All: Here is the program that I am trying to write (with specs): * Monitors a folder for files that are dropped throughout the day * When a file is dropped in the folder the program should scan the file o IF all the records in the file have the same length (line length) o THEN the

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-03 Thread Saran A
On Friday, April 3, 2015 at 8:05:14 AM UTC-4, Dave Angel wrote: > On 04/02/2015 07:43 PM, Saran A wrote: > > > > > I debugged and rewrote everything. Here is the full version. Feel free to > > tear this apart. The homework assignment is not due until tomorrow, so

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-03 Thread Saran A
On Friday, April 3, 2015 at 6:46:21 AM UTC-4, Peter Otten wrote: > Saran A wrote: > > > I debugged and rewrote everything. Here is the full version. Feel free to > > tear this apart. The homework assignment is not due until tomorrow, so I > > am currently also experimentin

Re: New to Programming: Adding custom functions with ipynotify classes

2015-04-03 Thread Saran A
On Friday, April 3, 2015 at 12:40:11 PM UTC-4, Denis McMahon wrote: > On Thu, 02 Apr 2015 18:30:42 -0700, Saran A wrote: > > > Here is the program that I am trying to write (with specs): > > Saran, please stop prefacing every subject with "New to programming:" -

JSON Object to CSV file

2015-06-17 Thread Saran A
I would like to have this JSON object written out to a CSV file so that the keys are header fields (for each of the columns) and the values are values that are associated with each header field. Is there a best practice for working with this? Ideally I would like to recursively iterate through

Re: executable builder

2011-12-12 Thread J A
I am having some issues compiling an exe myself but most of that stems from the version of python I am using. That being said, try using GUI2EXE http://code.google.com/p/gui2exe this program makes the setup file go a lot easier, also it will tie in a few different tools like py2exe which is

TypeError: no arguments expected

2005-12-11 Thread shawn a
I havet these 2 files in the same dir. This is code im writing to learn pythong mkoneurl.py: #! /usr/bin/env python import make_ou_class run = make_ou_class.makeoneurl() make_ou_class.py: class makeoneurl: def __init__(): self.command

Re: TypeError: no arguments expected

2005-12-12 Thread shawn a
thanks for all your input. Ive gotten it to work thanks! --shawn On 12/12/05, Steve Holden <[EMAIL PROTECTED]> wrote: > Dennis Lee Bieber wrote: > > On Sun, 11 Dec 2005 22:00:55 -0500, shawn a <[EMAIL PROTECTED]> > > declaimed the following in comp.lang.python: > &

Restoring override of urllib.URLopener.open_https

2006-10-05 Thread Bakker A
Hi, the M2Crypto library overrides the urllib.URLopener.open_https method, causing a urllib.urlopen to a https: server to fail in my case. My python is not that strong, so is there a way to set urllib.URLopener.open_https back to the original code? I prefer not to modify M2Crypto. Thanks

Re: Restoring override of urllib.URLopener.open_https

2006-10-05 Thread Bakker A
In article <[EMAIL PROTECTED]>, goyatlah wrote: > >I think that you need a superclass above the M2Crypto one, and change >the open_https method back to the urllibs one. > I'm not sure I get your suggestion. What the M2Crypto module does is: import m2urllib in

How to select a folder with native windows dialog box?

2006-06-13 Thread flaus . a
I found the win32ui.CreateFileDialog() function to select a file but nothing to select a folder :'-( Maybe someone has a solution for this? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: How to select a folder with native windows dialog box?

2006-06-14 Thread flaus . a
Thanks for your answer, it's working fine! For information, the function to use to get the pathName is shell.SHGetPathFromIDList It returns an error if you select a special folder (!?!?) but otherwise it's working fine... And I was unable to fix this issue. -- http://mail.python.o

Standard Yes / No Windows Dialog box creation

2006-06-17 Thread flaus . a
I found a way to create "Open File" or "Open Folder" windows dialog boxes, but not to create an easier Yes / No dialog box... Maybe someone has a solution for this? -- http://mail.python.org/mailman/listinfo/python-list

Re: Standard Yes / No Windows Dialog box creation

2006-06-18 Thread flaus . a
SuperHik a écrit : > I've never seen "easier" way to do it, but my solution for you if you > want to create a GUI application without learning any GUI programming > would be to consider Glade, wxGlade and such... Yes I wanted something easy because it's the fir

Re: Standard Yes / No Windows Dialog box creation

2006-06-18 Thread flaus . a
Ravi Teja a écrit : > > Assuming you are on MS Windows. > import win32api, win32con > win32api.MessageBox(0, "Question", "Title", win32con.MB_YESNO) Yes, that's exactly what I was looking for! Thanks!! -- http://mail.python.org/mailman/listinfo/python-list

Fight Stopping AIDS, Let's Do it...

2007-06-12 Thread a . kaur11
Hi Friends, Let's Stop AIDS, it's increasing like a forest fire... See the page below and learn more about it. www.chulbul.com/aids.htm Let's Know more about stopping AIDS today !! --- Join the Revolution !! http://www.orkut.com/Community.as

Maria Sharapova Angelina joli

2007-07-06 Thread A KOURNIKOVA
Maria Sharapova Angelina joli search engines , cams , adult , photogallery , dating , travel , autos, cars , real estate , ads , spor , shopping , domain names www.alphasearch.gr-- http://mail.python.org/mailman/listinfo/python-list

SciPy's site is down

2007-08-08 Thread a . harrowell
Can anyone else not reach scipy.org? Am trying to install scipy and numpy. Further, is there an equivalent of numpy that will install correctly on Python 2.5 on WinVista? -- http://mail.python.org/mailman/listinfo/python-list

Compiler Python

2007-09-11 Thread anton a
Hello Someone knows since as I can obtain the information detailed about the compiler of Python? (Table of tokens, lists of productions of the syntactic one , semantic restrictions...) Thanks. -- http://mail.python.org/mailman/listinfo/python-list

[ANN] python-gastables : Python modules for Compressible Gas Flow Calculations

2007-03-26 Thread Venkattraman A
Hello Pythoners! I would like to announce the first release of a Gas table module for Python, to perform compressible flow calculations. python-gastables includes python modules for compressible gas flow calculations. It includes python modules for Isentropic Relations, Normal Shock Relations

Willa Ford Angelina Joli Paris Hilton

2007-04-14 Thread A - J
Willa Ford Angelina Joli Paris Hilton www.alphasearch.GR-- http://mail.python.org/mailman/listinfo/python-list

Import data from Excel

2006-05-08 Thread N/A
Hi, Is it possible to import data from Excel for doing numerical analysis in Python? If so how? Thank u! -- http://mail.python.org/mailman/listinfo/python-list

Re: Import data from Excel

2006-05-08 Thread N/A
sorry, can you say it more clearly? In Matlab, I can easily import data from Excel just simply use 'xlsread' command. How to do that in Python environment? thank u! Paddy wrote: > The CSV module? > -- http://mail.python.org/mailman/listinfo/python-list

clear memory? how?

2006-05-09 Thread N/A
Hi all, I am learning Python. Just wondering how to clear saved memory in Python? Like in Matlab I can simply use "clear all" to clear all saved memory. Thank u! -- http://mail.python.org/mailman/listinfo/python-list

Matplotlib in Python vs. Matlab, which one has much better graphical pressentation?

2006-05-09 Thread N/A
Hi all, Can I have your opinions on Matlab vs. Matplotlib in Python in terms of 2D and 3D graphical presentation please. Matplotlib in Python vs. Matlab, which one has much better graphical pressentation? -- http://mail.python.org/mailman/listinfo/python-list

Re: Econometrics in Panel data?

2006-05-10 Thread N/A
PROTECTED]> >>>>> declaimed the >>>>> following in comp.lang.python: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I am new to Python. Just wondering can Python able to do econometric >>>>

Re: which windows python to use?

2006-05-11 Thread N/A
llo, > > Are there any recommendations for which Windows python version to use? > I'd like to see a pros-and-cons description of each, given that > different uses might dictate different versions. The versions I know > (and there are surely more) are: > > 1) dow

plot data from Excel sheet by Matplotlib, how?

2006-05-13 Thread N/A
Hi all, Can any1 please guide me how to plot data from Excel by Matplotlib? Let's say, I have 78(rows) x 8(cols) data in an Excel sheet. I would like to plot data for all 78(rows) at 4th column against data for all 78(rows) at 7th column. How to plot it? Thank u! -- http://mail.python.org/mailm

Re: A critic of Guido's blog on Python's lambda

2006-05-16 Thread A. Rogowski
gt; > named ones''. > > > > Not so infeasible: > > > > (let ((|bizarrely(named()symbol| 3)) > > (+ |bizarrely(named()symbol| 4)) > > > >;; => 7 > > Read again what I wrote: I very specifically said "ordinary > *single-char

Re: Software Needs Philosophers

2006-05-21 Thread Tel A.
Xah, I agree with the thrust of your thread here, though I don't think it's anything special: people invest their values in what they invest their time in. To top it off, you're taking an anti-CL viewpoint in a group predominantly focused around CL (despite being named for jus

os.fork() not working on windows (help)

2008-02-25 Thread A. Joseph
Please i`m trying to create a process using the os.fork() but it keep generating error that the os module has no attribute called 'fork()'. what should i do? or is the os.fork() method not for windows? -- http://mail.python.org/mailman/listinfo/python-list

pydoc

2008-03-23 Thread A Hutchison
Any known reasons why pydoc no longer works? AB -- http://mail.python.org/mailman/listinfo/python-list

Monitoring Internet Explorer

2009-04-06 Thread a b
Hi, I'm trying to write a program that monitor Internet Explorer events - creating/deletion of the process, loading pages, creating tabs etc. I managed to monitor creation/deletion by using WMI, but I couldn't find a way to monitor the rest of the events. Is there a way to do this ?

Numpy on python 2.7a

2009-05-05 Thread A. Cavallo
Hi, I'm trying to compile numpy using my own pet project based on the python svn code (that's the reason for the 2.7a tag). It is essentially a /opt python installation and it tailored for linux: its main goal is to be installed in parallel so it won't collide with a system i

Re: Package problem

2009-05-18 Thread A. Cavallo
On Monday 18 May 2009 20:52:52 Sverre wrote: > I'm using Ubuntu and some of the packages in the repository are too > old. So I got the thought to remove nearly all packages downloaded > from the repository and install them with easy_install. Is this a way > to go without grea

Re: Package problem

2009-05-19 Thread A. Cavallo
> > It is solved in other languages.. for example perl.. and delphi > I don't know much about perl, and even less about delphi, but I am > pretty sure it does not solve the problem of overwriting files from a > package with an installation outside the control of the package &g

Re: package with executable

2009-05-19 Thread A. Cavallo
Hi, > Matplotlib and Numpy, and a command line program. My goal is to create a > distributable package, that should ideally contain both the "gnucal" > package and the command line program. > * where should the executable module be wrt setup.py and/or the >

Re: Replacing module with a stub for unit testing

2009-05-24 Thread A. Cavallo
how about the old and simple: import ExpensiveModuleStub as ExpensiveModule On a different league you could make use of decorator and creating caching objects but that depends entirely on the requirements (how strict your test must be, test data sizes involved and more, much more details

Re: help! Troubled when embed python into C++

2009-05-25 Thread A. Cavallo
e 1638, i > baseName = os.path.basename(sys.argv[0]) > AttributeError: 'module' object has no attribute 'argv' > > I am quite new to python ,anyone know what shoud i do to solve it? > Thanks a lot! -- http://mail.python.org/mailman/listinfo/python-list

Re: Searching for pyvm

2009-05-25 Thread A. Cavallo
http://students.ceid.upatras.gr/~sxanth/pyvm/ Does this help? Regards, Antonio On Monday 25 May 2009 00:19:57 Vladimir G. Ivanovic wrote: > Hello, > > I'm looking for the sources to pyvm, a python virtual machine > implementation which can run Python 2.4 bytecode. > > If

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-02 Thread A. Cavallo
Mmmm, not really a conspiracy but it is not that trivial In wrapping c++ you might find useful the commands nm with c++filt although they work under linux there is the same pair for every platform (under windows I remember there is objdump): they should only you need to wrap a c++ library

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-03 Thread A. Cavallo
> >> > No wonder, you have never actually used C++ with C types. An extern > >> > "C" clause tells the compiler to generate C functions (more precisely, > >> > functions that conform to the C ABI conventions), so effectively > >> > you're calling into C, not into C++. > >> > >> Seems like the only

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-03 Thread A. Cavallo
On Wednesday 03 June 2009 14:05:35 Roy Smith wrote: > In article , > > "A. Cavallo" wrote: > > The following is the STL equivalent of: > > > > print [ x*2 for range(10) in data if (x%2 == 0) ] > > Are you sure about that? I haven't tested the f

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-03 Thread A. Cavallo
On Wednesday 03 June 2009 14:05:35 Roy Smith wrote: > #include > int main(int argc, char * argv[]) > { > std::cout << "SyntaxError: can't assign to function call"; > std::cout << endl; > } Ops, I've forgotten a.cpp: In function ‘int main(int, char**)’: a.cpp:5: error: ‘endl’ was not

Creating a single python executable file

2008-08-07 Thread A. Joseph
I have used py2exe and it create .exe file with so many other files, but what i really want is, creating just a single file, imagine writing a small email sending program and after using py2exe you have many file with the your source code zipped side, if there is a way of making it a single

I need a Python mentor

2008-08-08 Thread A. Joseph
How are you? You look good; I will like to meet you. Visit my profile and drop some line for me. Abah Hello everybody, i`m new to this list. I was programming in PHP before, so just of recent I started learning python. I need someone who I can be giving me some assignment based on the chapte

I need a Python mentor

2008-08-08 Thread A. Joseph
*Please the first message i sent out contain error, i`m very very sorry.* Hello everybody, i`m new to this list. I was programming in PHP before, so just of recent I started learning python. I need someone who I can be giving me some assignment based on the chapter I read in the book, and tell pe

New technology data storage. Get 2GB Free (Limited time offer)

2008-04-22 Thread a . ktechnology5
Get free 2GB online web drive. Get a secure 2GB free online storage solution. Forget the hassles of CDs, floppies and tape drives for your data storage. Whether it is your tax return, music collection or irreplaceable digital photographs, you have the piece of mind that your data is stored in our

Reading from text file

2008-08-26 Thread A. Joseph
I want to read from text file, 25 lines each time i press enter key, just like the python documentation. i`m using Python 2.5, Windows XP Thank you -- http://mail.python.org/mailman/listinfo/python-list

recursive using the os.walk(path) from the os module

2008-09-17 Thread A. Joseph
Hi, I want to search through a directory and re-arrange all the files into e.g All .doc files go into MS WORD folder, all .pdf files goes into PDF Folder. I`m thinking of doing something with the os.walk(path) method from os module, I need some ideal how the algorithm should look like, maybe

Matrix programming

2008-09-23 Thread A. Joseph
I need an ebook or tutorial that teach matrix programming. -- http://mail.python.org/mailman/listinfo/python-list

check if file is MS Word or PDF file

2008-09-27 Thread A. Joseph
What should I look for in a file to determine whether or not it is a MS Word file or an Excel file or a PDF file, etc., etc.? including Zip files I don`t want to check for file extension. os.path.splitext('Filename.jpg') will produce a tuple of filename and extension, but some file

Replacing cmd.exe with custom .py application

2008-09-30 Thread A. Joseph
Instead of going to the command line all the time, I want to create a small customized cmd.exe of my own, how can I get the return value from os.system() because I was thinking I can do soothing with os.system(), In case my question is not clear, just like an IDE that plugged in another .exe

LDTP 0.4.0 released !!!

2006-03-29 Thread A Nagappan
* Reimplemented getwindowlist, getobjectlist, getobjectinfo,getobjectproperty * Memory leak fixed - Freed memory resources when client disconnects And now take a deep breath and go through the exhaustive list of bug fixes which makes this version of LDTP the most stable of the lot. A special thanks to P

Unicode, command-line and idle

2006-04-06 Thread a . serrano
Hello, the following program prompts the user for a word and tests to see if it is the same as another one. If the user types "españa" (note that the word contains an 'ñ'), the program should output "same". This works if I run the code in IDLE but does not if I run

Re: Unicode, command-line and idle

2006-04-06 Thread a . serrano
Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > Hello, the following program prompts the user for a word and tests to > > see if it is the same as another one. If the user types "españa" (note > > that the word contains an 'ñ'), the program shoul

Re: Unicode, command-line and idle

2006-04-06 Thread a . serrano
Martin v. Löwis wrote: > [EMAIL PROTECTED] wrote: > > This works if I use the console but gives the following error if I use > > IDLE: > > > > Traceback (most recent call last): > > File "C:\test.py", line 4, in ? > > text2 = unicode(raw_input(), sys.stdin.encoding) > > AttributeError: PyShe

Re: Unicode, command-line and idle

2006-04-11 Thread a . serrano
Hello again, I've investigated a little bit and this is what I found: If I run IDLE and type >>> import sys >>> sys.stdin.encoding I get 'cp1252' But if I have a whatever.py file (it can even be a blank file), I edit it with IDLE, I press F5 (Run Modul

PySerial and termios

2009-11-30 Thread a b
I have a pain in the a** problem with pyserial- it works 90% of time but on the 10% of time it thorows and termios.error exception with the value (5, 'Input/output error') and i cannot get rid of it :( The system works as follows: A device sends out rs485 data -> rs485 to rs232 conve

DB Table Processor?

2009-12-27 Thread A. Shore
Folks, I'm considering developing a particular app in Python - I've been working in PHP for some years now - and it will be db-intensive. Whether it's based on sqllite or mySQL is TBD as of right now. One tool that's done me well in the past is a generalized table processor,

It's a fact not lost on the opportunity to see yourself

2010-03-30 Thread a m
http://www.google.com/url?sa=D&q=http://www.google.com/url%3Fsa%3DD%26q%3Dhttp://osamah2000.jeeran.com/daauageralmuslmeen1.htm%26usg%3DAFQjCNGQhhGz-1TGv9Y7gE8zKwHHustJCg&usg=AFQjCNH5ZzXRqkh5EGL1dsjQxcjNQCmAEQ -- http://mail.python.org/mailman/listinfo/python-list

It's a fact not lost on the opportunity to see yourself

2010-04-11 Thread a m
http://www.google.com/url?sa=D&q=http://osamah2000.jeeran.com/daauageralmuslmeen1.htm&usg=AFQjCNGQhhGz-1TGv9Y7gE8zKwHHustJCg -- http://mail.python.org/mailman/listinfo/python-list

It's a fact not lost on the opportunity to see yourself

2010-04-12 Thread a m
http://www.google.com/url?sa=D&q=http://osamah2000.jeeran.com/daauageralmuslmeen1.htm&usg=AFQjCNGQhhGz-1TGv9Y7gE8zKwHHustJCg -- http://mail.python.org/mailman/listinfo/python-list

Re: timing

2010-07-19 Thread Alex A.
You could use pycallgraph module Regards, Alex Abushkevich -- http://mail.python.org/mailman/listinfo/python-list

Re: Using logging module to log into flash drive

2009-06-09 Thread A. Cavallo
Hi, the problem screams for a separate thread. Anyway there's a TimedRotatingFileHandler handler in the logging package: you can derive from it and change the emit/doRollover pair to hold the records until a device is not ready. Regards, Antonio On Tuesday 09 June 2009 16:57:00 kretel

Re: easiest way to check python version?

2009-06-10 Thread A. Cavallo
A common way to do it is (it is widely accepted): python -c 'import sys; print sys.version[:3]' Regards, Antonio On Wednesday 10 June 2009 12:25:22 John Machin wrote: > On Jun 10, 9:01 pm, dmitrey wrote: > > hi all, > > what is easiest way to check python versi

Re: install older Python version parallel

2009-06-11 Thread A. Cavallo
Hi, I'm working on a project of mine that does creates python installation under /opt so they can be installed side by side with a system installed one. There's a web page: http://pyvm.sourceforge.net/ With links to the newest build plus all teh accompaining unitests. But you c

Re: pipe using python

2010-10-16 Thread Alex A.
Hi, I use RabbitMQ in such cases. Hopefully this could help you. Regards, Alex On 10/16/10, hiral wrote: > Hi, > > Like we 'named pipes', how we can achieve comminication between more > than two processes. > And how it can be scaled to remote machines? > Any idea? > > Thank you. > -- > http://m

Unable to use Python IDLE after downloading the application

2017-04-17 Thread ASHISH A
Hi Team, I have a 64 bit system with Windows 801 Pro OS. I tried to install Python 3.6.1 from the below link : https://www.python.org/downloads/ It automatically downloaded that 32 bit Python application and tried to launch IDLE (32 bit). I could not launch IDLE and it gave me an error saying

Re: Unable to use Python IDLE after downloading the application

2017-04-17 Thread ASHISH A
PFA the snapshot of the error message.. Regards Ashish On Mon, Apr 17, 2017 at 11:06 PM, ASHISH A wrote: > Hi Team, > > I have a 64 bit system with Windows 801 Pro OS. I tried to install Python > 3.6.1 from the below link : > https://www.python.org/downloads/ > > It aut

Re: Unable to use Python IDLE after downloading the application

2017-04-17 Thread ASHISH A
Hi Team, I also tried installing the 64 bit Python and now i get the attached snapshot as error message, Regards Ashish On Mon, Apr 17, 2017 at 11:06 PM, ASHISH A wrote: > Hi Team, > > I have a 64 bit system with Windows 801 Pro OS. I tried to install Python > 3.6.1 from th

Re: What is this TEST BANK stuff ?

2023-07-06 Thread a a via Python-list
On Wednesday, 21 June 2023 at 15:38:00 UTC+2, Dan Kolis wrote: > Why do we tolerate this spam ? > > this seems most likely a way to inject viruses into people's workflow. > > That wiped out usenet. Ahh without an explaination; ( and it woudl have to be > a good one );

EuroPython 2014/2015 Conference Team - Call for Proposals

2013-05-16 Thread M.-A. Lemburg
containing all the details and information about the proposals and selection process can be found here: https://docs.google.com/file/d/0B8YBdLoQM_6fbVpuM2ZWUGp3Slk/edit?usp=sharing If you are part of a great team organizing amazing Python events you could be the team organizing the next EuroPython! Please

EuroPython 2014/2015 Conference Team - Reminder: Call for Proposals

2013-06-07 Thread M.-A. Lemburg
This is a reminder to all teams who want to submit a proposal for running the next EuroPython in 2014 and 2015. Proposals must be sent in before Friday, June 14th, i.e. in less than one week. If you have questions, please feel free to contact the EuroPython Society board at bo...@europython.eu

Re: Python Error

2012-07-29 Thread Jürgen A . Erhard
On Sun, Jul 29, 2012 at 01:08:57PM +0200, Peter Otten wrote: > subhabangal...@gmail.com wrote: > > > Dear Group, > > > > I was trying to convert the list to a set, with the following code: > > > > set1=set(list1) > > > > the code was runni

Re: Linux shell to python

2012-07-30 Thread Jürgen A . Erhard
subprocess > [ l.partition(' ')[0] # or l[:7], if you want to copy it verbatim > for l in subprocess.check_output(['lspci']).splitlines() > if 'Q' in l and isp_str1 in l and isp_str2 in l > ] Ouch. A list comprehension spanning more than one

Re: On-topic: alternate Python implementations

2012-08-04 Thread Jürgen A . Erhard
that is > widely used. Compiles and optimises Python to C code that uses the CPython > runtime and allows for easy manual optimisations to get C-like performance > out of it. Cython is certainly *not* a Python *implementation*, since it always uses the CPython runtime (and compiling Cython

Re: On-topic: alternate Python implementations

2012-08-05 Thread Jürgen A . Erhard
On Sun, Aug 05, 2012 at 07:46:59AM +0200, Stefan Behnel wrote: > Jürgen A. Erhard, 05.08.2012 01:25: > > On Sat, Aug 04, 2012 at 08:40:16AM +0200, Stefan Behnel wrote: > >> Steven D'Aprano, 04.08.2012 08:15: > >>> Most people are aware, if o

Script to easily install eGenix PyRun in a target directory

2012-08-06 Thread M.-A. Lemburg
Hello, in case you haven't heard of eGenix PyRun yet, this is a new simple to install Python runtime that can be used independently of a system installed Python version and is very small compared to a regular Python installation. See http://www.egenix.com/products/python/PyRun/ for de

Extract Text Format Table Data

2012-08-27 Thread hussain . a . rasheed
Hi, I am trying to extract some data from a log file that outputs tables in text format. I've been trying to accomplish this for some time but without any luck. Hence, appreciate if any of you could help out. Below is a just one block of table from the file. There will be many blocks

ANN: Central Python Events Calendar

2012-10-22 Thread M.-A. Lemburg
Software Foundation (PSF) and a group of volunteers INTRODUCTION The PSF has put together a team of volunteers who are maintaining a central Python events calendar. We currently have two calendars in place

ANN: eGenix mx Base Distribution 3.2.5 (mxDateTime, mxTextTools, etc.)

2012-11-28 Thread M.-A. Lemburg
Base Distribution for Python is a collection of professional quality software tools which enhance Python's usability in many important areas such as fast text searching, date/time processing and high speed data types. The tools have a proven record of being portable across many Unix and Wi

Re: ANN: eGenix mx Base Distribution 3.2.5 (mxDateTime, mxTextTools, etc.)

2012-12-05 Thread M.-A. Lemburg
On 01.12.2012 21:12, Piet van Oostrum wrote: > "M.-A. Lemburg" writes: > >> >> >> ANNOUNCING >> >>eGenix.com mx Base Distribution >> >

Source code of Windows installer for Python interactive interpreter

2012-12-28 Thread philip . a . molloy
I am writing a command-line application for Windows. I would like to review the Python source code to find out how to install my application so that it doesn't have to be called using the path and file name (i.e. being able to type `python` into the Command prompt, instead of `C:\pa

Re: A possible change to decimal.Decimal?

2012-03-04 Thread A. Lloyd Flanagan
nd 'Decimal' to the reloaded code) > > ~Ethan~ Agree that's how the import should be done. On the other hand, removing gratuitous use of isinstance() is generally a Good Thing. -- http://mail.python.org/mailman/listinfo/python-list

Installing programs that depend on, or are, python extensions.

2011-04-29 Thread James A. Donald
install are inherently hard to do and hard to write, or is it because Install tends to be done last, and therefore not done at all? Can anyone suggest any examples of such a program with a clean windows install that shows how it was done? By windows install, I mean you run setup.exe, and get a program

Re: Installing programs that depend on, or are, python extensions.

2011-05-03 Thread James A. Donald
On Apr 30, 6:39 pm, David Cournapeau wrote: > On Sat, Apr 30, 2011 at 2:19 PM, James A. Donald > wrote: > > > I have noticed that installingpythonprograms tends to be hell, > > particularly underwindows, and installingpythonprograms that rely > > on, or in large part

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Thomas A. Russ
the iterative code. To my mind that isn't really an iterative algorithm anymore if it ends up simulating the call stack. Tree walks are the canonical example of what can't be done in an iterative fashion without the addition of an explicitly managed stack -- Thomas A. Russ, US

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Thomas A. Russ
Hans Georg Schaathun writes: > ["Followup-To:" header set to comp.lang.python.] > On 17 May 2011 23:42:20 -0700, Thomas A. Russ >wrote: > : Tree walks are the canonical example of what can't be done in an > : iterative fashion without the addition of an ex

Re: English Idiom in Unix: Directory Recursively

2011-05-19 Thread Thomas A. Russ
"Pascal J. Bourguignon" writes: > t...@sevak.isi.edu (Thomas A. Russ) writes: > > > > This will only work if there is a backpointer to the parent. > > No, you don't need backpointers; some cases have been mentionned in the > other answer, but in gen

Re: English Idiom in Unix: Directory Recursively

2011-05-19 Thread Thomas A. Russ
t; : directory traversal, in which case you would have nodes with an > : arbitrary (almost) number of children. > > If we are being specific, then directory trees do have parent pointers. > My point was really that «standard tree representations» is not a > well-defined concept,

EuroPython 2017: Videos for Monday available online

2017-09-28 Thread M.-A. Lemburg
We are pleased to announce the first batch of cut videos for EuroPython 2017. To see the videos, please head over to our EuroPython YouTube channel and select the “EuroPython 2017″ playlist: * EuroPython 2017 Videos * http://europython.tv/ You'll

Re: EuroPython 2017: Videos for Monday available online

2017-09-28 Thread M.-A. Lemburg
On 28.09.2017 18:11, Terry Reedy wrote: > On 9/28/2017 8:15 AM, M.-A. Lemburg wrote: >> We are pleased to announce the first batch of cut videos for EuroPython >> 2017. >> >> To see the videos, please head over to our EuroPython YouTube channel >> and sele

<    1   2   3   4   5   6   7   8   9   10   >