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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,557

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 6
» Views: 728
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
7 hours ago
» Replies: 0
» Views: 56
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
10 hours ago
» Replies: 8
» Views: 457
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,833
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 701
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,231
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,803
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,204
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,162
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,465

 
  Please help with AttributeError: 'Netz' object has no attribute 'conv'
Posted by: DerBerliner - Feb-27-2019, 04:01 PM - Forum: Data Science - Replies (2)

Can you please hepl me with this code:
[python]import torch
import torch.nn as nn
import torch.nn.functional as f
import torch.optim as opt..... More

Print this item

  Select next file in directory and keep track of what's already been selected
Posted by: loganpmgoa - Feb-27-2019, 03:24 PM - Forum: General Coding Help - Replies (2)

I need to make a python script where it'll select the next file in a currently open directory that it hasnt already selected. it needs to work with th..... More

Print this item

  py2exe failed to compiled
Posted by: gahhon - Feb-27-2019, 12:36 PM - Forum: General Coding Help - Replies (9)

I am using Python 3.7.2 and py2exe 0.9.2.2
I have followed the tutorial from Py2exe Tutor[url=https://python-forum.io/thread-16419.html]..... More

Print this item

  output list reducing each time through loop
Posted by: 3Pinter - Feb-27-2019, 11:28 AM - Forum: General Coding Help - Replies (6)

In getting empty lists as output, and that is something I don't get.

Expected:
[1,2,3,4,5]
[2,3,4,5]
[3,4,5]
[4,5]
[5]

[python]
a = [1,2,3..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 6 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 7 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... 10 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577307
  Tutorial Requ... 500551
  Web Scraping ... 440980
  Newbie with P... 385014
  New Users Int... 369473
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+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Today
sophielane Today
Oscar0057 Today
Cromulent Today
PhamMaria Today

User Panel Messages

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