Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46937

Re: create new python file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <fabiosantosart@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'that?': 0.05; 'dynamically': 0.07; 'subject:file': 0.07; 'subject:create': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'subject:python': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'file.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '&gt;': 0.26; 'header:In-Reply- To:1': 0.27; 'generally': 0.29; 'said,': 0.30; 'message- id:@mail.gmail.com': 0.30; 'anyone': 0.31; 'file': 0.32; 'text': 0.33; 'good.': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'hi,': 0.36; 'subject:new': 0.38; 'bad': 0.39; 'how': 0.40; 'tell': 0.60; 'new': 0.61; "you're": 0.61; 'to:addr:gmail.com': 0.65; 'within': 0.65; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ba1qULEVwDbSSaRAo/eGoWnGgS77VQCrrWcLjJNyRdY=; b=g5h8rkVUgGnypac4jOdum3rtN4ynAWhp1T0Kb/Hn3POB1x0uvuowpx7xbdZgWAzEX0 wOlCQdymBiM2kOO7vwLWLFPgGUlCovqzn1iyr3GENq5/P0sCK5GtxeAbAYFIJE+16jh/ kNtZ3jjK9JH4ys338V8JvN7dgExso/COU+OjPmkDHXe++rEIR09nhDV5ynFA0uukM3uO IIEDLCFA6xiYFuB0Gq60Q97R6xQ6GdqfMUn3FxGp9lJFZT91bNWSoHiCMv0QDKuwczF3 sfxLU9jvrSulTJvNk+ZY0rALuBnkUHlFvUchXFVlZv8YVWDOfgXwPyWXULv66OtpuKi3 Z2Yg==
MIME-Version 1.0
X-Received by 10.49.107.2 with SMTP id gy2mr27968378qeb.21.1370362708216; Tue, 04 Jun 2013 09:18:28 -0700 (PDT)
In-Reply-To <d1eaf703-d15f-486a-a0f1-a8dea4176d60@googlegroups.com>
References <d1eaf703-d15f-486a-a0f1-a8dea4176d60@googlegroups.com>
Date Tue, 4 Jun 2013 17:18:28 +0100
Subject Re: create new python file
From Fábio Santos <fabiosantosart@gmail.com>
To kakararunachalservice@gmail.com
Content-Type multipart/alternative; boundary=047d7bdc13ce6fe6dd04de566e4a
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2664.1370362716.3114.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370362716 news.xs4all.nl 15893 [2001:888:2000:d::a6]:43640
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:46937

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 4 Jun 2013 17:14, <kakararunachalservice@gmail.com> wrote:
>
> Hi,
> Can anyone please tell me how to dynamically create a new python file
within a program???

That's generally a bad idea. Why are you doing that?

That said, it's just like writing to a text file. So if you write python in
a text file, you're good.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

create new python file kakararunachalservice@gmail.com - 2013-06-04 09:07 -0700
  Re: create new python file Fábio Santos <fabiosantosart@gmail.com> - 2013-06-04 17:18 +0100
  Re: create new python file Gary Herron <gherron@digipen.edu> - 2013-06-04 10:44 -0700
    Re: create new python file kakararunachalservice@gmail.com - 2013-06-04 11:09 -0700
      Re: create new python file rusi <rustompmody@gmail.com> - 2013-06-04 11:21 -0700
        Re: create new python file kakararunachalservice@gmail.com - 2013-06-04 11:54 -0700
          RE: create new python file Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-04 23:00 +0300
        Re: create new python file Tobiah <toby@tobiah.org> - 2013-06-04 13:24 -0700

csiph-web