Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,670
» Latest member: PranayShah
» Forum threads: 37,407
» Forum posts: 169,991

Full Statistics

Online Users
There are currently 377 online users.
» 0 Member(s) | 370 Guest(s)
Facebook, Yandex, Baidu, Applebot

Latest Threads
How to solve this error "...
Forum: Data Science
Last Post: PranayShah
2 hours ago
» Replies: 0
» Views: 22
¿Cómo se fija el presupue...
Forum: Bar
Last Post: Taylor13Sylas
7 hours ago
» Replies: 1
» Views: 55
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
7 hours ago
» Replies: 8
» Views: 322
Program that calculates b...
Forum: Data Science
Last Post: deanhystad
7 hours ago
» Replies: 1
» Views: 87
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
11 hours ago
» Replies: 1
» Views: 159
API design an choice
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:26 PM
» Replies: 2
» Views: 108
negative memory usage
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 08:43 AM
» Replies: 1
» Views: 98
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: WicardBohnam
Yesterday, 01:25 AM
» Replies: 9
» Views: 253
Why am I getting this err...
Forum: General Coding Help
Last Post: Pedroski55
Apr-26-2024, 12:31 PM
» Replies: 4
» Views: 161
Discord - Webcrapping fro...
Forum: Web Scraping & Web Development
Last Post: Tolska
Apr-26-2024, 12:27 PM
» Replies: 0
» Views: 82

 
  print: Tips and tricks
Posted by: microphone_head - Apr-11-2019, 09:33 AM - Forum: News and Discussions - Replies (12)

Hi all.

I found that when I run the print command with "\b" I can produce a tick symbol.

Does anyone have any other tips they would like to shar..... More

Print this item

  Beginner Level - Name Error
Posted by: Aniket - Apr-11-2019, 07:19 AM - Forum: General Coding Help - Replies (11)

Hello Everyone,

I am new to Python and have recently started working on it.

Please help me resolve the error

My code is

[python]
def he..... More

Print this item

  Error in Tkinter
Posted by: moste - Apr-11-2019, 06:38 AM - Forum: GUI - Replies (6)

Hello guys, i am trying to create a programm with tkinter (for first time) and i got the follow error in one part of my code:

[python]
y = StringV..... More

Print this item

  python idle turtle graphics help
Posted by: jojo - Apr-11-2019, 05:24 AM - Forum: Homework - Replies (5)

needing help with this assignment

Im working on a python assignment. The end result of the assignment is to produce a program of the game Solitair..... More

Print this item

  pmdown.py help!
Posted by: chongjasmine - Apr-11-2019, 04:54 AM - Forum: General Coding Help - Replies (2)

I find a file known as pmdown.py that can convert pocketmags html 5 reader file to pdf but I don't know how to use it. Help appreciated!

Print this item

  add search bar = search for input in all computer directory
Posted by: francisco_neves2020 - Apr-11-2019, 01:40 AM - Forum: GUI - Replies (15)

Hi, it is possible in tkinter to code the searchbar for a search in all the computer for a given input? Can provide some code?
I know the code for sp..... More

Print this item

  Read Save RadioButtons from Database in Python Flask Webpage
Posted by: Gary8877 - Apr-11-2019, 12:33 AM - Forum: Web Scraping & Web Development - No Replies

I am new to Python, Flask & HTML. I have a SQL Server table Products that contains DeptManager, Product & SellStatus (which could be yes, no or not su..... More

Print this item

  Intializing return value to 0
Posted by: adam10e10 - Apr-11-2019, 12:13 AM - Forum: Homework - Replies (2)

Hey guys, the problem is asking the following:

Use the Design Recipe to write a function called running_average that repeatedly asks the user to i..... More

Print this item

  How to set turns playing tictactoe?
Posted by: Mariano - Apr-10-2019, 10:41 PM - Forum: GUI - Replies (1)

I don't know how to set turns: human Vs computer. Based on my code: the computer's movement needs the human to click on any button.


[python]# -*-..... More

Print this item

  Implementing a recursive algorithm for tree.
Posted by: Negativ3 - Apr-10-2019, 10:01 PM - Forum: General Coding Help - Replies (3)

I'm trying to solve
[quote="https://www.codechef.com/APRIL19B/problems/SUBREM]question"]You are given a rooted tree with N nodes (numbered 1 through ..... More

Print this item

  Blockspring Trello export to Google Sheet
Posted by: Shafla - Apr-10-2019, 09:21 PM - Forum: General Coding Help - No Replies

I have a Trello board synced with a google sheet. I want to start adding my own code. Specifically i would like to export each checklist item to its o..... More

Print this item

  Create a set of checkbutton widgets and refer to every one of them individually?
Posted by: Mariano - Apr-10-2019, 07:13 PM - Forum: GUI - Replies (1)

I am a teacher. Using Tkinter and Openpyxl I need to code a graphical user interface so I could click on a student's name “linked” with a checkbutton ..... More

Print this item

  Iteration with 2 Variables
Posted by: punksnotdead - Apr-10-2019, 04:54 PM - Forum: General Coding Help - Replies (8)

Hello, This is my first attempt at writing a program using Python and I'm a bit stuck.
I'd like to write the sequence shown in the comments to an Exc..... More

Print this item

  Need help getting the output
Posted by: aankrose - Apr-10-2019, 04:41 PM - Forum: General Coding Help - Replies (10)

[python]
S = 5
t=[]
for i in range(1,S+1):
t.append(i)
for j in range(0,S):
t[j] = '/'
print(''.join(str(e) for e in t))
for i..... More

Print this item

  Running python file without python
Posted by: mzmingle - Apr-10-2019, 03:24 PM - Forum: General Coding Help - Replies (2)

Hi! I've found out that it's possible to turn a python file into an .exe file, but presumably that's only if you're using no external modules. I have ..... More

Print this item

  How to delete column if entire column values are "nan"
Posted by: Sri - Apr-10-2019, 02:17 PM - Forum: Data Science - Replies (4)

Hi,
I have read csv file in dataframe, and I want to delete column if entire column values are equal to "nan"


data.csv:

[python]Name Rank ..... More

Print this item

  Parsing Attached .MSG Files with Python3
Posted by: ericl42 - Apr-10-2019, 02:08 PM - Forum: General Coding Help - Replies (1)

I'm trying to monitor a phishing inbox that could receive both normal emails (i.e. HTML/text based with potential attachments) as well as emails that ..... More

Print this item

  tuple index out of range
Posted by: delta1071 - Apr-10-2019, 01:54 PM - Forum: General Coding Help - Replies (3)

Hello
I'm a coding newbie and first-time visitor to this forum. The script below throws the following error on execution:
[output]
File "detect.py", l..... More

Print this item

  Mean of array
Posted by: Monti - Apr-10-2019, 01:06 PM - Forum: Homework - Replies (1)

Hi all,
i am new here and hope i can find some help.

i have a two dimensional array. in the first column is the distance in mm and in the second c..... More

Print this item

  Odd Behavior with Read Posts
Posted by: ichabod801 - Apr-10-2019, 12:46 PM - Forum: Board - Replies (7)

I'm seeing some odd behavior with read posts this morning. First, this thre[url=https://python-forum.io/thread-17424.html]..... More

Print this item

  Looking for Software for creating highly detailed GUI
Posted by: moo5e - Apr-10-2019, 11:34 AM - Forum: News and Discussions - Replies (1)

Hello,
I'm attempting to build a software with high quality user interface(GUI) and 3d visualisation of data. I'm looking for a framework that will o..... More

Print this item

  Print a Graph (packages)
Posted by: dervast - Apr-10-2019, 11:34 AM - Forum: Data Science - Replies (1)

Hi,
I have as input a matrix that I have created by collecting sequences together. Not all sequences are equal in length and thus I have appended zer..... More

Print this item

  Script Conversion 2.7 to 3 (sockets)
Posted by: Pumpernickel - Apr-10-2019, 10:17 AM - Forum: Networking - Replies (1)

Hey all,

I'm trying to convert a script written in python2.7 to python3.
The first hurdle is how byte strings are handled between the two, which I..... More

Print this item

  Water flow sensor and Servo Motor wont run at the same time
Posted by: baff_paff - Apr-10-2019, 09:55 AM - Forum: Homework - Replies (1)

Hei, we have a project going on at moment where we have to use a flowmeter sensor and a servo motor. The main objective of the servo motor is to open ..... More

Print this item

  create and insert a new frame on top of another frame
Posted by: atlass218 - Apr-10-2019, 07:58 AM - Forum: GUI - Replies (4)

I have an idea and I want to realize it on my little project in tkinter with python 3.6
I'd like to be told how I'm going to start doing this

I wa..... More

Print this item

  Append to Array Fails
Posted by: Jeff - Apr-10-2019, 07:39 AM - Forum: General Coding Help - Replies (1)

The Script that I will post will show 2 different results Function - def Report_Results_Fail(): -- Fails Function - def Report_Results_Ok(): -- is OK..... More

Print this item

  parsing complex text file
Posted by: anna - Apr-10-2019, 07:35 AM - Forum: General Coding Help - Replies (1)

Hi All,

I have huge text file(sample is given below), I have not tried yet as not able find the way, suggestion required. How to proceed and which ..... More

Print this item

  Pygame deleting list index.
Posted by: TheHumbleIdiot - Apr-10-2019, 04:53 AM - Forum: Game Development - Replies (4)

I'm working on this space invaders game and the tail end of the logic is confusing me. There is a nested loop in the conclusion.
[python]i = 0
w..... More

Print this item

  Need help to finish the hat on the snowman in this Python drawing
Posted by: soowoosamuel - Apr-10-2019, 04:49 AM - Forum: Homework - Replies (1)

Looking for help, I want to make the hat a traditional top hat with a slimmer rectangle spawning at the center of the black filled fat rectangle atop ..... More

Print this item

  How to correct the programming for KNN
Posted by: vokoyo - Apr-10-2019, 03:29 AM - Forum: Homework - No Replies




I get the answer but the output pictures are wrong - may I know which part on my programming is wrong






[python]

# read in ..... More

Print this item

  In need help to put this code in order
Posted by: lekuru01 - Apr-10-2019, 03:18 AM - Forum: Homework - Replies (4)

write a python functionn GOS_erlang(chanels,capacity) that computes the grade of service for a give number of (interger) channels and (floating point)..... More

Print this item

  Problems with executing .exe file (was .py)
Posted by: SheeppOSU - Apr-10-2019, 02:46 AM - Forum: Game Development - Replies (9)

I turned a .py file into .exe file. It works just fine on python but won't run as a .exe file. I don't know why. When I click on it, it opens up a scr..... More

Print this item

  user inputs in constructing a dictionary
Posted by: Exsul - Apr-10-2019, 01:53 AM - Forum: General Coding Help - Replies (3)

I am making a dictionary, and I called for user input for the key-value combinations, and this was the result:

[python]latin_vocab = {}

latin_vo..... More

Print this item

  How to find the accuracy vs number of neighbours for KNN
Posted by: vokoyo - Apr-09-2019, 11:29 PM - Forum: Homework - Replies (3)

[b]


May I know how to modify my Python programming so that can obtain the accuracy vs number of neighbours as refer to the attached image file -..... More

Print this item

  Claims not declared, but is... why?
Posted by: Ecniv - Apr-09-2019, 10:36 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi

My class which I've imported in the app.py is complaining that the con variable doesn`t exist.

Ok. I get that it thinks the variable doesn`t exis..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to solve this error "... 2 hours ago PranayShah PranayShah Data Science
  ¿Cómo se fija el presupue... 7 hours ago Davis5Noah Taylor13Sylas Bar
  using mutable in function... 7 hours ago akbarza snippsat General Codin...
  Program that calculates b... 7 hours ago xzenon deanhystad Data Science
  Problem Converting Tradin... 11 hours ago kralxs kralxs General Codin...
  API design an choice Yesterday, 17:26 Skaperen Skaperen News and Disc...
  negative memory usage Yesterday, 08:43 akbarza Gribouillis General Codin...
  ModulNotFoundError matplo... Yesterday, 01:25 WicardBohnam WicardBohnam General Codin...
  Why am I getting this err... 04-26, 12:31 Pedroski55 Pedroski55 General Codin...
  Discord - Webcrapping fro... 04-26, 12:27 Tolska Tolska Web Scraping ...
  Low code b2b e-commerce s... 04-26, 12:18 makc abdlwafitahiri Web Scraping ...
Most views
  The best Prog... 417030
  Web Scraping ... 307251
  Tutorial Requ... 296305
  Newbie with P... 253742
  Thread remain... 236344
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11873
buran 8090
snippsat 7093
deanhystad 6222
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
PranayShah Today
SatoshiNGenesis Yesterday
Taylor13Sylas Yesterday
Davis5Noah Yesterday
a001 Yesterday

User Panel Messages

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