On 01/03/17 18:23, Jason Snyder wrote:
> I have a grib2 file with wind data at multiple taus as shown below:
This list is for the core Python language and standard library.
For anything outside that you are more likely to get answers
on the specific library support forum or community.
If that fai
On 01/03/17 20:20, Stephen P. Molnar wrote:
> I have written a Python3 program to plot and save UV/VIS spectra from
> the results of an Orca quantum mechanical calculation.
Caveat: This forum is for help on the core Python language
and its standard library. Asking about anything beyond that
may r
On 01/03/17 23:40, Pooja Bhalode wrote:
> I am trying to create normal tables in Tkinter.
First you need to define what a "normal table" is.
There is no such thing in standard Tkinter, so any
kind of table is not normal.
Do you want a simple grid of values?
Do you want a spreadsheet type grid w
Hi Palanikumar,
It looks like you're using Python 2, since you're referring to
SimpleHTTPServer. But you probably do not want to use
SimpleHTTPRequestHandler: it's a local file system server. The docs
at
https://docs.python.org/2/library/simplehttpserver.html#SimpleHTTPServer.SimpleHTTPRequestH
I have written a Python3 program to plot and save UV/VIS spectra from
the results of an Orca quantum mechanical calculation.
I input the name of the molecule .dat file, without the suffix.
Everything is fine until I get to the point where I want to save the
figure as name.png using:
figure =
Hi,
I am trying to create normal tables in Tkinter. Can someone please guide me
as to what functions I can use, I looked into tkintertable, but that does
not seem to work for me. I tried installing it but it gave me a bunch of
errors while installation and does not work.
Is there any other simple
In the below email I want to plot the time series of the uwind values at a
specific latitude and longitude.
On Wed, Mar 1, 2017 at 6:23 PM, Jason Snyder wrote:
> I have a grib2 file with wind data at multiple taus as shown below:
>
> 3:485167:d=2017030112 <(201)%20703-0112>:UGRD:10 m above groun
I have a grib2 file with wind data at multiple taus as shown below:
3:485167:d=2017030112:UGRD:10 m above ground:3 hour fcst:
8:1652471:d=2017030112:UGRD:10 m above ground:6 hour fcst:
13:2704909:d=2017030112:UGRD:10 m above ground:9 hour fcst:
18:3865964:d=2017030112:UGRD:10 m above ground:12 hou
On 01/03/17 10:09, Leam Hall wrote:
> I see computer science as a science that calls upon our creative nature
> to produce excellence. Adding constraints like secure coding and TDD
> push us to even greater artistic expression. Lack of constraints gives
> us the current standard of non-performa
On 01/03/17 10:50, Peter Otten wrote:
>> sees your call as something like:
>>
>> total(name = "John", 1, 2, 10 )
>
> I think total(name="John", *(1, 2, 3))
>
> is rather resolved as
>
> total(1, 2, 3, name="John")
>
Ah, yes that makes sense. Thanks for the
clarification Peter (and Steven).
T
*import SimpleHTTPServer
import SocketServer
PORT = 8000
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()*
I use this code to run simple *http server.* If i enter in browser in
*localho
On Wed, Mar 01, 2017 at 01:48:04PM +0530, Pabitra Pati wrote:
> I want to understand the error message I am getting.
> Below is my code piece :-
>
> def total(name, *args):
> if args:
> print("%s has total money of Rs %d/- " %(name, sum(args)))
> else:
>
On Wed, Mar 01, 2017 at 09:29:04AM +, Alan Gauld via Tutor wrote:
> You need to be explicit:
>
>if hours_worked > 40 and hours_worked < 60:
>
> You can also write what you intend in a slightly
> different form:
>
>if (40 < hours_worked < 60):
>
> Note:
> The second form an unusual
Alan Gauld via Tutor wrote:
> On 01/03/17 08:18, Pabitra Pati wrote:
>
>> def total(name, *args):
>> if args:
>> print("%s has total money of Rs %d/- " %(name, sum(args)))
>> else:
>> print("%s's piggy bank has no money" %name)
>>
>> I can call this m
On 02/28/17 05:24, M Hashmi wrote:
Coding is an artthat helps you craft beautiful things in digital world.
As beginner it's pretty natural to confuse about which learning curve can
benefit you most in future.
I see computer science as a science that calls upon our creative nature
to produ
On 01/03/17 08:18, Pabitra Pati wrote:
> def total(name, *args):
> if args:
> print("%s has total money of Rs %d/- " %(name, sum(args)))
> else:
> print("%s's piggy bank has no money" %name)
>
> I can call this method passing the extra arguments inside
darrickbled...@gmail.com wrote:
> For some reason I am getting a syntax error when I try and write my second
> If statement. I cannot find anything wrong with the statement because it
> is set up the same as all the others I see online. Perhaps someone can
> inform me why I am getting this. Thanks
On 01/03/17 01:29, Quang nguyen wrote:
> send the signal to RF receiver through pins in Pi2. I need to send the
> signal from clicking a button in UI.
>
> Can anyone give me some hints?
What bit do you need help on?
Is it building a UI?
Is it clicking a button?
Is it sending the signal?
For exa
On 01/03/17 06:21, darrickbled...@gmail.com wrote:
> wage = eval(input("Enter in the employees hourly wage: ")) #get wage
> hours_worked = eval(input("Enter in the number of hours worked: "))
Don't use eval() like this it is a security risk
and is a very bad habit to get into. Instead use
an expl
I want to understand the error message I am getting.
Below is my code piece :-
def total(name, *args):
if args:
print("%s has total money of Rs %d/- " %(name, sum(args)))
else:
print("%s's piggy bank has no money" %name)
I can call this method passing
Hi all,
Right now, I am working on a school project that using raspberry Pi 2 to
send the signal to RF receiver through pins in Pi2. I need to send the
signal from clicking a button in UI.
Can anyone give me some hints?
Thanks all.
___
Tutor maillist
For some reason I am getting a syntax error when I try and write my second If
statement. I cannot find anything wrong with the statement because it is set up
the same as all the others I see online. Perhaps someone can inform me why I am
getting this. Thanks for your help
Darrick Bledsoe II
#
22 matches
Mail list logo