On 13Jul2014 20:33, Alan Gauld wrote:
I've been using python 3 almost exclusively for the last 4 months and
the differences are much more significant than the headlines suggest.
In particular the module structure and naming is very different -
enough to confuse a beginner using a Python2 tutor
Yes, that pretty well sums up what I would like to do. I can't show the
input here, but it is saved as an xlsx file (this is proving problematic
for me already since I'm using python 3.4 and it doesn't fully support this
format yet...I may have to switch to python 2 for better support).
I don't th
On 15/07/14 17:48, John Cast wrote:
1) How does one automate the save as webpage from python?
It is possible using COM objects and the pywin32 library.
However that's rarely the best way to approach things.
But if you insist...
Here is a short example of opening a FileOpen dialog...
import w
On Tue, Jul 15, 2014 at 12:48 PM, John Cast wrote:
> Yes, that's exactly what I'm trying to do. However, when testing this out
> manually like I pointed to above, the output of the save as feature freezes
> the column widths. This would be fine except that not all of the column
> widths are exp
Yes, that's exactly what I'm trying to do. However, when testing this out
manually like I pointed to above, the output of the save as feature freezes
the column widths. This would be fine except that not all of the column
widths are expanded so that all of the text can be seen (at the moment I
do
this construct:
On Tue, Jul 15, 2014 at 5:09 AM, Oğuzhan Öğreden
wrote:
>
>
> while time_now < time_finish: # counter and count_until defined
> somewhere above and
> if g_threadStop.is_set() == False:
> # return something or raise an exception to signal
> ite
Apologies, I didn't answer your question.
while time_now < time_finish: # counter and count_until defined
somewhere above and
if g_threadStop.is_set() == False:
# return something
Thread methods are typically void, meaning they return nothing. At least
this is
So if I understand this correctly, you want to start a thread and then stop
it after a certain time period?
Here's an adapted example that includes a timer. (I believe in learning by
example where possible)
With that said, if it were my code going into production I'd move the timer
logic out of th
Thanks all, for your time and trouble spent on this issue.
There are other 2D packages around including; Shoebot, which runs
Python 2.7 and is a rewrite of nodebox 1, and is said to be inspired by
DrawBot and Shoes. However, its installation is not well documented (or
straightforward). node
Thanks!
I'll have a side question. If I implement this idea to my case,
threadWorker() would look like this:
def threadWorker(_arg1, _arg2):
print("Starting worker thread with args: %s, %s" % (_arg1, _arg2))
while g_threadStop.is_set() == False:
## here comes a for loop:
On Jul 15, 2014 3:17 AM, "John Cast" wrote:
>
> Hey everyone,
>
> I really appreciate all of the help you given me.
> I am making progress, however I have reached a problem I'm not sure how
best to tackle and would like someone with more experience with excel and
python to lend their knowledge/opi
*> From:* idiallo.s...@gmail.com
*> Sent:* Sunday, July 13, 2014 9:16 AM
*> To:* Python Tutor Mailing List
*> Subject:* [Tutor] Python 2 Vs python 3
>
> I am in the process to dive into python and start learning it. But most
books
> advice to install python 2 instead of python 3. Any advice from
12 matches
Mail list logo