Re: Download Not Working

2022-12-16 Thread Mats Wichmann
On 12/16/22 09:07, Kaiser Arnhart wrote: Good afternoon, I am unable to open Python 3 after downloading. For context, I uninstalled it due to not checking the "Add to Path" box Others have already asked for more details. On the above, though, note that you can fix many aspects of the install

Re: Download Not Working

2022-12-16 Thread Thomas Passin
Please be more informative! Is this on Windows? Did Python 3 run as you expected, before you uninstalled it? Exactly how did you try to launch Python? Exactly what did you observe when it appeared not to run? Did you try any other ways to run it? What version of Python are you talking abou

Re: Download Not Working

2022-12-16 Thread dn
On 17/12/2022 05.07, Kaiser Arnhart wrote: Good afternoon, I am unable to open Python 3 after downloading. For context, I uninstalled it due to not checking the "Add to Path" box and then I reinstalled after checking that box and now none of the downloads will open and run Python 3. Please hel

Re: Download Not Working

2022-12-16 Thread Kaiser Arnhart
> Good afternoon, > > I am unable to open Python 3 after downloading. For context, I uninstalled it > due to not checking the "Add to Path" box and then I reinstalled after > checking that box and now none of the downloads will open and run Python 3. > Please help. > > Thanks, Kaiser Arnh

Re: Download Python 3.10.6 for windows

2022-08-31 Thread Eryk Sun
On 8/31/22, George Rwaga wrote: > > I am not sure why the default for installing Python is > C:\Users\x.x\AppData\local\programs\Python\Python310. The "programs" folder in the above path is the default location to install programs just for user "x.x." More precisely, the default l

Re: Download Python 3.10.6 for windows

2022-08-31 Thread George Rwaga
Thanks for the suggestions, Mrab and Eryk. Because my R and RStudio are under program files, for consistency I installed Python in C:\program files\Python\Python310. I updated to the latest version of Spyder in C:\program files\Spyder\Spyder5.3.3. As with R and RStudio, some Python and Spyder file

Re: Download Python 3.10.6 for windows

2022-08-30 Thread Eryk Sun
On 8/30/22, George Rwaga wrote: > > 1. I installed Python 3.10.6 in the default directory > C:\Users\x.x\AppData\local\programs\Python\Python310 > After the installation, there was no shortcut on my desktop. Shortcuts are created in the start menu. The installer doesn't modify the user's

Re: Download Python 3.10.6 for windows

2022-08-30 Thread MRAB
On 2022-08-30 16:09, George Rwaga wrote: I last installed an updated version of python more than a year back. I am trying to download (from https://www.python.org/downloads/ ) and install Python 3.10.6 for Windows - but I keep running into problems. 1. I installed Python 3.10.6 in the default

Re: Download

2017-06-06 Thread Yubin Ruan
On Mon, Jun 05, 2017 at 05:16:55PM +0200, Maria Alonso-Martirena wrote: > Good morning, > > > > You asked me to subscribe before writing to you and i've already done so. I > need your help: I’ve just downloaded Python for Windows (versión 3.6.1.). > However, when I try to open it, it just says “

Re: Download

2017-06-05 Thread Michael Torrie
On 06/05/2017 09:16 AM, Maria Alonso-Martirena wrote: > Good morning, > > You asked me to subscribe before writing to you and i've already done so. I > need your help: I’ve just downloaded Python for Windows (versión 3.6.1.). > However, when I try to open it, it just says “modify”, “repair” or > “

Re: download redtube video - Free

2017-04-11 Thread grownbetterwe
在 2008年9月22日星期一 UTC+8下午6:39:10,uomioc...@gmail.com写道: > download redtube video > . > . > . > ***CLICK HERE > http://vids365.cn/download-redtube-video > * > . > . > . > . > . > . > . > . > . > . > . > . > download redtube video You may also try Allavsoft to d

Re: download

2015-11-20 Thread Mark Lawrence
On 20/11/2015 13:48, Dennis Lee Bieber wrote: On Fri, 20 Nov 2015 10:52:53 +0100, marozzyye declaimed the following: i am about to download python 3.5.0 but there are three options 1.windows x86 web-based installer 2.windows x86 executable installer 3.windows x86 embeddable zip file i have tri

Re: Download multiple xls files using Python

2015-02-12 Thread Tim Chase
On 2015-02-13 11:19, Chris Angelico wrote: > On Fri, Feb 13, 2015 at 11:07 AM, wrote: > > Here is an example of my problem. I have for the moment a CSV > > file named "Stars" saved on my windows desktop containing around > > 50.000 different links that directly starts downloading a xls > > file w

Re: Download multiple xls files using Python

2015-02-12 Thread Chris Angelico
On Fri, Feb 13, 2015 at 11:07 AM, wrote: > Here is an example of my problem. I have for the moment a CSV file named > "Stars" saved on my windows desktop containing around 50.000 different links > that directly starts downloading a xls file when pressed. Each row contains > one of these links.

Re: Download all youtube favorites with youtube-dl script

2013-09-27 Thread Thomas Kandler
On 27.09.2013 21:50, Bill wrote: > Hi. > > A screenshot would help me locate it. > > Cheers Sure. http://i.imgur.com/LvrNZYO.png I don't thing *every* profile has this, but as I said, I use youtube-dl quite often this way. Best -- https://mail.python.org/mailman/listinfo/python-list

Re: Download all youtube favorites with youtube-dl script

2013-09-27 Thread Bill
Thomas Kandler wrote: On 26.09.2013 17:13, Bill wrote: I have been using the script youtube-dl http://rg3.github.io/youtube-dl/ And I was wondering if there is a way to download all of a user's favorites or uploads. The script has a functionality to download all videos in a txt file. So if the

Re: Download all youtube favorites with youtube-dl script

2013-09-27 Thread Thomas Kandler
On 26.09.2013 17:13, Bill wrote: > I have been using the script youtube-dl http://rg3.github.io/youtube-dl/ > > And I was wondering if there is a way to download all of a user's > favorites or uploads. > > The script has a functionality to download all videos in a txt file. So > if there is a way

Re: Download all youtube favorites with youtube-dl script

2013-09-26 Thread MRAB
On 26/09/2013 19:14, Bill wrote: Joel Goldstick wrote: On Thu, Sep 26, 2013 at 11:13 AM, Bill mailto:b...@bill.com>> wrote: I have been using the script youtube-dl http://rg3.github.io/youtube-__dl/ And I was wondering if there is a way to down

Re: Download all youtube favorites with youtube-dl script

2013-09-26 Thread Bill
Joel Goldstick wrote: On Thu, Sep 26, 2013 at 11:13 AM, Bill mailto:b...@bill.com>> wrote: I have been using the script youtube-dl http://rg3.github.io/youtube-__dl/ And I was wondering if there is a way to download all of a user's favorites

Re: Download all youtube favorites with youtube-dl script

2013-09-26 Thread Philipp Hagemeister
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Bill, the best way to ask for features or file bugs on youtube-dl is asking us at http://github.com/rg3/youtube-dl/issues . Luckily, I this list from time to time ;) Simply use youtube-dl --username u...@gmail.com --password secret :ytfav Best

Re: Download all youtube favorites with youtube-dl script

2013-09-26 Thread Joel Goldstick
On Thu, Sep 26, 2013 at 11:13 AM, Bill wrote: > I have been using the script youtube-dl > http://rg3.github.io/youtube-**dl/ > > And I was wondering if there is a way to download all of a user's > favorites or uploads. > > The script has a functionality to downl

Re: Download Visual Studio Express 2008 now

2013-08-29 Thread TP
On Thu, Aug 29, 2013 at 2:43 AM, Philip Inglesant wrote: > Hi Martyn, > > Thanks for the good advice to download VS 2008 before M$ delete it from > their download servers. > > Unfortunately they have already done this so many Python modules now can't > be compiled correctly on Windows! > > Best r

Re: Download Visual Studio Express 2008 now

2013-08-29 Thread Philip Inglesant
Hi Martyn, Thanks for the good advice to download VS 2008 before M$ delete it from their download servers. Unfortunately they have already done this so many Python modules now can't be compiled correctly on Windows! Best regards, Philip -- http://mail.python.org/mailman/listinfo/python-lis

Re: Download issue.

2012-10-02 Thread Dave Angel
On 10/02/2012 04:43 AM, subhabangal...@gmail.com wrote: > Dear Group, > > I am using Python on Windows 7 SP-1 (64 bit). > > I have two versions of Python installed 2.7 and 3.2. > > I want to install networkx in both. > > How may I do that? > > If any one may kindly let me know. > Doing a search fo

Re: Download issue.

2012-10-02 Thread Ritchie Flick
http://www.pip-installer.org/en/latest/index.html -- Ritchie Flick -- http://mail.python.org/mailman/listinfo/python-list

Re: download web pages that are updated by ajax

2011-04-12 Thread Jabba Laci
> I've heard you can drive a web browser using Selenium > (http://code.google.com/p/selenium/ ), have it visit the webpage and > run the JavaScript on it, and then grab the final result. Hi, Thanks for the info. I tried selenium, you can get the source with the get_html_source() function but it r

Re: download web pages that are updated by ajax

2011-04-12 Thread Chris Rebert
On Tue, Apr 12, 2011 at 7:47 AM, Jabba Laci wrote: > Hi, > > I want to download a web page that is updated by AJAX. The page > requires no human interaction, it is updated automatically: > http://www.ncbi.nlm.nih.gov/nuccore/CP002059.1 > > If I download it with wget, I get a file of size 97 KB. Th

Re: Download an attachment from an IMAP email

2011-02-04 Thread Vincent Davis
hgc On Thu, Feb 3, 2011 at 6:52 PM, Kushal Kumaran < kushal.kumaran+pyt...@gmail.com > wrote: > On Fri, Feb 4, 2011 at 3:44 AM, Vincent Davis > wrote: > > I have a few emails I am trying to download from my google account. I > seem > > to be getting the message but each of these messages have a

Re: Download an attachment from an IMAP email

2011-02-03 Thread Kushal Kumaran
On Fri, Feb 4, 2011 at 3:44 AM, Vincent Davis wrote: > I have a few emails I am trying to download from my google account. I seem > to be getting the message but each of these messages have an attachment. I > don't understand what I ned to do to get and save the attachment to a local > file. > Her

Re: "Download/windows" site page

2010-12-13 Thread Cristian Consonni
2010/12/13 Martin v. Loewis : [...] >> It is not mentioned "Windows 7". >> >> Is there some problem with 7 or it is simply an omission? > > It's simply an omission. You'll notice that Windows 2003 and Windows > 2008, as well as Windows 2003 R2 and Windows 2008R2 are omitted as > well. Likely, Pytho

Re: "Download/windows" site page

2010-12-13 Thread Martin v. Loewis
Am 13.12.2010 23:38, schrieb Cristian Consonni: > Dear all, > > I'm not sure this is the right place to point this out, but on this page: > > http://www.python.org/download/windows/ > > It is not mentioned "Windows 7". > > Is there some problem with 7 or it is simply an omission? It's simply a

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-29 Thread Joshua Kordani
Jean-Michel Pichavant wrote: Robert Kern wrote: On 7/23/10 7:08 PM, Lawrence D'Oliveiro wrote: In message, Robert Kern wrote: There are also utilities for mounting ISOs directly without burning them to a physical disk. You need special utilities to do this?? On at least some versions of

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-29 Thread Jean-Michel Pichavant
Robert Kern wrote: On 7/23/10 7:08 PM, Lawrence D'Oliveiro wrote: In message, Robert Kern wrote: There are also utilities for mounting ISOs directly without burning them to a physical disk. You need special utilities to do this?? On at least some versions of Windows, Yes. You need the

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-26 Thread Robin Becker
On 26/07/2010 16:47, Burton Samograd wrote: Grant Edwards writes: On 2010-07-24, Lawrence D'Oliveiro wrote: In message, Robert Kern wrote: There are also utilities for mounting ISOs directly without burning them to a physical disk. You need special utilities to do this?? Not if the OS

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-26 Thread Burton Samograd
Grant Edwards writes: > On 2010-07-24, Lawrence D'Oliveiro wrote: >> In message , Robert Kern >> wrote: >> >>> There are also utilities for mounting ISOs directly without burning >>> them to a physical disk. >> >> You need special utilities to do this?? > > Not if the OS and VFS are competently

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-25 Thread David Cournapeau
On Mon, Jul 26, 2010 at 3:07 AM, Zooko O'Whielacronx wrote: > > I would suggest that people try to build their native extension > modules with mingw, and if it doesn't work report a bug (to mingw > project and to the Python project) so that we can track more precisely > what the issues are. To b

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-25 Thread Zooko O'Whielacronx
On Wed, Jul 7, 2010 at 3:32 AM, Jonathan Hartley wrote: > > I presume this problem would go away if future versions of Python > itself were compiled on Windows with something like MinGW gcc. You might want to track issue3871. Roumen Petrov has done a lot of work to make CPython compilable with mi

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-23 Thread Grant Edwards
On 2010-07-24, Lawrence D'Oliveiro wrote: > In message , Robert Kern > wrote: > >> There are also utilities for mounting ISOs directly without burning >> them to a physical disk. > > You need special utilities to do this?? Not if the OS and VFS are competently designed. In Linux all you need to

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-23 Thread Robert Kern
On 7/23/10 7:08 PM, Lawrence D'Oliveiro wrote: In message, Robert Kern wrote: There are also utilities for mounting ISOs directly without burning them to a physical disk. You need special utilities to do this?? On at least some versions of Windows, Yes. -- Robert Kern "I have come to beli

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-23 Thread Lawrence D'Oliveiro
In message , Robert Kern wrote: > There are also utilities for mounting ISOs directly without burning them > to a physical disk. You need special utilities to do this?? -- http://mail.python.org/mailman/listinfo/python-list

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-10 Thread sturlamolden
On 9 Jul, 02:02, Neil Hodgson wrote: >    If you break the rules by using malloc rather than IMalloc for memory > that is deallocated by a different component to that which allocated it > or try to pass around FILE* objects then you will see failures. Yes, the CRT issue applies to COM as well. C

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-10 Thread Tim Roberts
Dave Angel wrote: >Tim Roberts wrote: >> >> No. The multi-thread-aware CRT in Visual C++ (which is the only option >> since VS2008) puts errno in thread-local storage, so it's shared by all >> CRTs. >> >I didn't know specifically that errno is in TLS, but I will disagree >with the conclusion

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-09 Thread Dave Angel
Tim Roberts wrote: Christian Heimes wrote: Yeah, but then we're down to file descriptors, C library locales and such as the remaining problems. Don't forget errno! Every CRT might have its own errno thread local. I don't know how its handled on Windows but I suspect it suffers from

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-08 Thread Tim Roberts
Christian Heimes wrote: >> Yeah, but then we're down to file descriptors, C library locales and such as >> the >> remaining problems. > >Don't forget errno! Every CRT might have its own errno thread local. I >don't know how its handled on Windows but I suspect it suffers from the >same problem.

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-08 Thread Neil Hodgson
sturlamolden: > Windows did this too (msvcrt.dll) up to the VS2003 release, which came > with msvcr71.dll in addition. Since then, M$ (pronounced Megadollar > Corp.) have published msvcr80.dll, msvcr90.dll, and msvcr100.dll (and > corresponding C++ versions) to annoy C and C++ developers into > co

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-08 Thread Christian Heimes
> Really? I wasn't entirely aware of this effect of the "io" module. > Somehow, without at all paying attention (because certain third party > modules blocking me for awhile, I never looked close enough), I just > sort of thought the "io" module was mostly thin wrappers around stdio > primitives, i

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Stephen Hansen
On 7/7/10 9:46 PM, "Martin v. Löwis" wrote: >> I saw you already mentioned work toward this a few months (years ?) >> ago. Is there some kind of roadmap, or could you use some help ? I >> would really like to solve this issue as much as we possibly can, > > Well, Python 3 has already dropped stdio

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Löwis
> I saw you already mentioned work toward this a few months (years ?) > ago. Is there some kind of roadmap, or could you use some help ? I > would really like to solve this issue as much as we possibly can, Well, Python 3 has already dropped stdio for its own io library, and I do want to get rid o

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread David Cournapeau
On Wed, Jul 7, 2010 at 9:10 PM, Martin v. Loewis wrote: > > My preferred long-term solution is to reduce the usage of the C library > in CPython as much as reasonable, atleast on Windows. Memory management > could directly use the heap functions (or even more directly > VirtualAlloc); filenos cou

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 8 Jul, 00:35, Jonathan Hartley wrote: > I see. Thanks very much to both of you for the info, much appreciated. The problem you referred to for py2exe despaired with Python 2.6. For Python 2.5, there was no public download option for msvcr71.dll and msvcp71.dll. There was also the unsolved SxS

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Jonathan Hartley
On Jul 7, 8:22 pm, "Martin v. Loewis" wrote: > > I presume this problem would go away if future versions of Python > > itself were compiled on Windows with something like MinGW gcc. Also, > > this would solve the pain of Python developers attempting to > > redistribute py2exe versions of their pro

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 23:19, "Alf P. Steinbach /Usenet" wrote: >    D Linking the CRT dynamically and providing an optional download and >      install of the redistributables if they're not present. This would >      best be done with some support from the Python installation machinery. >      -> Small nice

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Loewis
Am 07.07.2010 23:49, schrieb sturlamolden: > On 7 Jul, 23:33, "Martin v. Loewis" wrote: > >>> The Windows API "errno" is GetLastError. But a delinquent CRT might >>> map GetLastError() to other integers. >> >> Please check the source before posting. msvcrt defines errno as > > I don't have the s

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 23:33, "Martin v. Loewis" wrote: > > The Windows API "errno" is GetLastError. But a delinquent CRT might > > map GetLastError() to other integers. > > Please check the source before posting. msvcrt defines errno as I don't have the source to msvcrt, at least not to my knowledge. --

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Alf P. Steinbach /Usenet
* Alf P. Steinbach /Usenet, on 07.07.2010 23:19: However developing an extension with MSVC 10 the extension will use the 10.0 CRT, which is not necessarily present on the end user's system. As I see it there are five solutions with different trade-offs: A Already having Visual Studio 2008 (MSV

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Loewis
Am 07.07.2010 22:35, schrieb sturlamolden: > On 7 Jul, 22:26, Christian Heimes wrote: > >> Don't forget errno! Every CRT might have its own errno thread local. I >> don't know how its handled on Windows but I suspect it suffers from the >> same problem. > > The Windows API "errno" is GetLastErro

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Alf P. Steinbach /Usenet
* Christian Heimes, on 07.07.2010 22:47: The main problem that the required MSVC redistributables are not necessarily present on the end user's system. It's not a problem for Python anymore. It took a while to sort all problems out. Martin and other developers have successfully figured out how

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Christian Heimes
> The main problem that the required MSVC redistributables are not necessarily > present on the end user's system. It's not a problem for Python anymore. It took a while to sort all problems out. Martin and other developers have successfully figured out how to install the CRT for system wide and

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 22:26, Christian Heimes wrote: > Don't forget errno! Every CRT might have its own errno thread local. I > don't know how its handled on Windows but I suspect it suffers from the > same problem. The Windows API "errno" is GetLastError. But a delinquent CRT might map GetLastError() to ot

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Christian Heimes
> Yeah, but then we're down to file descriptors, C library locales and such as > the > remaining problems. Don't forget errno! Every CRT might have its own errno thread local. I don't know how its handled on Windows but I suspect it suffers from the same problem. Christia -- http://mail.pytho

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Grant Edwards
On 2010-07-07, Martin v. Loewis wrote: > >> Also observe that this macro is very badly written (even illegal) C. >> Consider what this would do: >> >> PyMem_MALLOC(n++) >> >> According to Linus Thorvalds using macros like this is not even legal >> C: >> >> http://www.linuxfocus.org/common/s

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 21:47, "Martin v. Loewis" wrote: > However, the C standard is silent wrt. to PyMem_MALLOC, and it certainly > allows the definition of macros which use the macro arguments more than > once. Ok, I knew there was something odd here. PyMem_Malloc is indeed a function, whilst PyMem_MALLOC

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Alf P. Steinbach /Usenet
* Martin v. Loewis, on 07.07.2010 21:56: Perhaps (if it isn't intentional) this is a bug of the oversight type, that nobody remembered to update the macro? Update in what way? I was guessing that at one time there was no PyMem_Malloc. And that it was introduced to fix Windows-specific problem

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Alf P. Steinbach /Usenet
* sturlamolden, on 07.07.2010 21:46: On 7 Jul, 21:41, "Alf P. Steinbach /Usenet" wrote: You still have two CRTs linked into the same process. So? CRT resources cannot be shared across CRT borders. That is the problem. Multiple CRTs are not a problem if CRT resources are never shared. Yea

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Loewis
>>> Perhaps (if it isn't intentional) this is a bug of the oversight type, >>> that nobody remembered to update the macro? >> >> Update in what way? > > I was guessing that at one time there was no PyMem_Malloc. And that it > was introduced to fix Windows-specific problems, but inadvertently > wit

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 21:47, "Martin v. Loewis" wrote: > That would partially defeat the purpose, namely it would require the > compiler to put the size into a variable in memory, and possibly prevent > optimizations from taking place that rely on constant propagation > (depending on how smart the compiler i

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Loewis
> Also observe that this macro is very badly written (even illegal) C. > Consider what this would do: > > PyMem_MALLOC(n++) > > According to Linus Thorvalds using macros like this is not even legal > C: > > http://www.linuxfocus.org/common/src/January2004_linus.html [Please don't use "lega

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 21:41, "Alf P. Steinbach /Usenet" wrote: > > You still have two CRTs linked into the same process. > > So? CRT resources cannot be shared across CRT borders. That is the problem. Multiple CRTs are not a problem if CRT resources are never shared. -- http://mail.python.org/mailman/l

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Alf P. Steinbach /Usenet
* sturlamolden, on 07.07.2010 21:12: On 7 Jul, 06:54, "Alf P. Steinbach /Usenet" wrote: PyAPI_FUNC(void *) PyMem_Malloc(size_t); #define PyMem_MALLOC(n) (((n)< 0 || (n)> PY_SSIZE_T_MAX) ? NULL \ : malloc((n) ? (n) : 1)) I was afraid of that :(

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Alf P. Steinbach /Usenet
* Martin v. Loewis, on 07.07.2010 21:10: Python 3.1.1, file [pymem.h]: PyAPI_FUNC(void *) PyMem_Malloc(size_t); #define PyMem_MALLOC(n)(((n)< 0 || (n)> PY_SSIZE_T_MAX) ? NULL \ : malloc((n) ? (n) : 1)) The problem with the latter that it seems that it's intended for

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 21:12, sturlamolden wrote: > > #define PyMem_MALLOC(n)         (((n) < 0 || (n) > PY_SSIZE_T_MAX) ? NULL \ > >                                 : malloc((n) ? (n) : 1)) > > I was afraid of that :( Also observe that this macro is very badly written (even illegal) C. Consider what this wo

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Loewis
> I presume this problem would go away if future versions of Python > itself were compiled on Windows with something like MinGW gcc. Also, > this would solve the pain of Python developers attempting to > redistribute py2exe versions of their programs (i.e. they have to own > a Visual Studio license

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 06:54, "Alf P. Steinbach /Usenet" wrote: > PyAPI_FUNC(void *) PyMem_Malloc(size_t); > > #define PyMem_MALLOC(n)         (((n) < 0 || (n) > PY_SSIZE_T_MAX) ? NULL \ >                                 : malloc((n) ? (n) : 1)) I was afraid of that :( > Except for the problems with file

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Martin v. Loewis
> Python 3.1.1, file [pymem.h]: > > PyAPI_FUNC(void *) PyMem_Malloc(size_t); > > #define PyMem_MALLOC(n)(((n) < 0 || (n) > PY_SSIZE_T_MAX) ? NULL \ > : malloc((n) ? (n) : 1)) > > The problem with the latter that it seems that it's intended for safety > but does the opposi

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread sturlamolden
On 7 Jul, 11:32, Jonathan Hartley wrote: > Also, > this would solve the pain of Python developers attempting to > redistribute py2exe versions of their programs (i.e. they have to own > a Visual Studio license to legally be able to redistribute the > required C runtime) http://www.microsoft.com/d

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-07 Thread Jonathan Hartley
On Jul 6, 4:50 pm, sturlamolden wrote: > Just a little reminder: > > Microsoft has withdrawn VS2008 in favor of VS2010. The express version > is also unavailable for download. >:(( > > We can still get a VC++ 2008 compiler required to build extensions for > the official Python 2.6 and 2.7 binary i

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Stephen Hansen
On 7/6/10 11:21 PM, Tim Roberts wrote: > sturlamolden wrote: >> >> Just a little reminder: >> >> Microsoft has withdrawn VS2008 in favor of VS2010. > > Nonsense. They have released VS2010, but they certainly have not > "withdrawn" VS2008, and I have heard of no plans to do so. Its not nonsense;

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Tim Roberts
sturlamolden wrote: > >Just a little reminder: > >Microsoft has withdrawn VS2008 in favor of VS2010. Nonsense. They have released VS2010, but they certainly have not "withdrawn" VS2008, and I have heard of no plans to do so. >The express version is also unavailable for download. >:(( Also nons

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Alf P. Steinbach /Usenet
* sturlamolden, on 06.07.2010 19:35: On 6 Jul, 19:09, Thomas Jollans wrote: Okay, you need to be careful with FILE*s. But malloc and free? You'd normally only alloc& free something within the same module, using the same functions (ie not mixing PyMem_Malloc and malloc), would you not? You h

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread David Cournapeau
On Wed, Jul 7, 2010 at 12:26 AM, Thomas Jollans wrote: > On 07/07/2010 12:08 AM, David Cournapeau wrote: >> On Tue, Jul 6, 2010 at 6:00 PM, Alf P. Steinbach /Usenet >> wrote: >>> There is no *technical* problem creating a compiler-independent C/C++ >>> language binding. >> >> It is quite hard, th

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Thomas Jollans
On 07/07/2010 01:14 AM, sturlamolden wrote: > On 7 Jul, 01:07, Thomas Jollans wrote: > >> It's not managed code in the "runs on .net" sense, but in principle, it >> is managed, in that garbage collection is managed for you. > > I think you are confusing Python and C code. Or somebody's confusin

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 7 Jul, 01:07, Thomas Jollans wrote: > It's not managed code in the "runs on .net" sense, but in principle, it > is managed, in that garbage collection is managed for you. I think you are confusing Python and C code. -- http://mail.python.org/mailman/listinfo/python-list

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Thomas Jollans
On 07/07/2010 12:38 AM, Martin v. Loewis wrote: >>> - many things which are runtime independent on unix are not on >>> windows (file descriptor: AFAIK, a file descriptor as returned from >>> open can be dealt with in any C runtime on unix) >> >> Are you telling me that file descriptors (it's a fli

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 7 Jul, 00:41, sturlamolden wrote: > It should also be mentioned that the Windows 7 SDK includes > vcbuild.exe, so it can be used to compile Visual Studio 2008 projects > (I'm going to try Python). Not sure why I forgot to mention, but we can (or even should?) use CMake to generate these proje

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Martin P. Hellwig
On 07/06/10 21:19, sturlamolden wrote: On 6 Jul, 21:49, Christian Heimes wrote: I agree, the situation isn't ideal. I see if I can get in contact with Microsoft's open source team. Perhaps they can keep the download link to VS 2008 EE working. It seems the MSDN subscription required to get V

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 6 Jul, 21:52, casevh wrote: > The original version of the Windows 7 SDK includes the command line > version of the VS 2008 amd64 compiler. I've used it compile MPIR and > GMPY successfully. The GMPY source includes a text file describing the > build process using the SDK tools. It should also

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Martin v. Loewis
>> - many things which are runtime independent on unix are not on >> windows (file descriptor: AFAIK, a file descriptor as returned from >> open can be dealt with in any C runtime on unix) > > Are you telling me that file descriptors (it's a flippin int!) can't be > passed around universally on W

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Thomas Jollans
On 07/07/2010 12:08 AM, David Cournapeau wrote: > On Tue, Jul 6, 2010 at 6:00 PM, Alf P. Steinbach /Usenet > wrote: >> There is no *technical* problem creating a compiler-independent C/C++ >> language binding. > > It is quite hard, though, or would require changes in the API to be > entirely safe

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread David Cournapeau
On Tue, Jul 6, 2010 at 6:00 PM, Alf P. Steinbach /Usenet wrote: > * sturlamolden, on 06.07.2010 17:50: >> >> Just a little reminder: >> >> Microsoft has withdrawn VS2008 in favor of VS2010. The express version >> is also unavailable for download.>:(( >> >> We can still get a VC++ 2008 compiler req

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 6 Jul, 21:52, casevh wrote: > On Jul 6, 9:21 am, Thomas Jollans wrote: > > But that doesn't really > > change anything: the express edition of Microsoft's VC++ doesn't include > > an amd64 compiler anyway, AFAIK. See here: http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edit

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 6 Jul, 21:49, Christian Heimes wrote: > I agree, the situation isn't ideal. I see if I can get in contact with > Microsoft's open source team. Perhaps they can keep the download link to > VS 2008 EE working. It seems the MSDN subscription required to get VS 2008 costs one dollar less than $12

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread casevh
On Jul 6, 9:21 am, Thomas Jollans wrote: > On 07/06/2010 05:50 PM, sturlamolden wrote: > > > It is possible to build C and Fortran extensions for official Python > > 2.6/2.7 binaries on x86 using mingw. AFAIK, Microsoft's compiler is > > required for C++ or amd64 though. (Intel's compiler requires

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Christian Heimes
> That's nice to know, but I personally don't have an MSDN subscription. > Many scientists don't have access to development tools like VS2008. > Many hobby developers don't have access expensive MSDN subscriptions. > Many don't develop C personally, but just "needs a compiler" to build > an extensi

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread David Robinow
On Tue, Jul 6, 2010 at 1:46 PM, Martin P. Hellwig wrote: > Public download that is, people like me who have a MSDN subscription can > still download old versions like Visual Studio 2005. > > So I would say that there is no particular hurry. > I would think that everyone really serious about MS dev

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 6 Jul, 19:46, "Martin P. Hellwig" wrote: > Public download that is, people like me who have a MSDN subscription can > still download old versions like Visual Studio 2005. That's nice to know, but I personally don't have an MSDN subscription. Many scientists don't have access to development to

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Robert Kern
On 7/6/10 1:52 PM, Ed Keith wrote: I downloaded the ISO, but it seems to be just a bit too big to fit on a CD! This seems odd to me, has anyone else had this problem? These days, ISOs are destined for DVD-Rs. :-) There are also utilities for mounting ISOs directly without burning them to a p

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread sturlamolden
On 6 Jul, 19:52, Ed Keith wrote: > This seems odd to me, has anyone else had this problem? DVD? -- http://mail.python.org/mailman/listinfo/python-list

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Stephen Hansen
On 7/6/10 10:52 AM, Ed Keith wrote: > I downloaded the ISO, but it seems to be just a bit too big to fit on a CD! The website says its a DVD iso. -- Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/ signature.asc Descrip

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Ed Keith
I downloaded the ISO, but it seems to be just a bit too big to fit on a CD! This seems odd to me, has anyone else had this problem? -EdK Ed Keith e_...@yahoo.com Blog: edkeith.blogspot.com --- On Tue, 7/6/10, sturlamolden wrote: > From: sturlamolden > Subject: Download Microsoft C/C+

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-06 Thread Martin P. Hellwig
On 07/06/10 16:50, sturlamolden wrote: Just a little reminder: Microsoft has withdrawn VS2008 in favor of VS2010. The express version is also unavailable for download.>:(( Public download that is, people like me who have a MSDN subscription can still download old versions like Visual Studio

  1   2   3   >