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,260
» Latest member: nathanael
» Forum threads: 38,785
» Forum posts: 175,842

Full Statistics

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

Latest Threads
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
27 minutes ago
» Replies: 4
» Views: 274
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
1 hour ago
» Replies: 0
» Views: 15
How to make ball stay wit...
Forum: General Coding Help
Last Post: nathanael
2 hours ago
» Replies: 0
» Views: 20
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
5 hours ago
» Replies: 0
» Views: 43
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 10
» Views: 217
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
9 hours ago
» Replies: 3
» Views: 112
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 196
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 382
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 127
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 264

 
  Barchart help
Posted by: Vittya - Nov-16-2017, 10:56 AM - Forum: Homework - Replies (1)

Hello all!

I am making a barchart but I have two problems.
1.
I have 8 values, each of them is between 0-100. Now if I get a smaller value (eg.: ..... More

Print this item

  accessing socket on Apple MAC
Posted by: georgelza - Nov-16-2017, 08:43 AM - Forum: General Coding Help - Replies (2)

Hi all

is there something specific I need to to get / read data from socket object on a apple MAC, other than run app via sudo.

Code executes an..... More

Print this item

  Class Attributes Inheritance
Posted by: Harry_Potter - Nov-16-2017, 06:50 AM - Forum: General Coding Help - Replies (3)

Hi All,
I am new to programming & trying to learn python.
I have created Product class(as Parent) & Inventory (as child) class. How can i use attrib..... More

Print this item

  How to lock .py file
Posted by: braveYug - Nov-16-2017, 06:47 AM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Modifying Lists
Posted by: RedSkeleton007 - Nov-16-2017, 06:12 AM - Forum: General Coding Help - Replies (12)

Strings are immutable. Lists are not, so I'm trying to learn how to manipulate lists. First up, I want to replace a value at a specific index in my li..... More

Print this item

  Flask Web Development, 2nd edition
Posted by: Larz60+ - Nov-16-2017, 03:34 AM - Forum: News and Discussions - No Replies

Pre release available now: http://shop.oreilly.com/product/0636920089056.do

Print this item

  looking for code: combinations of letter in order
Posted by: Skaperen - Nov-16-2017, 02:34 AM - Forum: News and Discussions - Replies (6)

i am looking for code (preferably a function) that when given a sequence, such as a string of letters, will create a list or set (of strings or tuples..... More

Print this item

  Store twitter DM's in a .txt file
Posted by: buflek - Nov-16-2017, 01:38 AM - Forum: General Coding Help - Replies (5)

I made a bot on twitter for a social experiment and got around 30 accounts. Since its hard for me to check them all daily for messages, I'd like to ge..... More

Print this item

  Class Homework
Posted by: Cowboy - Nov-16-2017, 01:21 AM - Forum: Homework - Replies (1)

Hey all. Python Newbie here. Taking CEIS 100 at DeVry and this weeks Lab has me stumped. We are to write a script the prints out the following:
Who ..... More

Print this item

  Python, breaking words
Posted by: Folija - Nov-15-2017, 11:40 PM - Forum: Homework - Replies (4)

Hello,

I just started learning python and i got an assignment, if I pass it I automatically pass the whole semester Smile

So what i have to do..... More

Print this item

  help with cross
Posted by: Item97 - Nov-15-2017, 09:38 PM - Forum: Homework - Replies (27)

Hello guys. Can u help me with this pattern ?

I've tried to do this with matrix but i did square and then i dont know how can i turn my square to t..... More

Print this item

  Trying to use flask_login from front end with rauth
Posted by: rahul3103 - Nov-15-2017, 07:31 PM - Forum: Web Scraping & Web Development - Replies (1)

I have posted my question here: ..... More

Print this item

  Extract data between two dates from a .csv file using Python 2.7
Posted by: sujai_banerji - Nov-15-2017, 07:16 PM - Forum: Data Science - Replies (1)

I have an Excel file with the headings: Date, AQI and Raw Conc. The date is in yyyy-mm-dd format. I want to extract the data between two dates and cop..... More

Print this item

  List of far points of two list
Posted by: antoniomancera - Nov-15-2017, 04:21 PM - Forum: Homework - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Pygame importing classes
Posted by: Padalinkiller1 - Nov-15-2017, 01:52 PM - Forum: General Coding Help - Replies (2)

I am creating a quiz program in pygame, I have currently created my main menu which stores my background, buttons and mouse interaction in one class. ..... More

Print this item

  Processing PDF
Posted by: Rajeshatpython - Nov-15-2017, 11:33 AM - Forum: Data Science - No Replies

Hello All,
I need to process PDF and convert the table like data to CSV, this table contains fund name that could be unorganized, scattered or some t..... More

Print this item

  Importing matlab cell array (.mat) into a python list
Posted by: scanato - Nov-15-2017, 11:04 AM - Forum: Data Science - No Replies

Hi! I'm trying to import a .mat file that contains a cell array. In matlab I did this:
a={'element1';'element2';'element3'};
save('m.mat','-v7','a')..... More

Print this item

  Django field model for HTML parser?
Posted by: Drone4four - Nov-15-2017, 02:43 AM - Forum: Web Scraping & Web Development - No Replies

The contents of my models.py looks like this:
[python]
from django.db import models

# Create your models here.
class Post(models.Model):
..... More

Print this item

  Installing an interpreter
Posted by: Skipper_Dan - Nov-15-2017, 01:54 AM - Forum: General Coding Help - Replies (15)

What are my best bets for an interpreter? I am just starting with Python through Udacity. I have tried Skulpt but have problems with it.

Print this item

  unicode
Posted by: Skaperen - Nov-15-2017, 01:52 AM - Forum: Bar - Replies (7)

the range of ASCII characters that are "printable" is 32 to 126, or 33 to 126, inclusive, depending on whether blank spaces are considered "printable"..... More

Print this item

  Cannot attach to com port with Pyserial
Posted by: sabdulqadir - Nov-15-2017, 12:47 AM - Forum: General Coding Help - No Replies

I am using a microcontroller to send some data to a PC using Virtual Com Port (USB interface). I am using pyserial to receive the data on the PC. I am..... More

Print this item

  User input only takes the last number
Posted by: Austin11 - Nov-15-2017, 12:09 AM - Forum: Homework - Replies (16)

Basically. You have 7 iterations you must enter for pints of blood, or blood donations. Then, it calculates the total, average, and the high and low a..... More

Print this item

  Graphing process execution time
Posted by: Temennigru - Nov-14-2017, 11:49 PM - Forum: General Coding Help - Replies (4)

I have a bunch of process execution times that I'd like to graph (starting and ending time).
Something like this:
[img]http://i1147.photobucket.com/al..... More

Print this item

  Multiple lines?
Posted by: Noobie12 - Nov-14-2017, 11:40 PM - Forum: General Coding Help - Replies (4)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Discord bot that asks questions and based on response answers or asks more questions
Posted by: absinthium - Nov-14-2017, 10:32 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Class with text widget method
Posted by: AeranicusCascadia - Nov-14-2017, 09:09 PM - Forum: GUI - Replies (3)

I am quite new to Python and programming in general and just starting to work with Tkinter, so your patience and help is really appreciated.

I am t..... More

Print this item

  Uninitialized ASN.1 value in Flask LDAP3 Auth blueprint
Posted by: zoidberg - Nov-14-2017, 08:29 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to put together a flask blueprint for LDAP3 auth. I started out with a standard flask app and that works fine but as soon as I turn it into..... More

Print this item

  Not sure why this works...
Posted by: goldtiger6 - Nov-14-2017, 08:12 PM - Forum: General Coding Help - Replies (1)

I'm working on a project for class and I was not sure why this didn't work:

Input:
0
9
[python]def hcf(a, b):

for i in rang..... More

Print this item

  When to call thread.join in a GUI application
Posted by: QueenSvetlana - Nov-14-2017, 06:12 PM - Forum: General Coding Help - No Replies

[python]import wx
import json
import queue
import threading


class MyDialog(wx.Frame):

def __init__(self, parent, title):
self...... More

Print this item

  Best Method for simple GUI?
Posted by: PythonAndArduino - Nov-14-2017, 03:07 PM - Forum: General Coding Help - Replies (4)

I've made a number guessing game, and I want to build a GUI so it can be played outside of a command prompt window so that I can eventually export it ..... More

Print this item

  calling python function with multiple argument in C#
Posted by: braveYug - Nov-14-2017, 11:20 AM - Forum: General Coding Help - Replies (1)

Hello All,

I am stuck with a new problem . I have created a simple python code say for summing 2 variables. File is called as Addition.py
Addition..... More

Print this item

  Output ZMQ-content to browser
Posted by: AarClay - Nov-14-2017, 10:37 AM - Forum: General Coding Help - Replies (9)

I have this code in Python. (Add i'm not a great python-expert ;) )
With this I can output the content of the ZeroMQ-stream to a file. Only writing t..... More

Print this item

  Allow only digit
Posted by: penoxcz - Nov-14-2017, 09:57 AM - Forum: Homework - Replies (3)

Hi, I need to make some check if num1 and num2 are digit then continue and if cislo_operace is digit then continue if not display custom error.
[pyth..... More

Print this item

  List comprehension, I think(?)
Posted by: zykbee - Nov-14-2017, 07:20 AM - Forum: General Coding Help - Replies (10)

Hey guys. When I run this, it properly writes to a new text file any line of the "full" list that doesn't have a corresponding line in the "emit" list..... More

Print this item

  list of list to list of tuple?
Posted by: student8 - Nov-14-2017, 02:38 AM - Forum: Homework - Replies (2)

network= [['0 1'], ['0 2'], ['0 3'], ['1 4'], ['1 6'], ['1 7'], ['1 9'], ['2 3'], ['2 6'], ['2 8'], ['2 9']]

I have a list of lists (above) and I a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  sorting a lisr of file pa... 27 minutes ago Skaperen Skaperen News and Disc...
  conditional nested loops 1 hour ago Skaperen Skaperen News and Disc...
  How to make ball stay wit... 2 hours ago nathanael nathanael General Codin...
  PyQt6 QWidgets and system... 5 hours ago stevecoh1 stevecoh1 GUI
  [solved] re.split issue 6 hours ago paul18fr deanhystad General Codin...
  Please guide me to comple... 9 hours ago pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
Most views
  The best Prog... 578970
  Tutorial Requ... 510465
  Web Scraping ... 441986
  Newbie with P... 386007
  New Users Int... 377043
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+ 12108
buran 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday
TomTMH 11-13

User Panel Messages

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