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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,824

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 36 Guest(s)
Google, Bing, popejose

Latest Threads
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
15 minutes ago
» Replies: 6
» Views: 317
New to python and coding
Forum: Homework
Last Post: lary_p
4 hours ago
» Replies: 5
» Views: 143
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 91
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 225
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 351
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 136
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,636
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 231
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 223
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,684

 
  Playing mp3 from variable
Posted by: mstone326 - Aug-31-2017, 01:06 AM - Forum: General Coding Help - Replies (2)

Very much a beginner and just messing around having fun with Python. I'm working on a Raspberry Pi with Raspbian.

I put together the code below on Py..... More

Print this item

  How to print database column types?
Posted by: Fran_3 - Aug-31-2017, 12:33 AM - Forum: General Coding Help - Replies (3)

I've started to experiment with python database and have the simple demo below working.

BUT, I'm concerned about the date column in the table... it..... More

Print this item

  whats wrong with this code?
Posted by: Hussein26 - Aug-31-2017, 12:26 AM - Forum: General Coding Help - Replies (9)

It seems if I try to type anything other than "Italy" or "italy", it still prints out ("I love that place, same here"), which supposed to print "not b..... More

Print this item

  Filter list respecting seniority & no more than 3 same number
Posted by: Azerate - Aug-30-2017, 09:18 PM - Forum: General Coding Help - Replies (18)

General idea:

Number are 1 to 6
Each Person chooses 5 number.
Seniority is 1 the oldest & 5 the newest
If number repeat after 3 times, select next av..... More

Print this item

  isinstance not outputting anything
Posted by: mikerosz94 - Aug-30-2017, 08:39 PM - Forum: General Coding Help - Replies (3)

My code is not outputting anything when using isinstance. This is shown at the end of the code. I tried inputting year 1 and tla_2=1, and no out..... More

Print this item

  Can not download the PDF
Posted by: thomas2004ch - Aug-30-2017, 08:16 PM - Forum: Web Scraping & Web Development - Replies (34)

Hi all,

I try to download a PDF file. The following is my program. By running there is no error. But as I open the downloaded PDF file, it jus cont..... More

Print this item

  [split] Rearranging CSV columns and rows
Posted by: Ivan1 - Aug-30-2017, 07:00 PM - Forum: General Coding Help - Replies (1)

Thank you so much - it worked! I followed your exact instructions and it worked perfectly. I now have both values for 'entityCommonStockSharesOutstand..... More

Print this item

  dynamically create a list
Posted by: wfsteadman - Aug-30-2017, 05:34 PM - Forum: General Coding Help - No Replies

greetings all,
I think my question is a simple one. At the base of it, I am trying to get python to generate an empty list based on the value in a..... More

Print this item

  TypeError: initial_value must be str or None, not bytes
Posted by: new2py - Aug-30-2017, 04:25 PM - Forum: General Coding Help - Replies (4)

Hello, I am new to Python, got my first script (that I found online) working. The problem is my PyCharm trail period has expired, so I just installed..... More

Print this item

  Why isn't this code working?
Posted by: Hussein26 - Aug-30-2017, 04:03 PM - Forum: General Coding Help - Replies (3)

I'm fairly new to python and just started yesterday. I gathered the most that I know and formed a little game or set of questions that the user would ..... More

Print this item

  Saving shell command into a List
Posted by: steackfrite - Aug-30-2017, 01:45 PM - Forum: General Coding Help - Replies (4)

Hello all!

Kindly find below what I'm trying to do and what is my issue.

Goal :
Execute shell command "ls -l" and save the result into a list...... More

Print this item

  automating cli configs using python
Posted by: yumapath - Aug-30-2017, 12:50 PM - Forum: General Coding Help - Replies (1)

Hi ,

I have a scenario wherein i have a list of CLI (1000)in a file to be configured on the box. i should be configuring the cli's using combinatio..... More

Print this item

  List data-member of object not updating inside loop.
Posted by: Sagar - Aug-30-2017, 12:10 PM - Forum: General Coding Help - Replies (2)

Hi all,

I am new to Python programming and I am trying to write a code on sentiment analysis. I am taking dataset from the contents of text files (..... More

Print this item

  Selenium to pick data from excel and enter into backend
Posted by: Prince_Bhatia - Aug-30-2017, 10:32 AM - Forum: Web Scraping & Web Development - No Replies

Hi,

i have created a script that would enter enter data into backend but all the values are pre defined in it...all i want is that script should pi..... More


Attached Files

.xlsx   options_book.xlsx (Size: 9.46 KB / Downloads: 672)
Print this item

  tip calculator not displaying proper dollar format
Posted by: Crackity - Aug-30-2017, 08:26 AM - Forum: Homework - Replies (15)

Howdy y'all, Smile

I am working from a self-teach book and at the end of chapter 2 I have been given the challenge of creating a tip calculat..... More

Print this item

  python append
Posted by: dwiga - Aug-30-2017, 07:08 AM - Forum: Homework - Replies (5)

I am stuck on my code,
that's why I coming here because a lot of python master that solve my question...


[python]
a = "1,2,3"
ax = a.split(","..... More

Print this item

  Where can I find a little project example using main.py and other files
Posted by: sylas - Aug-30-2017, 06:15 AM - Forum: General Coding Help - Replies (7)

Hi all ! 9If you know a game example or whhatever else, using many files, I should be very glad. Thanks

my code here

Print this item

  SyntaxError
Posted by: woehl - Aug-30-2017, 03:54 AM - Forum: General Coding Help - Replies (2)

Started in Python yesterday. Why this code returns "SyntaxError: Missing parentheses in call to 'print'"
On the Forum interpreter it runs with no err..... More

Print this item

  What this code will output and why?
Posted by: Valgard - Aug-30-2017, 02:49 AM - Forum: Homework - Replies (4)

Today I meet this exercise:

What this code will output and why?

[python]x = [[]]*3
x[0].append('a')
x[1].append('b')
x[2].append('c')
x[0]=[..... More

Print this item

  read python and php from a file and copy them to their own files to execute
Posted by: Myersj281 - Aug-30-2017, 01:27 AM - Forum: General Coding Help - Replies (10)

I have this function here to read python and php from a single script and create a file for each and paste their code into them accordingly. Execution..... More

Print this item

  reading and writing to a text file help
Posted by: jobemorgan - Aug-29-2017, 08:40 PM - Forum: General Coding Help - Replies (4)

I am trying to create a program where the code asks questions and puts it into a text file. Is there any errors here or am I missing something out
[..... More

Print this item

  inserting value into strings
Posted by: Saxycool12345 - Aug-29-2017, 08:27 PM - Forum: General Coding Help - Replies (8)

so hi I am a complete noob at python and only started learning the basics I tried to create many random things which seem to work but I have no idea h..... More

Print this item

  Calculation using group by and pandas
Posted by: sarabi1005 - Aug-29-2017, 08:13 PM - Forum: Data Science - No Replies

I want to groupby the below data using "datetime" and calculate the 1. duration of delays and 2. count of the delays.

Here is the data:

coded_d..... More

Print this item

  Functions and program question
Posted by: Zei - Aug-29-2017, 01:30 PM - Forum: Homework - Replies (7)

I don't know how to combine the function and the program I've already done the codes just not combining it. If I can help on this it will be great :)..... More

Print this item

  Unresolvable traceback | Tensorflow
Posted by: MrGrimod - Aug-29-2017, 11:28 AM - Forum: Data Science - No Replies

Hello,
first of all, I am a total beginner in terms of TensorFlow, therefore I ask for forbearance. So, let s get to my problem. I am building a RNN ..... More

Print this item

  recursion for lists
Posted by: lavanya - Aug-29-2017, 10:42 AM - Forum: General Coding Help - Replies (2)

my question here
Hello everyone,
I have a multi dimensional list with 4 parameters
array1 = [[array_size,full_type,child={},size],
[arra..... More

Print this item

  lookin to swap and study
Posted by: defenderofthebit - Aug-29-2017, 09:20 AM - Forum: Bar - No Replies

working on a tutorial currently at http://anh.cs.luc.edu/handsonPythonTutor...ntext.html an i am looking for a person or people to work with me, ta..... More

Print this item

  Twitter scraping exclude some data
Posted by: Robbert - Aug-29-2017, 08:43 AM - Forum: General Coding Help - Replies (6)

Hello everyone! Im new here and im also new to python. Im eager to learn python because the possibilities are immense. Currently im working on a twitt..... More

Print this item

  new and looking for specific type of help
Posted by: defenderofthebit - Aug-29-2017, 07:44 AM - Forum: General Coding Help - Replies (8)

so, the general request for this thread is for other coder's to expound upon the code and comments which i will include below. i am teaching myself py..... More

Print this item

  Which versions of ipython implement --classic correctly
Posted by: penguian - Aug-29-2017, 06:03 AM - Forum: General Coding Help - Replies (3)

In my PyClical software, I include doctests. To run these doctests as part of a larger test suite, [url=..... More

Print this item

  Problem writing code with my pseudocode
Posted by: MattWilk97 - Aug-29-2017, 01:17 AM - Forum: Homework - Replies (1)

Hello everyone, first time posting here. I was assigned the task of preparing a flowchart and pseudocode for a program that, when given a numerical in..... More

Print this item

  How to use positional arguments
Posted by: RedSkeleton007 - Aug-29-2017, 01:07 AM - Forum: General Coding Help - Replies (1)

I tried to test my program (I'm using IDLE), but I got the following error in Python 3.6.2 Shell:
[color=#E74C3C]TypeError: textinput() missing 1 req..... More

Print this item

  Bike Cadence/RPM displayed via Raspberry Pi 3 on Pimoroni Blinkt
Posted by: Ramasen - Aug-28-2017, 10:03 PM - Forum: News and Discussions - Replies (8)

Hi,

I want to make a cadence/RPM -Raspberry Pi based LED display mounted on my handle bar so I can see my RPM while mountainbiking.
It needs to s..... More

Print this item

  pseudo code for a quiz
Posted by: tsaward - Aug-28-2017, 09:43 PM - Forum: Homework - Replies (4)

Im in need of a lot of help, i suck at coding and pseudo code! im doing my GCSE next year so once of my holidays I'm going to speak to my tutors, here..... More

Print this item

  can't import module
Posted by: ckb - Aug-28-2017, 09:24 PM - Forum: General Coding Help - Replies (1)

Hi! New here, hope you guys can help.

My computer runs Windows 7 and I'm trying to install the module ovr from github (google "pyovr" to find it.. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 15 minutes ago yutaozhou noisefloor News and Disc...
  New to python and coding 4 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578910
  Tutorial Requ... 510105
  Web Scraping ... 441936
  Newbie with P... 385951
  New Users Int... 376684
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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