I’ve downloaded python and when I try to launch a application to use with
python it opens then closes fast but when I double click it it opens the
installer and not python, so I have to use “Open with”
Sent from [1]Mail for Windows 10
References
Visible links
Thanks for your help, I realise that what I wanted was chromes default new
tab page, not a blank page. 'about:blank' worked fine but it wasn't what I
wanted sorry. I'll try the CTRL+4 later and see it that works.
On 14 Sep 2016 21:11, "John Gordon" wrote:
> In
Hi,
I am not sure if this is an intended consequence but when using the
webbrowser module to open a new blank browser tab in chrome it opens it
in a new browser window instead of using the current window. Providing
any complete url provides different behaviour, it opening a new tab in
the cur
itted as a PEP? What
are the potential concerns I could consider with the syntax?
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, August 19, 2014 10:21:48 PM UTC+1, pec...@pascolo.net wrote:
> Jamie Mitchell writes:
>
>
>
> > You were right Christian I wanted a shape (2,150).
>
> >
>
> > Thank you Rustom and Steven your suggestion has worked.
>
> >
>
>
r the frequency or amount of times
that the X-axis data and Y-axis data meet at a particular point or bin.
Does anyone know what function or graph could best show this?
Thanks for all your help,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
I forgot to mention that when I try:
a=np.array([[hs_con_sw],[te_con_sw]])
I get a 3D shape for some reason - (2,1,150) which is not what I'm after.
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, August 15, 2014 4:13:26 PM UTC+1, Steven D'Aprano wrote:
> Jamie Mitchell wrote:
>
>
>
> > I created the 2D array which read as:
>
>
>
> That's not a 2D array.
>
>
>
> When the amount of data you have is too big to clearly s
On Friday, August 15, 2014 2:23:25 PM UTC+1, Steven D'Aprano wrote:
> Jamie Mitchell wrote:
>
>
>
> [...]
>
> > I just want to get a contour plot of two numpy arrays.
>
> > When I call plt.contour on my data I get "input must be a 2D array"
>
On Thursday, August 14, 2014 5:53:09 PM UTC+1, Steven D'Aprano wrote:
> Jamie Mitchell wrote:
>
>
>
> > Hello all,
>
> >
>
> > I want to contour a scatter plot but I don't know how.
>
> >
>
> > Can any
Hello all,
I want to contour a scatter plot but I don't know how.
Can anyone help me out?
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
.masked_where(H==0,H)
plt.pcolormesh(xedges,yedges,Hmasked,cmap=cmap,norm=norm,label='Q0 control')
# From this I get a 'scattered' 2D histogram.
Does anyone know how I can contour that scatter?
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, June 20, 2014 9:10:58 AM UTC+1, Jamie Mitchell wrote:
> Hi folks,
>
>
>
> Instead of colouring the entire bar of a histogram i.e. filling it, I would
> like to colour just the outline of the histogram. Does anyone know how to do
> this?
>
> Version -
On Friday, June 20, 2014 2:47:03 PM UTC+1, Jason Swails wrote:
> On Fri, Jun 20, 2014 at 4:10 AM, Jamie Mitchell wrote:
>
> Hi folks,
>
>
>
> Instead of colouring the entire bar of a histogram i.e. filling it, I would
> like to colour just the outline of the histogr
On Friday, June 20, 2014 9:46:29 AM UTC+1, Jamie Mitchell wrote:
> Hi folks,
>
>
>
> I'm trying to plot a 2D histogram but I'm having some issues:
>
> from pylab import *
>
> import numpy as np
>
> import netCDF4
>
> hist,xedges,yedges=
On Friday, June 20, 2014 12:00:15 PM UTC+1, Peter Otten wrote:
> Jamie Mitchell wrote:
>
>
>
> > I have changed my x and y data to float64 types but I am still getting the
>
> > same error message?
>
>
>
> Please double-check by adding
>
>
On Friday, June 20, 2014 10:25:44 AM UTC+1, Peter Otten wrote:
> Jamie Mitchell wrote:
>
>
>
> > Hi folks,
>
> >
>
> > I'm trying to plot a 2D histogram but I'm having some issues:
>
> > from pylab import *
>
> > im
27;)
colorbar()
show()
After the first line of code I get:
TypeError: Cannot cast array data from dtype('O') to dtype('float64') according
to the rule 'safe'
I'm using python2.7, x and y are type 'numpy.ndarray'
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
Hi folks,
Instead of colouring the entire bar of a histogram i.e. filling it, I would
like to colour just the outline of the histogram. Does anyone know how to do
this?
Version - Python2.7
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
(year_fut,fit_fn_Q16_fut_sw(year_fut),'c')
plt.legend(loc='best')
plt.xlabel('Year')
plt.ylabel('Significant Wave Height annual averages SW England')
plt.title('Time series of Significant Wave Height')
plt.show()
Code for boxplots:
python2.7
from pylab import *
import netCDF4
data=(hs_Q0_con_sw,hs_Q3_con_sw,hs_Q4_con_sw,hs_Q14_con_sw,hs_Q16_con_sw)
figure(1)
boxplot(data)
labels=('QO no pert','Q3 low sens','Q4 low sens','Q14 high sens','Q16 high
sens')
xticks(range(1,6),labels,rotation=15)
xlabel('Ensemble Member')
ylabel('Significant Wave Height Annual Average')
title('Significant Wave Height SW England 1981-2010')
show()
If anybody knows how I could integrate these two plots I would be eternally
grateful!
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, June 5, 2014 4:54:16 PM UTC+1, Jamie Mitchell wrote:
> Hello all!
>
>
>
> Instead of setting the number of bins I want to set the bin width.
>
>
>
> I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
>
>
>
> How do I
On Wednesday, May 21, 2014 1:30:16 PM UTC+1, Jason Swails wrote:
>
>
>
>
>
>
> On Wed, May 21, 2014 at 7:59 AM, Jamie Mitchell wrote:
>
> I have made a plot using the following code:
>
>
>
> python2.7
>
> import netCDF4
>
> impo
Hello all!
Instead of setting the number of bins I want to set the bin width.
I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
How do I say this in the code?
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
fut_sw,1)
fit_fn_Q16_sw=np.poly1d(fit_Q16_sw)
plt.plot(hs_Q16_con_sw,hs_Q16_fut_sw,'c.')
plt.plot(hs_Q16_con_sw,fit_fn_Q16_sw(hs_Q16_con_sw),'c',label='Q16 high sens')
plt.legend(loc='best')
plt.xlabel('Significant Wave Height annual averages NW Scotland 1981-2010')
plt.ylabel('Significant Wave Height annual averages NW Scotland 2040-2069')
plt.title('Scatter plot of Significant Wave Height')
plt.show()
--
What I would like to do is display the R squared value next to the line of best
fits that I have made.
Does anyone know how to do this with matplotlib?
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
x27;]
year=swh.variables['year']
I would then like to save these hs and year variables so that I don't have to
isolate them every time I want to plot them.
Any help would be much appreciated.
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, April 25, 2014 3:07:54 PM UTC+1, Jamie Mitchell wrote:
> Hello all,
>
>
>
> I am trying to perform a Kolmogorov-Smirnov test in Python but I'm having a
> few difficulties.
>
>
>
> # My files are netCDF so I import them as follows:
>
>
peError: len() of unsized object
Any ideas on why this isn't working would be great.
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
=netCDF4.Dataset('filename'.'r')
hs2=swh2.variables['hs']
plt.plot(hs1,hs2,'.')
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, March 24, 2014 11:32:31 AM UTC, Jamie Mitchell wrote:
> Hello all,
>
>
>
> I'm afraid I am new to all this so bear with me...
>
>
>
> I am looking to find the statistical significance between two large netCDF
> data sets.
>
>
>
>
also happens when I try to create numpy arrays from the data.
Does anyone know how I can alleviate theses memory errors?
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
they're powerful, efficient and
made for the task of programming.
Jamie
--
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
--
http://mail.python.org/mailman/listinfo/python-list
* mogul [2012-12-27 12:01:16 -0800]:
> 'Aloha!
>
> I'm new to python, got 10-20 years perl and C experience, all gained on unix
> alike machines hacking happily in vi, and later on in vim.
>
> Now it's python, and currently mainly on my kubuntu desktop.
>
> Do I really need a real IDE, as the
* Ian Kelly [2012-12-19 17:54:44 -0700]:
> On Wed, Dec 19, 2012 at 5:07 PM, Terry Reedy wrote:
> > That says that my browser, Firefox 17, does not support HTML5. Golly gee. I
> > don't think any browser support5 all of that moving target, and Gecko
> > apparently supports about as large a subset
/ ru...@yahoo.com wrote on Fri 2.Nov'12 at 11:39:10 -0700 /
> (I also hope I haven't just been suckered by a troll
> attempt, windows/unix is better then unix/windows being
> an age-old means of trolling.)
No, i'm not a "troll". I was just adding my opinion to the thread, I assumed
that was al
/ ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:00:48 -0700 /
>
> * In Search dialog clicked on the Search in folder dropdown after
> an earlier search and TB crashed (disappeared along with the
> new message I was editing.) [3.0.1]
>
> * Search for japanese text in body no longer works (
/ ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:08:26 -0700 /
> On 11/01/2012 03:55 AM, Jamie Paul Griffin wrote:
> > Anybody serious about programming should be using a form of
> > UNIX/Linux if you ask me. It's inconceivable that these systems
> > should be
/ Steven D'Aprano wrote on Wed 31.Oct'12 at 22:33:16 + /
> On Wed, 31 Oct 2012 12:32:57 -0700, rurpy wrote:
> I don't killfile merely for posting from Gmail or Google Groups, but
> regarding your second point, it has seemed to me for some years now that
> Gmail is the new Hotmail, which wa
/ Robert Miles wrote on Wed 31.Oct'12 at 0:39:02 -0500 /
> For those of you running Linux: You may want to look into whether
> NoCeM is compatible with your newsreader and your version of Linux.
> It checks newsgroups news.lists.filters and alt.nocem.misc for lists
> of spam posts, and will auto
[ Ian Kelly wrote on Sat 22.Sep'12 at 0:22:43 -0600 ]
> On Fri, Sep 21, 2012 at 7:25 PM, Steven D'Aprano
> wrote:
> > On Fri, 21 Sep 2012 14:49:55 -0600, Ian Kelly wrote:
> >
> >> On Fri, Sep 21, 2012 at 1:54 PM, 8 Dihedral
> >> wrote:
> >>> I don't think functional aspects are only marked
[ Joel Goldstick wrote on Sun 16.Sep'12 at 11:57:56 -0400 ]
> email client to python-list@python.org
If using Windows I would certainly use Thunderbird or even slrn news reader - I
believe there is a version for Windows. Or you could install Interix subsystem
which provides UNIX tools for Wind
e "it is felt that the theory still needs to be expounded
upon" Python 2.x will be used in lieu of Python 3. I personally, as a beginner,
have found this approach helpful. Although, when this book was published Python
3.1 was the latest release, so of course since then said libraries most
probably have been updated. So, as a fellow beginner i'd go for version 3.x.
Jamie.
--
http://mail.python.org/mailman/listinfo/python-list
[ Virgil Stokes wrote on Wed 22.Aug'12 at 16:34:40 +0200 ]
> On 22-Aug-2012 16:04, Steven D'Aprano wrote:
> > On Tue, 21 Aug 2012 18:36:50 -0700, Anonymous Group wrote:
> >
> >> What books do you recomend for learning python? Preferably free and/or
> >> online.
> > Completely by coincidence, I hav
[ Mark Lawrence wrote on Wed 22.Aug'12 at 8:43:58 +0100 ]
> On 22/08/2012 02:36, Anonymous Group wrote:
> > What books do you recomend for learning python? Preferably free and/or
> > online.
> >
>
> Search for the Alan Gauld tutorial. I've never used it myself, but OTOH
> I've never heard anyb
[ Ramchandra Apte wrote on Sat 18.Aug'12 at 19:21:03 +0530 ]
> I'll be using Google Groups (hopefully it won't top-post by default) to
> post stuff.
You are encouraged to get used to it i'm afraid as any mailing list you use,
its users will prefer you to use the correct formatting of responses.
On Sep 29, 1:19 pm, Jamie wrote:
> On Sep 29, 1:08 pm, Jamie wrote:
>
>
>
>
>
> > I'm new to python and I'm trying to write a script which takes the
> > computer name from the variable 'name' and gets the uptime.
>
> > What I have s
On Sep 29, 1:08 pm, Jamie wrote:
> I'm new to python and I'm trying to write a script which takes the
> computer name from the variable 'name' and gets the uptime.
>
> What I have so far:
> query = win32pdh.OpenQuery()
> counter = win32pdh.AddC
I'm new to python and I'm trying to write a script which takes the
computer name from the variable 'name' and gets the uptime.
What I have so far:
query = win32pdh.OpenQuery()
counter = win32pdh.AddCounter(query, r'\System\System Up Time')
win32pdh.CollectQueryData(query)
var1, val
On Fri, Sep 18, 2009 at 1:10 PM, Gabriel Genellina
wrote:
> En Fri, 18 Sep 2009 14:38:08 -0300, Christian Heimes
> escribió:
>>
>> Jamie Riotto schrieb:
>
>>> I have an app that uses Python scripting. When a user creates a new
>>> object:
>>>
interpreter line"
causing the init code to execute?
Thanks very much in advance,
Jamie Riotto
--
http://mail.python.org/mailman/listinfo/python-list
My goal is to remotely remove the registry keys for McAfee. I don't
know how winreg handles an exception if a key doesn't exist, but I
setup my script to skip the exception. But it doesn't seem to work
right.. I think the script should be self explanitory, please help!
Please forgive me, but I'm a
Spacer()
box.Add(myText, 0, wx.ALIGN_CENTER)
box.AddStretchSpacer()
jamie
--
http://mail.python.org/mailman/listinfo/python-list
r but i want to get the sizers to work correctly for this.
>
> FYI: There's a great wxPython mailing list too. Check it out
> here:http://wxpython.org/maillist.php
thanks, i will take a look.
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
ither vertically or horizontally, but not both
(i.e. the center). I've tried myText.CenterOnParent but i need to
handle to Size event to move the text when the panel is resized and i
don't want to have to do this.
thanks,
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
e they do.. byte. :-)
Seriously, it is one of the problems facing perl (and linux) people ARE
turned away by the attitude. It is rather embarassing/unflattering when
someone is critical of your work.
I see a lot of ideas about things should be "made easier" but I think
thats the wrong
;1 | less
# PIL/__init__.pyc matches PIL/__init__.py
import PIL # precompiled from PIL/__init__.pyc
# trying PIL/_imaging.so
dlopen("PIL/_imaging.so", 2);
import PIL._imaging # dynamically loaded from PIL/_imaging.so
# clear __builtin__._
# clear sys.path
--
Jamie Bohr
--
http://mail.python.org/mailman/listinfo/python-list
I'm very new to the world of Python and am trying to wrap my head around
it's OOP model. Much of my OOP experience comes from VB.Net, which is
very different.
Let's say I wanted to create an object that simply outputted something
like this:
>>> import employees
>>> person = employee("joe") # Get
PB> BTW, you post to the wrong group.
No, I think c.l.l is exactly the place to discuss how to play many trumpets
through one set of teeth.
In fact, I have a box of trumpets lying around somewhere...
Open wide, Xah!
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
ment.
This however does not seem to work. It would seem that when the scripts
are ran the local dictionary with the added item is wiped clean and a
new local dictionary is instead used. Any direction or help would be
appreciated.
Cheers,
Jamie.
--
http://mail.python.org/mailman/listinfo/python-list
es sense. Thanks Michael. I'd expect socket.makefile is probably less
encountered than most aspects of socket (according to google, it sure seemed
so!).
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
root root 0 Dec 10 01:14 /dev/log=
And when I use /dev/log instead (which exists), it connects to the file object
and runs (though snort does not want to dump to /dev/log and the limitations
of the alert_unixsock output method limit it to /var/log/snort/snort_alert
only). Any thoughts from the socket savvy would be *greatly* appreciated!
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
ser of SLS,
Slackware, Redhat, Debian and now Gentoo. You'll hear plenty of distro war
stuff and certainly every tool has its pros/cons. For python, if you haven't
given Gentoo a look, check it out...
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
.gentoo.org for more info, or on IRC at
#gentoo
Jamie Saker
"Gentoo bumper sticker: I'd rather be compiling!"
--
http://mail.python.org/mailman/listinfo/python-list
62 matches
Mail list logo