Re: Compiling python on windows with vs

2023-06-15 Thread Eryk Sun via Python-list
On 6/15/23, Thomas Schweikle via Python-list wrote: > > No. This flag is not inherited. Someone has to set it for created > directories. It is easy to confirm: take a directory not under MSYS or > cygwin control (because it is mounted by MSYS or cygwin), set the flag, > then create directories. Th

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Do., 15.Juni.2023 um 16:28:21 schrieb Eryk Sun: On 6/15/23, Thomas Schweikle via Python-list wrote: In this case: not sure what is going on. Possibly you have a setting configured that affects the behavior of Git via the MinGW-w64 runtime, such that calling mkdir() ends up calling NtSet

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Do., 15.Juni.2023 um 15:44:42 schrieb Inada Naoki: Then, git doesn't enable Windows NTFS case sensitivity. You enabled NTFS case sensitivity on "C:\Users\user\K". And Windows enabled case sensitivity for all new directories under the directory. No. This flag is not inherited. Someone has t

Re: Compiling python on windows with vs

2023-06-15 Thread Eryk Sun via Python-list
On 6/15/23, Thomas Schweikle via Python-list wrote: > > In this case: not sure what is going on. Possibly you have a setting configured that affects the behavior of Git via the MinGW-w64 runtime, such that calling mkdir() ends up calling NtSetInformationFile() to set the FileCaseSensitiveInformat

Re: Compiling python on windows with vs

2023-06-15 Thread Inada Naoki via Python-list
Then, git doesn't enable Windows NTFS case sensitivity. You enabled NTFS case sensitivity on "C:\Users\user\K". And Windows enabled case sensitivity for all new directories under the directory. Since it is not default and minor setting, it is not a bug that current Python doesn't support building

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Mi., 14.Juni.2023 um 15:10:50 schrieb Eryk Sun: On 6/14/23, Inada Naoki via Python-list wrote: Since Git enables Windows NTFS case sensitivity while checking out sources I didn't know that. Would you give us a link to this feature? As far as I know, `git config core.ignorecase` doesn't m

Re: Compiling python on windows with vs

2023-06-14 Thread Eryk Sun via Python-list
On 6/14/23, Inada Naoki via Python-list wrote: >> Since Git enables Windows NTFS case sensitivity while checking out sources > > I didn't know that. Would you give us a link to this feature? > As far as I know, `git config core.ignorecase` doesn't mean NTFS case > sensitive. If a repo is cloned i

Re: Compiling python on windows with vs

2023-06-13 Thread Inada Naoki via Python-list
list < python-list@python.org> wrote: > Hi! > > Trying to compile python on windows leads to following error: > >_testimportmultiple.vcxproj -> > > C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testimportmultiple.pyd >_testmultiphase.c >

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 20:36:17 schrieb Mats Wichmann via Python-list: On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python?

Re: Compiling python on windows with vs

2023-06-13 Thread Eryk Sun via Python-list
On 6/13/23, Thomas Schweikle via Python-list wrote: > > Since Git enables Windows NTFS case sensitivity while checking out > sources ... is it a bug or a "feature"? And: is there a simple AFAIK the Windows version of Git (you're not using the Linux version of Git via WSL, right?) does not automat

RE: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
Sent: Tuesday, June 13, 2023 1:12 PM To: Python Cc: Thomas Schweikle Subject: Re: Compiling python on windows with vs Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: > What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. > What version of python? python 3.10.1

Re: Compiling python on windows with vs

2023-06-13 Thread Mats Wichmann via Python-list
On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python? python 3.10.11 or 3.11.4 I’ve had success with using the cython package i

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python? python 3.10.11 or 3.11.4 I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried v

Re: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
What version of visual studio are you using? What version of python? I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried visual studio alone. Sent from my iPhone > On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list > wrote: >

Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Hi! Trying to compile python on windows leads to following error: _testimportmultiple.vcxproj -> C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testimportmultiple.pyd _testmultiphase.c Bibliothek "C:\Users\sct-muc\Documents\Projekte\cpython\PCbui

Re: Equivalent of "make install" for Python on windows?

2020-07-10 Thread Patrick Stinson
Oh right, and another example: The binary names for debug builds have a _d suffix, but modules like pip (which I assume can only be installed with get-pip.py) expect them not to have this suffix. Once I started copying lots of .exe and .lib files around just to make the distribution work I sta

Equivalent of "make install" for Python on windows?

2020-07-10 Thread Patrick Stinson
Building python from source on windows is straightforward enough with PCBuild/build.bat. But it seems as though the resulting distribution that runs from these standard build dirs ends up sort of incomplete and/or fragmented - at least for what I am used to on *NIX. Binaries are in ./PCBuild/pl

Re: Help please installing Python on Windows 10

2018-10-04 Thread Sibylle Koczian
Am 03.10.2018 um 09:34 schrieb Timothy Cowell via Python-list: Could I please ask for help installing Python on Windows 10 - I've tried twice (Version 3.7 for windows) selecting the install now option. After first attempt I uninstalled and tried again. Each time it has put 4 items i

Help please installing Python on Windows 10

2018-10-03 Thread Timothy Cowell via Python-list
Hi, Could I please ask for help installing Python on Windows 10 - I've tried twice (Version 3.7 for windows) selecting the install now option. After first attempt I uninstalled and tried again. Each time it has put 4 items in the programs list from the windows start button, all

Any advice on getting Pyscripter installed & working with Python on Windows 10 computer ?

2017-08-15 Thread TKS
> > > Hi there, > > I am trying to assist my daughter with a school IT task to install Python > & Pyscripter on a Windows 10 notebook. (64 bit system) > > It seems no version of Pyscripter will work - it fails to complete the > installation & ends with an error ("Python could not be properly > init

Installing a newly-built python on windows

2017-04-16 Thread joao . moreira . sa . coutinho
Hi all, I've followed the instructions in the 1st chapter (Getting Started) of the Python Developers's Guide to compile python 3.6 from source, using VS 2017 on a Windows 7 SP1. I successfully built 35 of the 40 subprojects, and the python interpreter in cpython\PCbuild\amd64 is working fine.

Installing a newly-built python on windows

2017-04-16 Thread joao . moreira . sa . coutinho
Hi all, I've followed the instructions in the 1st chapter (Getting Started) of the Python Developers's Guide to compile python 3.6 from source, using VS 2017 on a Windows 7 SP1. I successfully built 35 of the 40 subprojects, and the python interpreter in cpython\PCbuild\amd64 is working fine.

Re: Error installing python on Windows

2017-03-19 Thread Mark Summerfield
Windows users (quite reasonably IMO) expect installs to "just work". If Python needs extra bits it should ask the user if it can go get them and if they say Yes it should do just that. (And this should actually work -- unlike maybe, the Python 3.5 Windows installer.) And as for searching Google

Re: Error installing python on Windows

2017-02-24 Thread mm0fmf
On 24/02/2017 18:12, Irmen de Jong wrote: On 24-2-2017 12:18, Michelle Tan wrote: Hello all I am new to python. Trying to install Python and encountered this error message : "The program can't start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your computer." Tried to repair and

Re: Error installing python on Windows

2017-02-24 Thread Irmen de Jong
On 24-2-2017 12:18, Michelle Tan wrote: > Hello all > > I am new to python. > > Trying to install Python and encountered this error message : "The program > can't start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your > computer." > > Tried to repair and reinstall Python however i

Re: Error installing python on Windows

2017-02-24 Thread Florian Schweikert
Hi Michelle, On 24/02/17 12:18, Michelle Tan wrote: > I am new to python. Welcome to Python. > Trying to install Python What Python version are you trying to install and what's your Windows version? -- Florian signature.asc Description: OpenPGP digital signature -- https://mail.python.org/

Error installing python on Windows

2017-02-24 Thread Michelle Tan
Hello all I am new to python. Trying to install Python and encountered this error message : "The program can't start because api-ms-win-crt-runtime-I1-1-0.dll is missing from your computer." Tried to repair and reinstall Python however i may have missed out some installation. What should I do to

Re: Installing Python on Windows 7

2016-10-28 Thread eryk sun
On Fri, Oct 28, 2016 at 2:39 PM, Jens Janzen wrote: > 1. Download C runtime Libraries from Microsoft > https://support.microsoft.com/de-de/kb/2999226 > for Windows 7 The more recent update is here [1], but don't use this. Use Windows Update to get the latest updates. [1]: https://support.microso

Re: Installing Python on Windows 7

2016-10-28 Thread Jens Janzen
Am Freitag, 28. Oktober 2016 01:24:18 UTC+2 schrieb Karen Hermann: > I just downloaded Python 3.5.2 for Windows, which I installed on a Windows 7 > laptop. Disclaimer up front, I am a former lapsed programmer that has been > away from it and all things Windows since Windows XP. :)I’m back t

Re: Installing Python on Windows 7

2016-10-27 Thread eryk sun
On Thu, Oct 27, 2016 at 10:10 PM, Karen Hermann wrote: > > Can you help please, is there something wrong with my system / setup, should > I be > downloading a different Python version? The system is missing the new C runtime. Enable Windows Update and install the recommended updates. -- https:/

Installing Python on Windows 7

2016-10-27 Thread Karen Hermann
I just downloaded Python 3.5.2 for Windows, which I installed on a Windows 7 laptop. Disclaimer up front, I am a former lapsed programmer that has been away from it and all things Windows since Windows XP. :)I’m back to being a bit of a newbie again. It’s a relatively clean laptop, just

Re: Python on Windows with linux environment

2016-06-03 Thread Eric S. Johansson
On 6/3/2016 12:02 AM, Muhammad Ali wrote: > On Friday, June 3, 2016 at 6:27:50 AM UTC+8, Eric S. Johansson wrote: >> On 6/2/2016 2:03 PM, Joel Goldstick wrote: >>> Although the OP is using Windows 7, according to recent articles, >>> Ubuntu is teaming with MS for Windows 10 to include a bash shell,

Re: Python on Windows with linux environment

2016-06-02 Thread Muhammad Ali
On Friday, June 3, 2016 at 6:27:50 AM UTC+8, Eric S. Johansson wrote: > On 6/2/2016 2:03 PM, Joel Goldstick wrote: > > Although the OP is using Windows 7, according to recent articles, > > Ubuntu is teaming with MS for Windows 10 to include a bash shell, > > presumably with the package management o

Re: Python on Windows with linux environment

2016-06-02 Thread Eric S. Johansson
On 6/2/2016 2:03 PM, Joel Goldstick wrote: > Although the OP is using Windows 7, according to recent articles, > Ubuntu is teaming with MS for Windows 10 to include a bash shell, > presumably with the package management of Ubuntu (debian), with pip > goodness and virtualenv and virtualenvwrapper.

Re: Python on Windows with linux environment

2016-06-02 Thread Joel Goldstick
On Thu, Jun 2, 2016 at 1:04 PM, Eric S. Johansson wrote: > On 6/2/2016 12:38 PM, Wildman via Python-list wrote: >> On Thu, 02 Jun 2016 04:22:45 -0700, Muhammad Ali wrote: >> >>> Hi, >>> >>> I use windows regularly, however, I use linux for only my research work at >>> supercomputer. In my researc

Re: Python on Windows with linux environment

2016-06-02 Thread Eric S. Johansson
On 6/2/2016 12:38 PM, Wildman via Python-list wrote: > On Thu, 02 Jun 2016 04:22:45 -0700, Muhammad Ali wrote: > >> Hi, >> >> I use windows regularly, however, I use linux for only my research work at >> supercomputer. In my research field (materials science) most of the scripts >> are being writ

Re: Python on Windows with linux environment

2016-06-02 Thread Wildman via Python-list
On Thu, 02 Jun 2016 04:22:45 -0700, Muhammad Ali wrote: > Hi, > > I use windows regularly, however, I use linux for only my research work at > supercomputer. In my research field (materials science) most of the scripts > are being written in python with linux based system. Could I installed suc

Re: Python on Windows with linux environment

2016-06-02 Thread Marc Brooks
Others have mentioned Cygwin or the new subsystem. The other two options a number of Python develops that I work use are to (1) install vmware/virtualbox and run linux in a vm or (2) install the packaged binaries, such as Anaconda from Continuum Analytics. One issue I had when using cygwin was th

Re: Python on Windows with linux environment

2016-06-02 Thread Paul Rudin
Deborah Martin writes: > Try Cygwin at http://www.cygwin.com > Or use the new windows subsystem for linux: https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/ -- https://mail.python.org/mailman/listinfo/python-list

RE: Python on Windows with linux environment

2016-06-02 Thread Deborah Martin
Try Cygwin at http://www.cygwin.com Regards, Deborah -Original Message- From: Python-list [mailto:python-list-bounces+deborah.martin=kognitio@python.org] On Behalf Of Muhammad Ali Sent: 02 June 2016 12:23 To: python-list@python.org Subject: Python on Windows with linux environment

Re: Python on Windows with linux environment

2016-06-02 Thread Oscar Benjamin
On 2 June 2016 at 12:22, Muhammad Ali wrote: > I use windows regularly, however, I use linux for only my research work at > supercomputer. In my research field (materials science) most of the scripts > are being written in python with linux based system. Could I installed such > linux based pyt

Python on Windows with linux environment

2016-06-02 Thread Muhammad Ali
Hi, I use windows regularly, however, I use linux for only my research work at supercomputer. In my research field (materials science) most of the scripts are being written in python with linux based system. Could I installed such linux based python on my window 7? So that I can use those linu

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread eryk sun
On Fri, Apr 22, 2016 at 9:26 AM, Random832 wrote: > The problem with your question is that it's not a standard command, so none > of the rest of us have it, which means we're half-blind trying to find your > problem. lpr is a Windows feature that you may be able to enable. It's under "Print and

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread Random832
On Fri, Apr 22, 2016, at 11:06, loial wrote: > Yes it does. I finally found the solution here : > > http://www.tomshardware.co.uk/forum/240019-44-error-windows > > Copied lpr.exe, lprhelp.dll, and lprmonui.dll from the System32 folder to > the sysWOW64 folder A better solution might be to instal

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread loial
Yes it does. I finally found the solution here : http://www.tomshardware.co.uk/forum/240019-44-error-windows Copied lpr.exe, lprhelp.dll, and lprmonui.dll from the System32 folder to the sysWOW64 folder On Friday, April 22, 2016 at 3:27:18 PM UTC+1, Random832 wrote: > On Fri, Apr 22, 2016, a

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread Random832
On Fri, Apr 22, 2016, at 10:15, loial wrote: > I am reposting this question in a simpler form. > > I can run lpr from the command prompt but not from python > > os.system("notepad") works > os.system("lpr") does not work. Basically it says lpr is not a known > program or executable > > Why can I

Can't run lpr from python on windows 2012 server

2016-04-22 Thread loial
I am reposting this question in a simpler form. I can run lpr from the command prompt but not from python os.system("notepad") works os.system("lpr") does not work. Basically it says lpr is not a known program or executable Why can I run lpr from the windows command prompt but not from python(2

Re: Python on windows 10

2015-11-26 Thread Terry Reedy
On 11/25/2015 3:34 PM, francis funari wrote: I have tried installing Python 3 on windows 10 it install OK but I do not get Idle. When I type Idle in the interpreter nothing happen Starting programs by typing their names into the interactive interpreter does not work. Use Start Menu | All App

Re: Python on windows 10

2015-11-26 Thread Laura Creighton
In a message of Wed, 25 Nov 2015 20:34:01 +, francis funari writes: >I have tried installing Python 3 on windows 10 it install OK but I do not get >Idle. When I type Idle in the interpreter nothing happen can you send me a >link to latest release of Python 3 with Idle that will run on windows

Python on windows 10

2015-11-26 Thread francis funari
I have tried installing Python 3 on windows 10 it install OK but I do not get Idle. When I type Idle in the interpreter nothing happen can you send me a link to latest release of Python 3 with Idle that will run on windows 10 64 bit

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-12 Thread Sturla Molden
On 13/05/14 02:09, Chris Angelico wrote: Sometimes you just want to confirm. :) Or maybe you want your program to be able to detect which it's on. There are ways of doing both, but sys.maxint isn't one of them, as it's specific to the int->long promotion of Py2. The OPs main mistake, I guess,

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-12 Thread Chris Angelico
On Tue, May 13, 2014 at 10:05 AM, Sturla Molden wrote: > On 11/05/14 08:56, Ross Gayler wrote: > >> Is that true?I have spent a couple of hours searching for a definitive >> description of the difference between the 32 and 64 bit versions of >> Python for Windows and haven't found anything. > > >

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-12 Thread MRAB
On 2014-05-13 00:41, Sturla Molden wrote: On 12/05/14 15:42, Sturla Molden wrote: - A one-dimensional NumPy array with dtype np.float64 can keep 16 GB of data before a 32 bit index is too small and Python starts to use long. A two-dimensional NumPy array with dtype np.float64 can keep 256 GB of

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-12 Thread Sturla Molden
On 11/05/14 08:56, Ross Gayler wrote: Is that true?I have spent a couple of hours searching for a definitive description of the difference between the 32 and 64 bit versions of Python for Windows and haven't found anything. Why do you care if a Python int object uses 32 or 64 bits internally?

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-12 Thread Sturla Molden
On 12/05/14 15:42, Sturla Molden wrote: - A one-dimensional NumPy array with dtype np.float64 can keep 16 GB of data before a 32 bit index is too small and Python starts to use long. A two-dimensional NumPy array with dtype np.float64 can keep 256 GB of data before a 32 bit index is too small.

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-12 Thread Sturla Molden
On 11/05/14 08:56, Ross Gayler wrote: It looks to me as though 32 and 64 bit versions of Python on 64 bit Windows are both really 32 bit Python, differing only in how they interact with Windows. No! Pointers are 64 bit, Python integers (on Python 2.x) are 32 bit. Microsoft decided to use a 32

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-11 Thread Benjamin Kaplan
On Sat, May 10, 2014 at 11:56 PM, Ross Gayler wrote: > > Hi, > > I want to install Python on a PC with 16GB of RAM and the 64 bit version of > Windows 7. > I want Python to be able to use as much as possible of the RAM. > > When I install the 64 bit version of Python I find that sys.maxint == 2**

Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-11 Thread Terry Reedy
On 5/11/2014 2:56 AM, Ross Gayler wrote: Hi, I want to install Python on a PC with 16GB of RAM and the 64 bit version of Windows 7. I want Python to be able to use as much as possible of the RAM. When I install the 64 bit version of Python I find that sys.maxint == 2**31 - 1 Since sys.maxint

What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

2014-05-11 Thread Ross Gayler
Hi, I want to install Python on a PC with 16GB of RAM and the 64 bit version of Windows 7. I want Python to be able to use as much as possible of the RAM. When I install the 64 bit version of Python I find that sys.maxint == 2**31 - 1 Whereas the Pythpon installed on my 64 bit linux system retur

Re: Two Questions about Python on Windows

2014-04-05 Thread Tim Roberts
maxerick...@gmail.com wrote: > >You can also edit the PATHEXT environment variable to include .py/.pyw, >making the python source files executable (as long as the types are >properly registered with Windows; if double clicking runs them they >should be properly registered). Let me clarify that ju

Re: Two Questions about Python on Windows

2014-04-03 Thread Mark Lawrence
On 03/04/2014 23:41, Ian Kelly wrote: On Thu, Apr 3, 2014 at 2:15 PM, Mark Lawrence wrote: On 03/04/2014 18:54, Ian Kelly wrote: On Apr 3, 2014 11:12 AM, "Walter Hurry" mailto:walterhu...@gmail.com>> wrote: > > Normally my Python development is done on FreeBSD and Linux. I know that on *

Re: Two Questions about Python on Windows

2014-04-03 Thread Ian Kelly
On Thu, Apr 3, 2014 at 2:15 PM, Mark Lawrence wrote: > On 03/04/2014 18:54, Ian Kelly wrote: >> >> >> On Apr 3, 2014 11:12 AM, "Walter Hurry" > > wrote: >> > >> > Normally my Python development is done on FreeBSD and Linux. I know >> that on *ix I simply have to mak

Re: Two Questions about Python on Windows

2014-04-03 Thread Mark Lawrence
On 03/04/2014 18:54, Ian Kelly wrote: On Apr 3, 2014 11:12 AM, "Walter Hurry" mailto:walterhu...@gmail.com>> wrote: > > Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it ru

Re: Two Questions about Python on Windows

2014-04-03 Thread Ethan Furman
On 04/03/2014 10:54 AM, Ian Kelly wrote: On Apr 3, 2014 11:12 AM, "Walter Hurry" wrote: Secondly, on *ix, if there's an up-to-date .pyc in the right place and I run foo.py, Python will automagically use foo.pyc. I don't believe this is exactly correct. Python will only use a .pyc automatica

Re: Two Questions about Python on Windows

2014-04-03 Thread Terry Reedy
On 4/3/2014 1:06 PM, Walter Hurry wrote: Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it runnable. For my son's school assignment, I have to help him with Python for Wind

Re: Two Questions about Python on Windows

2014-04-03 Thread Ian Kelly
On Apr 3, 2014 11:12 AM, "Walter Hurry" wrote: > > Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it runnable. > > For my son's school assignment, I have to help him with Pytho

Re: Two Questions about Python on Windows

2014-04-03 Thread maxerickson
On Thursday, April 3, 2014 1:06:29 PM UTC-4, Walter Hurry wrote: > Normally my Python development is done on FreeBSD and Linux. I know that on > *ix I simply have to make foo.py executable (the shebang line is present, of > course) to make it runnable. > > For my son's school assignment, I have

Two Questions about Python on Windows

2014-04-03 Thread Walter Hurry
Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it runnable. For my son's school assignment, I have to help him with Python for Windows. As I understand it, on Windows a .py

Re: python on windows

2013-02-16 Thread David Robinow
On Sat, Feb 16, 2013 at 4:40 PM, babatunde akerele wrote: > hello, i'm having problem coding and running python on my pc...i just > started learning python last month in codeacademy.com but i've not > been able to code offline 'cos i don't knw how to go abt installing > the compiler and all that.

Re: python on windows

2013-02-16 Thread Michael Herman
http://www.youtube.com/watch?v=dFnuK9dlWdk On Sat, Feb 16, 2013 at 1:40 PM, babatunde akerele wrote: > hello, i'm having problem coding and running python on my pc...i just > started learning python last month in codeacademy.com but i've not > been able to code offline 'cos i don't knw how to go

python on windows

2013-02-16 Thread babatunde akerele
hello, i'm having problem coding and running python on my pc...i just started learning python last month in codeacademy.com but i've not been able to code offline 'cos i don't knw how to go abt installing the compiler and all that. Any help please? -- http://mail.python.org/mailman/listinfo/python

Re: Python on Windows

2012-10-20 Thread Gisle Vanem
"Tim Golden" wrote: In general, you'll want to be using a mechanism such as pip: http://pypi.python.org/pypi/pip which will look things up on PyPI so you can just do "pip install newmodule". And if you have a pip.bat from some Perl installation sitting before python's Scripts dir in your

Re: Python on Windows

2012-10-19 Thread Tim Golden
On 19/10/2012 15:23, Mark Lawrence wrote: > On 19/10/2012 14:44, Tim Golden wrote: >> >> (In general, PyPI is the first place to look for Python packages). >> >> > > For the benefit of the OP and others this is worth reading on how to get > Python packages from pypi that let you get Python package

Re: Python on Windows

2012-10-19 Thread Tim Golden
[Could I suggest snipping some of the preceding replies unless you're referring directly to them? Just leave enough to make the context clear] [... attempts to find feedparser module for beginner's tutorial ...] On 19/10/2012 15:12, graham wrote: > Once again thanks to those that replied. > > Si

Re: Python on Windows

2012-10-19 Thread Mark Lawrence
On 19/10/2012 14:44, Tim Golden wrote: (In general, PyPI is the first place to look for Python packages). For the benefit of the OP and others this is worth reading on how to get Python packages from pypi that let you get Python packages from pypi http://stackoverflow.com/questions/4750806

Re: Python on Windows

2012-10-19 Thread graham
On 19/10/2012 14:24, graham wrote: On 16/10/2012 12:29, graham wrote: Downloaded and installed Python 2.7.3 for windows (an XP machine). Entered the Python interactive interpreter/command line and typed the following: >>>import feedparser and I get the error message "No module named fee

Re: Python on Windows

2012-10-19 Thread Tim Golden
On 19/10/2012 14:24, graham wrote: > Python was installed in the subdirectory C:\Python27 with the file > feedparser.py residing in C:\Python27\Lib\email. > > Setting the Windows environment variable (which did not previously > exist) to C:\Python27\Lib\email allowed me to import feedparser > succ

Re: Python on Windows

2012-10-19 Thread rusi
On Oct 19, 6:24 pm, graham wrote: > On 16/10/2012 12:29, graham wrote: > > > > > > > > > > > > > Downloaded and installed Python 2.7.3 for windows (an XP machine). > > > Entered the Python interactive interpreter/command line and typed the > > following: > > >      >>>import feedparser > > > and I

Re: Python on Windows

2012-10-19 Thread Tim Golden
On 19/10/2012 14:24, graham wrote: > Thanks to everyone who replied. > > Python was installed in the subdirectory C:\Python27 with the file > feedparser.py residing in C:\Python27\Lib\email. > > Setting the Windows environment variable (which did not previously > exist) to C:\Python27\Lib\email a

Re: Python on Windows

2012-10-19 Thread graham
On 16/10/2012 12:29, graham wrote: Downloaded and installed Python 2.7.3 for windows (an XP machine). Entered the Python interactive interpreter/command line and typed the following: >>>import feedparser and I get the error message "No module named feedparser". There is a feedparser.py

Re: Python on Windows

2012-10-16 Thread Dwight Hutto
On Tue, Oct 16, 2012 at 7:35 AM, Marco Nawijn wrote: > On Tuesday, October 16, 2012 1:29:23 PM UTC+2, graham wrote: >> Downloaded and installed Python 2.7.3 for windows (an XP machine). >> >> >> >> Entered the Python interactive interpreter/command line and typed the >> >> following: >> >> >> >>

Re: Python on Windows

2012-10-16 Thread Joel Goldstick
On Tue, Oct 16, 2012 at 7:29 AM, graham wrote: > > Downloaded and installed Python 2.7.3 for windows (an XP machine). > > Entered the Python interactive interpreter/command line and typed the > following: > > >>>import feedparser > > and I get the error message "No module named feedparser"

Re: Python on Windows

2012-10-16 Thread Marco Nawijn
On Tuesday, October 16, 2012 1:29:23 PM UTC+2, graham wrote: > Downloaded and installed Python 2.7.3 for windows (an XP machine). > > > > Entered the Python interactive interpreter/command line and typed the > > following: > > > > >>>import feedparser > > > > and I get the error mes

Python on Windows

2012-10-16 Thread graham
Downloaded and installed Python 2.7.3 for windows (an XP machine). Entered the Python interactive interpreter/command line and typed the following: >>>import feedparser and I get the error message "No module named feedparser". There is a feedparser.py file lurking around - so I supp

Re: EXTERNAL: Re: missing python-config and building python on Windows

2012-08-01 Thread Terry Reedy
On 8/1/2012 7:47 AM, Damon Register wrote: On 7/31/2012 11:49 PM, Mark Hammond wrote: On 1/08/2012 10:48 AM, Damon Register wrote: 1. though I have looked in a few readme files, I don't see instructions for installing what I have just built using MSVC. Where can I find the instructions

RE: EXTERNAL: Re: missing python-config and building python on Windows

2012-08-01 Thread Prasad, Ramit
> On 7/31/2012 11:49 PM, Mark Hammond wrote: > > On 1/08/2012 10:48 AM, Damon Register wrote: > >> 1. though I have looked in a few readme files, I don't see instructions for > >> installing what I have just built using MSVC. Where can I find the > >> instructions for installing after buil

Re: EXTERNAL: Re: missing python-config and building python on Windows

2012-08-01 Thread Damon Register
On 7/31/2012 11:49 PM, Mark Hammond wrote: On 1/08/2012 10:48 AM, Damon Register wrote: 1. though I have looked in a few readme files, I don't see instructions for installing what I have just built using MSVC. Where can I find the instructions for installing after building with MSVC?

Re: missing python-config and building python on Windows

2012-07-31 Thread Mark Hammond
On 1/08/2012 10:48 AM, Damon Register wrote: I am attempting to build gtk and glade using mingw/msys. It seems that some of the packages require python. I installed 2.7.3 using the installer from python.org. That worked for some of the packages but now I am trying to do one that needs python-c

missing python-config and building python on Windows

2012-07-31 Thread Damon Register
I am attempting to build gtk and glade using mingw/msys. It seems that some of the packages require python. I installed 2.7.3 using the installer from python.org. That worked for some of the packages but now I am trying to do one that needs python-config which I don't find in the installation d

Re: Install Python on Windows without Start Menu icons?

2011-12-05 Thread snorble
On Dec 5, 2:01 am, Wolfgang Strobl wrote: > "Pedro Henrique G. Souto" : > > >On 02/12/2011 16:34, snorble wrote: > >> Is it possible to automate the Python installation on Windows using > >> the MSI file so it does not add a Start Menu folder? I would like to > >> push out Python to all of my offi

Re: Install Python on Windows without Start Menu icons?

2011-12-05 Thread Brian Curtin
On Fri, Dec 2, 2011 at 12:34, snorble wrote: > Is it possible to automate the Python installation on Windows using > the MSI file so it does not add a Start Menu folder? I would like to > push out Python to all of my office workstations, but I'd like for it > to be relatively silent from the user

Re: Install Python on Windows without Start Menu icons?

2011-12-05 Thread Lie Ryan
On 12/05/2011 07:01 PM, Wolfgang Strobl wrote: "Pedro Henrique G. Souto": On 02/12/2011 16:34, snorble wrote: Is it possible to automate the Python installation on Windows using the MSI file so it does not add a Start Menu folder? I would like to push out Python to all of my office workstation

Re: Install Python on Windows without Start Menu icons?

2011-12-05 Thread Wolfgang Strobl
"Pedro Henrique G. Souto" : >On 02/12/2011 16:34, snorble wrote: >> Is it possible to automate the Python installation on Windows using >> the MSI file so it does not add a Start Menu folder? I would like to >> push out Python to all of my office workstations, but I'd like for it >> to be relative

Re: Install Python on Windows without Start Menu icons?

2011-12-03 Thread Pedro Henrique G. Souto
On 02/12/2011 16:34, snorble wrote: Is it possible to automate the Python installation on Windows using the MSI file so it does not add a Start Menu folder? I would like to push out Python to all of my office workstations, but I'd like for it to be relatively silent from the user's point of view.

Install Python on Windows without Start Menu icons?

2011-12-02 Thread snorble
Is it possible to automate the Python installation on Windows using the MSI file so it does not add a Start Menu folder? I would like to push out Python to all of my office workstations, but I'd like for it to be relatively silent from the user's point of view. -- http://mail.python.org/mailman/li

Re: How to print via python on windows

2010-06-14 Thread Tim Golden
On 14/06/2010 7:29 PM, rantingrick wrote: On Jun 14, 10:55 am, Tim Golden wrote: On 14/06/2010 16:31, loial wrote: What is the easiest way to send a text file to a networked printer from a python script running on windows? http://timgolden.me.uk/python/win32_how_do_i/print.html H

Re: How to print via python on windows

2010-06-14 Thread rantingrick
On Jun 14, 10:55 am, Tim Golden wrote: > On 14/06/2010 16:31, loial wrote: > > > What is the easiest way to send a text file to a networked printer > > from a python script running on windows? > >    http://timgolden.me.uk/python/win32_how_do_i/print.html Hello Tim, Thanks for posting this wond

Re: How to print via python on windows

2010-06-14 Thread Tim Golden
On 14/06/2010 16:31, loial wrote: What is the easiest way to send a text file to a networked printer from a python script running on windows? http://timgolden.me.uk/python/win32_how_do_i/print.html TJG -- http://mail.python.org/mailman/listinfo/python-list

How to print via python on windows

2010-06-14 Thread loial
What is the easiest way to send a text file to a networked printer from a python script running on windows? -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling Python on Windows : how to deal with modules ?

2009-05-12 Thread r2d3
Hi all, after some investigation, I managed to find how to do this "manually". I post it here if it could help others... 1) on windows, mostly all the dynamic libraries (time, socket, ...) are statically linked into python26.dll 2) all the modules are located in lib/ and some .pyd (in fact rename

  1   2   >