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,402
» Latest member: LewisByday
» Forum threads: 38,825
» Forum posts: 176,038

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 28 Guest(s)
Bing, AOL, Google, Apple, kshahzad1985

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
5 hours ago
» Replies: 2
» Views: 179
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
5 hours ago
» Replies: 29
» Views: 15,715
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
5 hours ago
» Replies: 8
» Views: 3,664
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 180
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 146
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,193
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 221
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,637
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 305
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 268

 
  Text file parsing with python and with a list in grammar
Posted by: pitanga - Aug-31-2017, 01:28 PM - Forum: General Coding Help - Replies (2)

Hello! Smile

Are there people here who know NLP? I have to do a parsing: the goal is to create a grammar rules that will be applied in a cor..... More

Print this item

  Can't attacha ny files onto this forum
Posted by: mikerosz94 - Aug-31-2017, 12:55 PM - Forum: Board - Replies (9)

I do not have the attachments tab under the textbox. Am I suppose to enable something?

my code here

Print this item

  Repost isinstance not outputting any statements
Posted by: mikerosz94 - Aug-31-2017, 12:39 PM - Forum: General Coding Help - Replies (1)

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 outpu..... More

Print this item

  discord bot not working
Posted by: lolteam - Aug-31-2017, 10:48 AM - Forum: General Coding Help - Replies (1)

my question here

[python]import discord
from discord.ext.commands import Bot
from discord.ext import commands
import asyncio

Client = discord..... More

Print this item

  Random number selection
Posted by: stumunro - Aug-31-2017, 09:11 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I'm jumping in at the deep end here (I've literally just started codeacademy).

Basically, I was wondering if you could tell me how ..... More

Print this item

  discord bot
Posted by: lolteam - Aug-31-2017, 08:43 AM - Forum: General Coding Help - Replies (1)

my question here

[python]import discord
from discord.ext.commands import Bot
from discord.ext import commands
Client = discord.Client()
bot_pre..... More

Print this item

  Official: Python is for the rich :)
Posted by: Ofnuts - Aug-31-2017, 08:37 AM - Forum: News and Discussions - Replies (9)

Yet another interesting use of the StackOverflow usage statistics:

https://stackoverflow.blog/2017/08/29/ta...-languages-..... More

Print this item

  Newby to Pyhon
Posted by: garich01 - Aug-31-2017, 08:19 AM - Forum: General Coding Help - Replies (3)

Hi, I am new to this forum and new to Python. I am starting with some very basic scripting to manipulate and manage files. Eventually I want to setup ..... More

Print this item

  Since PyCharm knows which file is "main", how can I tell it "run this project"
Posted by: sylas - Aug-31-2017, 07:00 AM - Forum: General Coding Help - Replies (7)

Hi all ! Since PyCharm knows which file is "main", how can I tell it: "run this project"(instead of "run this file") ? Here below the 2 files. Amazing..... More

Print this item

  parallel processing on Mac
Posted by: ahost - Aug-31-2017, 03:06 AM - Forum: Data Science - Replies (3)

It seems the mutiprocessing module is not Mac compatible? The documentation states: "It runs on both Unix and Windows." I guess Unix could include Mac..... More

Print this item

  is
Posted by: ichabod801 - Aug-31-2017, 02:44 AM - Forum: Board - Replies (1)

I swear I've seen three or four posts in the last couple days using 'is' in place of '=='. Is there some bad tutorial out there teach people this, or ..... More

Print this item

  Artificial Intelligence Machine
Posted by: iQuantum2K - Aug-31-2017, 01:18 AM - Forum: Jobs - Replies (3)

I dont really know how to code so i need someone to code a custom Artificial Intelligence Machine.

The AI Machine has to have Facial Recognition...... More

Print this item

  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: 686)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files 5 hours ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 5 hours ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 5 hours ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580498
  Tutorial Requ... 520266
  Web Scraping ... 442809
  Newbie with P... 387028
  New Users Int... 386887
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
LewisByday Today
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday

User Panel Messages

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