Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Just learned that Unity is gone
Post: RE: Just learned that Unity is gone

(Apr-10-2017, 11:57 AM)Kebap Wrote: I know Android has an active modding community and several alternative OS you can put on your phone to tweak the software, for example xda forums. True, i ran a m...
alicarlos13 Bar 10 8,315 Apr-10-2017, 12:08 PM
    Thread: Round a number up to certain significant figures
Post: RE: Round a number up to certain significant figur...

(Apr-06-2017, 06:13 PM)brocq_18 Wrote: Maybe this is more of a mathematical question than Python. How can I amend the 2nd argument in upperRound such that the value returned from it for maxValue=123...
alicarlos13 General Coding Help 4 7,236 Apr-06-2017, 06:49 PM
    Thread: Elif syntaxerror
Post: RE: input problem

You are incorrectly using the or statement. Documentation You should be using as an example: elif player == "Paper" or player == "paper"another way of over coming this is by using lower() which woul...
alicarlos13 General Coding Help 5 7,293 Apr-04-2017, 03:58 PM
    Thread: Module Help?
Post: RE: Module Help?

Didn't know that. The things one can learn everyday :). Thanks.
alicarlos13 General Coding Help 5 4,878 Apr-04-2017, 04:04 AM
    Thread: Code Optimization
Post: Code Optimization

Is there a section that deals with optimization of codes and/or review of large bits of codes. This can help with people trying to optimize their coding, specifically if it has to parse through huge ...
alicarlos13 Board 1 3,135 Apr-04-2017, 04:03 AM
    Thread: Lost in Translation - v.1.2
Post: RE: Lost in Translation - v.1.2

Nice Read. I consider English as my first language (Although technically it is not). But I write it more fluently then my mother tongue! Coming from a UK Based English curriculum and now studying ab...
alicarlos13 Bar 7 4,944 Apr-04-2017, 03:56 AM
    Thread: Module Help?
Post: RE: Module Help?

(Mar-31-2017, 01:13 AM)wavic Wrote: Hello! Which Python version you installed? If it is Python 3 do pip install pyspectator in the command prompt. I think you mean pip3 install pyspectator ?
alicarlos13 General Coding Help 5 4,878 Apr-04-2017, 03:49 AM
    Thread: I gotta problem with making argv parameters
Post: RE: I gotta problem with making argv parameters

The last else is missing :
alicarlos13 General Coding Help 3 4,071 Apr-04-2017, 03:44 AM
    Thread: question regarding user Inputs
Post: RE: question regarding user Inputs

Quick ones: 1) You have a type. The function names are case sensitive grams_ounces IS NOT Grams_ounces 2) lower needs to return something. All instances of lower MUST BE in the form lower(). With th...
alicarlos13 General Coding Help 10 7,271 Apr-04-2017, 03:34 AM
    Thread: default messages
Post: RE: default messages

print("Some People Will Never Learn")
alicarlos13 Board 19 10,795 Apr-04-2017, 02:33 AM
    Thread: Printing current time
Post: RE: Printing current time

The datetime function returns Date then Time. Those random numbers you see, are not random numbers but rather the milliseconds. I usually use the time formatted to the following. time() import tim...
alicarlos13 Homework 3 4,731 Apr-03-2017, 03:02 PM
    Thread: I finsh the basics of python but I'm stuck on how to link code to GUI
Post: RE: I finsh the basics of python but I'm stuck on ...

I still consider myself a newbie in python. TKinter is the best and the easiest to learn, as wavic stated. As for linking it to code, you would just need to reconfigure your variables to get their val...
alicarlos13 General Coding Help 5 4,361 Apr-03-2017, 02:51 PM
    Thread: Translating language in python
Post: RE: Translating language in python

(Apr-01-2017, 10:13 PM)sparkz_alot Wrote: "requires me to use nested if-statements (not lists) in order to write a function".  I presume that means dictionary's as well :-). I was just about to comm...
alicarlos13 Homework 11 10,146 Apr-01-2017, 10:24 PM
    Thread: Translating language in python
Post: RE: Translating language in python

You do not need to initialize anything in you are just looking for a simple translation. And if all you want is IF-statements. This is a quick one: language = raw_input("What do you want to translate...
alicarlos13 Homework 11 10,146 Apr-01-2017, 09:17 PM
    Thread: Stacked Barchart from Counter using matplotlib
Post: RE: Stacked Barchart from Counter using matplotlib

Thank You **cool** . Guess i did not understand your previous post. Either that, or i can not get over the fact that to create a graph and i have to reassemble the Collections Counter again, because ...
alicarlos13 Data Science 4 8,596 Mar-31-2017, 08:17 PM
    Thread: Stacked Barchart from Counter using matplotlib
Post: RE: Stacked Barchart from Counter using matplotlib

@zivoni, thank you for that. Quote:so for your data with left = ind with length 4 you need frequency[i] to be array/list with length 4 Thank you for that, however, it does not solve the problem. I ...
alicarlos13 Data Science 4 8,596 Mar-31-2017, 04:56 PM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

Hi All, I was a Civil Engineer, got bored so returned to Academia :). Used to love VBA and used it intensively at work to automate Excel. In Academia, i fell in love with Python; But grasping it is...
alicarlos13 Bar 431 230,898 Mar-31-2017, 12:36 AM
    Thread: Stacked Barchart from Counter using matplotlib
Post: Stacked Barchart from Counter using matplotlib

I have a large csv file. This file is read and a Counter is returned every predefined amount of lines. As an Example: counter = [Counter({(0, 1): 9, (1, 2): 8}), Counter({(1, 2): 99, (0, 1): 99}), C...
alicarlos13 Data Science 4 8,596 Mar-31-2017, 12:26 AM

User Panel Messages

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