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,305
» Latest member: rajatkumar
» Forum threads: 38,799
» Forum posts: 175,904

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, Facebook

Latest Threads
How Aviator Game is Devel...
Forum: General Coding Help
Last Post: rajatkumar
24 minutes ago
» Replies: 0
» Views: 4
Python is not working on ...
Forum: General Coding Help
Last Post: lary_p
3 hours ago
» Replies: 3
» Views: 98
No new line from print in...
Forum: General Coding Help
Last Post: bowlofred
4 hours ago
» Replies: 2
» Views: 34
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 8
» Views: 645
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,804
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 131
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 112
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 200
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,211
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 309

 
  Mysterious Extra New-Line
Posted by: trevorkavanaugh - Feb-27-2019, 06:56 AM - Forum: General Coding Help - Replies (2)

Hey,

So I am doing exercises out of a Python book I am reading and for some reason this code is printing two new-lines between "- turkey" and "- ba..... More

Print this item

  NameError x not defined
Posted by: Bruizeh - Feb-27-2019, 06:02 AM - Forum: Homework - Replies (5)

Hello, my class just began functions() and defining them but I'm stuck rn.

[python]def greeting():
print("Hello, welcome to the Calculator App..... More

Print this item

  Async socket server and ports
Posted by: Pengwyn - Feb-27-2019, 05:24 AM - Forum: Networking - Replies (1)

Hi guys, first time posting on the Python forums

I am wondering how do asynchronous socket servers go about maintaining so many clients, specifical..... More

Print this item

  Multiply Two Time Series: Not Working
Posted by: brandonfoo - Feb-27-2019, 05:15 AM - Forum: General Coding Help - No Replies

Hi folks,

I am trying to multiply two time series shown below with the following command but the output is NaN.

Can someone help me?
[output..... More

Print this item

  Run .py file in Kali Linux Terminal
Posted by: grayarea3 - Feb-27-2019, 04:30 AM - Forum: General Coding Help - Replies (4)

How do I run a .py file in the Kali Linux terminal?

I changed my directory to the directory containing my file, used the chmod a+x <myfilename> co..... More

Print this item

  Help with finding vowels
Posted by: nlord7 - Feb-27-2019, 03:49 AM - Forum: Homework - Replies (1)

Im fairly new to programming, so apologies for the silly mistakes. Im trying to find words with 10 or more vowels in them given a .txt file. However, ..... More

Print this item

  switch case with range
Posted by: jun - Feb-26-2019, 09:51 PM - Forum: Homework - Replies (3)

I'm new to python and working on some homework.

[python]def letter(i):
switcher={
0:'a',
1:'b',
2:'c'
..... More

Print this item

  Retrieve output from telnet command
Posted by: Networker - Feb-26-2019, 09:32 PM - Forum: Networking - Replies (1)

Hey, everyone. I'm a networking student who has recently began to dip his toe into learning python. I'm having fun learning it but i'm definitely a be..... More

Print this item

  Can't change the colour of Tk button text
Posted by: Pilover - Feb-26-2019, 09:25 PM - Forum: GUI - Replies (6)

Please help! This code doesn't work, but doesn't produce an error.

from tkinter import *
master = Tk()
button = Button(master, text="some text", ..... More

Print this item

  [split] Calculate Times
Posted by: dhodgens - Feb-26-2019, 07:38 PM - Forum: Homework - Replies (3)

I'm new to Python and I'm trying to calculate the following time:

start_hour = 3
start_minute = 48
length = 172


The variables above represen..... More

Print this item

  rename many pdf'S in a directory
Posted by: deep_logic - Feb-26-2019, 07:19 PM - Forum: General Coding Help - Replies (3)

Hi all,
I'm trying various ways to rename a bunch of pdf's in a directory. I have autocad batch print 50 files to adobe pdf. The problem is the defaul..... More

Print this item

  Help with homework
Posted by: alexisnoel13 - Feb-26-2019, 06:36 PM - Forum: Homework - Replies (1)

https://www.chegg.com/homework-help/ques...on-store-q..... More

Print this item

  Scrape ASPX data with python...
Posted by: hoff1022 - Feb-26-2019, 06:16 PM - Forum: Web Scraping & Web Development - No Replies

I'm trying to use python to scrape an ASPX page for data.

Website:
https://safer.fmcsa.dot.gov/query.asp

Select: US DOT Number
Data to enter: ..... More

Print this item

  please help with this question about using operators to multiply a string?
Posted by: GilesTwigg - Feb-26-2019, 05:33 PM - Forum: General Coding Help - Replies (3)

[python]mystery_string = "ABCDE"

#You may modify the lines of code above, but don't move them!
#When you Submit your code, we'll change these line..... More

Print this item

  Is there such thing as an international python qualification or certificate?
Posted by: SteampunkMaverick12 - Feb-26-2019, 04:53 PM - Forum: News and Discussions - Replies (1)

I am a young person in the UK who wants to have a job in the IT sector. Is there an internationally recognised qualifications or certificates for Pyth..... More

Print this item

  How to make this simpler.
Posted by: leoahum - Feb-26-2019, 04:35 PM - Forum: General Coding Help - Replies (7)

[python]D = ['a','b','c','d','e']

l = [[233,'a'],[321,'a'],[445,'b'],[322,'c'],[123,'c'],[12312,'c'],[456,'d'],[334,'e']]


ND = {}

for x in ..... More

Print this item

  object detection program
Posted by: netrudra5 - Feb-26-2019, 04:01 PM - Forum: General Coding Help - No Replies

whenever i try to run the following code the following error is coming............

deep_learning_object_detection.py: error: argument --video: expe..... More

Print this item

  missing 1 required positional argument error
Posted by: nikos - Feb-26-2019, 03:09 PM - Forum: General Coding Help - Replies (3)

I'm receiving the following error:

[error]
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/bottle.py", line 862, in..... More

Print this item

  Scanning files to rename other files in the same folder.
Posted by: msd1391 - Feb-26-2019, 03:07 PM - Forum: General Coding Help - Replies (6)

I'm fairly new to programming and python in general. At my office, my manager allowed me to write some code to help our department convert invoices th..... More

Print this item

  hide encrypt verification on URL
Posted by: metulburr - Feb-26-2019, 03:00 PM - Forum: Bar - Replies (1)

In firefox/chrome, does anyone know how to hide the encryption URL on the address bar? What is shown on the attached image.

The reason is because w..... More


Attached Files

Thumbnail(s)
   
Print this item

  String Method 'find(...)'.
Posted by: ClassicalSoul - Feb-26-2019, 02:30 PM - Forum: General Coding Help - Replies (3)

Hi, I have a question about the string method 'find(...)'.

Consider the string 'tomato potato gelato'. How would I frame an optional argument such th..... More

Print this item

  Rewrite a function to make it work with 'bottle-pymysql'
Posted by: nikos - Feb-26-2019, 01:31 PM - Forum: General Coding Help - Replies (1)

Hello,

Can you help me rewrite this function, which when iam using 'pymysql' conncector works normally, it does not when iam using 'bottle_pymysql..... More

Print this item

  Python 3.4: the only release to create .EXE standalone without .dll
Posted by: samsonite - Feb-26-2019, 10:51 AM - Forum: General Coding Help - Replies (7)

Hi all,
I hope that someone disagrees the title assumption, being carried out several tests through v.3.5.1, which reaches differently the goal, as s..... More

Print this item

  Dice game
Posted by: Mazzo76 - Feb-26-2019, 10:18 AM - Forum: General Coding Help - Replies (1)

Anyone know how to make a two player dice game with a scoring system so me and my friend can experiment on python and play each other

Thanks, Mazz..... More

Print this item

  Comparing values in large txt files
Posted by: StevenVF - Feb-26-2019, 09:28 AM - Forum: General Coding Help - Replies (2)

Hello

I got a small assignment to make a script that runs through 2 (or 2-4 if possible) txt files which has quite a lot of lines (one of them is 1..... More

Print this item

  AttributeError: 'tuple' object has no attribute 'move'
Posted by: senfik99 - Feb-26-2019, 09:13 AM - Forum: Homework - Replies (2)

I am really dying to solve this issue. Once I add enemy_0.move() or enemy_0.draw I just get black screen and this error:

https://pastebin.com/HjuWZ..... More

Print this item

  sys library and how to import using conda
Posted by: michavardy - Feb-26-2019, 08:25 AM - Forum: General Coding Help - No Replies

Python cummunity

I am trying at home to use the freecad and pythonOCC libraries.
generally in the past, I have used pip install and it works great..... More

Print this item

  dynamically define class's
Posted by: michavardy - Feb-26-2019, 08:17 AM - Forum: General Coding Help - Replies (1)

Python forum


I am looking for a way to dynamically define class's.


my motivation is to define a material library for my company that will ..... More

Print this item

  MemoryError
Posted by: AwaAgathe - Feb-26-2019, 02:57 AM - Forum: General Coding Help - No Replies

[output]Hello everyone
I have this code but when I run it I get the MemoryError. I am new to coding, please can someone have a look and help me with ..... More

Print this item

  import module error
Posted by: german77 - Feb-26-2019, 01:57 AM - Forum: General Coding Help - Replies (4)

I want to execute a python script from a bash script. But I cant import the mysql.connector module when running the script from snmpd. If I run the py..... More

Print this item

  python scraping all cookies
Posted by: halberdd - Feb-26-2019, 01:08 AM - Forum: Web Scraping & Web Development - Replies (1)

iam trying to post some data to api. but after 3-4 posting, website blocking me and it says you dont have to permission to access. i have a cookies se..... More

Print this item

  A trouble with requests
Posted by: Truman - Feb-25-2019, 11:54 PM - Forum: General Coding Help - Replies (5)

[python]# The following will return a list of 2-grams found in the Wikipedia article on the Python programming language:

import requests
from bs4 imp..... More

Print this item

  Help with passing command line input to HTTP POST json
Posted by: sf05wrx - Feb-25-2019, 10:25 PM - Forum: General Coding Help - Replies (2)

I'm trying to do a HTTP POST request in which I take in input from the user for the json. However, when I use the input from the user my POST doesn't..... More

Print this item

  Help with lists
Posted by: Blaedel - Feb-25-2019, 09:13 PM - Forum: Homework - Replies (5)

Dear friends,

I simply can't get my head around this little problem. I need to randomly choose three words out of a list of words. The chosen word ..... More

Print this item

  webpage input module
Posted by: rudolphyaber - Feb-25-2019, 07:59 PM - Forum: Web Scraping & Web Development - Replies (2)

I need a small text based python program to open a website and allow the user to login by entering their username, password (and answer the security q..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Aviator Game is Devel... 24 minutes ago rajatkumar rajatkumar General Codin...
  Python is not working on ... 3 hours ago lary_p lary_p General Codin...
  No new line from print in... 4 hours ago Lou bowlofred General Codin...
  Help with Serial.write in... 5 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579437
  Tutorial Requ... 512542
  Web Scraping ... 442315
  Newbie with P... 386368
  New Users Int... 380607
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+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rajatkumar Today
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday

User Panel Messages

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