Questions tagged as 'pasta'

3
answers

How is the project structure in python?

I would like to know if there is a standard or good practice in how to structure a project in Python. For example, I'm going to do a CRUD using MVC. Something very simple. In JAVA I would create a model folder, a controller and a view. In...
asked by 22.06.2017 / 19:26
1
answer

How to run a script without worrying about special characters?

I made a batch for windows to install some programs and make settings automatically, it worked normally, but when doing a test using a folder that had space in its name it stopped working, put it in the variable "" and returned to normal . Bu...
asked by 25.09.2017 / 14:46
2
answers

How to create a directory in Python inside a server?

Using the mkdir function, you can create a file in any directory within your computer's folders: Import os diretorio = "C:\Users\CRIACAO 2\Desktop\teste" os.mkdir(diretorio) But when I try to create it inside the address of a server, the...
asked by 18.07.2018 / 22:13
1
answer

How to link files in different folders?

I'm having trouble linking two HTML pages, the folder hierarchy is this: Iwanttolinktothefile:J:\Totem_App\XPLACES\access\cid_vitoria\1_acru.html<ahref="/../../00_menu_vitoria_xingu.html" target="_parent" class="bcontraste">LINK</a...
asked by 26.01.2018 / 13:42
1
answer

Creating Recursive Folders

The Problem: I would like to know if there is a more practical way than using the IF/ELSE control structures to create folders recursively, based on the inputs that the user typed. Context: For example, in my script, I get the dat...
asked by 03.04.2017 / 20:36
0
answers

How to open folder in windows through an HTML link?

Folders are opened through the browser. I would like you to open your own Windows folders. I have tried the following ways:     
asked by 19.06.2018 / 15:29
0
answers

Python3.5 - Import multiple files from a folder

I have the following code: __author__ = 'Jones_Santos' # !/usr/bin/python3 import os from __init__ import mycursor, connection import csv import os from datetime import datetime, date, timedelta, datetime # Caminho do arquivo a ser importado...
asked by 28.12.2017 / 13:40
2
answers

Use .htacess to change site to another language

Good afternoon, I have a site that needs to have the English version, so I thought I had a folder / eng / and just change that url, but the site in Portuguese already uses htacess to have a friendly url that inside the normal root pull the pa...
asked by 05.11.2018 / 18:13
1
answer

Monitor if files have been inserted into a specific folder

Good morning, friends, I would like an opinion or suggestion of you in the second situation: On one of the company's clients who work the responsibility for the financial sector daily downloads a file from the bank's website. After downloa...
asked by 27.08.2018 / 16:09
0
answers

(Automation) Create folders and files, and give permission inside another system with PHP

I'm creating an automation for a particular system and for this it is necessary that some files are created inside that system, my problem is with the permission of these files, and the permission in the folders that they will enter into the sys...
asked by 12.07.2018 / 18:25