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,931
» Latest member: Lenowell
» Forum threads: 38,720
» Forum posts: 175,500

Full Statistics

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

Latest Threads
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
56 minutes ago
» Replies: 1
» Views: 331
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
11 hours ago
» Replies: 8
» Views: 2,315
real community
Forum: News and Discussions
Last Post: decuser
11 hours ago
» Replies: 3
» Views: 1,446
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 262
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 87
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,785
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,035
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 726
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,083
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Sep-14-2025, 11:16 AM
» Replies: 4
» Views: 15,959

 
  Formatting question
Posted by: Liquid_Ocelot - Apr-28-2017, 10:48 PM - Forum: Homework - Replies (5)

Hey guys so I am just stuck on the formatting side of my problem: I have written the code correctly I just need to know a few key points please such a..... More

Print this item

  Python dynamic inheritance ?
Posted by: harun2525 - Apr-28-2017, 10:41 PM - Forum: General Coding Help - Replies (1)

[python]
ToggleWidgetClass = object

class SpecificToggleWdidgetClass(ToggleWidgetClass):
    def __init__(self, **kwargs):
        pass


def..... More

Print this item

  Calendar calcualtions
Posted by: deusvult - Apr-28-2017, 09:54 PM - Forum: Homework - Replies (11)

Hi!

I am trying to calculate difference in days between two dates. If the dates are close enough the answer is correct but as the difference increa..... More

Print this item

  return issue in a function
Posted by: PyPhanman - Apr-28-2017, 06:23 PM - Forum: General Coding Help - Replies (2)

[color=#242729][size=small][font=Arial,]I am trying to print the list at the end of my code. But I can't seem to figure out how to return the list whe..... More

Print this item

  Need help in coding errors
Posted by: Shubham125211 - Apr-28-2017, 05:05 PM - Forum: General Coding Help - Replies (3)

Below is the given code in which i need u guys help, plz tell me the logical and syntax errors of the following code
This program is for raspberry pi..... More

Print this item

  tcp sever HELP
Posted by: abrew132 - Apr-28-2017, 03:47 PM - Forum: Networking - Replies (3)

Hi have a chat client that works excellent, but i can't have other computers that are on the same router connect to me, so i try to change the address..... More

Print this item

  Multithreading socket in Python. I'm missing something
Posted by: Guybrush - Apr-28-2017, 03:22 PM - Forum: General Coding Help - Replies (1)

I'm learning the use of multithreading and sockets in python so I'm sorry if I lack knowledge...
I'm stuck with this problem: I took this code from t..... More

Print this item

  Nouns and corresponding verbs in German
Posted by: MattaFX - Apr-28-2017, 07:53 AM - Forum: General Coding Help - No Replies

Hi everybody,

[color=#242729][size=small][font=Arial,]Currently, I'm looking for a re..... More

Print this item

  placing module level statements into def
Posted by: michaelcollier - Apr-28-2017, 07:52 AM - Forum: General Coding Help - Replies (7)

I have my own flowchart GUI for C++ that I'm extending to python and have a question about python statements that exist at module level i.e. they are ..... More

Print this item

  drop duplicate values based on a criteria
Posted by: klllmmm - Apr-28-2017, 07:49 AM - Forum: Data Science - Replies (1)

I have a pandas dataframe that has duplicate data. Similar to below table. I want to drop duplicates keeping only the rows with value close to zero in..... More

Print this item

  How to add python library to Spyder
Posted by: awa5114 - Apr-28-2017, 06:29 AM - Forum: General Coding Help - Replies (4)

I am trying to add an external python library from a third party software into Spyder so I can work with it. I have already tried the following:

 -..... More

Print this item

  trying to figure out WSGI
Posted by: Skaperen - Apr-28-2017, 04:15 AM - Forum: News and Discussions - Replies (10)

i am reading about WSGI.  but so much documentation seems to be missing the target on explaining what is going on.  one of things i read is that a web..... More

Print this item

  How to convert Text file contents into a dictionary.
Posted by: tannishpage - Apr-28-2017, 03:56 AM - Forum: General Coding Help - Replies (12)

I have a text file with contents like this:
    A:B
    C:D
and so on(Its just an example).

I want to put that into a dictionary. Is it possible..... More

Print this item

  Distance between two points!
Posted by: zepel - Apr-28-2017, 01:51 AM - Forum: Homework - Replies (14)

Help! I'm a total newbie when it comes to programming, I need my program to calculate the distance between two points. I got the first part of my assi..... More

Print this item

  parsing text for common factor
Posted by: metulburr - Apr-27-2017, 11:51 PM - Forum: General Coding Help - Replies (4)

Im trying to alphabetize this list of addresses by city. I might just be air headed today or what. Im not sure on how to identify the city. There isnt..... More

Print this item

  help with lxml
Posted by: meems - Apr-27-2017, 10:13 PM - Forum: Web Scraping & Web Development - Replies (8)

Hi, anyone here good with lxml?
I'm trying to learn it.


[python]page = requests.get('http://econpy.pythonanywhere.com/ex/001.html')
tree = html..... More

Print this item

  Saving data in the Debugger
Posted by: macellan85 - Apr-27-2017, 09:43 PM - Forum: General Coding Help - Replies (1)

HI guys 

I'm having trouble with the debugger. If someone give me a hand I'll appreciate it.  

Problem is, I have a script which is using python..... More

Print this item

  Returning the highest value out of 3 values
Posted by: ComputerSkillet - Apr-27-2017, 08:19 PM - Forum: Homework - Replies (2)

I'm trying to create a program that will allow the user to input 3 values and have the program state the highest value.
The error:

line 7, in <mod..... More

Print this item

  For x in [1,2,3]
Posted by: Ingo - Apr-27-2017, 07:24 PM - Forum: General Coding Help - Replies (2)

Since most of the python tutorials are in English and that's not my main lenguage, i'm very confused about the "For x in [...]" Usage.
Does it work l..... More

Print this item

  Append to dataframe with for loop
Posted by: nocoffeenoworkee - Apr-27-2017, 06:43 PM - Forum: General Coding Help - Replies (2)

I'm trying to loop through a list(y) and output by appending a row for each item in y to a dataframe.
y=[datetime.datetime(2017, 3, 29), datetime.dat..... More

Print this item

  NameError: name 'patterns' is not defined
Posted by: Debian - Apr-27-2017, 06:19 PM - Forum: General Coding Help - Replies (1)

Hello guys,

I'm trying to install graphite with Grafana ..... More

Print this item

  Filter and lambda question
Posted by: smw10c - Apr-27-2017, 03:57 PM - Forum: Data Science - Replies (3)

Below I am using a filter with a lambda expression. Up until now, in my course, the "g" in lambda referred to a specific cell in a data frame. For ins..... More

Print this item

  problem nin home work
Posted by: maayan11 - Apr-27-2017, 03:36 PM - Forum: Homework - Replies (1)

hello,
in my home work I need to write a function that gets text file and work
and have to find the first time that the word appears and retuen (a,b..... More

Print this item

  Help On Platformer
Posted by: Spectroxis - Apr-27-2017, 12:46 PM - Forum: Game Development - Replies (2)

Hello. I'm relatively new to python and for my python class I wanted to create a python plat-former. Everyone is well on their way to completing there..... More

Print this item

  How to find any non positive integer
Posted by: noob - Apr-27-2017, 11:15 AM - Forum: General Coding Help - Replies (3)

So I need to return the value '-1' when s = any non-digits (other than spaces).
my code so far looks like :
[python]
def parseVote(s=None):
    if..... More

Print this item

  Blackjack total from string HW
Posted by: ichistarr - Apr-27-2017, 10:06 AM - Forum: Homework - Replies (5)

So I've got an assignment that i need help with the game Blackjack on python.
I was given a list to work with (not allowed to change it either) and a..... More

Print this item

  How to make a script to find a certain word in text files in a whole directory ?
Posted by: RandoomDude - Apr-27-2017, 09:14 AM - Forum: General Coding Help - Replies (2)

I have not yet attempted to make this.
i browsed for 1 hour on web,could not find a single article


Wall

>Thanks in advance Pray

Print this item

  Checking connectivity for sockets in Python
Posted by: pikkip - Apr-27-2017, 08:39 AM - Forum: General Coding Help - Replies (1)

I want to check the connection between my client and server ie. should know as soon as the connection is cut off. I tried settimeout( ) but it gave "t..... More

Print this item

  Creating shadow in OpenGL with normal?
Posted by: hsunteik - Apr-27-2017, 08:23 AM - Forum: General Coding Help - No Replies

[color=#000000][size=medium][font=Helvetica, Arial, sans-serif]The basic shadowmap algorithm consists in two passes. First, the scene is rendered from..... More

Print this item

  empty arguments
Posted by: noob - Apr-27-2017, 07:16 AM - Forum: General Coding Help - Replies (16)

Hello, I've stumbled across a problem when creating a program.
The start to my program looks along the lines of:

def parseVote(s):
    if s == []..... More

Print this item

  Need advice: UDP? TCP? Multithread?
Posted by: Guybrush - Apr-27-2017, 07:14 AM - Forum: Networking - Replies (5)

Hi all!

I need some advice for a software that I need to do...

I've 6-8 Cameras( intel realsense) in a room. Every camera calculate the contours..... More

Print this item

  Help in displaying odd numbers from 1 to 100 in py
Posted by: RandoomDude - Apr-27-2017, 04:26 AM - Forum: General Coding Help - Replies (7)

I want a script to display odd numbers from 1 to 100 (in Python 3.x)

>Thanks in advance

Print this item

  why does integer input give error invalid literal for int()
Posted by: PyPhanman - Apr-27-2017, 04:12 AM - Forum: General Coding Help - Replies (2)

I am keep getting an error if I put in something other than an integer. I want the loop to reiterate if say enter is pushed or if a letter is input. I..... More

Print this item

  string to hex and back again
Posted by: Skaperen - Apr-27-2017, 03:32 AM - Forum: General Coding Help - Replies (14)

i want to convert a string to hexadecimal

'Skaperen' -> '536b61706572656e'
'Python' -> '507974686f6e'

and back again

'536b61706572656E' -> '..... More

Print this item

  Skipping a line on output
Posted by: lucas0150 - Apr-27-2017, 01:52 AM - Forum: Homework - Replies (3)

Hi.

Sorry for the poor English, I'm not a native speaker.

The boring code I'm writing works as follows. The user inputs a number T. The user is ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Another app idea - intera... 56 minutes ago decuser Lenowell News and Disc...
  403 Error 11 hours ago CaptainNewb snippsat Web Scraping ...
  real community 11 hours ago decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 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...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
  New to the field 09-14, 08:15 Polybunny Larz60+ News and Disc...
Most views
  The best Prog... 575770
  Tutorial Requ... 496997
  Web Scraping ... 439788
  Newbie with P... 383464
  New Users Int... 365190
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday
faithsally Yesterday

User Panel Messages

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