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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,937
» Latest member: bennyanderson482
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 33 Guest(s)
Bing, Google, AOL, Applebot, AOL

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 56
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 3,080
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,498
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 516
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 776
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,879
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 869
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 455
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,416
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,631

 
  Error in my function
Posted by: zafraj1 - Oct-01-2017, 07:37 PM - Forum: Homework - Replies (3)

Hello everyone. I try to make o function which takes 2 strings, a word and a letter, and counts how many times there is the letter in the word. [b]Her..... More

Print this item

  [cx_Freeze] Build .exe they get more .py files, help needed !
Posted by: JamieVanCadsand - Oct-01-2017, 06:35 PM - Forum: News and Discussions - Replies (3)

Hey Programmers, Game Developers and Software Writers...

I know how i can build .exes from an simgle .py file, but now i want to know,
how i can ..... More

Print this item

  Python to Exe trouble (TKinter might be causing problems?)
Posted by: Bill - Oct-01-2017, 06:28 PM - Forum: General Coding Help - Replies (5)

I've been trying to convert this Python program into an exe file that can run on computers that don't have Python installed. I've tried pyinstaller, b..... More

Print this item

  [split] Delete Threads
Posted by: xBlackHeartx - Oct-01-2017, 06:12 PM - Forum: Board - Replies (4)

There really needs to be a way to delete your threads. I shouldn't even bother to post unless I can find that feature, since lacking that feature is a..... More

Print this item

  How to convert character to integer in python
Posted by: rajeev1729 - Oct-01-2017, 04:19 PM - Forum: General Coding Help - Replies (2)

age digonsis
32 M

Print this item

  Keep a file locked for the life of an application
Posted by: rachelrosemond - Oct-01-2017, 02:41 PM - Forum: General Coding Help - Replies (2)

Suppose I have a file I'm reading from and I want to keep it open for the life of the application, until the users quits. Using Python under Windows, ..... More

Print this item

  Concatenate Specific Cell Interval With Pandas
Posted by: vidividi12 - Oct-01-2017, 02:16 PM - Forum: Data Science - No Replies

I want to concatenate specific columns and rows of multiple excel file(Like first.xlsx[B13:D13] and second.xlsx[B13:D13]). How can I improve my codes ..... More

Print this item

  how to find a next prime number?
Posted by: iamyourfather - Oct-01-2017, 08:15 AM - Forum: Homework - Replies (2)

I have a question that makes me so confused ...
I have to complete 「nextPrime()」 function so that it will return the smallest prime number that is gr..... More

Print this item

  Identifying object types
Posted by: microphone_head - Oct-01-2017, 07:52 AM - Forum: General Coding Help - Replies (5)

Can anyone out there suggest a better way of using the "type" routine?

I am trying to improve my code by identifying errors. In addition
to ..... More

Print this item

  What the butt is MyProgramming lab asking me to do?
Posted by: masonmoore93 - Oct-01-2017, 06:31 AM - Forum: Homework - Replies (4)

The problem states: "Assume that credits is an int variable whose value is 0 or positive. Write an expression whose value is "freshman" or "sophomore"..... More

Print this item

  Reduced Moving Averages for time series Data
Posted by: shivam_hbti - Oct-01-2017, 05:00 AM - Forum: Data Science - No Replies

I am doing my analysis on time series data using Python. I am also interested in moving averages, to calculate moving averages for my target variable,..... More

Print this item

  Old School First Person Dungeon Crawler?
Posted by: xBlackHeartx - Oct-01-2017, 03:06 AM - Forum: Game Development - Replies (1)

Note that I haven't even started learning pygame yet. I haven't even really learned python well enough to actually make anything (mostly because I fou..... More

Print this item

  How to convert boolean "True" to custom string?
Posted by: student8 - Oct-01-2017, 01:36 AM - Forum: Homework - Replies (3)

I am trying to write a rock, paper, scissors function without using if statements, loops or lists
The function prompts the user for choice of player ..... More

Print this item

  Help with fibonacci sequence
Posted by: masonmoore93 - Sep-30-2017, 11:53 PM - Forum: Homework - Replies (2)

Here's the problem I'm tasked with:

"In the following sequence, each number (except the first two) is the sum of the previous two numbers: 0, 1, 1,..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 2 hours ago Alexandros Larz60+ General Codin...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576042
  Tutorial Requ... 497506
  Web Scraping ... 440004
  Newbie with P... 383770
  New Users Int... 366259
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Today
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday

User Panel Messages

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