esses up the refcount for
True, but this refcount issue is for some tuple object, so may possibly be
a different problem.
Steve
..
thanks for all the advice and apologies for the noise. It turns out that Victor Stinner's recommendation in the dev list
was the solution as I don't s
I would normally agree, except...
This is a refcount issue (I was able to reproduce the problem, gbd shows a
free error )
And I wouldn't recommend DGBing a refcount issue as a beginner to debugging.
The other mailing list identified a PIL bug that messes up the refcount for
True, but this refcou
Run python under gdb and when the segv happens use
the gdb bt command to get a stack trace.
Also if gdb says that it needs debug symbols install you will need to
do that. Otherwise the not will not contain symbols.
Barry
> On 17 Jan 2021, at 19:58, Robin Becker wrote:
>
> I have a segfault i
I have a segfault in the 3.10 alpha 4 when running the reportlab document generation; all the other tests seem to have
worked. I would like to ask experts here how to approach getting the location of the problem. I run recent archlinux.
Below is the output of a test run with -Xdev -Xtracemalloc
if NO-ANS:
print (" Its Python forum ")
elif ANS:
print (" Personal mail to Mr.Ryan")
else:
print (" Ryan kindly use the appropriate forum to discuss your topic")
On Thu, Oct 18, 2018 at 5:27 AM Ryan Johnson wrote:
> Anyone know a good US based law firm that specializes in software
ility, software licenses, and
possibly class action suits.
Sent from Mail for Windows 10
From: Ryan Johnson
Sent: Wednesday, October 17, 2018 9:26 PM
To: python-list@python.org
Subject: Advice on law firm
Anyone know a good US based law firm that specializes in software licenses and
class action
Correction: specializing in warranty of merchantability, software licenses, and
possibly class action suits.
Sent from Mail for Windows 10
From: Ryan Johnson
Sent: Wednesday, October 17, 2018 9:26 PM
To: python-list@python.org
Subject: Advice on law firm
Anyone know a good US based law firm
Anyone know a good US based law firm that specializes in software licenses and
class action suits?
Sent from Mail for Windows 10
--
https://mail.python.org/mailman/listinfo/python-list
, so you
have some idea of what it can do. As your requirements grow, you'll
eventually outgrow SQLite, and the most obvious next step is Postgres;
you'll do well to at least have a nodding familiarity with it, so you
can decide when to move up.
Also, since you're asking for advic
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
I define ExecutionContext in xmlboiler.core.execution_context module.
ExecutionContext is meant to contain a common "environment" suitable for
different kinds of tasks.
Currently ExecutionContext contains a logger and a translator of messages:
class ExecutionContext(object):
def __init__(se
sources. For now, I imagine a simple flask app capturing the input and
feeding it into an SQL database.
Certainly, someone has had the opportunity to something similar if not
identical. I would be particularly greatful for advice on design and work
already done.
For those interested, I have
ivan77 writes:
> I would like to create a Python module/client library for a data
> visualization service that I use (and will be using more) as my first larger
> contribution to open source Python.
What kind of service is this "data visualization service"?
Is it a library, destined to be linke
Hi All,
I would like to create a Python module/client library for a data visualization
service that I use (and will be using more) as my first larger contribution to
open source Python.
I have not come across any best practices for this, and am wondering whether
there are some resources that y
i plan to try writing an ai for a strategic game, and i've pretty much narrowed
the candidates down to either checkers or
reversi. i would prefer to tackle the easier game, so can anybody tell me which
one is easier to program decently? (or maybe
i'm missing a good candidate - basically all i
> A good way to learn unit testing and regression testing is to download
> the Python source code and read the test suites.
It’s a fantastic idea. I will also have a good understanding of the internals
of the standard library and at I can learn more about testing.
Any specific module that you
On Mon, 28 Aug 2017 01:55:25 +0530, Anubhav Yadav wrote:
> Can you suggest me the right python testing frameworks that I should be
> using? Right now I am using unittest to write test cases and manual
> if/else statements to run the functional test cases.
A good way to learn unit testing and reg
> If you have a function and you want to assert *that function's*
> behaviour, you can avoid external dependencies during the test run by
> providing fake resources. These can be mocks (e.g. with ‘unittest.mock’)
> or other fake resources that are going to behave exactly how you want,
> for the pu
> On 28-Aug-2017, at 04:35, Ben Finney wrote:
>
> Anubhav Yadav writes:
>
>> I want to write more test cases, specially that rely on database
>> insertions and reads and file IO.
>
> Thanks for taking seriously the importance of test cases for your code!
>
> One important thing to recognise
Anubhav Yadav writes:
> I want to write more test cases, specially that rely on database
> insertions and reads and file IO.
Thanks for taking seriously the importance of test cases for your code!
One important thing to recognise is that a unit test is only one type of
test. It tests one unit o
Hello,
I am a (self-learned) python developer and I write a lot of python code
everyday. I try to do as much unit testing as possible. But I want to be better
at it, I want to write more test cases, specially that rely on database
insertions and reads and file IO. Here are my use-cases for test
>
>
> Hi there,
>
> I am trying to assist my daughter with a school IT task to install Python
> & Pyscripter on a Windows 10 notebook. (64 bit system)
>
> It seems no version of Pyscripter will work - it fails to complete the
> installation & ends with an error ("Python could not be properly
> init
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 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 ex
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 y
etely legal?
I could really use sone advice here.
Thank you.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Aug 12, 2016 at 12:56 AM, Malcolm Greene wrote:
> Looking for some advice on how to optimize the BOILERPLATE portions of
> the following type of code. There's an awful lot of dot dereferencing
> going on. One thought was to pass in the values being dereferenced as
> para
On Thu, Aug 11, 2016 at 10:57 AM Malcolm Greene wrote:
> Background: I'm building a rules engine for transforming rows of data
> being returned by csv DictReader, eg. each row of data is a dict of column
> name to value mappings. My rules are a list of rule objects whose
> attributes get referen
iated method which
gets called based on rule name.
Looking for some advice on how to optimize the BOILERPLATE portions of
the following type of code. There's an awful lot of dot dereferencing
going on. One thought was to pass in the values being dereferenced as
parameters and return value. But
Thanks for the tips. Doit does look interesting.
Regarding template plugins with Nikola the plugins would be only for python
template alternatives such as mako.
Mainly i find the whitespace and readability of Jade/pug far more pythonic
than all tge brackets {% %} yes its a minor thing but so
On 12 April 2016 at 11:48, Sayth Renshaw wrote:
> Hi
>
> Looking at the wiki list of build tools
> https://wiki.python.org/moin/ConfigurationAndBuildTools
>
> Has anyone much experience in build tools as i have no preference or
> experience to lean on.
>
> Off descriptions only i would choose inv
On Tuesday, April 12, 2016 at 4:41:15 PM UTC+5:30, Ben Finney wrote:
> Sayth Renshaw writes:
>
> > Looking at the wiki list of build tools
> > https://wiki.python.org/moin/ConfigurationAndBuildTools
> >
> > Has anyone much experience in build tools as i have no preference or
> > experience to lea
Sayth Renshaw writes:
> Looking at the wiki list of build tools
> https://wiki.python.org/moin/ConfigurationAndBuildTools
>
> Has anyone much experience in build tools as i have no preference or
> experience to lean on.
I'm quite fine with GNU Make, so haven't really tried a lot of others.
I am
On Tuesday, 12 April 2016 19:48:43 UTC+10, Sayth Renshaw wrote:
> Hi
>
> Looking at the wiki list of build tools
> https://wiki.python.org/moin/ConfigurationAndBuildTools
>
> Has anyone much experience in build tools as i have no preference or
> experience to lean on.
>
> Off descriptions only
Hi
Looking at the wiki list of build tools
https://wiki.python.org/moin/ConfigurationAndBuildTools
Has anyone much experience in build tools as i have no preference or experience
to lean on.
Off descriptions only i would choose invoke.
My requirements, simply i want to learn and build a simple
I've been busy porting a Linux code to Windows, and originally decided to go
for the mingw-w64 toolchain set, with gcc-4.8 and win32 threading model.
I'm embedding Python in C++ code, and I need to be able to import specific
modules, like PySide, to eventually embed an IPython qtconsole in a C++
On Mon, Nov 9, 2015 at 3:00 PM, Sayth Renshaw wrote:
> This is an exert
>
> DevKit Overview
> The DevKit is a toolkit that makes it easy to build and use native C/C++
> extensions such as RDiscount and RedCloth for Ruby on Windows.
>
> Because on Windows with python libraries like lxml will fail
This is an exert
DevKit Overview
The DevKit is a toolkit that makes it easy to build and use native C/C++
extensions such as RDiscount and RedCloth for Ruby on Windows.
Because on Windows with python libraries like lxml will fail with a vcvarsall
error based on different c++ compilers.
Sayth
On Mon, Nov 9, 2015 at 11:33 AM, Sayth Renshaw wrote:
> I was wondering if there is a reason that we on windows with python do not
> have a version of Ruby devkit for python.
>
Many of us here don't use Ruby. Can you elaborate on what "devkit" does, please?
ChrisA
--
https://mail.python.org/ma
Hi
I was wondering if there is a reason that we on windows with python do not have
a version of Ruby devkit for python.
Is it just for historical reason of life before pip became the package manager
and released with python?
I can't find the actual post in SO it came off this discussion
http
In a message of Sun, 30 Aug 2015 10:34:18 -0700, kbtyo writes:
>@Laura - thank you. I observed this earlier. Please see my reply to Ben and
>MRAB for the most up to date status.
For the more general problem of 'how do I parse my XML'
download and use this package.
https://pypi.python.org/pypi/x
On Sunday, August 30, 2015 at 1:16:12 PM UTC-4, MRAB wrote:
> On 2015-08-30 17:31, kbtyo wrote:
> > On Saturday, August 29, 2015 at 10:50:18 PM UTC-4, MRAB wrote:
> >> On 2015-08-30 03:05, kbtyo wrote:
> >> > I am using Jupyter Notebook and Python 3.4. I have a data structure in
> >> > the format,
When you get TypeError: unhashable type: 'dict'
it almost always means that you are trying to use a dict as
a key for a different dict.
Python 2.7.10 (default, Jul 1 2015, 10:54:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> d={1:'one', 2:'t
On 2015-08-30 17:31, kbtyo wrote:
On Saturday, August 29, 2015 at 10:50:18 PM UTC-4, MRAB wrote:
On 2015-08-30 03:05, kbtyo wrote:
> I am using Jupyter Notebook and Python 3.4. I have a data structure in the
format, (type list):
>
> [{'AccountNumber': N,
> 'Amount': '0',
> 'Answer': '12:00:00
On Saturday, August 29, 2015 at 11:04:53 PM UTC-4, Ben Finney wrote:
> kbtyo writes:
>
> > I am using Jupyter Notebook and Python 3.4.
>
> Thank you for saying so! It is not always required, but when it matters,
> this information is important to state up front.
>
> > I have a data structure in
On Saturday, August 29, 2015 at 10:50:18 PM UTC-4, MRAB wrote:
> On 2015-08-30 03:05, kbtyo wrote:
> > I am using Jupyter Notebook and Python 3.4. I have a data structure in the
> > format, (type list):
> >
> > [{'AccountNumber': N,
> > 'Amount': '0',
> > 'Answer': '12:00:00 PM',
> >'ID': No
kbtyo writes:
> I am using Jupyter Notebook and Python 3.4.
Thank you for saying so! It is not always required, but when it matters,
this information is important to state up front.
> I have a data structure in the format, (type list):
>
> [{'AccountNumber': N,
> 'Amount': '0',
> 'Answer': '12
On 2015-08-30 03:05, kbtyo wrote:
I am using Jupyter Notebook and Python 3.4. I have a data structure in the
format, (type list):
[{'AccountNumber': N,
'Amount': '0',
'Answer': '12:00:00 PM',
'ID': None,
'Type': 'WriteLetters',
'Amount': '10',
{'AccountNumber': Y,
'Amount':
On 30/08/2015 03:05, kbtyo wrote:
I am using Jupyter Notebook and Python 3.4. I have a data structure in the
format, (type list):
[{'AccountNumber': N,
'Amount': '0',
'Answer': '12:00:00 PM',
'ID': None,
'Type': 'WriteLetters',
'Amount': '10',
{'AccountNumber': Y,
'Amount':
I am using Jupyter Notebook and Python 3.4. I have a data structure in the
format, (type list):
[{'AccountNumber': N,
'Amount': '0',
'Answer': '12:00:00 PM',
'ID': None,
'Type': 'WriteLetters',
'Amount': '10',
{'AccountNumber': Y,
'Amount': '0',
'Answer': ' 12:00:00 PM',
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
On Saturday, April 4, 2015 at 1:52:20 AM UTC+5:30, Dave Angel wrote:
> On 04/03/2015 08:50 AM, Saran A wrote:
> > On Friday, April 3, 2015 at 8:05:14 AM UTC-4, Dave Angel wrote:
> >> On 04/02/2015 07:43 PM, Saran A wrote:
> >
> > I addressed most of the issues. I do admit that, as a novice, I feel
On 03Apr2015 16:21, Dave Angel wrote:
On 04/03/2015 08:50 AM, Saran A wrote:
On Friday, April 3, 2015 at 8:05:14 AM UTC-4, Dave Angel wrote:
On 04/02/2015 07:43 PM, Saran A wrote:
os.mkdir('Success')
As you correctly stated:
What do you do the second time through this function, when
On 04/03/2015 08:50 AM, Saran A wrote:
On Friday, April 3, 2015 at 8:05:14 AM UTC-4, Dave Angel wrote:
On 04/02/2015 07:43 PM, Saran A wrote:
I addressed most of the issues. I do admit that, as a novice, I feel beholden
to the computer - hence the over-engineering.
Should be quite the oppo
On Friday, April 3, 2015 at 6:46:21 AM UTC-4, Peter Otten wrote:
> Saran A wrote:
>
> > I debugged and rewrote everything. Here is the full version. Feel free to
> > tear this apart. The homework assignment is not due until tomorrow, so I
> > am currently also experimenting with pyinotify as well.
On Friday, April 3, 2015 at 8:05:14 AM UTC-4, Dave Angel wrote:
> On 04/02/2015 07:43 PM, Saran A wrote:
>
> >
> > I debugged and rewrote everything. Here is the full version. Feel free to
> > tear this apart. The homework assignment is not due until tomorrow, so I am
> > currently also expe
On 04/02/2015 07:43 PM, Saran A wrote:
I debugged and rewrote everything. Here is the full version. Feel free to tear
this apart. The homework assignment is not due until tomorrow, so I am
currently also experimenting with pyinotify as well. I do have questions
regarding how to make this
Saran A wrote:
> I debugged and rewrote everything. Here is the full version. Feel free to
> tear this apart. The homework assignment is not due until tomorrow, so I
> am currently also experimenting with pyinotify as well.
Saran, try to make a realistic assessment of your capability. Your
"debu
On Thursday, April 2, 2015 at 5:11:20 PM UTC-4, Dave Angel wrote:
> On 04/02/2015 09:06 AM, Saran A wrote:
>
> >
> > Thanks for your help on this homework assignment. I started from scratch
> > last night. I have added some comments that will perhaps help clarify my
> > intentions and my thought
On 04/02/2015 09:06 AM, Saran A wrote:
Thanks for your help on this homework assignment. I started from scratch last
night. I have added some comments that will perhaps help clarify my intentions
and my thought process. Thanks again.
from __future__ import print_function
I'll just randomly
On Wednesday, April 1, 2015 at 7:52:27 PM UTC-4, Dave Angel wrote:
> On 04/01/2015 09:43 AM, Saran A wrote:
> > On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote:
> >> On 03/31/2015 07:00 AM, Saran A wrote:
> >>
> >> > @DaveA: This is a homework assignment. Is it possible that
On 04/01/2015 09:43 AM, Saran A wrote:
On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote:
On 03/31/2015 07:00 AM, Saran A wrote:
> @DaveA: This is a homework assignment. Is it possible that you
could provide me with some snippets or guidance on where to place your
suggesti
On Sunday, March 29, 2015 at 8:33:43 AM UTC-4, Peter Otten wrote:
> Saran Ahluwalia wrote:
>
> > On Sunday, March 29, 2015 at 7:33:04 AM UTC-4, Saran Ahluwalia wrote:
> >> Below are the function's requirements. I am torn between using the OS
> >> module or some other quick and dirty module. In add
On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote:
> On 03/31/2015 07:00 AM, Saran A wrote:
>
> > @DaveA: This is a homework assignment. Is it possible that you
> could provide me with some snippets or guidance on where to place your
> suggestions (for your TO DOs 2,3,4,5)?
On 03/31/2015 07:00 AM, Saran A wrote:
> @DaveA: This is a homework assignment. Is it possible that you
could provide me with some snippets or guidance on where to place your
suggestions (for your TO DOs 2,3,4,5)?
>
On Monday, March 30, 2015 at 2:36:02 PM UTC-4, Dave Angel wrote:
I
On Monday, March 30, 2015 at 2:36:02 PM UTC-4, Dave Angel wrote:
> On 03/30/2015 12:45 PM, Saran A wrote:
> > On Sunday, March 29, 2015 at 10:04:45 PM UTC-4, Chris Angelico wrote:
> >> On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin
> >> wrote:
> >>> Saran Ahluwalia writes:
> cross-platform...
On 03/30/2015 12:45 PM, Saran A wrote:
On Sunday, March 29, 2015 at 10:04:45 PM UTC-4, Chris Angelico wrote:
On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin wrote:
Saran Ahluwalia writes:
cross-platform...
* Monitors a folder for files that are dropped throughout the day
I don't see a cross-p
On Sunday, March 29, 2015 at 10:04:45 PM UTC-4, Chris Angelico wrote:
> On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin wrote:
> > Saran Ahluwalia writes:
> >> cross-platform...
> >> * Monitors a folder for files that are dropped throughout the day
> >
> > I don't see a cross-platform way to do that
On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin wrote:
> Saran Ahluwalia writes:
>> cross-platform...
>> * Monitors a folder for files that are dropped throughout the day
>
> I don't see a cross-platform way to do that other than by waking up and
> scanning the folder every so often (once a minute,
Saran Ahluwalia writes:
> cross-platform...
> * Monitors a folder for files that are dropped throughout the day
I don't see a cross-platform way to do that other than by waking up and
scanning the folder every so often (once a minute, say). The Linux way
is with inotify and there's a Python modu
On 03/29/2015 07:37 AM, Saran Ahluwalia wrote:
On Sunday, March 29, 2015 at 7:33:04 AM UTC-4, Saran Ahluwalia wrote:
Below are the function's requirements. I am torn between using the OS module or some
other quick and dirty module. In addition, my ideal assumption that this could be
cross-plat
Thank you for the feedback - I have only been programming for 8 months now and
am fairly new to best practice and what is considered acceptable in public
forums. I appreciate the feedback on how to best address this problem.
On Sunday, March 29, 2015 at 8:33:43 AM UTC-4, Peter Otten wrote:
> Sa
Saran Ahluwalia wrote:
> On Sunday, March 29, 2015 at 7:33:04 AM UTC-4, Saran Ahluwalia wrote:
>> Below are the function's requirements. I am torn between using the OS
>> module or some other quick and dirty module. In addition, my ideal
>> assumption that this could be cross-platform. "Records" r
On Sunday, March 29, 2015 at 7:33:04 AM UTC-4, Saran Ahluwalia wrote:
> Below are the function's requirements. I am torn between using the OS module
> or some other quick and dirty module. In addition, my ideal assumption that
> this could be cross-platform. "Records" refers to contents in a file
Below are the function's requirements. I am torn between using the OS module or
some other quick and dirty module. In addition, my ideal assumption that this
could be cross-platform. "Records" refers to contents in a file. What are some
suggestions from the Pythonistas?
* Monitors a folder for
eme-review/
--
View this message in context:
http://python.6.x6.nabble.com/Bodybuilding-Helpful-Advice-tp5083763.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
https://mail.python.org/mailman/listinfo/python-list
beginners.
Of cause, if there any other frameworks that worth to consider, and
seems more suitable for beginners, I would be glad to hear for your advice.
Here I need most of your help:
2. The interactive "middle window", unfortunately I have no idea what is a
suitable software for su
x27;s not listed as such in the
> docs. Is it just that it's preferred to use other methods instead of
> using Task() directly, or am I missing something?
asyncio is a provisional API [3], it may change without notice (though
it shouldn't without a reason). From asyncio docs [4]:
a
question or two though, if you don't mind.
You said Task() is deprecated, but it's not listed as such in the docs. Is it
just that it's preferred to use other methods instead of using Task() directly,
or am I missing something?
Also, just so I can wrap my head around things,
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
On Tue, Nov 11, 2014 at 11:53 AM, Mary-Frances McNamee <
maryfrances.mcna...@epas-ltd.com> wrote:
> To whom it may concern,
>
>
>
> I am currently working on a bit of coding for a raspberry pi, I was
> wondering maybe I could get some advice? I want my program to run f
On Tue, 11 Nov 2014 16:53:18 +
Mary-Frances McNamee wrote:
> To whom it may concern,
>
> I am currently working on a bit of coding for a raspberry pi, I was wondering
> maybe I could get some advice? I want my program to run for a certain time,
> for example 7am-2.30am ev
On Tue, Nov 11, 2014 at 9:53 AM, Mary-Frances McNamee <
maryfrances.mcna...@epas-ltd.com> wrote:
>
> I am currently working on a bit of coding for a raspberry pi, I was
wondering maybe I could get some advice? I want my program to run for a
certain time, for example 7am-2.30am every
1 - 100 of 993 matches
Mail list logo