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,622
» Latest member: Robert_Ruben
» Forum threads: 38,637
» Forum posts: 175,059

Full Statistics

Online Users
There are currently 449 online users.
» 0 Member(s) | 439 Guest(s)
Bing, Baidu, Google, Yandex, Facebook, Applebot

Latest Threads
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
35 minutes ago
» Replies: 2
» Views: 3,041
List[] in Python needs so...
Forum: Game Development
Last Post: miajones
9 hours ago
» Replies: 2
» Views: 343
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Today, 08:09 AM
» Replies: 2
» Views: 2,066
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Today, 05:53 AM
» Replies: 2
» Views: 230
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 472
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 192
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,376
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:43 AM
» Replies: 1
» Views: 135
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:15 AM
» Replies: 3
» Views: 631
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Jun-24-2025, 03:41 AM
» Replies: 3
» Views: 1,537

 
  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

  Calculating what year it is when you are 100 years old
Posted by: dankim9000 - Apr-26-2017, 07:55 PM - Forum: General Coding Help - Replies (2)

[color=#242729][size=small][font=Arial,]I'm trying to figure out how to get the program to calculate what year it is when the user is 100 years old.[/..... More

Print this item

  groups attribute of a groupby object question
Posted by: smw10c - Apr-26-2017, 07:28 PM - Forum: General Coding Help - Replies (2)

I am having trouble understanding the following code. Note, auto is a DataFrame that contains the variables yr (year) and mpg (miles per gallon):

[..... More

Print this item

  browser tab form
Posted by: metulburr - Apr-26-2017, 05:35 PM - Forum: Board - Replies (6)

What are other alternatives?

These are optional but i just havent done them yet to know 100% sure that it would work without a problem. 
favicon O..... More

Print this item

  Simple UDP server not receiving
Posted by: frank2644 - Apr-26-2017, 05:34 PM - Forum: General Coding Help - Replies (6)

My Windows7 UDP server with the code below from wiki.python.org is not working.

I am sending a UDP packet from an Arduino , but nothing is being r..... More

Print this item

  Reasons to choose Python over C++?
Posted by: RandoomDude - Apr-26-2017, 03:56 PM - Forum: General Coding Help - Replies (62)

What are the reasons to choose python over c++?
>Is it because of the simplicity and shortness of the Scripts in Python?


Confused **confused..... More

Print this item

  Need Help with an Antivirus script in py3
Posted by: RandoomDude - Apr-26-2017, 12:30 PM - Forum: General Coding Help - Replies (9)

I have created an av script in py3,i have been studying py3 for the past four weeks,But this compiling error is out of my league  Cry
I was so h..... More

Print this item

  UDP Socket: How to clear the buffer and ignore oldes messages
Posted by: Guybrush - Apr-26-2017, 09:46 AM - Forum: Networking - Replies (3)

Hi all!
[color=#242729][size=small][font=Arial,]I've some problem with Sockets UDP in P..... More

Print this item

  Drag and Drop GUI
Posted by: crystallized_neuron - Apr-26-2017, 07:00 AM - Forum: GUI - Replies (3)

Hi,

I am currently looking for a python (drag and drop) GUI. Is there one in Eclipse Neon? I can't seem to find one. All I can see is the TKinter, wh..... More

Print this item

  General Python code for Newbie
Posted by: Ramakrishna - Apr-26-2017, 05:34 AM - Forum: Web Scraping & Web Development - Replies (22)

My question here:
Hi all, i am new to the python scripting language. I have a requirement that to compare the two excel files. 
Requirement is: Many..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyQt] PyQT5 Thread crash... 35 minutes ago Suresh Axel_Erfurt GUI
  List[] in Python needs so... 9 hours ago Codingdesigner12 miajones Game Developm...
  Unable to install pygame ... Today, 08:09 garthE Thatedge Game Developm...
  can't use pyrepl: bad mag... Today, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... 06-24, 14:04 Winfried deanhystad GUI
  color names 06-24, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help 06-24, 04:43 bowens1983 DeaD_EyE News and Disc...
  tracking version during r... 06-24, 04:15 Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... 06-24, 03:41 doug2019 Pedroski55 General Codin...
  Convert any Python expres... 06-23, 07:06 voidtrance DeaD_EyE General Codin...
Most views
  The best Prog... 572345
  Tutorial Requ... 484976
  Web Scraping ... 436868
  Newbie with P... 379699
  Thread remain... 351238
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Robert_Ruben Today
luxorb Today
SPODGEBOB Today
livecricket Today
miajones Today

User Panel Messages

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