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,402
» Latest member: Jeffreygon
» Forum threads: 38,825
» Forum posts: 176,038

Full Statistics

Online Users
There are currently 29 online users.
» 1 Member(s) | 25 Guest(s)
Bing, Google, AOL, Gribouillis

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 200
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,775
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,679
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 192
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 154
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,205
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 237
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,646
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 313
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 276

 
  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

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580523
  Tutorial Requ... 520447
  Web Scraping ... 442822
  Newbie with P... 387040
  New Users Int... 387007
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Jeffreygon Today
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01
aoliiapetrov4786 01-01

User Panel Messages

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