Post it somewhere on github and I'll try to take a look at it.
Lukas
On 06/10/2014 05:51 PM, 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
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 rea
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 - Tutor@python.o
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, ca
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 bee
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 s
On Tue, Jun 10, 2014 at 2:00 PM, Jon Engle 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 port: 65520
>
>
On Tue, Jun 10, 2014 at 9:28 AM, Jon Engle 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):
> thread.start_new_thread(s
On Jun 10, 2014 3:14 PM, "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.
>
>
Also, copy and paste code. Use text only not rtfm or html to post. Lose
the curly braces. Python doesn't need
On Tue, Jun 10, 2014 at 7:55 AM, 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
>
You need quotes.
Stephen (without quotes) is an object, which you haven't previously
defined. 'Stephen' is a string, whic
On Tue, Jun 10, 2014 at 5:28 PM, Jon Engle 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 variable.
_
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 la
On Jun 10, 2014 3:14 PM, "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.
>
>
You need to quote 'Stephen' ___
> Tutor maillist - Tutor@python.or
Thank you for your help! This updated code does not "bind" the selected
port to a "listen" state, it simply exits. I feel like part of this has to
do with the creation of a procedure. Any ideas/recommendations on how to
make this loop "bind" to a socket?
#!/usr/bin/python # This is s
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 woul
On Jun 10, 2014, at 2:42 AM, 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
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 D
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
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 infor
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 bl
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 somethin
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 g
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
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 already.
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 whe
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 scr
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 se
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.
--
28 matches
Mail list logo