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,821
» Latest member: leonard
» Forum threads: 37,507
» Forum posts: 170,419

Full Statistics

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

Latest Threads
Help with cursor in termi...
Forum: Board
Last Post: Gribouillis
3 hours ago
» Replies: 1
» Views: 67
os.listdir() and follow_s...
Forum: General Coding Help
Last Post: bowlofred
3 hours ago
» Replies: 5
» Views: 237
Is it possible to multi l...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 5
» Views: 123
How to parse and group hi...
Forum: Homework
Last Post: Pedroski55
4 hours ago
» Replies: 2
» Views: 309
matplotlib chart text fon...
Forum: Data Science
Last Post: deanhystad
7 hours ago
» Replies: 2
» Views: 82
Invalid Date Format fo Ca...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:04 PM
» Replies: 1
» Views: 84
Simple Game - Choice Base...
Forum: Game Development
Last Post: alanbriggs
Yesterday, 01:17 PM
» Replies: 4
» Views: 3,034
Print the next 3 lines
Forum: General Coding Help
Last Post: andraee
Yesterday, 12:26 PM
» Replies: 3
» Views: 164
Do you know any cool serv...
Forum: Bar
Last Post: Gribouillis
Yesterday, 06:51 AM
» Replies: 1
» Views: 112
argparser not showing all...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 02:54 AM
» Replies: 1
» Views: 107

 
  Help (Syntax error)
Posted by: Vqlk - Apr-06-2019, 06:24 PM - Forum: General Coding Help - Replies (1)

This code is not working:
[python]import time
guess = ''
answer = ''
points = 0
lives = 9
heart = u"\u2661"
def correct():
points += 1
..... More

Print this item

  Visual Studio 2019 and Neuron
Posted by: JamesBrown - Apr-06-2019, 05:12 PM - Forum: GUI - No Replies

I am trying to use VS 2019 Community for Python. I have it up and running but am having trouble loading the NEURON (7.2536.15) package.
It is in my l..... More

Print this item

  Trouble writing over serial
Posted by: EngineerNeil - Apr-06-2019, 05:04 PM - Forum: General Coding Help - Replies (1)

Hello all,

I am trying to get my BeagleBone Black to communicate with a Microcontroller (CC1310 Launchpad) over serial.
When I connect the Microc..... More

Print this item

  Simplifying a rather short code
Posted by: schniefen - Apr-06-2019, 04:38 PM - Forum: Homework - Replies (1)

The code below represents plotting the real and imaginary part of a complex number, given by the function r*np.exp(x*1j), where r and x are fixed in t..... More

Print this item

  Creating a Mindmap program
Posted by: J_Miller - Apr-06-2019, 03:23 PM - Forum: General Coding Help - Replies (3)

Hello !

To go forward in my programming journey I'd like to start some serious practice by creating a mindmap program (..... More

Print this item

  what IDE for windows
Posted by: MrMajorThorburn - Apr-06-2019, 01:49 PM - Forum: News and Discussions - Replies (2)

I have been using AutoHotKey for running a game simulating a player.
This has been reasonably successful but have come up with some problems that I c..... More

Print this item

  Get variable from another class
Posted by: Golfball2k6 - Apr-06-2019, 12:46 PM - Forum: General Coding Help - Replies (1)

Very new to Python and programming in general. I've watched videos and read tutorials about class variables, but I can't get it through my head how to..... More

Print this item

  Getting error "Type error-a bytes-like object..."
Posted by: mrapple2020 - Apr-06-2019, 07:04 AM - Forum: General Coding Help - Replies (1)

Script explanation: I connect to network routers. I execute 3 commands and save output for later examination.

Problem:
I am getting an error rela..... More

Print this item

  Using Data from an Array
Posted by: Tomington - Apr-06-2019, 06:45 AM - Forum: Homework - Replies (1)

G,Day everyone :)

so my class has been given a assignment to make a currency converter. what we are asked to do is. read data from csv file and get a..... More

Print this item

  Subtacting times
Posted by: Confused - Apr-06-2019, 02:31 AM - Forum: Homework - Replies (2)

2. Write your code to calculate an array called **opening_duration_list**
that stores the opening duration of all medicare offices.
Store the a..... More

Print this item

  what does # -*- mean?
Posted by: Skaperen - Apr-06-2019, 02:05 AM - Forum: News and Discussions - Replies (5)

i see this a lot and even use it myself:

# -*- coding: utf-8 -*-
i would like to know what the -*- part means, or at lea..... More

Print this item

  Need help.
Posted by: msp1981 - Apr-06-2019, 01:26 AM - Forum: Homework - Replies (5)

Below, is an assignment I was given, first of all I'm no where near this level in math yet but the math operation line for this should be something li..... More

Print this item

  Packaging a single module(file) with a non-code file
Posted by: runsun - Apr-06-2019, 12:31 AM - Forum: General Coding Help - Replies (2)

I'm trying to package my single-file tool with a README.md file for [font=Courier New, Courier, monospace..... More

Print this item

  Time question
Posted by: Confused - Apr-05-2019, 04:30 PM - Forum: Homework - Replies (11)

1. Define a function called compute_opening_duration to calculate the duration of the opening time.
The function takes two strings: the opening ti..... More

Print this item

  pool map cycle
Posted by: skorost5 - Apr-05-2019, 04:27 PM - Forum: General Coding Help - Replies (5)

Trying to run twice pool map cycle.
[python]
from multiprocessing import Pool
b=["0","0","0","0","0","0"]

def f©:
b[5]=c
return b
f..... More

Print this item

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

[python]
S = input('Please enter something : ')

S = int(S)

T = S
for i in range(S+1):
T = S - T
for j in range(T):
T = T - 1
..... More

Print this item

  Please check code
Posted by: Evgeniy2019 - Apr-05-2019, 04:07 PM - Forum: Homework - Replies (4)

The program below implements computer
assistant, who asks the user day, month
and year of birth, and then display the age in years, months, and
day..... More

Print this item

  Why thread and queue only process the last row
Posted by: kinojom - Apr-05-2019, 03:08 PM - Forum: General Coding Help - No Replies

[python]
CSv
date,ref_num,desc,debit,credit,payee_id,code,name

2019-01-31,L00001,john,30.00,,150,500,johnkino
2019-01-31,L00001,john,,30..... More

Print this item

  Trouble Understanding Why This Code Works
Posted by: crocolicious - Apr-05-2019, 02:48 PM - Forum: General Coding Help - Replies (2)

Hello Community,
I'm studying a practice exam and the following question does not make sense to me. The answers have been provided but I'm still uns..... More

Print this item

  Working with date indexes (pandas)
Posted by: dervast - Apr-05-2019, 01:29 PM - Forum: Data Science - No Replies

Hi all,
I have a dataset with time stamps and I am happy that I can use timestamps as indexes.
I have an issue though that I do not know how, I can..... More

Print this item

  Tried everything
Posted by: Confused - Apr-05-2019, 01:27 PM - Forum: Homework - Replies (6)

Sorry for asking really simple questions. I've been trying for hours with no luck.

1. Print the number of unique stations

[python]import numpy a..... More

Print this item

  Changing small letter.
Posted by: pawlo392 - Apr-05-2019, 12:49 PM - Forum: Homework - Replies (1)

I want to write generator, which will be change the first letter of the names from list. I have to use "for" and "yield". I thought about something li..... More

Print this item

  Access-Control Tracker - My Tkinter GUI...
Posted by: Ceegen - Apr-05-2019, 12:04 PM - Forum: Code sharing - Replies (1)

This is the full code thus far of something I am working on right now.
Would love a critique and suggestions for improvements.
Been attempting to lear..... More

Print this item

  Process finished with exit code -107374819 (0xC0000375)
Posted by: mrazko - Apr-05-2019, 11:16 AM - Forum: General Coding Help - Replies (2)

Hi.
Please I would like to ask you for help. I'm getting this exit code: Process finished with exit code -107374819 (0xC0000375). Is it possi..... More

Print this item

  Python Maze Game by Christian Thompson
Posted by: ninedeadeyes - Apr-05-2019, 09:37 AM - Forum: Game Development - Replies (2)

Here is a thread to share any ideas or advancement regarding Christian Thompson " Python Maze Game "

Just finished the tutorial myself but hoping t..... More

Print this item

  Similarity network
Posted by: Absolumentpasadrien - Apr-05-2019, 09:36 AM - Forum: Homework - Replies (3)

Hello all,

I have to write a code to convert a .blastp file into a .sif one. For those of you that don't know what these are, a .blastp file look l..... More

Print this item

  Sort MULTIDIMENSIONAL Dictionary
Posted by: mirinda - Apr-05-2019, 08:38 AM - Forum: General Coding Help - Replies (2)

Hi all,

Im trying to order a Multidimensional dictionary with no success. I get the dict by a function and the result is like this:

[output]{'Nu..... More

Print this item

  Putting text on images from excel/csv file
Posted by: sam77am - Apr-05-2019, 07:06 AM - Forum: General Coding Help - Replies (1)

Hello Guys,
I am new in python.

I am looking for python programming where I can write specific text on specific images with updated in csv/excel...... More

Print this item

  hexadecimal world
Posted by: Skaperen - Apr-05-2019, 05:39 AM - Forum: Bar - Replies (3)

i am thinking of hacking a version of the python interpreter to use hexadecimal (which i call "cetal"), without the leading "0x", as the default every..... More

Print this item

  Find 'greater than' items in list
Posted by: johneven - Apr-05-2019, 04:39 AM - Forum: Homework - Replies (2)

rainfall_mi is a string that contains the average number of inches of rainfall in Michigan for every month (in inches) with every month separat..... More

Print this item

  a less challenging project idea
Posted by: Skaperen - Apr-05-2019, 04:25 AM - Forum: News and Discussions - Replies (2)

this one is not as hard as my last one. it is more about getting all the details right so it works correctly and gracefully in all case..... More

Print this item

  Problems using Kivy in Pycharm
Posted by: Exsul - Apr-05-2019, 02:37 AM - Forum: GUI - Replies (1)

Anybody have experience using Kivy in Pycharm? I'm going through this video tutorial, but when I type "buildo..... More

Print this item

  Need someone to help me edit this script
Posted by: edlentz - Apr-04-2019, 09:00 PM - Forum: General Coding Help - Replies (1)

I found a script that will send SIP messages to devices. It uses a template to setup the info to be sent. The template is this
[icode]NOTIFY sip:un..... More

Print this item

  Best way to support multiple keys in dictionaries
Posted by: mrapple2020 - Apr-04-2019, 08:22 PM - Forum: General Coding Help - Replies (3)

Hi, imagine I have this situation:

[python]>>> ip1 = "1.1.1.1"
>>> ip2 = "2.2.2.2"
>>> ip3 = "3.3.3.3"
>>>
>>> elements = {ip1+','+ip2:'100'}
..... More

Print this item

  Virtual Environments
Posted by: pneveux - Apr-04-2019, 07:56 PM - Forum: General Coding Help - Replies (1)

I'm relatively new to Python. I've always been told to use a virtual environment when developing a project to make sure that updated packages won't b..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with cursor in termi... 3 hours ago river251 Gribouillis Board
  os.listdir() and follow_s... 3 hours ago Skaperen bowlofred General Codin...
  Is it possible to multi l... 3 hours ago BrandonKastning Gribouillis General Codin...
  How to parse and group hi... 4 hours ago ann23fr Pedroski55 Homework
  matplotlib chart text fon... 7 hours ago Knabbler deanhystad Data Science
  Invalid Date Format fo Ca... Yesterday, 19:04 jland47 deanhystad General Codin...
  Simple Game - Choice Base... Yesterday, 13:17 theor alanbriggs Game Developm...
  Print the next 3 lines Yesterday, 12:26 knob andraee General Codin...
  Do you know any cool serv... Yesterday, 06:51 Cook3Aaron Gribouillis Bar
  argparser not showing all... Yesterday, 02:54 bigal deanhystad General Codin...
  maxsplit question Yesterday, 02:54 tester_V tester_V General Codin...
Most views
  The best Prog... 466603
  Web Scraping ... 345609
  Tutorial Requ... 335231
  Newbie with P... 281694
  Thread remain... 266573
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 341
deanhystad 313
Most replies
  New Users Int... 432
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11884
buran 8093
snippsat 7108
deanhystad 6277
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
leonard Yesterday
PythonHelpNC Yesterday
Knabbler Yesterday
alanbriggs Yesterday
Annelogic Yesterday

User Panel Messages

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