Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Speed of progress of writing code
Post: RE: Speed of progress of writing code

I thing it'll takes around 10 minutes or less if they're all pro at python
dwiga Homework 2 2,887 Jan-19-2018, 01:56 AM
    Thread: run python file on background and start on windows boot
Post: RE: run python file on background and start on win...

(Dec-22-2017, 03:08 PM)buran Wrote: type it in the windows explorer address bar. or from start menu ->run->shell:startup OK, I've found it.. so, how to make a link into it or use a batch file?...
dwiga Homework 7 25,937 Dec-23-2017, 01:45 AM
    Thread: run python file on background and start on windows boot
Post: RE: run python file on background and start on win...

(Dec-19-2017, 06:33 AM)Venkatkrish Wrote: Fyi .. https://stackoverflow.com/questions/4438...ows-starts Useful tips: Find diff bet pythonw.exe and python.exe "If you don't want a terminal window ...
dwiga Homework 7 25,937 Dec-22-2017, 07:36 AM
    Thread: unit 18 codes
Post: RE: python codes

and can you describe to us, what output do you want to get?
dwiga Homework 7 5,034 Dec-19-2017, 04:09 AM
    Thread: List of Strings Problem
Post: RE: List of Strings Problem

# create the input input = ["Pat,Smith,girl,65 Elm Street,eat", "John,Doe,Boy,25,123 Candy Lane, tickle"] # split at the comma for inp in input: pieces = inp.split(",") # initialize the variab...
dwiga Homework 3 3,624 Dec-19-2017, 04:06 AM
    Thread: run python file on background and start on windows boot
Post: run python file on background and start on windows...

I want to run my python file on background and start it when my windows boots, I have reference site from this https://stackoverflow.com/questions/3113...in-windows, but I have no idea how to do with ...
dwiga Homework 7 25,937 Dec-19-2017, 03:59 AM
    Thread: suddenly '\b' become 'x08'
Post: RE: suddenly '\b' become 'x08'

(Nov-07-2017, 10:33 AM)wavic Wrote: a = 'D:\\AvosLab\\digital_scale\\base\\data.db' a = a.replace('\\', '/') a 'D:/AvosLab/digital_scale/base/data.db' can I go to the directory using this format (...
dwiga Homework 11 10,840 Nov-10-2017, 01:36 AM
    Thread: suddenly '\b' become 'x08'
Post: RE: suddenly '\b' become 'x08'

(Oct-05-2017, 07:07 PM)wavic Wrote: (Oct-05-2017, 08:18 AM)buran Wrote: 3.use forward slash, instead of backslash +1 it's generated, I don't know how to change it to forward slash
dwiga Homework 11 10,840 Nov-07-2017, 07:49 AM
    Thread: suddenly '\b' become 'x08'
Post: RE: suddenly '\b' become 'x08'

(Oct-05-2017, 07:40 AM)buran Wrote: I don't think the output is consistent with this code. i.e. it is from interactive prompt and the string has single \ in front of b Python 3.5.2 (default, Jul 17...
dwiga Homework 11 10,840 Oct-05-2017, 08:09 AM
    Thread: suddenly '\b' become 'x08'
Post: suddenly '\b' become 'x08'

Hi, I have a code like this : a = 'D:\\AvosLab\\digital_scale\\base\\data.db' print(a)Output:'D:\\AvosLab\\digital_scale\x08ase\\data.db'how to get rid of this?
dwiga Homework 11 10,840 Oct-05-2017, 06:44 AM
    Thread: join elements from two splits
Post: join elements from two splits

I want to join two splitted string, a = "a,b,c" b = "1,2,3" spla = a.split(",") splb = b.split(",") for arra, arrb in spla, splb: print(arra + "-" + arrb)what I get is Error:Traceback (most rece...
dwiga Homework 2 3,156 Sep-08-2017, 03:24 AM
    Thread: make sys.path.append auto detect
Post: RE: make sys.path.append auto detect

(Sep-06-2017, 09:18 PM)SquareRoot Wrote: Hi, So D:\AvosLab\digital_scale\python is the directory where the python file is saved? If so, you can get the directory where the python file is saved wit...
dwiga Homework 2 3,443 Sep-07-2017, 12:39 AM
    Thread: make sys.path.append auto detect
Post: make sys.path.append auto detect

Hi, I facing a problem coding in jython. but, what I want to ask is about python. I have to write this code on every file I've create sys.path.append("D:\AvosLab\digital_scale\python")but, the proble...
dwiga Homework 2 3,443 Sep-04-2017, 07:45 AM
    Thread: python append
Post: RE: python append

(Aug-31-2017, 07:50 AM)Sagar Wrote: Your print was inside the for loop. OK, thanks
dwiga Homework 5 4,384 Sep-04-2017, 07:27 AM
    Thread: python append
Post: RE: python append

I did this before a = "1,2,3" ax = a.split(",") jo = [] for b in ax: if b == "1": c = "a" elif b == "2": c = "b" elif b == "3": c = "c" jo.append(c) print(jo)and it return is O...
dwiga Homework 5 4,384 Aug-31-2017, 01:25 AM
    Thread: What this code will output and why?
Post: RE: What this code will output and why?

Output:[['d'], ['a', 'b', 'c'], ['a', 'b', 'c']]
dwiga Homework 4 3,891 Aug-30-2017, 07:14 AM
    Thread: python append
Post: python append

I am stuck on my code, that's why I coming here because a lot of python master that solve my question... a = "1,2,3" ax = a.split(",") jo = [] for b in ax: if b == "1": c = "a" elif b == "2...
dwiga Homework 5 4,384 Aug-30-2017, 07:08 AM
    Thread: help me convert php's for into python's for
Post: RE: help me convert php's for into python's for

(Aug-07-2017, 06:27 AM)buran Wrote: Well, that is not what the PHP code does.. but, the poin is I want this output in python, please help me.. Quote:$b=5; for($a=2;$a<=$b;$a+...
dwiga Homework 8 4,890 Aug-07-2017, 06:58 AM
    Thread: help me convert php's for into python's for
Post: RE: help me convert php's for into python's for

(Aug-07-2017, 05:55 AM)buran Wrote: The upper limit of range should be 6 in order to include 5. Apart from that the code looks fine my python code is not what i want, because if I use the python scr...
dwiga Homework 8 4,890 Aug-07-2017, 06:11 AM
    Thread: help me convert php's for into python's for
Post: help me convert php's for into python's for

I want to make a loop from this php's for, but I want to use it on python, whould you like to help me, because when I try to search it on Google I have no idea what keyword linked to. Quote:$b=5;...
dwiga Homework 8 4,890 Aug-07-2017, 05:46 AM

User Panel Messages

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