Hi All,
This is a Pygame related question and if not answered it's ok and I
apologise for asking. But if someone can answer it is much appreciated.
In Pygame Which is faster?
1. filling the screen with a colour
or
2. blitting an image to screen
Thank you for the time.
May you be well.
--
I am trying to open ports 1025-65535 with the following code (Mostly found
online with small modifications). I am unable to bind anything other than
the one port which is selected as input. What am I missing and how do I
bind all the ports simultaneously?
#!/usr/bin/python # This is
On 10/06/14 07:42, diliup gabadamudalige wrote:
Hi All,
This is a Pygame related question and if not answered it's ok and I
apologise for asking. But if someone can answer it is much appreciated.
In Pygame Which is faster?
1. filling the screen with a colour
or
2. blitting an image to
Hi,
fist - are you really triyng to have open 64 000 ports? ok, i suppose
you have your reasons, but this is not a good idea - you'll block most
applications that use these ports ..
The problem is with your main function -
you have PORT defined, but it is not global, it is only local, and
On 10/06/14 00:33, Jon Engle wrote:
I am trying to open ports 1025-65535 with the following code
Why would you want to do that?
It sounds like a great way to cripple your PC as it runs 64000 threads
monitoring each of those ports. And it assumes that nothing else is
using those ports
On Tue, Jun 10, 2014 at 12:12:56PM +0530, diliup gabadamudalige wrote:
In Pygame Which is faster?
1. filling the screen with a colour
or
2. blitting an image to screen
Why don't you time it and find out? Don't forget to come back and report
what you discover, I'm sure I'm not the
Lukas Nemec wrote:
Hi,
fist - are you really triyng to have open 64 000 ports? ok, i suppose
you have your reasons, but this is not a good idea - you'll block most
applications that use these ports ..
The problem is with your main function -
you have PORT defined, but it is not global,
I'm posting via gmane. Since last month there is a delay (usually a few
hours I think) until my posts appear and I seem to be getting a
Your message to Tutor awaits moderator approval, would you like to
cancel...
mail every time I post. I'm trying hard to not get annoyed ;)
Is there something
Thank you for taking the time to help me understand, here is what I am
trying to accomplish:
Client FW Server
-
1024 | Allow | 1024
1025 | Deny | 1025
1026 | Allow | 1026
65535 | | 65535
I am trying to test the outbound configuration of a firewall (treat it like
a
Hi,
I use Maple for my modelling work, and now I am considering switching to
Python. Lately, I've spend some time on the documentation of python and SciPy(
python based maths package), but only managed to find a ODE solver, can someone
familiar with python ODE and DAE solver send me more
On 10/06/14 09:43, Peter Otten wrote:
I'm posting via gmane. Since last month there is a delay (usually a few
hours I think) until my posts appear and I seem to be getting a
Your message to Tutor awaits moderator approval, would you like to
cancel...
Something has changed on the list server
On 10/06/14 13:07, He Yang wrote:
I use Maple for my modelling work, and now I am considering switching to
Python. Lately, I've spend some time on the documentation of python
and SciPy( python based maths package), but only managed to find a ODE
solver, can someone familiar with python ODE and
On Jun 10, 2014, at 2:42 AM, diliup gabadamudalige dili...@gmail.com wrote:
Hi All,
This is a Pygame related question and if not answered it's ok and I apologise
for asking. But if someone can answer it is much appreciated.
In Pygame Which is faster?
1. filling the screen with a
Hi there. I've been writing a script that is now finished and working
(thanks, in part, to some helpful input from this board). What I'd
really like to do now is go through it with an 'expert' who can point
out ways I may have been able to code more efficiently/effectively. I
don't think it
On Jun 10, 2014 3:14 PM, Stephen Brazil steph...@nmsu.edu wrote:
Hello! I am brand new to python and need to know how to make the attached
lines of code work. Should be pretty self-explanatory.
You need to quote 'Stephen' ___
Tutor maillist -
On 10/06/2014 15:55, Stephen Brazil wrote:
Hello! I am brand new to python and need to know how to make the
attached lines of code work. Should be pretty self-explanatory.
I am not responding to Stephen and his amazing technicolour code, sorry :-(
--
My fellow Pythonistas, ask not what our
On Tue, Jun 10, 2014 at 5:28 PM, Jon Engle jon.en...@gmail.com wrote:
startingPort=input(\nPlease enter starting port: )
startingPort=int(startingPort)
def setup(PORT):
PORT = startingPort#arbitrary port not currently in use
There's a conflict with this PORT
On Tue, Jun 10, 2014 at 7:55 AM, Stephen Brazil steph...@nmsu.edu wrote:
Hello! I am brand new to python and need to know how to make the attached
lines of code work. Should be pretty
You need quotes.
Stephen (without quotes) is an object, which you haven't previously
defined. 'Stephen' is
On Jun 10, 2014 3:14 PM, Stephen Brazil steph...@nmsu.edu wrote:
Hello! I am brand new to python and need to know how to make the attached
lines of code work. Should be pretty self-explanatory.
Also, copy and paste code. Use text only not rtfm or html to post. Lose
the curly braces. Python
On Tue, Jun 10, 2014 at 9:28 AM, Jon Engle jon.en...@gmail.com wrote:
for port in range (startingPort, 65535):
thread.start_new_thread(setup, (port,))
startingPort=startingPort+1
#print startingPort
I think you just need this:
for port in range (startingPort, 65535):
On Tue, Jun 10, 2014 at 2:00 PM, Jon Engle jon.en...@gmail.com wrote:
Ok, so after making the changes the code does bind the startingPort
variable but that is the only port that gets bound. Also when connecting to
the startingPort I receive the following error:
Please enter starting
On Tue, Jun 10, 2014 at 09:57:51PM +0530, diliup gabadamudalige wrote:
Thank you very much for the links. I will install this module, time the two
code snippets and then share the info. Thank you very much!
You're welcome, but there is no need to install the timeit module, it is
part of the
On Tue, Jun 10, 2014 at 04:51:20PM +0100, Adam Gold wrote:
Hi there. I've been writing a script that is now finished and working
(thanks, in part, to some helpful input from this board). What I'd
really like to do now is go through it with an 'expert' who can point
out ways I may have been
On Tue, Jun 10, 2014 at 08:07:56PM +0800, He Yang wrote:
Hi,
I use Maple for my modelling work, and now I am considering switching
to Python. Lately, I've spend some time on the documentation of python
and SciPy( python based maths package), but only managed to find a ODE
solver, can
On 2014-06-10 07:55, Stephen Brazil wrote:
Hello! I am brand new to python and need to know how to make the
attached lines of code work. Should be pretty self-explanatory.
[cid:40C1630E-BBA6-41A6-A641-3B1FBE3CBFB8]
___
Tutor maillist -
On 10/06/14 15:55, Stephen Brazil wrote:
Hello! I am brand new to python and need to know how to make the
attached lines of code work. Should be pretty self-explanatory.
Not if your mail tool doesn't display images. This is a text based list
so your code is invisible... But on another mail
26 matches
Mail list logo