Hello I finished the codeacademy python course a week ago and my goal is to
start developing websites (both back and front end) ,my question is do i start
the web dev tuts and learn the holes of knoledge on the go or continue to learn
python?
Thank you!
--
https://mail.python.org/mailman/list
Dear all,
1/ On my windows 8, i installed apache 2.2, python 2.7.
I coded a python script. I would like to execute this python script in CGI.I
would like enable GET pattern only (no POST pattern).
Up to now :
*i edited these following lines of my apache httpd.conf:
--
Hi all,
I have plotted a 2D histogram like so:
python2.7
import netCDF4
import iris
import iris.palette
import numpy as np
import matplotlib as mpl
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
from matplotlib.colors import from_levels_and_colors
fig=p
Am 24.06.2014 10:21, schrieb haiz...@gmail.com:
> Good day,
>
> I'm starting a new project from scratch so I think its finally a time to
> switch to the latest and greatest Python 3.4.
>
> But I'm puzzled with MySQL support for Python 3. So far the only stable
> library I've found it pymysql.
>
On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote:
Hello I finished the codeacademy python course a week ago and my goal is to
start developing websites (both back and front end) ,my question is do i start
the web dev tuts and learn the holes of knoledge on the go or continue to learn
python?
On 27/06/2014 03:55, Steven D'Aprano wrote:
On Thu, 26 Jun 2014 13:37:41 -0700, CM wrote:
On Thursday, June 26, 2014 3:27:48 PM UTC-4, Mark Lawrence wrote:
3. use the logging module :)
I've just never got around to it, but I guess I should. Thanks for the
nudge.
While using the logging m
On 27/06/2014 13:09, Jamie Mitchell wrote:
Hi all,
I have plotted a 2D histogram like so:
python2.7
import netCDF4
import iris
import iris.palette
import numpy as np
import matplotlib as mpl
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
from matplotli
Hi Gurus,
Can you pls suggest to build a web based application to monitor sybase database
with the help of python, I am new to this.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Jun 27, 2014 at 10:55 AM, Mark Lawrence wrote:
> Expectations don't count, measure it :)
It's no contest. I have measured it (ages ago). The logging module
does so many things that it's impossible for it to ever be as fast as
a simple print statement. Look at the code in LogRecord.__init_
Why doesn't this code work?
http://pastebin.com/A3Sf9WPu
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Jun 26, 2014 at 9:24 PM, Chris Angelico wrote:
> But you're right that this can be very surprising. And it's inherent
> to the concept of digits having more range than just "high" or "low",
> so there's no way you can get this with binary floats.
For an average of two numbers, I think tha
aws Al-Aisafa wrote:
> Why doesn't this code work?
> #I want this code to write to the first file and then take the
> #contents of the first file and copy them to the second.
>
> from sys import argv
>
> script, file1, file2 = argv
>
>
> def write_to_file(fileread, filewrite):
> '''Wr
sandhyaranimangip...@gmail.com Wrote in message:
> Hi Gurus,
>
> Can you pls suggest to build a web based application to monitor sybase
> database with the help of python, I am new to this.
>
You'll probably get better answers if you're more specific. What
part of the assignment has you puzzl
Thanks man.
--
https://mail.python.org/mailman/listinfo/python-list
I don't have BeautifulSoup installed so I am unable to tell whether
a) for line in all_kbd:
processes one line at a time as given in the input, or do you get the clean
text in single lines in a list as shown in the example in the doc
http://www.crummy.com/software/BeautifulSoup/bs4/doc/#searching
I am sure you could google this
but here's what I've done in the past
1) file 1 has the login info.
I make it to prompt for user's password
(you could hardcode the password in this file)
import getpass
USERNAME = "yourusername"
DBNAME = "yourdatabasename"
PASSWORD = getpass.getpass("En
On Fri, 27 Jun 2014 08:18:24 -0700, Paul McNett wrote:
> On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote:
>> Hello I finished the codeacademy python course a week ago and my goal
>> is to start developing websites (both back and front end) ,my question
>> is do i start the web dev tuts and lear
On 6/27/14, 11:12 AM, alister wrote:
On Fri, 27 Jun 2014 08:18:24 -0700, Paul McNett wrote:
On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote:
Hello I finished the codeacademy python course a week ago and my goal
is to start developing websites (both back and front end) ,my question
is do i s
The 0.2 release is out! Python versions 2.6, 2.7, 3.2, 3.3, and 3.4 are now
supported.
On Wednesday, June 25, 2014 12:15:02 PM UTC-6, ptb wrote:
> Hello all,
>
>
>
> I am pleased to announce the release of fastcache v0.1. It is intended to be
> a drop in replacement for functools.lru_cache
Thank you for the fast response guys, what if I go with django instead of flask
and is javascript hard to learn considering that I have no knoledge of any
other language beside Python?
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 27 Jun 2014 12:39:49 -0700, suburb4nfilth wrote:
> Thank you for the fast response guys, what if I go with django instead
> of flask and is javascript hard to learn considering that I have no
> knoledge of any other language beside Python?
I guess it depends on what you want it to do
Per
On Jun 27, 2014 3:42 PM, wrote:
>
> Thank you for the fast response guys, what if I go with django instead of
flask and is javascript hard to learn considering that I have no knoledge
of any other language beside Python?
> --
Check out jquery
> https://mail.python.org/mailman/listinfo/python-list
On Fri, Jun 27, 2014 at 10:05 AM, Skip Montanaro wrote:
> On Fri, Jun 27, 2014 at 10:55 AM, Mark Lawrence
> wrote:
>> Expectations don't count, measure it :)
>
> It's no contest. I have measured it (ages ago). The logging module
> does so many things that it's impossible for it to ever be as fas
"Christian Gollwitzer" wrote in message
news:loh45o$14g$1...@dont-email.me...
As I said, it doesn't have a special interface, you just load it and
that's it. So if you do a tk.eval("package require tkpng"), your
Tk.PhotoImage will magically recognize PNG.
I will try it on the Mac, but on Wi
In article ,
Chris Angelico wrote:
>On Thu, Jun 12, 2014 at 12:08 PM, Steven D'Aprano
> wrote:
>> I'm just pointing out that our computational technology uses
>> over a million times more energy than the theoretical minimum, and
>> therefore there is a lot of room for efficiency gains without sac
(Trying again, simpler and cleaner post)
Can I use Nuitka to transform a wxPython
GUI application in Python that uses several
3rd party modules into a small and faster
compiled-to-C executable?
--
https://mail.python.org/mailman/listinfo/python-list
Can I use PyPy to transform a wxPython
GUI application in Python that uses several
3rd party modules into a faster Python
application that can be distributed as
an exe?
--
https://mail.python.org/mailman/listinfo/python-list
Could you post
a) what the output looks like now (sans the logging part)
b) what output do you expect
In any event, this routine does not look right to me:
def consume_queue(queue_name):
conn = boto.connect_sqs()
q = conn.get_queue(queue_name)
m = q.read()
while m is not None:
yiel
Hello,
On Fri, 27 Jun 2014 16:25:02 -0700 (PDT)
CM wrote:
> (Trying again, simpler and cleaner post)
>
> Can I use Nuitka to transform a wxPython
> GUI application in Python that uses several
> 3rd party modules into a small and faster
> compiled-to-C executable?
Yes, you can. So, please try
On Fri, Jun 27, 2014 at 4:35 PM, Ian Kelly wrote:
> That's got to count for
> something, compared to a raw print that has to wait for the I/O to
> finish.
A raw print basically just tosses some bytes in a stdio buffer (at
least in Unix-land). Stdio does whatever little it does, then passes
the by
On Sat, Jun 28, 2014 at 10:12 AM, Skip Montanaro wrote:
> threading-doesn't-always-speed-things-up-ly, y'rs,
Threading is a focus of so many myths. People who don't understand it
think that threads are magic pixie dust that fixes everything, or else
magic pixie dust that breaks everything. Or bot
On 28/06/2014 01:12, Skip Montanaro wrote:
On Fri, Jun 27, 2014 at 4:35 PM, Ian Kelly wrote:
That's got to count for
something, compared to a raw print that has to wait for the I/O to
finish.
A raw print basically just tosses some bytes in a stdio buffer (at
least in Unix-land).
Exactly, i
On Saturday, June 28, 2014 5:14:39 AM UTC+5:30, Paul Sokolovsky wrote:
> Hello,
> On Fri, 27 Jun 2014 16:25:02 -0700 (PDT)
> CM wrote:
> > (Trying again, simpler and cleaner post)
> > Can I use Nuitka to transform a wxPython
> > GUI application in Python that uses several
> > 3rd party modules i
On Fri, 27 Jun 2014 19:10:25 -0700, Rustom Mody wrote:
> If no one speaks up (with hard specific data!) for the technologies you
> are considering (eg PyPy, Nuitka etc) then I would conclude that they
> are not yet ready for prime-time/ your use-case
A silly conclusion. The OP's use-case is quite
On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote:
> Yes, you can. So, please try that, and report
> how that went. We're eager to know how that would
> go very much. But unlike you, we don't have need
> to transform wxPython GUI application in Python into
> an executable. So, you
On Fri, 27 Jun 2014 20:06:36 -0700, CM wrote:
> On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote:
>> Yes, you can. So, please try that, and report how that went. We're
>> eager to know how that would go very much. But unlike you, we don't
>> have need to transform wxPython GUI appl
In this moment we are monitoring sybase ASE database server by shell
script(cron job) these data we are pushing to other database server what we
call is monitoring server. After business hrs we are gathering metrics for each
job/server cpu,disk i/o,memory, dbspace usages through some store proce
On 06/27/2014 09:06 PM, CM wrote:
> On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote:
>> Yes, you can. So, please try that, and report
>> how that went. We're eager to know how that would
>> go very much. But unlike you, we don't have need
>> to transform wxPython GUI application
On Friday, June 27, 2014 11:09:11 PM UTC-4,
Steven D'Aprano wrote:
> Having said that, I think that the OP's question
> is probably misguided.
Thanks, Steven, for the input. It very well might be.
I'll give a little more information.
> He or she gives the impression of expecting PyPy
> o
On Saturday, June 28, 2014 8:58:04 AM UTC+5:30, Michael Torrie wrote:
> On 06/27/2014 09:06 PM, CM wrote:
> > On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote:
> >> Yes, you can. So, please try that, and report
> >> how that went. We're eager to know how that would
> >> go very mu
> I'm not a Windows user, so I can't give detailed
> step-by-step "mouse over this menu, click this
> button" instructions, but you need to open a
> command line terminal. (command.com or cmd.exe,
I'm not *quite* that at sea! :D Close, but I am
used to using the command line in Windows.
On 06/27/2014 09:44 PM, CM wrote:
>> Additionally, in most GUI apps (although not all),
>> the main bottleneck is usually not the programming
>> language but the user. GUI apps tend to spend
>> 95% of their time idling, waiting for the user. Its
>> been a *long* time since the GUI framework its
On Saturday, June 28, 2014 9:27:02 AM UTC+5:30, CM wrote:
> > I'm not a Windows user, so I can't give detailed
> > step-by-step "mouse over this menu, click this
> > button" instructions, but you need to open a
> > command line terminal. (command.com or cmd.exe,
> I'm not *quite* that at sea!
CM, 28.06.2014 05:57:
>> Now type
>>
>> nuitka --recurse-all something_or_other.py
>>
>> and hit Enter. What happens?
>
> I did that and the message is:
>
>'nuitka' is not recognized as an internal
>or external command, operable program or batch file.
>
> which makes sense becau
On Saturday, June 28, 2014 12:23:03 AM UTC-4,
Stefan Behnel wrote:
> There should be a folder Python27/Scripts that
> contains the executable programs that Python packages
> install.
Thank you, yes, it's there. But there are two
files: nuitka (I don't see an extension and
don't know the file
On Sat, Jun 28, 2014 at 2:14 PM, Michael Torrie wrote:
> On 06/27/2014 09:44 PM, CM wrote:
>>> Additionally, in most GUI apps (although not all),
>>> the main bottleneck is usually not the programming
>>> language but the user. GUI apps tend to spend
>>> 95% of their time idling, waiting for the u
On Sat, Jun 28, 2014 at 2:45 PM, CM wrote:
> On Saturday, June 28, 2014 12:23:03 AM UTC-4,
> Stefan Behnel wrote:
>
>> There should be a folder Python27/Scripts that
>> contains the executable programs that Python packages
>> install.
>
> Thank you, yes, it's there. But there are two
> files: nu
> Just add Scripts to path (not Scripts/nuitka),
> and it should run nuitka.bat. I would guess that
> the one without an extension is a Unix shell script
> of some sort; have a look at it, see if it's a text
> file that begins "#!/bin/sh" or similar. Most likely
> the file sizes of nuitka an
On Sat, Jun 28, 2014 at 3:40 PM, CM wrote:
> The nuitka file starts with
>
> #!C:\Python27_32\python.exe
>
> and is a Python script. It says in a docstring,
>
>
> This is the main program of Nuitka, it
> checks the options and then translates
> one or more modules to a C++ source code
> u
49 matches
Mail list logo