On Sat, Apr 21, 2018 at 3:28 AM, 20/20 Lab wrote:
> Going to write my first python program that uses a database. Going to store
> 50-100 rows with 5-10 columns. Which database / module would you advise me
> to use? It's basically going to be processing order status emails for the
> sales staff.
On 04/20/2018 10:28 AM, 20/20 Lab wrote:
Going to write my first python program that uses a database. Going to
store 50-100 rows with 5-10 columns. Which database / module would you
advise me to use? It's basically going to be processing order status
emails for the sales staff. Producing a w
On Fri, Apr 20, 2018 at 1:28 PM, 20/20 Lab wrote:
> Going to write my first python program that uses a database. Going to store
> 50-100 rows with 5-10 columns. Which database / module would you advise me
> to use? It's basically going to be processing order status emails for the
> sales staff.
Going to write my first python program that uses a database. Going to
store 50-100 rows with 5-10 columns. Which database / module would you
advise me to use? It's basically going to be processing order status
emails for the sales staff. Producing a webpage (2-3 times daily, as
updates arriv
On Wed, Apr 15, 2015 at 12:14 AM, Steven D'Aprano
wrote:
> On Tue, 14 Apr 2015 11:45 pm, Chris Angelico wrote:
>
>> On Tue, Apr 14, 2015 at 11:08 PM, Steven D'Aprano
>> wrote:
>>> On Tue, 14 Apr 2015 05:58 pm, Fabien wrote:
>>>
On 14.04.2015 06:05, Chris Angelico wrote:
> Not sure what y
On Tue, 14 Apr 2015 11:45 pm, Chris Angelico wrote:
> On Tue, Apr 14, 2015 at 11:08 PM, Steven D'Aprano
> wrote:
>> On Tue, 14 Apr 2015 05:58 pm, Fabien wrote:
>>
>>> On 14.04.2015 06:05, Chris Angelico wrote:
Not sure what you mean, here. Any given file will be written by
exactly one p
On Tue, Apr 14, 2015 at 11:08 PM, Steven D'Aprano
wrote:
> On Tue, 14 Apr 2015 05:58 pm, Fabien wrote:
>
>> On 14.04.2015 06:05, Chris Angelico wrote:
>>> Not sure what you mean, here. Any given file will be written by
>>> exactly one process? No possible problem. Multiprocessing within one
>>> ap
On Tue, 14 Apr 2015 05:58 pm, Fabien wrote:
> On 14.04.2015 06:05, Chris Angelico wrote:
>> Not sure what you mean, here. Any given file will be written by
>> exactly one process? No possible problem. Multiprocessing within one
>> application doesn't change that.
>
> yes that's what I meant. Than
On 14.04.2015 06:05, Chris Angelico wrote:
Not sure what you mean, here. Any given file will be written by
exactly one process? No possible problem. Multiprocessing within one
application doesn't change that.
yes that's what I meant. Thanks!
--
https://mail.python.org/mailman/listinfo/python-li
On Tue, Apr 14, 2015 at 3:35 AM, Fabien wrote:
> With multiprocessing, do I have to care about processes writing
> simultaneously in *different* files? I guess the OS takes good care of this
> stuff but I'm not an expert.
Not sure what you mean, here. Any given file will be written by
exactly one
On 13.04.2015 19:08, Peter Otten wrote:
How about a file-based workflow?
Write distinct scripts, e. g.
a2b.py that reads from *.a and writes to *.b
and so on. Then use a plain old makefile to define the dependencies.
Whether .a uses pickle, .b uses json, and .z uses csv is but an
implementatio
On 13.04.2015 17:45, Devin Jeanpierre wrote:
On Mon, Apr 13, 2015 at 10:58 AM, Fabien wrote:
>Now, to my questions:
>1. Does that seem reasonable?
A big issue is the use of pickle, which is:
* Often suboptimal performance wise (e.g. you can't load only subsets
of the data)
* Makes forwards/ba
On 13.04.2015 18:25, Dave Angel wrote:
On 04/13/2015 10:58 AM, Fabien wrote:
Folks,
A comment. Pickle is a method of creating persistent data, most
commonly used to preserve data between runs. A database is another
method. Although either one can also be used with multiprocessing, you
seem
Fabien wrote:
> I am writing a quite extensive piece of scientific software. Its
> workflow is quite easy to explain. The tool realizes series of
> operations on watersheds (such as mapping data on it, geostatistics and
> more). There are thousands of independent watersheds of different size,
> an
On 04/13/2015 10:58 AM, Fabien wrote:
Folks,
A comment. Pickle is a method of creating persistent data, most
commonly used to preserve data between runs. A database is another
method. Although either one can also be used with multiprocessing, you
seem to be worrying more about the mechan
for what it's worth I believe that marshal is a faster method for storing simple
python objects. So if your information can be stored using simple python things
eg strings, floats, integers, lists and dicts then storage using marshal is
faster than pickle/cpickle. If you want to persist the obje
On Mon, Apr 13, 2015 at 10:58 AM, Fabien wrote:
> Now, to my questions:
> 1. Does that seem reasonable?
A big issue is the use of pickle, which is:
* Often suboptimal performance wise (e.g. you can't load only subsets
of the data)
* Makes forwards/backwards compatibility very difficult
* Can mak
Folks,
I am writing a quite extensive piece of scientific software. Its
workflow is quite easy to explain. The tool realizes series of
operations on watersheds (such as mapping data on it, geostatistics and
more). There are thousands of independent watersheds of different size,
and the size d
Benjamin Risher writes:
> On Friday, November 28, 2014 6:12:20 AM UTC-6, Akira Li wrote:
>> Benjamin Risher writes:
>>
>> > Hello all,
>> >
>> > I'm working on a project to learn asyncio and network programming.
>> > What I'm trying to do is forward a connection from myself to
>> > another machi
On Friday, November 28, 2014 6:12:20 AM UTC-6, Akira Li wrote:
> Benjamin Risher writes:
>
> > Hello all,
> >
> > I'm working on a project to learn asyncio and network programming. What
> > I'm trying to do is forward a connection from myself to another machine.
> > Kind of like an asynchronou
Benjamin Risher writes:
> Hello all,
>
> I'm working on a project to learn asyncio and network programming. What I'm
> trying to do is forward a connection from myself to another machine. Kind of
> like an asynchronous python implementation of fpipe.
>
> In a nutshell:
>
> 1 --> start a serve
Hello all,
I'm working on a project to learn asyncio and network programming. What I'm
trying to do is forward a connection from myself to another machine. Kind of
like an asynchronous python implementation of fpipe.
In a nutshell:
1 --> start a server listening on localhost
2 --> connect
Hey Guys,
A group of guys and myself have been working on a project/business plan to
develop a Hotel Concierge application for tablets. We have been working on it
for over a year and have hotels here in Chicago that are on board and very
interested with our concept. We also are in the works wit
On Sunday, January 27, 2013 1:57:47 PM UTC-5, twizti...@gmail.com wrote:
> I am in a class and was just looking for different advice. This is the first
> time iv ever tried to do this. That's all that iv taken from two chapters and
> wondering how bad I did. I also like to learn. Thanks for ev
I am in a class and was just looking for different advice. This is the first
time iv ever tried to do this. That's all that iv taken from two chapters and
wondering how bad I did. I also like to learn. Thanks for everyones input
--
http://mail.python.org/mailman/listinfo/python-list
On 01/26/2013 05:26 PM, twiztidtr...@gmail.com wrote:
Hey I'm new to programming and I have been working on calculating miles per
gallon. iv posted below what I have and constructive criticism would be
wonderful. Thanks
A good post for the python-tutor mailing list.
If you want help with a
On Sun, Jan 27, 2013 at 9:26 AM, wrote:
> miles = int(string_miles)
> gas = int(string_gas)
>
> #used to calculate mpg through division
> mpg = miles/gas
>
> print(float(string_miles))
> print(float(string_gas))
> print('Your miles per gallon is', format(mpg,'.2f'))
Welcome aboard!
You turn you
Hey I'm new to programming and I have been working on calculating miles per
gallon. iv posted below what I have and constructive criticism would be
wonderful. Thanks
#This is a program used to calculate miles per gallon
#variable used to gather miles driven
string_miles = input('How many mile
Hi,
I'm going to try and keep this as general as possible. I'm building an
object model/API for creating and working with 'things' (I'm actually
working with a 3D application through COM, so I guess I'm making a
kind of middleware or wrapper interface). I'm looking for some advice
on structure and
David Hirschfield wrote:
> All the above works fine...but I'm finding the following: while the
> actual creation and pickling of the objects only takes a millisecond or
> so, the actual time before the client call completes is a third of a
> second or more.
>
> So where's the slowdown? It doesn't
David Hirschfield wrote:
> All the above works fine...but I'm finding the following: while the
> actual creation and pickling of the objects only takes a millisecond or
> so, the actual time before the client call completes is a third of a
> second or more.
>
> So where's the slowdown? It do
I've written a server-client system using XML-RPC. The server is using
the twisted.web.xmlrpc.XMLRPC class to handle connections and run
requests. Clients are just using xmlrpclib.ServerProxy to run remote
method calls.
I have a few questions about the performance of xmlrpc in general, and
spe
32 matches
Mail list logo