Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,801

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 41 Guest(s)
Bing, AOL, Google, Apple, snippsat

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
6 minutes ago
» Replies: 0
» Views: 10
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
1 hour ago
» Replies: 6
» Views: 158
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Today, 05:37 AM
» Replies: 1
» Views: 67
Data Science
Forum: Data Science
Last Post: mamta25
Today, 05:27 AM
» Replies: 3
» Views: 2,584
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 157
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 149
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 148
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,455
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,387
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,587

 
  Error in using the output of one function in another function (beginner)
Posted by: MadsPJ - Mar-13-2017, 01:55 PM - Forum: General Coding Help - Replies (6)

Hello forum,

Im very much a beginner in programming. I have been spening the last couple of hours to find a solution for this simple problem. So no..... More

Print this item

  [subprocess]>Run a cmd command and get output into a variable
Posted by: CSA75 - Mar-13-2017, 01:40 PM - Forum: General Coding Help - Replies (4)

Hello All,

I'd like to run a windows cmd and get the result in a variable..it works well for a command but not for another... Confused 

Here..... More

Print this item

  notification from database
Posted by: iFunKtion - Mar-13-2017, 11:20 AM - Forum: GUI - Replies (3)

Hi there,

This is a gui application I am building using qt4 and connects to a couchdb server. Within this application, there is a very simple messa..... More

Print this item

  Suggestions on my code
Posted by: YorgosTheProgramer - Mar-13-2017, 11:03 AM - Forum: Homework - Replies (2)

Ive made up this program to workout the costs of old and new movies at a video store by adding them together for some uni homework. It works and all, ..... More

Print this item

  which column of sql table is equal to a variable
Posted by: gray - Mar-13-2017, 11:01 AM - Forum: GUI - Replies (7)

i want to find the value of 'vazn' (one column of sql table) where 'id' column is equal to f1.
f1 is a variable as following:
f1=int(enter3.get())
..... More

Print this item

  Installing pyperclip with Anaconda
Posted by: jamesh291183 - Mar-13-2017, 08:20 AM - Forum: General Coding Help - Replies (3)

Hi,

I am trying to install 'pyperclip' with Anaconda (whilst following the 'Automate the boring stuff' book). I am a Python newbie so am probably m..... More

Print this item

  Determine Number Fulfilling Three Inputs
Posted by: kython - Mar-12-2017, 10:24 PM - Forum: Homework - Replies (3)

So I have imported a csv list of superhero names, gender, eye color, hair color, and so on.
I ask the user to input their gender, eye color, and hair..... More

Print this item

  Whats my python program's problem
Posted by: arman - Mar-12-2017, 09:13 PM - Forum: General Coding Help - Replies (13)

İmage
I was watching the Buckys tutorial about how to download the image from internet and i copied all..... More

Print this item

  Support for emojis
Posted by: Ofnuts - Mar-12-2017, 08:06 PM - Forum: Board - Replies (6)

Strange behavior with emojis... As long as I am in the post preview, they display correctly, but when I post, they are replaced with a question mark....... More

Print this item

  Help writing to files
Posted by: HummingMaster - Mar-12-2017, 04:53 PM - Forum: General Coding Help - Replies (3)

the code below the following error
IndexError: list index out of range
can someone help me please! 
[python]
import os.path

list_ = []
breakin..... More

Print this item

  threading
Posted by: kerzol81 - Mar-12-2017, 01:46 PM - Forum: General Coding Help - Replies (6)

Hi,

I have this code, which monitors folders for incoming files:

[python]
import os
import glob
import time
import threading
import smtplib..... More

Print this item

  update a variable in parent window after closing its toplevel window
Posted by: gray - Mar-12-2017, 12:43 PM - Forum: GUI - Replies (5)

i want to update my variable in parent window when i close its toplevel window.
i cretaed a function "new_window"...this function creates a new windo..... More

Print this item

  looking for a provider of forums service
Posted by: Skaperen - Mar-12-2017, 07:02 AM - Forum: Bar - Replies (7)

i am looking for a provider of forums service.  that would be someone running an advance level of forums software where they can set up a distinct for..... More

Print this item

  Recovering lost source code when the code is running in memory
Posted by: micseydel - Mar-11-2017, 06:15 PM - Forum: News and Discussions - Replies (13)

I think that this question came up multiple times on previous incarnations of the forum, and when I saw the following I wanted to get it documented he..... More

Print this item

  Why is this code not working?
Posted by: Ivanno - Mar-11-2017, 05:50 PM - Forum: General Coding Help - Replies (3)

I have been sitting in front of my PC for 5 hours straight now trying to solve this, but it just comes to the question and if i answer yes it breaks t..... More

Print this item

  Recursive function Dates
Posted by: Adelton - Mar-11-2017, 03:38 PM - Forum: General Coding Help - Replies (2)

Hi There,

I am new to python and I am trying to create a recursive function which will return all the dates between 2017,2,28 and 2017,3,10.I have ..... More

Print this item

  something went wrong in my post
Posted by: Skaperen - Mar-11-2017, 08:23 AM - Forum: Board - Replies (4)

in this thread some junk showed up in my post at #3 so i went to edit it out.  when i did that..... More

Print this item

  plotting histogram
Posted by: vvv - Mar-10-2017, 10:01 PM - Forum: Data Science - Replies (1)

Hi All,

I count the number of grades appeared in the dataset and trying to plot it as histogram.

it works ,but couldn't get the grade name as x-..... More

Print this item

  Loops in List
Posted by: SandraDan - Mar-10-2017, 09:20 PM - Forum: General Coding Help - Replies (19)

Hello everyone,

I'm new to Python and I'm having difficulty understanding why my Loop-List code doesn't work.

[python]

# loop in list

list..... More

Print this item

  Captalizing the letter from the first two names
Posted by: riko - Mar-10-2017, 07:30 PM - Forum: Homework - Replies (6)

I want to write a program that asks the user for his/her name
the program should take the name of the user from 1 line input and gives an output wit..... More

Print this item

  Having issues with open,write,read
Posted by: dudeisbrendan03 - Mar-10-2017, 06:54 PM - Forum: General Coding Help - Replies (11)

[python]
import sys
import os
import time

from pathlib import Path


my_file = Path("database.txt")

print("I HIGHLY RECOMMEND USING DATABA..... More

Print this item

  converting json to xml
Posted by: pasi12 - Mar-10-2017, 06:33 PM - Forum: General Coding Help - Replies (6)

HI,
I am new to python and learning , need help converting json file to xml . I have below code ( found on web ) modified a bit but is not parsing th..... More

Print this item

  keeping track of pushbutton click
Posted by: iFunKtion - Mar-10-2017, 02:51 PM - Forum: GUI - Replies (3)

Hi there,

Due to the slightly annoying thing about not being able to return a value from a method when a button is clicked, how do you keep track o..... More

Print this item

  Calculation Module
Posted by: king2385 - Mar-10-2017, 02:23 PM - Forum: Homework - Replies (3)

When landing an aircraft, the pilot needs to calculate the landing distance over a fifty foot (50') object. This calculation is based on headwind spee..... More

Print this item

  Where should I enter my own values in this script?
Posted by: mythiccocoa - Mar-10-2017, 01:52 PM - Forum: Data Science - Replies (1)

I am new to python and this community. Please excuse any silly mistakes or irrelevant content.
I have found this script which prepares data for caffe..... More

Print this item

  Calling a Returned Value to Another Function
Posted by: valerydolce - Mar-10-2017, 12:55 PM - Forum: Homework - Replies (9)

Hi Gigs,

I'm trying to call a value obtained from a function to another function. In this case, i want to call var_name into [icode]get_dirs_from_p..... More

Print this item

  PyQt4 text edit align text center
Posted by: iFunKtion - Mar-10-2017, 11:46 AM - Forum: GUI - Replies (3)

Hi there,

Is there a way of aligning the text in a text edit widget so that it is centered? There is no way of doing this in the Designer, and I ha..... More

Print this item

  numbered lists
Posted by: Skaperen - Mar-10-2017, 05:54 AM - Forum: Board - Replies (3)

at the end of the BBCode document there is:

Quote:Valid list start index's are... 1 a A i I

how hard would it be to add zero..... More

Print this item

  mkpw: rewriting in python 3
Posted by: Skaperen - Mar-10-2017, 05:33 AM - Forum: News and Discussions - Replies (10)

i have this command originally written in C that i would like to rewrite in python 3.  anyone want to join in?  it takes a length as the only argument..... More

Print this item

  Automating the code using os.walk
Posted by: kiton - Mar-09-2017, 09:48 PM - Forum: Data Science - Replies (20)

So I have a piece of code that works with a single file that is in the root folder:

[python]
import json
import pandas as pd
import numpy as np
impor..... More

Print this item

  Inserting carriage return to string.
Posted by: rhubarbpieguy - Mar-09-2017, 09:35 PM - Forum: General Coding Help - Replies (1)

string='This is sentence 1.Ths is sentence 2.'
print(string) produces: This is sentence 1.This is sentence 2.

However, I'd like to print the strin..... More

Print this item

  accumulator pattern
Posted by: python_learner - Mar-09-2017, 05:36 PM - Forum: Homework - Replies (8)

Write a programm which sums up the first 100 even numbers. + comments

Print this item

  Code Check? Am I right?
Posted by: r6lay - Mar-09-2017, 02:35 PM - Forum: Homework - Replies (3)

Hey everyone so this is my homework assignment and I just wanna make sure my code is right because I'm getting some syntax error 

[color=#333333][s..... More

Print this item

  Python packages - quality
Posted by: j.crater - Mar-09-2017, 07:46 AM - Forum: General Coding Help - Replies (8)

Hello all,

One of more recent topics on this forum (can't recall which one exactly) discussed Python packages. 
It made me wonder, is there any (m..... More

Print this item

  need small help for simple calculation
Posted by: desul - Mar-09-2017, 07:30 AM - Forum: Homework - Replies (6)

Dear All,


how to calculate the below problem:

[python]
from __future__ import division

4/6

Out[3]: 0.6666666666666666


when I am tr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 6 minutes ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... 1 hour ago tsgiannis Gribouillis GUI
  [split] print two differe... Today, 05:37 Reema Gribouillis General Codin...
  Data Science Today, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578747
  Tutorial Requ... 509509
  Web Scraping ... 441879
  Newbie with P... 385847
  New Users Int... 375455
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12102
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
thebigback Today
dimitriwati Today
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today

User Panel Messages

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