On Saturday, July 29, 2017 at 10:24:20 PM UTC-5, MRAB wrote:
> What is the difference between (1) and (4)?
Case in point. ;-)
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-07-29 17:59, Rick Johnson wrote:
On Saturday, July 29, 2017 at 4:59:26 AM UTC-5, Steve D'Aprano wrote:
On Sat, 29 Jul 2017 06:34 pm, Kryptxy wrote:
> Would it get me around legal issues, that is making this
> tool completely legal?
Do you think we are lawyers? We're not. Even if we
On Saturday, July 29, 2017 at 4:59:26 AM UTC-5, Steve D'Aprano wrote:
> On Sat, 29 Jul 2017 06:34 pm, Kryptxy wrote:
>
> > Would it get me around legal issues, that is making this
> > tool completely legal?
>
> Do you think we are lawyers? We're not. Even if we were,
> we're not lawyers who are
On Sat, 29 Jul 2017 06:34 pm, Kryptxy wrote:
> Would it get me around legal issues, that is making this tool completely
> legal?
Do you think we are lawyers? We're not.
Even if we were, we're not lawyers who are expert on the legal system of every
country in the world. What country's laws are
Hello,
I have developed a python program (tool) that fetches torrents from
thepiratebay proxy sites and displays results in console/terminal window.
Here: github.com/kryptxy/torrench
Now, since thepiratebay contains illegal content, I am restricted from
packaging this tool for other distros
alex23 wrote:
On Oct 23, 3:15 pm, Larry Bates [EMAIL PROTECTED] wrote:
Bruno is correct, the protocol IS https, you don't type shttp into your browser
get secure http connection.
https[1] and shttp[2] are two entirely different protocols.
[1] http://en.wikipedia.org/wiki/Https
[2]
On Oct 23, 3:15 pm, Larry Bates [EMAIL PROTECTED] wrote:
Bruno is correct, the protocol IS https, you don't type shttp into your
browser
get secure http connection.
https[1] and shttp[2] are two entirely different protocols.
[1] http://en.wikipedia.org/wiki/Https
[2]
Larry Bates a écrit :
azrael wrote:
On Oct 22, 9:48 am, Bruno Desthuilliers bruno.
[EMAIL PROTECTED] wrote:
azrael a écrit :
If my memory is me well http transfers data in plaintext.
Because of
the risk of datacapturing, is there a better soulutioon to suggest to
be more secure like shttp
I
azrael a écrit :
There have been some discutions with my partner about which protocol
to use. We agreed to use also http. But we are looking for a
possibility to use something to trasfer python objects like Json
objects.
'like' ???
there are a couple json implementation for Python, and for
I mean shttp. (secure hyper text transfer protocol)
On Oct 22, 9:48 am, Bruno Desthuilliers bruno.
[EMAIL PROTECTED] wrote:
azrael a écrit :
There have been some discutions with my partner about which protocol
to use. We agreed to use also http. But we are looking for a
possibility to
azrael wrote:
I mean shttp. (secure hyper text transfer protocol)
On Oct 22, 9:48 am, Bruno Desthuilliers bruno.
[EMAIL PROTECTED] wrote:
azrael a écrit :
There have been some discutions with my partner about which protocol
to use. We agreed to use also http. But we are looking for a
I am starting to work on a application and need some advice.
I am planing to develop a desktop application which would have some
usage, but also it should be able to comunicate to a web server which
hosts a php web application. So I wanted to ask if someone has some
expirience with connecting PHP
On Tue, Oct 21, 2008 at 9:13 PM, azrael [EMAIL PROTECTED] wrote:
I am starting to work on a application and need some advice.
I am planing to develop a desktop application which would have some
usage, but also it should be able to comunicate to a web server which
hosts a php web application
I am planing to develop a desktop application which would have
some usage, but also it should be able to comunicate to a web
server which hosts a php web application. So I wanted to ask
if someone has some expirience with connecting PHP
webapplications with Python desktop applications. Could
On Oct 21, 5:43 pm, azrael [EMAIL PROTECTED] wrote:
Need some advice
I advice to come up with a more specific subject line for your posts,
might give you some more answers
--
http://mail.python.org/mailman/listinfo/python-list
azrael a écrit :
I am starting to work on a application and need some advice.
I am planing to develop a desktop application which would have some
usage, but also it should be able to comunicate to a web server which
hosts a php web application. So I wanted to ask if someone has some
expirience
of datacapturing, is there a better soulutioon to suggest to
be more secure like shttp if it is implemented in python
On Oct 21, 6:34 pm, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
azrael a écrit :
I am starting to work on a application and need some advice.
I am planing to develop a desktop
well, for what i tried, ticstrings just contained a list of times
formatted like
[10-21 09:15, 10-21 09:44, 10-21 09:59, and so on.]
i did write mine a little different than the example that Grant gave me
because its a little
different application of time.
i think i am having trouble knowing
On 2005-10-24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
ok, i am stuck a bit here with this line
gp('set xtics (%s)' % ','.join(ticstrings))
the error code says that it is looking for a closing parenthesis.
Well, what is the value of ticstrings?
Try passing the parameter debug=1 to
On 2005-10-25, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
well, for what i tried, ticstrings just contained a list of times
formatted like
[10-21 09:15, 10-21 09:44, 10-21 09:59, and so on.]
OK. What did ticstrings contain in the demo I wrote for you?
[When somebody who is trying to help
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
If the x-axis is time, gnuplot will plot it correctly but it will connect
*all* the datapoints and scale the x-axis so that everything will fit on the
graph. Is it the autoscaling or conneting that what you think is wrong?
Getting a
Ok, first off, thanks for all the help guys,
this part set xtics (label pos, label pos, label pos)
is mainly what i was confused about. the 'pos' part. i think that the
way i am writing
this leaves this out. in fact, i am pretty sure.
here is the code i am trying out.
def draw_chart(self,
On 2005-10-25, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ok, first off, thanks for all the help guys,
this part set xtics (label pos, label pos, label pos)
is mainly what i was confused about. the 'pos' part. i think
that the way i am writing this leaves this out. in fact, i am
pretty
On 2005-10-25, Grant Edwards [EMAIL PROTECTED] wrote:
It looks like it. Though I've used custom tics in the past, it
was never for time values. Based on the help from gnuplot, I
suspect you can get what you want without doing custom tics,
but rather using the commands
set xdata time
On 2005-10-25, Grant Edwards [EMAIL PROTECTED] wrote:
It appears that the Gnuplot modules has coerced my data into
single-precision -- thus throwing away most of the resolution
on the x-axis.
Passing Gnuplot.Data a Numeric array object is a good
work-around. Otherwise, Gnuplot.Data will
tics.append('%s %s' % (time.strftime(...), x))
# might need time.localtime(x) for that last term.
ok, tried this and it worked.
but the first plot is at the last plot of data
back to that math mistake i mentioned earlier.
so, thanks much, i will be back when i mess around with it some
WE DID IT !
little more tinkering and correcting this
diff = start_time - end_time (vrs the other way around)
and its working.
so many thanks gents, a lot !
--
http://mail.python.org/mailman/listinfo/python-list
ok, i am stuck a bit here with this line
gp('set xtics (%s)' % ','.join(ticstrings))
the error code says that it is looking for a closing parenthesis.
that and i am kinda new enough not to really get what %s is all about.
i know it formats a string.
can you simply pass a list to 'set xtics' ?
ok, i tried something similar to what you posted.
a little simpler though.
i am running a query on a database and making a list of time, value
pairs
kinda like this
plot_points = ([time, value], [time, value], [time, value])
gnuplot complains that it needs a float for one of the values.
i can plot
[EMAIL PROTECTED] wrote:
i am running a query on a database and making a list of time, value
pairs
kinda like this
plot_points = ([time, value], [time, value], [time, value])
gnuplot complains that it needs a float for one of the values.
i can plot just the value, and it shows up ( no x
the time is DateTime.DateTime object from a mySQLdb query.
the value is a number anywhere between 0 and 15.
the datetime is formatted like 2005-10-20 08:40:34
i could strip it and make a timestamp out of it. but reading the
number of seconds since january of 1970 doesn't make a neat chart.
any
[EMAIL PROTECTED] wrote:
the time is DateTime.DateTime object from a mySQLdb query.
the value is a number anywhere between 0 and 15.
the datetime is formatted like 2005-10-20 08:40:34
i could strip it and make a timestamp out of it. but reading the
number of seconds since january of 1970
On 2005-10-21, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
the time is DateTime.DateTime object from a mySQLdb query. the
value is a number anywhere between 0 and 15. the datetime is
formatted like 2005-10-20 08:40:34
i could strip it and make a timestamp out of it. but reading
the number of
ok, i have a display, and its a work in progress.
lemme get this straight. you used
gp('set term png')
is this an example of sending normal gnuplot commands?
if so, are all of the gnuplot commands available ?
thanks so much this is helping me out a lot here
--
On 2005-10-21, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
gp('set term png')
is this an example of sending normal gnuplot commands?
Yes.
if so, are all of the gnuplot commands available ?
Yes.
--
Grant Edwards grante Yow! Do you like TENDER
this is great, because the docs on gnuplots website are a bit easier
for me to grasp.
thanks so much for your time on this one. you really have helped me a
lot.
i will not get a change to work on this till monday. so i may have more
questions then. This is sure a point in the right direction.
Hey there,
i have tried about every graphing package for python i can get to work
on my system. gnuplot, pychart, biggles, gdchart, etc.. (cant get
matplot to work)
so far, they all are working ok. I need to make an x y chart for some
data that comes in from sensors at different times durring the
On 2005-10-20, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[...] I need to make an x y chart for some data that comes in
from sensors at different times durring the day. i need it to
show the value in the y and the time in the x . no problem so
far. But what i cannot get to happen is to scale
how ?
i have tried to use unix timestamps, and i have also tried with
DateTime objects
do i need to use a scale that isn't linear (default in most) ?
how do i putt this off ?
thanks btw.
sk
--
http://mail.python.org/mailman/listinfo/python-list
I would try to live with time scale being fixed and insert
None (or whatever value is used by charting package) for
times where observations were not taken. This will mean that
you have to preprocess your data by determining a time step
step value that will fit your data. If you get 3
i have thought about doing this, just a little different. i was going
to list the value pairs.
take the start time and end time and plot 100 empty plots between them.
add the value pairs, sort by time, and then draw it. The only thing is
it get kinda complicated when the times change a lot. they
On 2005-10-20, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
i have tried to use unix timestamps,
That has always worked for me. What happened?
and i have also tried with DateTime objects
Never tried that.
do i need to use a scale that isn't linear (default in most) ?
No.
how do i putt
On 2005-10-20, Larry Bates [EMAIL PROTECTED] wrote:
I would try to live with time scale being fixed
I don't understand what you mean by the time scale being
fixed. It's not. If you just pass the time,value pairs to
gnuplot, it does exactly what it should.
and insert
None (or whatever value
On 2005-10-20, Grant Edwards [EMAIL PROTECTED] wrote:
and insert None (or whatever value is used by charting
package) for times where observations were not taken. This
will mean that you have to preprocess your data by determining
a time step step value that will fit your data. If you get 3
[EMAIL PROTECTED] wrote:
how ?
i have tried to use unix timestamps, and i have also tried with
DateTime objects
do i need to use a scale that isn't linear (default in most) ?
how do i putt this off ?
Here is some code that works for me. It plots multiple datasets against time.
The input
ok, yeah, thats exactly what i am looking for. i will give it a go.
thanks a whole lot.
putt this off is a typo, pull this off is what i was meaning to type.
this is cool.
--
http://mail.python.org/mailman/listinfo/python-list
For the last couple of months I have been reading and working throught
the examples in Magnus Lie Hetland's Book Practical Python This for
all practical purposes is the first computer programming language I
have spent any time at learning, so much of what I have covered in the
book was for the
Sean wrote:
My problem is that many of the example scripts are run on Linux
machines and I am using Win XP Pro. Here is a specific example of what
is confusing me. If I want to open a file from the dos prompt in some
script do I just write the name of the file I want to open (assuming it
is in
48 matches
Mail list logo