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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,832

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 24 Guest(s)
Google, Bing, Mojeek, Apple, Gribouillis

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 7
» Views: 129
New to python and coding
Forum: Homework
Last Post: jefsummers
10 hours ago
» Replies: 6
» Views: 181
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
11 hours ago
» Replies: 0
» Views: 56
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 352
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 113
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 241
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 379
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 147
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,643
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 247

 
  python 3.4.3 Question a defining function
Posted by: student8 - Sep-30-2017, 11:14 PM - Forum: Homework - Replies (1)

Write a function in_out(xs,ys,side) that takes three numbers as input, where
side is non-negative. Here xs and ys represent the x and y coordinates o..... More

Print this item

  This is an open book home assignment but i really need your help
Posted by: Samiha - Sep-30-2017, 07:56 PM - Forum: Homework - Replies (3)

2.Consider the following statements.
*1 Class attributes are more suitable for sharing data across instances of a class as opposed to instance variab..... More

Print this item

  i don't understand how to use a variable outside of a function?
Posted by: Rius2 - Sep-30-2017, 07:49 PM - Forum: General Coding Help - Replies (6)

from this function:

def test(arg)
a = 0
if arg >3:
    a=1
return a
how do i use it in another function?:

[python]def main(..... More

Print this item

  Ho to check if string contains substring from list
Posted by: Rius2 - Sep-30-2017, 07:10 PM - Forum: General Coding Help - Replies (2)

i want to check if a string contains a substring from a list of string i provide, at the moment i am doing this:


[python] if..... More

Print this item

  making a program for counting
Posted by: hurmet - Sep-30-2017, 06:16 PM - Forum: Homework - Replies (8)

Can anyone help me make a simple program.
I want to make a program using while function to count how many bars of soap i have in rows. First row wou..... More

Print this item

  Libraries needed for python install?
Posted by: burvil - Sep-30-2017, 05:15 PM - Forum: General Coding Help - Replies (7)

I'm getting the following when trying to install Python 3.6.2 on RHEL 6.7/ CentOS 6.7:
[python]
Python build finished successfully!
The necessary b..... More

Print this item

  Namespace Packages
Posted by: jmj1970 - Sep-30-2017, 03:13 PM - Forum: General Coding Help - No Replies

I had a question regarding namespace packages:

https://packaging.python.org/guides/pack...-packages/

Let’s say I have several packag..... More

Print this item

  sudo apt Not Working
Posted by: Dacdiver - Sep-30-2017, 03:01 PM - Forum: General Coding Help - Replies (11)

Not sure this is the right place for this problem but it's where I thought was best. I'm relatively new to Python but did some programming in C+ many..... More

Print this item

  Security and Software Development
Posted by: rachelrosemond - Sep-30-2017, 02:21 PM - Forum: Bar - Replies (3)

I found this article that seems interesting. It talks about ..... More

Print this item

  [cx_Freeze] CMD Prompt can't find my setup.py, help needed !
Posted by: JamieVanCadsand - Sep-30-2017, 02:20 PM - Forum: News and Discussions - Replies (1)

Hey Programmers, Game Developers and Software Envolvers...

I try to convert my .py file (an simple test, called "Test1") into an executable program..... More

Print this item

  Python newbie projects
Posted by: Tihee - Sep-30-2017, 08:33 AM - Forum: Jobs - Replies (2)

Hello my name is Chris.

I'm looking for some Python tasks.
I'm not expecting any compensation for this, except real world experience.
I'm very en..... More

Print this item

  First Try Skynet... How Can I improve?
Posted by: GalaxyCR - Sep-30-2017, 06:30 AM - Forum: General Coding Help - Replies (5)

Hey Guys, so this is my first try doing my own Code. So how do you think? How can I improve my System? Any help will be appreciate. Please ignore my E..... More

Print this item

  Uploading CSV Files to Google drive in a specified folder
Posted by: prashant8530 - Sep-30-2017, 05:23 AM - Forum: General Coding Help - Replies (1)

Hey guys,

Can anybody help.! I want to upload a csv file every week on google drive in a specified folder.

How do I start.??

Print this item

  Help with identation
Posted by: pythonbabe - Sep-30-2017, 03:47 AM - Forum: General Coding Help - Replies (4)

Following python program is giving indentation error. Please have a look at the for loop section and suggest me what i am doing wrong.
Python Version..... More

Print this item

  Rock paper scissors game
Posted by: samiraheen - Sep-30-2017, 01:42 AM - Forum: Homework - Replies (3)

I want to write a function that determines the result of a rock, paper, scissors game given choices of player 1 and player 2. My function is rps_winne..... More

Print this item

  Help with searching tables in Sqlite
Posted by: Rius2 - Sep-29-2017, 11:03 PM - Forum: General Coding Help - No Replies

I want to make a function that will search all tables of a sqlite database for a string, if it does not find that striing, then it will write it into ..... More

Print this item

  Understanding "help()" output?
Posted by: Athenaeum - Sep-29-2017, 05:06 PM - Forum: General Coding Help - Replies (4)

I am fairly new to Python and sometimes have minor trouble understanding the output from help().

First of all, is there a way to tell what formats ..... More

Print this item

  AttributeError: type object 'MyClass' has no attribute 'channel'
Posted by: chris0147 - Sep-29-2017, 03:12 PM - Forum: General Coding Help - Replies (2)

Hi all
I have a trouble with getting the list of self.channel when I am trying to get the list of strings from my another script called test.py. I..... More

Print this item

  [pyGame] Load Image, Problem Found !
Posted by: JamieVanCadsand - Sep-29-2017, 02:47 PM - Forum: Game Development - Replies (2)

Hey Programmers...

I Try to load an image in pygame... This is my script:

[python]import pygame
import sys

screen = pygame.display.set_mode..... More

Print this item

  [pyGame] Key Event not Working !...
Posted by: JamieVanCadsand - Sep-29-2017, 02:31 PM - Forum: Game Development - Replies (7)

Hey Python Programmers...

I get an script to change the colour of the screen into an other color (screen.fill),
but it doesn't works. This my scri..... More

Print this item

  Newbie here. What's wrong with my code?
Posted by: GalaxyCR - Sep-29-2017, 01:10 PM - Forum: General Coding Help - Replies (3)

Hey Guys, I'm new to Python and Coding stuff. I just started using Python for my course. So I decided to See a few Tutorials but for this particular c..... More

Print this item

  [Tkinter] Loop Counter for OptionMenu Creation
Posted by: JP_ROMANO - Sep-29-2017, 12:51 PM - Forum: General Coding Help - Replies (4)

Hello,

I have a Tkinter script which creates 15 instances of some entry boxes and two optionmenu widgets (all with the same lists). I know it's no..... More

Print this item

  Hash function in Python
Posted by: rachelrosemond - Sep-29-2017, 12:34 PM - Forum: General Coding Help - Replies (3)

I've done some research and was able to implement the rich comparisons in my Person class. I have two questions,

1. Given the equals method how do..... More

Print this item

  free python editor for mac
Posted by: tony1812 - Sep-29-2017, 12:11 PM - Forum: General Coding Help - Replies (5)

Hello, I am looking for a free python editor for my Mac, I mean a truly free one, not those bogus "free" trial then ask for money.
does anyone have a..... More

Print this item

  How to put data in every cell plus few questions
Posted by: Prince_Bhatia - Sep-29-2017, 11:13 AM - Forum: Web Scraping & Web Development - Replies (1)

i have written a code that that can scrape few details from a webpage. My question is whenever i run my code it prints the output like

[output]|['..... More

Print this item

  Best way to accomplish this task using PyQt5?
Posted by: uduse - Sep-29-2017, 09:35 AM - Forum: GUI - No Replies

I am working on a project that involves these characteristics but I am not sure what is the best way to implement this using PyQt5 and Python 3.6.

..... More

Print this item

  Query related to automation testing of database
Posted by: purnima1 - Sep-29-2017, 08:27 AM - Forum: News and Discussions - No Replies

Hi all,

I am new in python. I actually want to know where we can use it practically .

I want to give brief about my project and want to discuss whe..... More

Print this item

  Widgets position
Posted by: antoniojescobar - Sep-29-2017, 08:16 AM - Forum: GUI - Replies (2)

Hello,last week I started to make a GUI with the Tkinter library.Now I'm trying to make that the position of the widgets adjust itself to the size of ..... More

Print this item

  keyError with dataframe.loc
Posted by: mymnr - Sep-29-2017, 04:50 AM - Forum: General Coding Help - No Replies

I have a dataframe with two columns 'ProductID' and 'Balance'.
Some 'Balance' columns have values =0 (df['Balance']=0).
My dataframe contains differe..... More

Print this item

  broken if statement????
Posted by: DarthTader - Sep-29-2017, 03:17 AM - Forum: General Coding Help - Replies (2)

ok so this sample code is intended to run (at this time) infinetly until i re-run the code (f5)

my current problem is after i call the button funct..... More

Print this item

  Check CSV file for value
Posted by: Brian1210 - Sep-29-2017, 12:35 AM - Forum: General Coding Help - Replies (5)

I'm new to python, I'm trying to set up raspberry pi for temp sensor. I got it writing values to CSV file. But now I want to check the Value and if ov..... More

Print this item

  Urgent Need Python Developer
Posted by: Harry - Sep-28-2017, 10:46 PM - Forum: Jobs - No Replies

Position: SR. Developer
Location: Beaverton, OR
Duration : 12+ months


Only W2

Qualifications
• 5 years’ experience as Python Developer ..... More

Print this item

  Find bug
Posted by: a1060724653 - Sep-28-2017, 09:45 PM - Forum: Homework - Replies (2)

def interleave(nums):
new_nums = []
index = 0
if len(nums) == 0:
return new_nums
for j in range(len(nums)):
for ..... More

Print this item

  Rock,paper,scissors Game(beginner)
Posted by: r0d - Sep-28-2017, 09:19 PM - Forum: Game Development - Replies (10)

Can someone explain to me whats wrong with my code, im new to python and i figure to practice a little, to create a rock paper scissors game
..... More

Print this item

  [Software Programming] Texture Gen Library, which lib ?
Posted by: JamieVanCadsand - Sep-28-2017, 08:49 PM - Forum: News and Discussions - Replies (4)

Hey Software Developers...

Which python library is the best for programming as example an texture generator or
3d software where you can generate ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 4 hours ago paul18fr Pedroski55 General Codin...
  New to python and coding 10 hours ago lary_p jefsummers Homework
  Please guide me to comple... 11 hours ago pbkurd pbkurd General Codin...
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578936
  Tutorial Requ... 510285
  Web Scraping ... 441961
  Newbie with P... 385975
  New Users Int... 376896
Most reputation
buran 581
snippsat 511
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday
Jessicaadams Yesterday

User Panel Messages

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