Hi there:
I just had a quick thought of something that might be useful to me when
creating my web app and I wanted some help on the idea; since this
group has been helpful in the past.
in my app I have a few html forms that require the user to enter in
data, in string form
is it possible to vali
I am currently uploading a file from a users computer to the file
system on my server using python, just reading the file and writing the
binaries.
total_data=' '
while True:
data = upload_file.file.read(8192)
if not data:
break
t
that stores tempname as "\\"
..
Jim wrote:
> Try using: tempname = "\\"
> Jim
>
>
> OriginalBrownster wrote:
> > Hi there...
> >
> > I'm still pretty new to turbogears. but i have gotten pretty familiar
> > with it
> >
Hi there...
I'm still pretty new to turbogears. but i have gotten pretty familiar
with it
i'm just trying to clear something up, i'm having a difficult time
using \ when declaring a string expression
such as tempname="\"..it says that the line is single qouted.
i want this because using python
John Salerno wrote:
> Ok, I know it's been asked a million times, but I have a more specific
> question so hopefully this won't be just the same old post. I've tried a
> few different editors, and I really like UltraEdit, but it's
> Windows-only and I'm working more on Linux nowadays.
>
> Here are
Hi there:
I know this probably is a very easy thing to do in python, but i wanted
to compare 2 lists and generate a new list that does not copy similar
entries. An example below
list= ["apple", "banana", "grape"]
list2=["orange","banana", "pear"]
now I want to compare these lits and generate a t
Hi there:
I was wondering if its at all possible to search through a string for a
specific character.
I want to search through a string backwords and find the last
period/comma, then take everything after that period/comma
Example
If i had a list:bread, butter, milk
I want to just take tha
This will probably sound like a very dumb question.
I am trying to zip some files within a directory.
I want to zip all the files within a directory called "temp"
and have the zip archive saved in a directory with temp called ziptemp
I was trying to read up on how to use the zipfile module pytho
I am using a class called UploadedFile.
I want to create a for loop to itterate through the objects within file
name
class UploadedFile(SQLObject):
filename = StringCol(alternateID=True)
abspath = StringCol()
uniqueid = IntCol()
I'll show you a snippit of the code I am try
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>,
> OriginalBrownster wrote:
>
> > I'm very new to python, and I have been using the TurboGears Framework
> > to use python to power my application.
> >
> > [...]
> >
> > my
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>,
> OriginalBrownster wrote:
>
> > I'm very new to python, and I have been using the TurboGears Framework
> > to use python to power my application.
> >
> > [...]
> >
> > my
Hi There.
I'm very new to python, and I have been using the TurboGears Framework
to use python to power my application.
I have a class which handles the upload of a file to a directory called
"uploads", which is hosted on a server.
my problems is that when I want to download that file from the s
12 matches
Mail list logo