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,261
» Latest member: SledgeNE
» Forum threads: 38,785
» Forum posts: 175,843

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 44 Guest(s)
Bing, Google, Mojeek, AOL

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
2 hours ago
» Replies: 1
» Views: 46
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
6 hours ago
» Replies: 4
» Views: 284
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
7 hours ago
» Replies: 0
» Views: 28
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 51
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 228
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 117
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 202
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 388
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 133
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 266

 
  Can you please Define python structure charts ?
Posted by: zuzu_tahan - Nov-26-2017, 06:16 PM - Forum: Homework - Replies (8)

please define structure charts for python. Choose on this multiple choice each question. They can't have the same answer.
Multiple choice:
Utility..... More

Print this item

  make StaticText limit Number
Posted by: royer14 - Nov-26-2017, 06:15 PM - Forum: GUI - Replies (4)

I have an issue with StaticText, and I do not know how to make it accept only the following data = '0123456789.' . Of course, when you type any..... More

Print this item

  Need help with my home task Phyton 3
Posted by: Bazzket - Nov-26-2017, 05:54 PM - Forum: Homework - Replies (1)

I am using Phython 3
I need to make a program that asks for the number of people to be transported and the number of seats in a single bus and displa..... More

Print this item

  Need Help
Posted by: wagrig - Nov-26-2017, 05:52 PM - Forum: General Coding Help - No Replies

Need help with the code
def main():
miles=0;class_type=""
#class_type is a string literal so it should=""open quotes and not()
miles=getInput(mile..... More

Print this item

  Help with loop
Posted by: thanikos - Nov-26-2017, 05:16 PM - Forum: Homework - Replies (13)

Hello
Any ideas how to do this:
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 ..... More

Print this item

  ValueError: unknown url type: ' '
Posted by: ozzyk - Nov-26-2017, 04:09 PM - Forum: General Coding Help - Replies (3)

I have this code below that iterate through some tracks. And then for each track I want to use the musixmatch api to get and print the lyrics of the ..... More

Print this item

  need help in natural language processing
Posted by: irsyadfm - Nov-26-2017, 12:47 PM - Forum: Homework - Replies (7)

Hello guys,, Smile Smile

I have a task about NLP programming and I'am still beginner in this programming.

The program is about how th..... More

Print this item

  Text editing with python
Posted by: UK_SPB - Nov-26-2017, 08:17 AM - Forum: General Coding Help - Replies (1)

Hi, I have a *.txt 3d scan file in the form of x,y,z...

-43.9017 58.4327 8.0448 0.5321
-43.9031 58.4574 8.0457 0.4800
-43.9247 58.4600 8.0505 0.5..... More

Print this item

  random syntax errors
Posted by: s4lty_b0i - Nov-26-2017, 04:28 AM - Forum: General Coding Help - Replies (3)

trying to code the motor drivers for my robot but every time i type def it gives me an error, like actuallt every function is an error, no idea why
..... More

Print this item

Question Helping understand classes
Posted by: Miraclefruit - Nov-26-2017, 03:54 AM - Forum: General Coding Help - Replies (10)

According to the solutions, the following code prints out 
Square with side 5.0
Rectangle with area 6.0
Circle with radius 2.0
Square with side 6...... More

Print this item

  Strings with speech_recognition
Posted by: hello_its_me - Nov-25-2017, 10:25 PM - Forum: General Coding Help - Replies (7)

Hi everyone,
I am trying to build my own google assistant but I got a problem I've already got the speech recognition but the problem is how do I sep..... More

Print this item

  can´t store the mbid - `KeyError: 'mbid'`.
Posted by: ozzyk - Nov-25-2017, 09:52 PM - Forum: General Coding Help - Replies (7)

I'm getting the tracks of some albums from lastfm. Then for each track I'm getting some information (title, number, artist, etc). Then, I want also to..... More

Print this item

  Replace all alpha characters within double quotes with underscores?
Posted by: walterbyrd - Nov-25-2017, 09:25 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

  Google search
Posted by: hello_its_me - Nov-25-2017, 07:47 PM - Forum: General Coding Help - Replies (10)

Hi everyone,
I am just playing around with Python3 and I wonder how I can open a browser and search for something automatically. I found some ideas ..... More

Print this item

  Windows/linux shell emulation
Posted by: AceScottie - Nov-25-2017, 07:35 PM - Forum: General Coding Help - Replies (3)

hello. 
I'm looking for a way to run commands and execute programs on both windows and Linux system to make my servers more accessible than running m..... More

Print this item

  Netmiko - add multiple files, from different folders to mail.
Posted by: tomikovaknin - Nov-25-2017, 07:16 PM - Forum: General Coding Help - Replies (5)

Hi all

im trying to get some reports from my network devices with netmiko.
i implement script that log into list of devices and runs commands from..... More

Print this item

  Checking for items in variable
Posted by: AnOrdinaryFolk - Nov-25-2017, 06:36 PM - Forum: Homework - Replies (3)

I have a very simple issue that i just can't get right.
It is strange because i remember being able to do this. But now the code i always used to us..... More

Print this item

  Iterating over pandas.df to check for values out of range
Posted by: Padowan - Nov-25-2017, 05:23 PM - Forum: Homework - Replies (14)

Hello!

I am taking a introductory course in python programming at uni., 3 weeks in., and have been assigned to make a student grading script.

I ..... More

Print this item

  I don't know if it's my error or Python error
Posted by: SkitzGerald - Nov-25-2017, 03:38 PM - Forum: General Coding Help - Replies (13)

[python]import random
from random import randint
x = [random.randint(1,100)]

print("Guess a number between 1 and 100.")

while True:
guess = ..... More

Print this item

  If else help
Posted by: thanikos - Nov-25-2017, 01:41 PM - Forum: Homework - Replies (10)

Hi everyone
I' just started with python and i am not so good with math...but i am trying. I need some help with my homework to:

[b]"Create a little p..... More

Print this item

  split the line fixed length tokens
Posted by: bb8 - Nov-25-2017, 01:40 PM - Forum: Homework - Replies (5)

[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

  Parallel processing and distributed computing with Python
Posted by: GarlicScience - Nov-25-2017, 12:38 PM - Forum: News and Discussions - Replies (5)

What are the most popular approaches for parallel processing and distributed computing using Python.

1. Does it worth to use Python for such tasks?..... More

Print this item

  No menu bar in window
Posted by: bde69 - Nov-25-2017, 11:22 AM - Forum: GUI - Replies (5)

Hello,

Please could you help me to understand why I cannot properly run this code under mac OS :

[python]
#!/usr/bin/python
# coding: utf-8
..... More

Print this item

  session command
Posted by: Skaperen - Nov-25-2017, 08:32 AM - Forum: Code sharing - Replies (5)

file session.py is a command i created to start background screen sessions set to the same terminal geometry as started from, if available, or a speci..... More

Print this item

  function intx()
Posted by: Skaperen - Nov-25-2017, 08:32 AM - Forum: Code sharing - Replies (3)

file intx.py (or seen below) is the function i wrote to extend int() by interpreting digits by s base..... More

Print this item

  How to get python to read my file correctly?
Posted by: candylicious - Nov-25-2017, 08:19 AM - Forum: General Coding Help - Replies (7)

[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 the i..... More

Print this item

  ErrorName: Window size
Posted by: jvlivz - Nov-25-2017, 07:58 AM - Forum: Data Science - Replies (11)

[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

  chr() for bytes
Posted by: Skaperen - Nov-25-2017, 03:29 AM - Forum: General Coding Help - Replies (10)

you can make a single character string with the specific code you want with chr() passing to it an int with the intended code and getting a ret..... More

Print this item

  Importing modules
Posted by: Pistolpete - Nov-25-2017, 03:15 AM - Forum: General Coding Help - Replies (2)

I'm having a problem with importing modules.how do I get python to read my modules?
İmage

Print this item

  string conversion like in source code
Posted by: Skaperen - Nov-25-2017, 02:55 AM - Forum: General Coding Help - Replies (4)

in Python source code, strings can be written with certain backslash codes like 'foo\nbar' will have a len() of 7 and print with 'foo..... More

Print this item

  "List index out of range" for output values
Posted by: pegn305 - Nov-24-2017, 09:44 PM - Forum: Homework - Replies (3)

[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

  How can I access the corpus
Posted by: PythonNewbie - Nov-24-2017, 02:51 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

  How to manipulate csv 2
Posted by: Prince_Bhatia - Nov-24-2017, 06:51 AM - Forum: General Coding Help - Replies (4)

hi,

I have a csv file (attached the file with the name professional_data.csv)
in the attached format has few columns KeyXID,Structural Engi..... More


Attached Files

.csv   professional_data.csv (Size: 3.36 KB / Downloads: 880)
Print this item

  Write Variable String To CSV Cell
Posted by: digitalmatic7 - Nov-24-2017, 06:34 AM - Forum: General Coding Help - Replies (1)

Hey guys,

How would I go about writing data into a specific CSV cell?

example

[python]x = "true"

list(csv.reader(open('test.csv', 'w')))
..... More

Print this item

  repetition of tasks
Posted by: lpcoutinho - Nov-24-2017, 01:37 AM - Forum: Web Scraping & Web Development - Replies (1)

Good night I have a need and starting from it I decided to learn to program.
Among the languages ​​I researched I think PYTHON can help me and not be..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 2 hours ago nathanael SledgeNE General Codin...
  sorting a lisr of file pa... 6 hours ago Skaperen Skaperen News and Disc...
  conditional nested loops 7 hours ago Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 15:33 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... 578975
  Tutorial Requ... 510517
  Web Scraping ... 441992
  Newbie with P... 386013
  New Users Int... 377091
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
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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