I didn't create exe files they kind of just appeared I guess? Perhaps somewhere
in the process of redownloading my python/visual studio?
My situation is similar to this person's description that I found online
https://stackoverflow.com/questions/62315149/why-are-my-python-packages-being-installed
> On 20 Aug 2022, at 14:28, Jim Schwartz wrote:
>
> What method did you use to create the exe file from your python scripts? If
> it was pyinstaller, then it puts the compiled versions of these python
> scripts in a windows temp folder when you run them. You’ll be able to get the
> scripts
What method did you use to create the exe file from your python scripts? If it
was pyinstaller, then it puts the compiled versions of these python scripts in
a windows temp folder when you run them. You’ll be able to get the scripts from
there.
Sent from my iPhone
> On Aug 19, 2022, at 9:51
Remember to reply-all, so that python-list is included and can still see
responses and offer help.
If Python won't open them, then how do you know the scripts work? They work on
someone else's computer you mean?
Please provide the basics then so we can try to help out.
What OS are you using?
H
> im having problems when running python scripts
>
> When running the scripts it always closes immediately
If you're running it in Windows, and running it by double clicking on a .py
file, then it will pop up a console window while it's running, and then
immediately close that window when the s
On 04/08/2019 10:29, Arun Kumar wrote:
In python application in scripts folder files are missing then how to
get those files.
That depends on exactly what you mean by "files are missing". If (most
likely) the application is trying to import a third party module that
you don't have instal
On Friday, October 19, 2012 12:32:48 PM UTC+2, Gilles wrote:
> In that case, are you sure a web script is a good idea? If you're
> thinking web to make it easy for people to upload data, click on a
> button, and get the results back, you might want to write the UI in
> Python but write the number c
On Thu, 18 Oct 2012 23:05:48 -0700 (PDT), chip9m...@gmail.com wrote:
>these scripts will do a lot of calculation on a big dataset, and it is
>possible that there will be many requests in a short period of time.
In that case, are you sure a web script is a good idea? If you're
thinking web to make
On Thursday, October 18, 2012 11:10:45 PM UTC+2, Zero Piraeus wrote:
> WSGI would enable you to write a persistent application that sits
> around waiting for requests and returns responses for them as and
> when, as opposed to a simple CGI script that gets started each time a
> request comes in, an
:
On 18 October 2012 12:03, wrote:
> yes, but as I have just answered to Zero, is using mod_wsgi a better strategy?
WSGI would enable you to write a persistent application that sits
around waiting for requests and returns responses for them as and
when, as opposed to a simple CGI script that ge
thank you guys for pointing the double posting issue out, I am having some
issues with the news server i am using, so I am doing this via google.groups at
the time! :)
i think i managed to fix it
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, October 18, 2012 12:02:40 PM UTC+2, Zero Piraeus wrote:
> Assuming your scripts accept the request as sent and return an
> appropriate response, they are CGI scripts (unless there's some
> wrinkle in the precise definition of CGI that escapes me right now).
yes, they are, but, I came
thank you for the answer!
On Thursday, October 18, 2012 12:03:02 PM UTC+2, Chris Angelico wrote:
> CGI is a protocol between Apache and your script. What you want to do
> is set up Apache to call your CGI scripts.
yes, but as I have just answered to Zero, is using mod_wsgi a better strategy?
--
On 10/18/2012 04:02 AM, Zero Piraeus wrote:> On 18 October 2012 05:22,
wrote:
>>[...]
> By the way: are you using Google Groups? It's just that I'm led to
> understand that it's recently started to misbehave [more than it used
> to], and your replies are addressed to both
> and ,
> which is red
On Thu, Oct 18, 2012 at 8:22 PM, wrote:
> On Thursday, October 18, 2012 10:42:56 AM UTC+2, Zero Piraeus wrote:
>> That is exactly what a webserver does. Is there some reason you don't
>> want to use e.g. Apache to handle the requests?
>
> no reason at all. so i guess the solution is much easier t
:
On 18 October 2012 05:22, wrote:
> So i guess in that case i do not need cgi or anything?
Assuming your scripts accept the request as sent and return an
appropriate response, they are CGI scripts (unless there's some
wrinkle in the precise definition of CGI that escapes me right now).
> Than
On Thursday, October 18, 2012 10:42:56 AM UTC+2, Zero Piraeus wrote:
> That is exactly what a webserver does. Is there some reason you don't
> want to use e.g. Apache to handle the requests?
no reason at all. so i guess the solution is much easier then I have
anticipated.
So i guess in that case
:
On 18 October 2012 04:10, wrote:
> I will give you an example. So let us say I create two simple python
> scripts, one does the sum of two numbers
> the other one does the multiplication. SO now I want to put these
> scripts on the server. Now let us say there is a web page that would
> like t
To explain, I am basically doing different algorithms and would like to make
them work and be accessible as I mentioned in the example... and to add them to
the functionality of a specific page... so I have experience in programming,
just no experience in web development etc..
On Thursday, Oct
:
On 18 October 2012 03:18, wrote:
> Here is what I need to do: on some webpage (done in php, or any other
> different technology), user inputs some data, that data and the
> request then goes to the server where python scripts calculate
> something and return the result to the users end.
>
> No
On Feb 29, 4:21 am, alister wrote:
> On Tue, 28 Feb 2012 19:59:40 -0800, scripts examples wrote:
> > Got a web site setup for solving euler problems in python, perl,
> > ruby and javascript.
>
> > Feel free to give me any feedback, thanks.
>
> Failing to give a link to the site is a pretty fund
On Tue, 28 Feb 2012 19:59:40 -0800, scripts examples wrote:
> Got a web site setup for solving euler problems in python, perl,
> ruby and javascript.
>
>Feel free to give me any feedback, thanks.
Failing to give a link to the site is a pretty fundamental failure
--
Please take note:
--
On Tue, Feb 28, 2012 at 10:59 PM, scripts examples <
example.scri...@gmail.com> wrote:
>
> Got a web site setup for solving euler problems in python, perl,
> ruby and javascript.
>
> Feel free to give me any feedback, thanks.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
Mark Carter wrote:
On my machine, I can go to a DOS shell, and type
myscript.py
This will cause the script to be run as a python script. So that bit
works.
On another machine, on which python was set up without admin
privileges, if I type
myscript.py
it will open the "Open With" dialog box
On 9 srp, 11:37, Mark Carter wrote:
> On my machine, I can go to a DOS shell, and type
> myscript.py
> This will cause the script to be run as a python script. So that bit
> works.
>
> On another machine, on which python was set up without admin
> privileges, if I type
> myscript.py
> it wil
On 07/09/2010 11:37 AM, Mark Carter wrote:
> On my machine, I can go to a DOS shell, and type
>myscript.py
> This will cause the script to be run as a python script. So that bit
> works.
>
> On another machine, on which python was set up without admin
> privileges, if I type
Which operating s
On Mar 31, 7:24 pm, Amit Gupta <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am looking for a some tool that can convert python scripts to
> executable on Linux.
>
> I found freeeze.py as the only option so far. Couple of queries on
> freeze:
>
> 1. Have anyone used the freeze utility and any experiences t
On Mar 31, 4:53 pm, Amit Gupta <[EMAIL PROTECTED]> wrote:
> On Mar 31, 1:52 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
>
>
> > What about creating a setup.py and using the distutils command to
> > build rpms or tarballs?
>
> >http://docs.python.org/dist/built-dist.html
>
> > Mike
>
> My quick l
On Mar 31, 1:52 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
> What about creating a setup.py and using the distutils command to
> build rpms or tarballs?
>
> http://docs.python.org/dist/built-dist.html
>
> Mike
My quick look: The link you sent is under the header "Distributing
Python Modules".
On Mar 31, 12:24 pm, Amit Gupta <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am looking for a some tool that can convert python scripts to
> executable on Linux.
>
> I found freeeze.py as the only option so far. Couple of queries on
> freeze:
>
> 1. Have anyone used the freeze utility and any experiences
On Mar 31, 11:45 am, John Henry <[EMAIL PROTECTED]> wrote:
> Not sure. I use it on windows.
>
> > I haven't looked at pyinstall.. Is it for linux?
>
> It appears so - according tohttp://www.pyinstaller.org/
Thanks! It does show support for Linux. The documentation says it
works for python until
On Mar 31, 10:38 am, Amit Gupta <[EMAIL PROTECTED]> wrote:
> On Mar 31, 10:37 am, John Henry <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 31, 10:24 am, Amit Gupta <[EMAIL PROTECTED]> wrote:
>
> > > Hi
>
> > > I am looking for a some tool that can convert python scripts to
> > > executable on Linux.
On Mar 31, 10:37 am, John Henry <[EMAIL PROTECTED]> wrote:
> On Mar 31, 10:24 am, Amit Gupta <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi
>
> > I am looking for a some tool that can convert python scripts to
> > executable on Linux.
>
> > I found freeeze.py as the only option so far. Couple of queries o
On Mar 31, 10:24 am, Amit Gupta <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am looking for a some tool that can convert python scripts to
> executable on Linux.
>
> I found freeeze.py as the only option so far. Couple of queries on
> freeze:
>
> 1. Have anyone used the freeze utility and any experiences
Thank you,
William
- Original Message
From: Rolf van de Krol <[EMAIL PROTECTED]>
To: python-list@python.org
Sent: Saturday, January 19, 2008 5:33:59 PM
Subject: Re: python scripts with IIS
Adding the following lines before your print statement should do the
trick. IIS complains
Adding the following lines before your print statement should do the
trick. IIS complains about the headers, so adding headers should help.
print "Content-Type: text/html" # HTML is following
print # blank line, end of headers
william paul wrote:
>
> Hello:
Steve Holden <[EMAIL PROTECTED]> writes:
> Underlining your point, the difference between the two is that digest
> offers *strong* authentication (i.e. is not subject to replay attacks)
As I mentioned in another post, that's really not enough, since digest
still exposes the password hash to offlin
Peter Hansen wrote:
> BartlebyScrivener wrote:
>
>>>but googling for "basic authentication" and
>>>maybe "realm" and/or "host" will find you other sites with less
>>>technically detailed material.
>>
>>This looks promising, but it'll take me a week to understand it :)
>>
>>http://www.voidspace.org
Mike Meyer <[EMAIL PROTECTED]> writes:
> Only if the userid and password are part of the content. If you're
> doing the usual form-based authentication, then they are. If you're
> doing an HTTP-based authentication, then they aren't - the
> authentication information is in the headers, and can be p
Peter Hansen <[EMAIL PROTECTED]> writes:
> Mike Meyer wrote:
>> Peter Hansen <[EMAIL PROTECTED]> writes:
>>>By the way, note that neither basic auth nor digest auth provide any
>>>real security, and in fact with basic auth the userid and password are
>>>sent *in cleartext*. For any serious product
Peter Hansen <[EMAIL PROTECTED]> writes:
> My information about digest was either obsolete or simply wrong, as I
> didn't realize it had all the nonce and anti-replay support it appears
> to have. (I may have been remembering articles about how much of that
> wasn't supported widely at some time i
Mike Meyer wrote:
> Peter Hansen <[EMAIL PROTECTED]> writes:
>>By the way, note that neither basic auth nor digest auth provide any
>>real security, and in fact with basic auth the userid and password are
>>sent *in cleartext*. For any serious production site these techniques
>>should probably not
Peter Hansen <[EMAIL PROTECTED]> writes:
> By the way, note that neither basic auth nor digest auth provide any
> real security, and in fact with basic auth the userid and password are
> sent *in cleartext*. For any serious production site these techniques
> should probably not be used without add
Thanks, Peter.
Peter Hansen wrote:
> BartlebyScrivener wrote:
> >>but googling for "basic authentication" and
> >>maybe "realm" and/or "host" will find you other sites with less
> >>technically detailed material.
> >
> > This looks promising, but it'll take me a week to understand it :)
> >
> > ht
BartlebyScrivener wrote:
>>but googling for "basic authentication" and
>>maybe "realm" and/or "host" will find you other sites with less
>>technically detailed material.
>
> This looks promising, but it'll take me a week to understand it :)
>
> http://www.voidspace.org.uk/python/articles/authenti
> but googling for "basic authentication" and
> maybe "realm" and/or "host" will find you other sites with less
> technically detailed material.
This looks promising, but it'll take me a week to understand it :)
http://www.voidspace.org.uk/python/articles/authentication.shtm
Thanks for your help
BartlebyScrivener wrote:
> New to Python and Programming. Trying to make scripts that will open
> sites and automatically log me on.
[snip]
> Does anyone have a simple example of a script that opens, say, gmail or
> some other commonly accessed site that requires a username and password
> so that I
"BartlebyScrivener" <[EMAIL PROTECTED]> writes:
> New to Python and Programming. Trying to make scripts that will open
> sites and automatically log me on.
A common enough things to want to do.
> The following example is from the urllib2 module.
>
> What are "realm" and "host" in this example.
H
BartlebyScrivener wrote:
> New to Python and Programming. Trying to make scripts that will open
> sites and automatically log me on.
>
> The following example is from the urllib2 module.
>
> What are "realm" and "host" in this example.
http://www.ietf.org/rfc/rfc2617.txt probably provides more b
Nick Vargish wrote:
> windozbloz <[EMAIL PROTECTED]> writes:
>
>> It now works from the command line like you said. Shouldn't I also be
>> able to 'click' an icon that has been set to executable and launch the
>> whole process that way?
>
> You'll need to put an interpreter line at the beginnin
windozbloz <[EMAIL PROTECTED]> writes:
> It now works from the command line like you said. Shouldn't I also be able
> to 'click' an icon that has been set to executable and launch the whole
> process that way?
You'll need to put an interpreter line at the beginning of your
script, as other poste
On Mon, 2005-07-18 at 17:22 +0100, John Abel wrote:
> windozbloz wrote:
>
> >Bye Bye Billy Bob...
> >
> >Hello All,
> >I'm a fairly literate windoz amateur programmer mostly in visual basic. I
> >have switched to SuSE 9.2 Pro and am trying to quickly come up to speed
> >with Python 2.3.4. I can r
Damjan wrote:
>
>> I'm a fairly literate windoz amateur programmer mostly in visual basic. I
>> have switched to SuSE 9.2 Pro and am trying to quickly come up to speed
>> with Python 2.3.4. I can run three or four line scripts from the command
>> line but have not been able to execute a script f
> I'm a fairly literate windoz amateur programmer mostly in visual basic. I
> have switched to SuSE 9.2 Pro and am trying to quickly come up to speed
> with Python 2.3.4. I can run three or four line scripts from the command
> line but have not been able to execute a script from a file.
>
> I ha
windozbloz wrote:
>Bye Bye Billy Bob...
>
>Hello All,
>I'm a fairly literate windoz amateur programmer mostly in visual basic. I
>have switched to SuSE 9.2 Pro and am trying to quickly come up to speed
>with Python 2.3.4. I can run three or four line scripts from the command
>line but have not be
55 matches
Mail list logo