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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

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

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
2 hours ago
» Replies: 8
» Views: 8,371
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
3 hours ago
» Replies: 3
» Views: 1,757
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 3
» Views: 277
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 696
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 784
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,029
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,672
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,713
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 330
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 565

 
  Building first python program. Need a little guidance.
Posted by: Chrislw324 - Oct-24-2018, 09:58 PM - Forum: General Coding Help - Replies (6)

Hey. I'm Chris. I'm new to this forum and pretty new to python too. I've learned enough that I want to try building a small program that I can actuall..... More

Print this item

  Difference between return and print
Posted by: DragonG - Oct-24-2018, 05:56 PM - Forum: General Coding Help - Replies (9)

For this code, why can't you just replace return with print? What is the difference between return and print, explained so that a beginner can underst..... More

Print this item

  for-loop issue
Posted by: digysol - Oct-24-2018, 05:56 PM - Forum: General Coding Help - Replies (2)

I have a function with a for-loop containing a large (32) number of statements. But, the for-loop performs only 1 iteration. I double checked the code..... More

Print this item

  Community/Team Projects?
Posted by: WuchaDoin - Oct-24-2018, 05:06 PM - Forum: News and Discussions - Replies (3)

My learning curve is seeming to flat line, not because of lack of research, but from the constant effort of improving what's currently written, unders..... More

Print this item

  Python Flask Dependent Dropdown
Posted by: Anfaa - Oct-24-2018, 04:37 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I was wondering if one of you could possibly help me with a problem I'm having. The details are listed in the stack overflow link, please a..... More

Print this item

  New Crowdsourcing project 10,000 Lincoln letters discovered
Posted by: Larz60+ - Oct-24-2018, 04:17 PM - Forum: Bar - No Replies

There's a new Crowdsourcing project at the US Library of Congress to review and transcribe 10,000 new letters to president Lincoln.
If this interest ..... More

Print this item

  Full Screen Display
Posted by: daven2411 - Oct-24-2018, 04:08 PM - Forum: General Coding Help - Replies (1)

I am completely new to Python so I don't know where to start. My requirement seems pretty straight forward. I have a file on a SCO UNIX box which cont..... More

Print this item

  A CLI based Dice Roller.
Posted by: Ablazesphere - Oct-24-2018, 03:48 PM - Forum: Code sharing - Replies (10)

Please like if you liked my code. Tongue Tongue

[python]
import random
import time

choice = 'y' or 'n'
x = 0

input_1 = input("P..... More

Print this item

  Different runtime programs
Posted by: mhvozdesky - Oct-24-2018, 02:48 PM - Forum: General Coding Help - Replies (1)

Hello!
Why does the speed of performance of functions differ depending on where they are launched?
If I run in the console - program runs faster than ..... More

Print this item

  Read from a file, get user input in a while loop
Posted by: lynden - Oct-24-2018, 11:59 AM - Forum: General Coding Help - Replies (8)

Below is the code i have created for a music quiz game, firstly i need to know how to print the first letter of each song, and fix the while statement..... More

Print this item

  Finding and indexing maximum value
Posted by: BlueBall - Oct-24-2018, 10:29 AM - Forum: General Coding Help - Replies (2)

I have a large grid, but let's say it is 4 cells wide and 3 cells high. Index of the first cell is 0 and it starts bottom left, finishes in the uppe..... More

Print this item

  VSCode can't select interpreter
Posted by: Larz60+ - Oct-24-2018, 09:07 AM - Forum: General Coding Help - Replies (8)

I've been fighting this for a week (or more) now, without success.
I am running a virtual environment, and the terminal shows proper python, etc.
ho..... More

Print this item

  convert words to nums and vica versa
Posted by: Nimtram - Oct-24-2018, 07:17 AM - Forum: Homework - Replies (5)

Hi everyone,

just started learning python3 at university. We got a homework and I do not litterally know where to start.
We are asked to make a pr..... More

Print this item

  How I can limit quantity of parallel executable tasks in asyncio?
Posted by: AlekseyPython - Oct-24-2018, 06:55 AM - Forum: General Coding Help - Replies (1)

Python 3.7.1

I will write program which connection to internet- resource for getting information. Scraping will take about 1 week, and I can create..... More

Print this item

  Numpy DOT vs Matmul
Posted by: shankar - Oct-24-2018, 06:32 AM - Forum: Data Science - No Replies

I used np.dot() and np.matmul() both are giving same results.Are they same for any dimensional arrays?

How broadcasting works for np.dot() with dif..... More

Print this item

  Getting Max retries exceeded with url
Posted by: rameshpuruganti - Oct-24-2018, 06:31 AM - Forum: Web Scraping & Web Development - Replies (1)

I am running automation script using selenium with python. Automation framework is built using python unittest framework. When i run the test case i a..... More

Print this item

  Scrape java script web site
Posted by: PythonHunger - Oct-24-2018, 05:01 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
I just want scrap java script web site.
url : https://www.mcxindia.com/market-data/bhavcopy
Can anyone help me on this.

Thanks in advance

Print this item

  Python / Spyder portable for Windows
Posted by: codekodo - Oct-24-2018, 03:04 AM - Forum: News and Discussions - No Replies

Hi guys

For our students we needed an easy way to use Python and Spyder on Windows in a classroom. And something easy to launch. So, we developed a..... More

Print this item

  how to create qt plugins
Posted by: pyuser123 - Oct-24-2018, 02:14 AM - Forum: GUI - Replies (3)

dear forum members,

I am new to python GUI development. I'd like to make a simple application which I can extend by plugins.

How can I write a..... More

Print this item

  How to split a string containing function calls?
Posted by: Metalman488 - Oct-24-2018, 01:00 AM - Forum: General Coding Help - Replies (4)

So I am working on a program that takes function calls like:
add(2,2)
multiply(1,2)
add(add(2,2),6)
multiply(add(add(1,3),2),3)
add(add(2,2),add(..... More

Print this item

  Python Code Assistance
Posted by: bfpa40 - Oct-24-2018, 12:46 AM - Forum: General Coding Help - Replies (2)

How can I make the attached Python3 code report back for ONLY 5 sets of MegaMillions Numbers and have that be EMailed to me? It currently cheks for 12..... More

Print this item

  Dice roller with Tkinter GUI
Posted by: Yojul - Oct-23-2018, 11:37 PM - Forum: Code sharing - Replies (1)

GUI
[python]
from tkinter import *
import dice_roller

root = Tk()


class App:

def __init__(self, master):

self.title = Label(master..... More

Print this item

  Converting from HEX to ANSI
Posted by: Blackklegend - Oct-23-2018, 10:54 PM - Forum: General Coding Help - Replies (5)

[Image: sHuf4GL]

I am basically searching for a script to convert a Hex string to Windows(ANSI)

Print this item

  Do I always have to use triple quotes or \n for multi-line statements?
Posted by: DragonG - Oct-23-2018, 07:27 PM - Forum: General Coding Help - Replies (3)

Which multi-line statements do not require me to use triple quotes or \n? I am new to Python. Thanks for answering.

Print this item

  What are "__builtins__"?
Posted by: microphone_head - Oct-23-2018, 06:16 PM - Forum: Bar - Replies (5)

Hi all,

Does anyone have any useful links or can give any help on what "__builtins__" are? I did a "dir()" in my shell and noticed this. Does thi..... More

Print this item

  find hidden python files
Posted by: bobsmith76 - Oct-23-2018, 06:10 PM - Forum: General Coding Help - Replies (4)

I have a built-in operation which is eating up 74% of the run time in my code and I'm having a very difficult time tracking down its location. If look..... More


Attached Files

Thumbnail(s)
   
Print this item

  Using dir() as an autocomplete feature?
Posted by: microphone_head - Oct-23-2018, 06:03 PM - Forum: Bar - Replies (3)

Hi all,

I have been toying with the idea of making a python IDE Think . I was wonder about how to implement an autocomplete feature and belie..... More

Print this item

  utf-8 error with pandas read_csv
Posted by: logues - Oct-23-2018, 05:25 PM - Forum: Data Science - No Replies

I'm trying to read in several large data files (~600-700k rows) as dataframes so I can clean and append them to create a large panel dataset. When I'm..... More

Print this item

  Odd pow Behavior
Posted by: ichabod801 - Oct-23-2018, 05:24 PM - Forum: News and Discussions - Replies (1)

I was doing some unit testing and came across something odd:

[python]
>>> -2 ** 4
-16
>>> pow(-2, 4)
16
>>> import operator
>>> operator.pow(..... More

Print this item

  Udp broadcast programming project
Posted by: oredri269 - Oct-23-2018, 05:09 PM - Forum: Networking - No Replies

hello,

i got a project to create a UDP broadcast programming -

create a system that sends a broadcast of a message alert to all the systems t..... More

Print this item

  Installing pip packages on Windows 10 tablet
Posted by: jazmad - Oct-23-2018, 04:52 PM - Forum: Data Science - Replies (5)

I have Python 3.7 installed on my Windows 10 PC and Windows tablet. On the PC, I am able to install pip packages using command prompt no problem. Howe..... More

Print this item

  How to compare timestamps in python
Posted by: asad - Oct-23-2018, 03:34 PM - Forum: General Coding Help - Replies (2)

I have just playing with python , I am stuck for the following problem :

file1 :
Patching tool version 12.1.0.2.0 Production on Fri Feb 23 01:10:2..... More

Print this item

  PyCharm Help
Posted by: benevolentbagelbites - Oct-23-2018, 01:06 PM - Forum: Homework - Replies (4)

I started to learn how to open files up in PyCharm; however, the file will 'open' using open(), but then nothing else in the program will execute. No..... More

Print this item

  CRUD performing but output not shown in table format in flask
Posted by: lunchcook - Oct-23-2018, 01:00 PM - Forum: Web Scraping & Web Development - Replies (2)

I am developing a basic crud operation type site. I am able to add the elements into DB by clicking submit in the form but the redirecting to the tabl..... More

Print this item

  Installing Homebrew on my mac; non computer-savvy person
Posted by: duongtn34 - Oct-23-2018, 08:34 AM - Forum: General Coding Help - Replies (1)

I am working through a book to learn python on version 2.7. I need to download homebrew as part of a project in the book. As required, from homebrew's..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 2 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 3 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... 9 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577099
  Tutorial Requ... 499956
  Web Scraping ... 440826
  Newbie with P... 384819
  New Users Int... 369006
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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