Right, I meant tuple, not list.
a = ('A string')
b = ('A List Member',)
print(a[0])
print(b[0])
The output for this is:
A
A List Member
@mike
-Original Message-
From: Cameron Simpson
Sent: Friday, July 12, 2019 7:59 PM
To: Mike Barnett
Cc: Shall, Sydney ; tutor@python.org
If you're passing parameters as a list, then you need a "," at the end of the
items. Otherwise if you have something like a string as the only item, the
list will be the string.
list_with_one_item = ['item one',]
@mike
-Original Message-
From: Shall, Sydney
Sent: Wedne
you to do more including running the built-in REPL.
There is also a version being built into the PySimpleGUI library itself so you
do not have to do any imports, etc. All PySimpleGUI will have this watch/debug
capability in it.
@mike
-Original Message-
From: mhysnm1...@gmail.com
Se
://repl.it/@PySimpleGUI/Reddit-Change-variables-GUI
My estimate wasn't too far off 18 lines of code in total.
Is this the kind of modification of variables you where talking about?
@mike
-Original Message-
From: Sean Murphy
Sent: Saturday, June 1, 2019 8:21 AM
To: Mike Barnett
Cc:
t to right.
--
When questions like this arise on PySimpleGUI, I recommend pulling up the docs
and pressing Control-F to do a search.
@mike
-Original Message-
From: Matthew Polack
Sent: Sunday, April 28, 2019 4:49 AM
To: tutor@python.org
Subject: [T
even needing Python installed on their computer.
It’s Remi<https://github.com/dddomodossola/remi>, by the way, that is the magic
behind PySimpleGUIWeb.
@mike<mailto:mike_barn...@hotmail.com>
From: Matthew Polack
Sent: Wednesday, February 20, 2019 10:35 PM
To: David ; Mike Bar
Be cautious when using IDLE with tkinter based programs (PySimpleGUI falls into
this category).
IDLE is written using tkinter. You can sometimes end up with tkinter
complaining about the mainloop running in multiple locations or freeing
resources in the wrong thread.
@mike<mailto:mike_b
be wildly successful. Or... not... The worst that can happen is you
screw up a classroom full of future programmers, creating a warped vision that
GUIs can be fun and easy.
@mike
-Original Message-
From: Matthew Polack
Sent: Tuesday, January 22, 2019 1:58 AM
To: tutor@python
can read the results in their
expression and their understanding.
I think it’s important both to have something you are aiming for (a sense of
what level of brevity you’d like to achieve) and a feedback mechanism that
helps you to know if you are succeeding.
Take or
for the background of a canvas, but of
the entire window. For that you’ll need to use PySimpleGUIQt.
Anyway, it’s worth a look to see if it fits some of your needs.
@mike<mailto:mike_barn...@hotmail.com>
From: Michael Mossey
Sent: Friday, December 21, 2018 1:40 PM
To: Mike Barnett
Cc:
6d-a646921fb8d0.gif
These are all tkinter based examples.
While PySimpleGUI does have a Qt port, it's not as complete when it comes to
these graphics primitives and integration with Matplotlib.
-mike
___
Tutor maillist - Tutor@python.org
To un
=PLl8dD0doyrvHMoJGTdMtgLuHymaqJVjzt
-mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
he overall architecture, this recent post will
help:
https://www.reddit.com/r/Python/comments/a1mj0p/pysimplegui_under_the_hood/
@mike<mailto:mike_barn...@hotmail.com>
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscriptio
I can only compare to the R language I've used. If there is an issue, say a
function freezes at startup, one user brings it up to the list, when the
respective maintainer sees the bug, it is usually addressed on the next release.
In terms of funding. Isn't Python heavily used in industry, so,
Hi all,
I understand that this might be out of the scope of this list but I am
hopeful that someone has some insight on it so I can move forward with this
project. This is a hail mary attempt to get this resolved.
The issue that I am seeing is that I have a script that works well locally.
I am
What do you mean when you say it is not hitting? Is there a specific error,
or are you saying it simply isn't posting to your site?
Mike
On Mon, Oct 30, 2017, 8:21 AM sourav voip <voipdev.sou...@gmail.com> wrote:
> Hi All,
>
> I'm trying to hit request.post with condition using i
and said that for someone with even average skill and ability,
the MS course is actually great and easy to follow on. Good luck, and
welcome.
Mike
On Mon, Oct 30, 2017, 7:24 PM Alchemy <i...@alchemytransformation.net> wrote:
> Hello,
>
> I am in the midst of a career change f
> >Tutor maillist - Tutor@python.org
> >To unsubscribe or change subscription options:
> >https://mail.python.org/mailman/listinfo/tutor
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> ___
> Tutor maillist - Tut
Hi Ben,
Yes, I read your suggestion. I should have added the following in my earlier
message.
Jupyter runs in a web browser like Chrome, and you feed it in line by line, so
if I want to run a project with a hundred lines, it may take a few.
Anyways, Jupyter is the consensus, and I am trying
Hi Ben,
I have not used Vim or Emacs for a very long time. I am spoiled by the friendly
interface of RStudio.
There is a high demand for Python in the industry, but there has not been a
good IDE. I find that strange.
_
From: Ben Finney
s to be working,
as there were originally errors here, but I fixed them.
Thanks very much for your help!
Mike
--
*Mike Armson, PhD Candidate*
University of Toronto, Department of Psychology
Levine Lab, Rotman Research Institute, Baycrest
*p:* (416) 785-2500 x.2826
*e: marm...@research.baycrest
I'm trying to unit test a self-built regular expression processor for an
assignment. I'm trying to set up unit tests for the package, but it's not
executing them. This is my first time trying to use the unittest module, so
I'm sure I'm missing something, I'm just not sure what. I even put a test
Caroline,
The parentheses change the interpretation for the print statement. If you
put it without the parentheses, it will work fine.
print "Mashed ",veg," on the ceiling."
Also, another note: the spaces at end of the first string and the start of
the third string aren't necessary. When you use
On 15-08-19 05:27 AM, Alex Kleider wrote:
On 2015-08-18 19:32, Mike C. Fletcher wrote:
To install without going out to the internet, you can use these
arguments:
pip install --no-index --find-links=/path/to/download/directory
packages
For this to work, /path/to/download/directory
for
every testing build).
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
Hey folks,
I'm working my way through Thinkful with python and I'm trying to get a
setup working. Part of this setup is using SQLAlchemy.
While I understand this is a python tutor list, would it be OK to ask
questions like 'how do I change my SQLAlchemy URL to include a user name'
here?
--
~MEN
Given that n refers to a positive int use a while loop to compute the sum of
the cubes of the first n counting numbers, and associate this value with
total . Use no
http://pearson.turingscraft.com/codelab/jsp/tutor.jsp?glIndex=1lang=PYTHON
3 variables other than n , k , and total .
Hi, I am
Just curious if there's a similar list like this one for Ruby-ists.
Anyone know of one or two?
TIA
--
~MEN
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
I know what return, iteration and tuples are. Can anyone please tell me what
an iterator of tuples is?
Thanks
On Wednesday, November 27, 2013 11:00 AM, tutor-requ...@python.org
tutor-requ...@python.org wrote:
Welcome to the Tutor@python.org mailing list! This list is for folks
who want to
can you please help me figure out why this isnt working thanks
# convert.py
# this program is used to convert Celsius temps to Fahrenheit
# By: James Michael Johnson
Def main ():
Celsius = float (input (What is the Celsius temperature? ))
Fahrenheit = 9.0 / 5.0 * Celsius + 32
Print (The
:13 +0100
From: Alan Gauld alan.ga...@btinternet.com
To: tutor@python.org
Subject: Re: [Tutor] Splitting on punctuation
Message-ID: kp14uo$773$2...@ger.gmane.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 09/06/13 00:44, Mike Nickey wrote:
One of the tasks is to split
Hey guys,
I'm working on a web-project simply to bruh up on skills and build new
ones.
One of the tasks is to split on punctuation passed yet I'm having a bit
more trouble then I expected.
Give the input of which isn't that surprising I guess.,,'.) where the
first part passed is the string and
On 04/28/2013 12:43 PM, eryksun wrote:
On Sat, Apr 27, 2013 at 9:51 PM, Dave Angel da...@davea.name wrote:
And another little-known fact -- NTFS supports hard links, or at least it
did in 1995, on NT 3.5 As I recall, there wasn't support at the cmd prompt,
but you could create them with
On 04/28/2013 07:37 PM, Dave Angel wrote:
On 04/28/2013 08:17 PM, mike wrote:
SNIP
def sync_new():
durFind = raw_input(Enter the duration of time in days you want to
link)
durFind = int(durFind)
fileExcl = *torrent*
linkNew = ['find', '%s' % musicDir, '-maxdepth 2
On 04/28/2013 08:12 PM, Steven D'Aprano wrote:
On 29/04/13 10:54, mike wrote:
Can you elaborate on what you mean regarding the musicDir variable? I
have a loadDir which specifies where the symlinks reside but the
actual root of the media directory is /opt/data/music and it's
organized via
On 04/28/2013 08:59 PM, Dave Angel wrote:
On 04/28/2013 08:54 PM, mike wrote:
On 04/28/2013 07:37 PM, Dave Angel wrote:
On 04/28/2013 08:17 PM, mike wrote:
SNIP
def sync_new():
durFind = raw_input(Enter the duration of time in days you
want to
link)
durFind = int(durFind
Hi all,
I wrote a cli script for syncing my music to a USB mass storage device
like a phone etc. all it does is it creates a symlink in a dir to
whatever folder i pass as an argument via ./addsync DIR . My problem is
i'm having trouble dealing with directories with spaces. when using
Hey all,
I'm used to python 2.7 but I'm seeing and hearing a lot about 3.0 and
wanted to ask a few questions.
I'm seeing on StackOverflow that 2.7 is the standard for those that have
libraries that haven't been ported to 3.1.2 yet. Does this mean that 2.7 is
dead or dying? Is this just a well
and run it using cmd - holler if you
need help, you may if the path to Python isn't good to go.
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
and run it using cmd - holler if you
need help, you may if the path to Python isn't good to go.
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hi Python tutor
I have a question I believe I have posted before: when you have filled the page
with text (commands,list etc) how do you clear the page to allow a clean page
to continue on writing script?
Thanks appreciate your help.
Mike
-Original Message-
From: Tutor [mailto:tutor
.
Thanks
Mike
Michael Waters
Business Unit Information Technology
Global Data Center
Data Center Services Team
GDC 24/7 HotLine # 800-267-3471
McNeil Consumer Heathcare
A division of Johnson Johnson
[cid:image001.png@01CDD9E5.66F96150]
Desk # 519-826-6226 ex 5860
Home# 519-767-2629 Cell 226-500
I just want to thank all who gave some input into my questions.
And the points on convention ,hey I just learned about plain text!
Thanks
Mike
Michael Waters
Business Unit Information Technology
Global Data Center
Data Center Services Team
GDC 24/7 HotLine # 800-267-3471
McNeil Consumer
or screen cleared, as well saves time retyping.
Sorry if I missed it but this works for me because I too prefer to
print to a cleared screen, don't know why, just do.
Mike :)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
.
Thanks in advance for your assistance.
Mike.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Thank you. Works well.
Mike
On Sat, Dec 8, 2012 at 4:18 PM, bob gailer bgai...@gmail.com wrote:
tuple(sum([list(x) for x in zip(a,[c]*len(a))],[]))
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http
I'm in the process of learning python and migrating away from bash
scripting. I'm in the process of converting my bash scripts that
essentially ssh to another host via shared keys, execute commands
remotely, and exit. To do this I started using paramiko but eventually
decided to do it w/
Hi there,
I am doing some online tutorials and have found two approaches to
naming things: this_is_a_name and thisIsAName.
Which one is the best practice for Python? I am a totally newbie to
programming and want to make sure I start with the most common
approach.
Thanks,
mike
+fileName)
except OSError, e:
print sys.stderr, Execution failed:, e
Any help would be appreciated.
--
Mike of Many Stories, Ideas, and Ramblings
Game Chef 2009, 2010
NaNoWriMo 2008, 2009
http://mikeofmanystories.blogspot.com/ - writings
http://mikeofmany.wordpress.com/ - personal
Sorry, hit send a bit too fast there:
here is the output:
session setup failed: NT_STATUS_LOGON_FAILURE
/bin/sh: put: command not found
On Wed, Sep 12, 2012 at 8:14 PM, Steven D'Aprano st...@pearwood.infowrote:
On 13/09/12 13:06, Mike S wrote:
Now, I'm having to change the remote host
Hi All,
I have a few lists that I'm trying to put into a dictionary based on
which list the user wants to use as a filter. If the user selects 1
the the dictionary would be created using the first list as the keys
and the secondary items as the values. If the user selects 2, the
dictionary would
The problem with this code is that it only gets the first word beginning
with x and the others remaisn on the original list, sorted at the end. I've
tested on terminal many parts of the code and it whas fine, but when I run
it complete, it does not work.
Following is the solution of the
Hey all,
I'm working through the google classes to increase my python
understanding and I'm stuck on sorting tuples.
What is being asked is to sort tuples based on the second element of
the tuple in ascending order.
Given a list of non-empty tuples, return a list sorted in increasing
order by
While i'm still not sure what lamda is or represents, I've found a solution.
Thank you all for your assistance, past, present and future. :)
This seems to work:
def sort_last(tuples):
return sorted(tuples, key=myDef)
def myDef(s):
return s[-1]
On Wed, Jun 20, 2012 at 4:05 PM, Mike
Hey all,
I'm working on a bit of code here and I'm having an issue with
getpass. In the documentation, it says it hides the text entered
Prompt the user for a password without echoing. --
http://www.python.org/doc//current/library/getpass.html
However when I run it in Eclipse, the password is
I'm trying to write a bit of code that will run through a text file
and find the item or word string that is the same forward as it is
when it is revered...a palindrome. I'm having a bit of issue looping
through the wordList[] that I have created.
If you have any comments or suggestions I'd
, 2012 at 6:38 PM, Dave Angel d...@davea.name wrote:
On 06/08/2012 09:01 PM, Marc Tompkins wrote:
On Fri, Jun 8, 2012 at 5:10 PM, Mike Nickey mnic...@gmail.com wrote:
def compareElements(wordList):
for item in wordList():
if item == item.reversed():
print item
I am trying understand python and have done fairly well, So for it has been
easy to learn and is concise. However I seem to not quite understand the use
of a generator over a function(I am familiar with functions [other languages
and math]). To me (excepting obvious syntax differences) a
Hey all,
I'm trying to wok on a game tracker for my friends. What I have here
partly works but there are areas that I want to change and some areas
that are just not working for me.
The areas that I am having difficulty with are the def pointsNeeded
and oppPointsNeeded.
What is strange to me is
not redundant code?
On Sat, Feb 25, 2012 at 02:07, Mike Nickey mnic...@gmail.com wrote:
Hey all,
I'm trying to wok on a game tracker for my friends. What I have here
partly works but there are areas that I want to change and some areas
that are just not working for me.
The areas that I am
quote
...Exercise 16, extra credit 3...Code from the book...like the author mentioned
/quote
The book and author, do they have a name...? Is this an exercise in refactoring?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
Hi Chris
I'm new to programming and Python myself so I would listen to the
previous guys first, and I'll repeat a bit of what has already been
mentioned...
Make sure you define 'x'. Is name really an 'int', or is it possibly a 'str'?
Fix any indentation issues.
Is there anything you can do
Hi Tonyelle
Your code doesn't work as expected due to your 2nd edition book uses
Python 3x, see page xi, 'Changes in this edition'.
This would work for your version of Python...
room = 503
print 'I am staying in room number', room
If you're new, Python 2.7.2 is (IMO) a better choice, many more
quote How does one go from small to medium, to large, as a coder? /quote
You might look into contributing to an existing project.
There is a new project, MediaLocker, a Python / wxPython app recently
underway, started from a blog post. I
believe they are looking for input, including contributing
I'm currently taking a class on Android Development.
The instructor says that the code needed has to be done through Java.
Isn't there any way to create these same apps with Python?
I read on the Android Dev site that MonkeyRunner can assist but does
anyone else have any experience on how well
)):
print thank you
temp = 1
break
elif (UserSkillLvl 8) or (UserSkillLvl 1):
while temp == 0:
UserSkillLvl = raw_input(Please re-enter your skill level: )
return UserSkillLvl
Best,
Mike Nickey
mnic...@gmail.com
= raw_input(Enter your name: )
return UserName
def getUserNumber(x):
x = input(Enter a number:) #This will be the users unique ID number
return x
getUserName()
getUserNumber(x)
print UserName, x
Best,
Mike Nickey
mnic...@gmail.com
___
Tutor
Hi all,
I'm trying to access and use specific items within a dictionary that
is returned but am having issues in doing so.
[{'city': 'Sunnyvale', 'region_name': 'CA', 'area_code': 408,
'metro_code': 'Santa Clara, CA', 'country_name': 'United States'}]
How can I populate a list of many different
:
On 08/01/2011 03:05 PM, Mike Nickey wrote:
Hi all,
I'm trying to access and use specific items within a dictionary that
is returned but am having issues in doing so.
[{'city': 'Sunnyvale', 'region_name': 'CA', 'area_code': 408,
'metro_code': 'Santa Clara, CA', 'country_name': 'United States
= []
for d in yourdict:
l.append(d['city'])
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Mike Nickey mnic...@gmail.com
Sender: tutor-bounces+eire1130=gmail@python.org
Date: Mon, 1 Aug 2011 15:26:32
To: ian douglasian.doug...@iandouglas.com
Cc: tutor
Hi, I need to know if there is any way to run a python file without Python
installed on the target computer. I am trying to send a program to a friend
using windows and he does not have python installed, and does not want to
take the time to install it. Is there any way to send him the file (or
HI,
I had a question, when running this small snippet of test code:
a = ['test1', 'flag', 'monday']
for i in a:
if i == 'test1' or 'test2':
print 'true'
It always prints true
$ ./testing.py
true
true
true
I know I am missing something, but in reality it should only print
true
was
thinking, so the first time it would test for 'test1', and the second
time it would test for 'flag', did not realize it would test the
entire list all at once.
On Mon, Mar 14, 2011 at 4:00 PM, Marc Tompkins marc.tompk...@gmail.com wrote:
On Mon, Mar 14, 2011 at 12:41 PM, Mike Franon
Should have sent this to the list too
-- Forwarded message --
From: Micheal Beatty mike...@gmail.com
Date: Sun, Sep 5, 2010 at 2:38 PM
Subject: Re: [Tutor] for loop results into list
To: Andre Engels andreeng...@gmail.com
On 09/05/2010 02:16 PM, Andre Engels wrote:
On Sun
runs (atl_cmd=0 or alt_cmd=1), the stdout and stderr printouts at
the end of the script are empty.
Any suggestions would be appreciated.
Thanks,
Mike
***
On Wed, Mar 31, 2010 at 7:42 AM, Tim
Yashwin,
Thanks! Your nohup redirection worked great!
- Mike
On Wed, Apr 21, 2010 at 2:45 PM, Yashwin Kanchan
yashwinkanc...@gmail.comwrote:
Hi Mike
have you tried running the tshark process in the background...
*CMD_LIST=[PLINK,sess_name,'/usr/bin/sudo /usr/sbin/tshark
around it.
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
.
Random Googling shows that there are things like process identification
numbers available - such as proc.pid. How do I find the other options?
Thanks,
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http
#proc.stdin.write(dir)
#(stdout_value, stderr_value) = proc.communicate(input=dir)[0]
return proc
Thanks,
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
deep pockets, then Big Nerd Ranch sounds like fun.
http://www.bignerdranch.com/classes/python
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
need.
For those that don't want the steep learning curve of VIM or Emacs, I'd
recommend KOMODO.
Mike
No, I don't work for ActiveState. =)
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org
I use and love Pyscripter for Windows. I guess I am used to the Delphi IDE.
Mike
On Tue, Feb 23, 2010 at 11:24 AM, Giorgio anothernetfel...@gmail.com wrote:
Hi All,
what text-editor do you use for python?
I've always used kate/nano on Linux and Notepad++/PSPad on Win. Today i've
installed
-Original Message-
[mailto:tutor-bounces+mike.hansen=atmel@python.org] On
Behalf Of Alan Gauld
Sent: Tuesday, February 16, 2010 5:58 PM
Hansen, Mike mike.han...@atmel.com wrote
I'm aware of Pep8. It's a good starting point. Anything
more in-depth
than Pep8 and the Zen
before from x
import y imports and alphabetize by module name. I'm not strict about
that though.
This make me wonder. Is there a document or web site that has Python Best
Practices? Something along the lines of the Perl Best Practices book, but
probably shorter. =)
Mike
From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne
Werner
Sent: Tuesday, February 16, 2010 1:07 PM
To: Hansen, Mike
Cc: Tutor Python
Subject: Re: [Tutor] The Order of Imports and install order of modules
of sounds like the rubber duck method of debugging.
http://lists.ethernal.org/oldarchives/cantlug-0211/msg00174.html
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
to check my code
and catch those silly mis-spelling of a variable.
Mike
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hi all,
I am a PHP developer that just started learning Python for a specific
application and the transition has been pretty easily assisted by google,
but I just dont see the issue with this one?
Ive got a list that created and populate in a loop that shows the correct
info when I
was plugging
along on this script with just a couple of hours into python for this
scraping project, but what you have shown me here will help and I will come
back to the list after I have a better understanding of what I am doing.
Thanks,
Mike
-Original Message-
From: Dave Angel [mailto:da
Try out Vim. It may take you a week to get used to it. Best thing I ever did
was finally get started on Vim. Once I got used to it I was very happy.
Google around for Vim tutorials. There is a #VIM channel on freenode I
believe. There is also a VIM mailing list that is very helpful. You won't
need
I really like using F5 to run my code, so you can put in your .vimrc so you
don't have to type it, or just type it every time:
map F5 :!python %Enter
and every time you hit F5 it will run your current script.
Thanks for that. It's even better than typing :!python % because it doesn't
On Tue, Jun 9, 2009 at 3:00 AM, Mike Hoy hoy...@gmail.com wrote:
Here's the screenshot:
http://img40.imageshack.us/img40/7124/printtwice.png
In case the image goes down here's the code:
import gzip
import datetime
date = datetime.date.today()
name = date.strftime('%m-%d-%Y')+'.gz'
print
On Tue, Jun 9, 2009 at 6:34 AM, The Green Tea Leaf
thegreenteal...@gmail.com wrote:
I got an email from him that he had a gzip.pyc file in that folder.
Once he deleted that everything works OK.
Heh... I think I've made that mistake before;
My import statement doesn't work right! When I
I have the following code:
import gzip
import datetime
date = datetime.date.today()
name = date.strftime('%m-%d-%Y')+'.gz'
date.strftime('%m-%d-%Y')+'.gz'
print The name of the file will be, name
the output is:
The name of the file will be
The name of the file will be 06-08-2009.gz
I can't
, queries, reports, etc.
4. Smart enough to easily read and convert an Access (.mdb) database file.
5. And, everything either in Python or with APIs that Python can easily use.
Has anyone used products that would meet my needs?
Thanks.
Mike
os.system(cat textfile | less)
did the trick, thanks everyone.
On Wed, Nov 19, 2008 at 2:34 PM, Lie Ryan [EMAIL PROTECTED] wrote:
On Mon, 17 Nov 2008 09:20:55 -0500, Shawn Milochik wrote:
On Sun, Nov 16, 2008 at 1:21 PM, Mike Hoy [EMAIL PROTECTED] wrote:
I'm writing a small program
Ok thanks Alan for looking into it. I'll give it a try.
On Mon, Nov 17, 2008 at 12:27 PM, ALAN GAULD [EMAIL PROTECTED] wrote:
Forwarding to the group.
Please use Reply All when responding.
- Original Message
From: Mike Hoy [EMAIL PROTECTED]
To: Alan Gauld [EMAIL PROTECTED]
I'm
that on the man pages that you can do that
although I'm sure it's not written in python. Do I need to find a new
language to write this in? Maybe use a different language for the
output and still use python? Any help appreciated.
--
Mike Hoy
http://www.mikehoy.net
I'm running a number of test cases and saving their results in a shelve file.
A full run of the test cases takes about 36 hours. During that time, if
something interrupts the run (e.g., a power outage, which has happened), I find
that none of the completed test cases have been committed to the
I would like to plot various datasets on a Tkinter canvas widget.
The problem is that each of my datasets have different x,y extremes. For
instance, one dataset may have xmin = 0, xmax = 300, ymin = 0, ymax = 300;
whereas the next dataset may have xmin = -200, xmax = 1200, ymin = 2000, ymax =
1 - 100 of 328 matches
Mail list logo