Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Manipulating files Python 2.7
Post: RE: Manipulating files Python 2.7

Snippsat, thanks to respond me. I tried that: import codecs with codecs.open("E:/ENEL/Modelos/NW201610/DGER.dat", encoding='utf-8') as f:    uni = f.read() with codecs.open("iso_out.txt", 'w', enc...
hugobaur General Coding Help 6 8,356 Nov-01-2016, 12:28 PM
    Thread: Manipulating files Python 2.7
Post: RE: Manipulating files Python 2.7

Hi, i can't make this work. I use your code to read my file, works: # read in the file contents iso = open('E:/ENEL/Modelos/NW201610/DGER.dat').read() utf = open('E:/ENEL/Modelos/NW201610/DGER.dat')....
hugobaur General Coding Help 6 8,356 Oct-31-2016, 06:37 PM
    Thread: Manipulating files Python 2.7
Post: RE: Manipulating files Pytohn 2.7

Thanks to the tips. I thought like you, my dificulty it's the python. So, i'm create a program and works. Thanks awnser me! def dger_ano(FILE_DATE, ORIGEM, DESTINO):    cache = None    string = "AN...
hugobaur General Coding Help 6 8,356 Oct-25-2016, 11:53 AM
    Thread: Manipulating files Python 2.7
Post: Manipulating files Python 2.7

Folks, I have a difficulty here to manipulate files. Objective: I'm developing a script that needs to create folders and copy files from a source, the script reads the user the number of months to c...
hugobaur General Coding Help 6 8,356 Oct-21-2016, 01:20 PM
    Thread: Logic to convert an integer to YEAR / MONTH
Post: RE: Logic to convert an integer to YEAR / MONTH

Yes!!!! WORKS! Thanks to help me  **biggrin**  I really appreciate that!
hugobaur General Coding Help 9 7,793 Oct-18-2016, 11:58 AM
    Thread: Logic to convert an integer to YEAR / MONTH
Post: RE: Logic to convert an integer to YEAR / MONTH

Hi Guys, Thanks to answers, i'm using Windows OS. #!/usr/bin/env python # -*- coding: utf-8 -*- # Autor: Hugo Baur [email protected] from __future__ import absolute_import from __future__ import ...
hugobaur General Coding Help 9 7,793 Oct-17-2016, 12:40 PM
    Thread: Logic to convert an integer to YEAR / MONTH
Post: Logic to convert an integer to YEAR / MONTH

Lógica para converter um número inteiro para ANO/MÊS Pessoal, Boa tarde. Preciso de uma ajuda. Minha dúvida nem é na sintaxe em si, mas em lógica mesmo. Sozinho não to conseguindo resolver. Preciso ...
hugobaur General Coding Help 9 7,793 Oct-13-2016, 06:58 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020