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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,033

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, Google Image

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: BioNanoTech
2 hours ago
» Replies: 0
» Views: 29
IP address for users
Forum: Networking
Last Post: DeaD_EyE
7 hours ago
» Replies: 6
» Views: 7,151
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
7 hours ago
» Replies: 1
» Views: 56
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,607
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 163
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 241
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,629
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 210
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 361

 
  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

  What's your name? - returns "None"
Posted by: Mandm723 - Apr-26-2017, 09:31 PM - Forum: General Coding Help - Replies (4)

I am trying to make a simple, what is your name? hello so and so. But whenever I run it it says the name is "none" any help?

Code
[python]..... More

Print this item

  Compression/Decompression Code not working
Posted by: Zanbezi - Apr-26-2017, 08:56 PM - Forum: General Coding Help - Replies (3)

My code is supposed compress a text file into numbers and be able to save it to a file.Its also meant to be able to decompress a file and save the res..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 2 hours ago BioNanoTech BioNanoTech General Codin...
  IP address for users 7 hours ago Robots DeaD_EyE Networking
  Check if running from she... 7 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  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...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580463
  Tutorial Requ... 519937
  Web Scraping ... 442796
  Newbie with P... 387009
  New Users Int... 386732
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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