instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have three columns employeeID, intime and outtime.I want to get only first intime and last outtime of the day. Table structure: EmployeeID Intime OutTime 1 2008-01-13 08:10:04.000 2008-01-13 09:03:42.000 2 2008-01-13 09:10:04....
stackexchange/codereview
I realise this question may be a bit vague or I may be using incorrect terminology, that is because I am trying to get to grips with this stuff :). I have a requirement to implement digital signing of a XML message by using a dsig:Signature section. I think I understand this process; I will use a private key to sign i...
stackexchange/codereview
Programming languages are defined via a grammar, e.g. Java is defined in the JLS, see here This is a minimal, "compressed" grammar, no construct is used twice: the result are - for me - unuseful grammar descriptions like MethodDeclaratorRest which is appended to the MethodOrFieldDecl as you can see here, I'd call it th...
stackexchange/codereview
I am getting paging issue when i delete the final record from last page, how can i resolve the paging issue, pls view the screen shot which i have attached. In Store save event i will reload the store for update the grid for remote sort. like this var fGridStore = new Ext.data.Store({ proxy:ApGrpFGrdProxy, ...
stackexchange/codereview
I am using ImageMagick to programmatically reduce the size of a PNG image by reducing the colors in the image. I get the images unique-colors and divide this by 2. Then I assign this value to the -colors option as follows: variable = unique-colors / 2 convert image.png -colors variable -depth 8 I thought this would sub...
stackexchange/codereview
Does anyone know how to enforce that all tests pass before a TFS check in?
stackexchange/codereview
Hey guys. Having trouble here. Have to webhotels with same MySQL and PHPmyadmin versions, but reacts different. Mayb something with the MySQL.ini. How can I rewrite this into ON, from Using. SELECT wiederquist_elearn_question.idelearn_question AS idelearn_question, idelearn_answer, idelearn_user, name, email, address,...
stackexchange/codereview
Is there a way within the entity framework designer to duplicate an entity and then apply a filter condition to both to make them unique. Id like to retain all navigation properties and what not. For example, say in the database I had a table of orders. I could have two entities, one called IncompleteOrders and One cal...
stackexchange/codereview
I have read this tutorial Integration SVN and setuped BugzID for the my project. So, Currently I have another problem, My project is in development and may be added new files or modules, how do automatically add BugzID to the new files or modules ? Thanks.
stackexchange/codereview
When I'm debugging a site, sometimes the hovered selectors are a little long winded and similar to other ones, is there a way to apply a kind of "sticky" state to hover rules in Firebug? Example; I hover over a nav bar and want to copy the selector out of firebug to search in the CSS, but as soon as I move my mouse, t...
stackexchange/codereview
I want to use the above code for one more argument, sayargs[2]. Where should I make changes? Will nextline remain the same or does it become nextline[1]?
stackexchange/codereview
I created a thread in my activity, and that thread will print out the value of my instance variables in my activity after running for about 10 seconds. I pressed the back key to destroy my activity before the thread prints out the values, and when the thread reaches that line of code, it can still print out the values ...
stackexchange/codereview
I have a NetBeans 6.9.1 project with libraries stored in the netbeans project directory option checked. I also have some ant build scripts mounted in my project. Now when i run any ant target (including the simplest possible ones like clean), or when i build the project from the IDE, i get the following output at the ...
stackexchange/codereview
i have, (in Linq), an IEnumerable of type Client. Now i have to return a Generic List of type ClientVM. ClientVM is a subset of Client (not a subtype or anything), and i can't get it to work. Below is the code i have so far, but it doesn't work this way. But maybe this code can give you an addition to my post to specif...
stackexchange/codereview
I'm working on web application which, among other things, needs to save small file to particular folder on user's hard drive whenever user clicks a button. That file will serve as input for another desktop application so it must be saved in predefined folder and predefined format. "Save as..." and save dialog would be ...
stackexchange/codereview
When I subtract 1 day from a datetime object, it does as it is supposed to, it subtracts one day. but if I use diff() to compare 2 datetime objects it then subtracts the day again. You can see in the following code example: $currTime = new DateTime(); $lastPurge = new DateTime("14:33"); $lastPurge->sub(new DateInterval...
stackexchange/codereview
I have an ASX stream that I would like to play on my Windows Phone 7. It appears that WP7 cannot handle client-side playlists, like an ASX file. So what do I do now? When I break into the ASX file, I see it's actually a mms:// stream with no file extension, so I can't even point to the raw file. How do I proceed from...
stackexchange/codereview
hi all i just wanted to know whether we can declare variable name as structure name. for example typedef struct { char c; }t; then in some function can i use fun() { t t; } is this valid? if so then how compiler differentiate between them?
stackexchange/codereview
I have a repo with 30k+ small files, and I can only access the server over the internet via https://. Checkout are very, very slow. On the order of hours. Internet connection speed is ~20Mbs and local machine is 3Ghz multi-core & 10k RPM HD. (svn:// protocol is not an option, sadly.) So my question: Can svn do a mul...
stackexchange/codereview
Using javascript, I'm creating some html content--some nested divs that are styled via a style sheet. After calling $(container).html(dhtmlString) I the attempt to do some calculation for layout purposes. However the values I am getting back from jQuery do not match the expected values when running in Safari and Chrome...
stackexchange/codereview
I have a message.properties file which contains: success_text=How cool... You have guessed the number. {0} is correct! I have a JSF which contains: <h:outputText value="#{msg.success_text}" > <f:param value="#{numberBean.userNumber}" /> </h:outputText> No matter what the value of is, the HTML comes out: How co...
stackexchange/codereview
I am wondering, is it possible to display images in python?
stackexchange/codereview
I am having trouble mirroring a byte and cannot find any techniques through google. What I am trying to accomplish is mirror the contents of a byte, aka: 10000000 = 00000001 10010111 = 11101001 etc... I am using assembly embedded into C in Visual Studio 2010. Thank you in advanced for your time and help Edit: Speed is...
stackexchange/codereview
I'm creating a xml sitemap! There is a limit of 50k urls or 10MB size limit. Is there a way to check the size of file and write to a new xml file when a size limit of 10MB is reached? I'm using XmlTextWriter(C#) to create xml files
stackexchange/codereview
I am forced into parsing some HTML on the client side (and yes this really is the only option in this case), but I am having a bit of trouble in Firefox only with the following: $('#Extensions').load('/advanced/admin/config.php?type=setup&display=extensions #container li' ,function(){ $('li').each(function(){ ...
stackexchange/codereview
I have a VideoPlayer in a Flex 4 application. The whole application is the VideoPlayer plus some error handling (if no url was specified via flashVars, if the url does not point to a flv file etc). How can I make the embedded SWF file dimmensions match the ones in of the video source for the VideoDisplay component, ple...
stackexchange/codereview
I currently have one view that I would like to split up into many different formats, each with a different ctp. I'm looking to provide the page formatted specifically for certain devices, with a template for each of PC, Kindle, iPhone, etc. Is there a canonical way of switching between views like this? The URL should...
stackexchange/codereview
Can I use Ajax with Spring MVC with out <mvc:annotation-driven/> ? I yes the how would I map my controller in app-servlet.xml ? I have seen many examples with annotation but nothing without annotation :( thanks.
stackexchange/codereview
I generally avoid std::list, but in a case where I'm storing pointers, would it be more advantageous to use a std::list since I could then randomly insert pointers without having to move all my other pointers? What advantages and disadvantages would this present over a std::vector<Some*> Thanks
stackexchange/codereview
I created a Timer class at server side, i display the timer using h:outputLabel but it display once although the timer still running, how can i update the h:outputLabel value without refresh the whole jsf page?
stackexchange/codereview
I need to get the pointer to the terminating null char of a string. Currently I'm using this simple way: MyString + strlen(MyString) which is probably quite good out of context. However I'm uncomfortable with this solution, as I have to do that after a string copy: char MyString[32]; char* EndOfString; strcpy(MyString,...
stackexchange/codereview
How do I interpret the returned array from build-in method getPixels for a Bitmap? Here is my code: public void foo() { int[] pixels; Bitmap bitmapFoo = BitmapFactory.decodeResource(mContext.getResources(), R.drawable.test2); int height = bitmapFoo.getHeight(); int width = bitmapFoo.getWidt...
stackexchange/codereview
i want to select from 2 different objects in Linq in order to compare them. This is what i tried, var myItem = (from abc in firstList.Value from cds in secondList where (abc.Key.theKey == cds.secondList.theSecondKey select cds).SingleOrDefault(); although i get an error: Type...
stackexchange/codereview
I would like to know if I can execute any code when my app is being (or after it's) installed on an iOS device, actually I can execute the code when the user runs the app for the first time but I don't want the first run to take so long Thank you,
stackexchange/codereview
Assume two sets of strings: [ "Mr. Jones", "O'Flaherty", "Bob", "Rob Jenkins" ] [ "Maxwell O'Flaherty", "Robert Jenkins", "Mrs. Smith" ] It is obvious that those two sets have Maxwell O'Flaherty and Robert Jenkins in common. Is there any algorithm that will allow us to do such matching programatically? I am thinking o...
stackexchange/codereview
If an user has an iPad and iPhone, and synchronizes an Universal app which has stored files in the Documents directory in one of these devices (say iPhone), do these files become available to the other device (say iPad) after synchronizing?
stackexchange/codereview
I am trying to write my own edit-in-place using jQuery. My code is something like this; $(".comment-edit").bind({ click: function(){ commentId = $(this).parent().parent().attr("id"); commentEditable = $("#"+commentId+" .comment-text"); if (commentEditable.hasClass('active-inline')) { ...
stackexchange/codereview
I've done this before on another machine and the setup is almost identical. However, its just not working on the new machine. When I try and get Doctrine to generate my models, its putting them in the wrong place. Its creating an extra "Model" directory both for the base classes as well as the regular classes. I'm usin...
stackexchange/codereview
I have a small application that uses Entity Framework to expose information to an oData service. I need to allow my web server to call a SQL sproc for auditing purposes. What technology should I use to keep the app "clean"? Should I follow these directions for EF3.5? Should I use ADO.NET? Linq2SQL? Should I upgrad...
stackexchange/codereview
Can someone explain how we can use Audio Queue services to record sound from Microphone and play it live? Explain how we can achieve it. If possible give code snippets.
stackexchange/codereview
I just created a generator for some fluent interfaces. Now I have lots of code looking like this: new MyFluentInterface() .setFirst( "first" ) .setSecond( "second" ) .setThird( "third" ) .invoke( obj ); I like the indentation shown above, but I can't find a way to configure eclipse to indent this corre...
stackexchange/codereview
Below is the code which creates 9 buttons in gridlayout form on a specific pannel3. What i want is to make the background of each button black with grey text over it. Can anyone help please? for(int i=1;i<=9;i++) { p3.add(new JButton(""+i)); }
stackexchange/codereview
EDIT: Better yet, I do this with no errors and no records inserted: var myTopLevelEntity = _DC.TopLevelEntity.Where( p => p.ID = 1).First(); var newEntity = new Entity(); newEntity.pocofield = ""; // set all primary keys and poco fields newEntity.TopLevelEntity = myTopLevelEntity; _DC.Entitys.Add( newEntity); I checke...
stackexchange/codereview
We have JAVA JEE5 enterprise application consisting of a web module and an app client running on glassfish. We need to set authentication against active directory. I am aware that it is easy to set up LDAP based authentication for a web module or application client module but they are asking us to pick up the credentia...
stackexchange/codereview
i wanted to show an image, only when the person starts typing into the text field. i.e. $('#type').keyup(function(){ //show the images }); html <input type="text" name="type" id="type"> <div id="showimage"></div> image showimage.jpg
stackexchange/codereview
I have a global struct that I use within threads, that I create utilizing pthread.h. There are concurrent threaded events updating variables within it. Therefore my data within the struct often is out of sync, as I found out via extensive debugging. There's no keyword like "synchonized" (Java background) in C afaik. S...
stackexchange/codereview
I am somewhat confused about how the group by command works in mysql. Suppose I have a table: mysql> select recordID, IPAddress, date, httpMethod from Log_Analysis_Records_dalhousieShort; +----------+-----------------+---------------------+-------------------------------------------------+ | recor...
stackexchange/codereview
How can I check to see if an element in an array is empty in C? if(array[i] == NULL) Doesn't seem to work.
stackexchange/codereview
What's the proper way to store dates in Common Lisp? The closest thing I found to an answer is this, which doesn't really seem to cut it for me.
stackexchange/codereview
I am trying to learn a little bit of jquery and more about the kohana framework. Ok so I wrote a simple test script to grab some entries from a database. The php works as in it returns the row in a json format, but I guess my jquery isn't working. The json is suppose to return multiple rows so I want it to add all of...
stackexchange/codereview
I have a requirement where in there is a big XML document. I have to select lot of nodes using XPath from the document based on some condition. Then after I select the XmlNodes, I have to add new properties to the selected nodes and insert it back in many places in XmlDocument. I found out that when I modify the select...
stackexchange/codereview
I'm making a Chrome Extension that manipulates the current tabs. When I give it the specific URL, it works. <html> <script> function updateUrl(tab){ var newurl = "http:www.google.com"; chrome.tabs.update(tab.id, {url: newurl}); } chrome.browserAction.onClicked.addListener(function(tab) {updateUrl(tab);...
stackexchange/codereview
What is the file, where database setting are stored in Joomla CMS? Like server, user name, database name and password? Something like WordPress wp-config.php file.
stackexchange/codereview
I have Swing Java application manifesting an error on linux, which I need to fix. The main problem is getting linux environment, and I'm unwilling to install one because I have a remote linux box already. Now, the GUI part, how would I run xterm on windows? I made several shots in the dark: installed XMing, and then go...
stackexchange/codereview
I am running a c program on a CentOS 5.5 computer. The program runs a loop that performs tests over and over until told to stop by an external source. By necessity I am using an old driver for a PCI card that communicates with my test system. Since upgrading from CentOS 4.5 to 5.5 I have noticed I can only loop throug...
stackexchange/codereview
I'm doing some work with the Parser API in Spidermonkey. The docs show that there's a binary operator ... Anybody have any idea what this is/does? I'd love to know. I've never seen it before. If I were forced to guess, I'd have to say it's something with E4X, but that's only because I know nothing about E4X.
stackexchange/codereview
I am relatively new to web Development and am experimenting with various development methods. I am currently developing in a bash shell using emacs on my external development server. I edit my files and view the site on the development server. At the end of the day I commit the changes that I have made to my repositor...
stackexchange/codereview
I want to write out quotes to be in the file and I don't know how the syntax should look. ofstream file("myfile.txt"); if ( file.is_open()) { file << "\n"; file << ""type of file""<< "=" << '\n'; // obviously this is wrong file << "name = \n"; } I want the text file to look like so:...
stackexchange/codereview
I have a complex animation sequence involving fades and transitions in JavaScript. During this sequence, which consists of four elements changing at once, a setTimeout is used on each element. Tested in Internet Explorer 9, the animation works at realtime speed (it should take 1.6 seconds and it took exactly 1.6 second...
stackexchange/codereview
I would love to hear performance recommendation regarding image desaturation. I want to have an animation from desaturated to saturated image, and vice versa. So far I manage to use a jquery plugin to animate them on the fly. But just wonder about the performance implication with hundred of thumbnails on a page. Which ...
stackexchange/codereview
I've got a class that looks like this: public class KpiValue { public string ID { get; set; } public string NAME { get; set; } public string ORG_UNIT_ID { get; set; } public string SITE_ID { get; set; } public string AREA_ID { get; set; } public double? VALUE { get; set; } } And correspon...
stackexchange/codereview
i am trying to write a blog application with CodeIgniter just for practice and using php (of course) i just wanted to ask that which approach should i choose? i am planning to write a Blog class with the basic following functions: Insert(), Update(), Read(), Delete() now i want to ask if i should add the comment logic ...
stackexchange/codereview
how can i set timeout for webBrowser navigate (url) event c# netframework 4.0
stackexchange/codereview
What I would like to accomplish is: when user goes to www.mysite.com, then depending on whether he is logged in or not, he would see either login page or his home page. I do not want to redirect to other pages, I want the url to show as www.mysite.com in both cases. Kind of like when you go to facebook.com, it will eit...
stackexchange/codereview
I am assembling a bunch of video clips filmed on the iPhone in portrait mode. To assemble them I am taking straightforward approach as follows: AVURLAsset to get hold of the different videos then shoving these into an AVMutableCompositionTrack and then putting this into an AVMutableComposition which I'm exporting to ...
stackexchange/codereview
I have the following problem: I make a custom hosts file to test some features of my application and then push it to my android emulator. The thing is that these settings do not take effect immediately. I have to wait about 10 minutes before they become active. So my question is: how to make the new hosts file active ...
stackexchange/codereview
I have learned from somewhere that if I have a unordered collection (eg. a list of things to buy) I should use an object literal in Javascript. And if I have an ordered list (eg. a list of things to buy in prioritized order) I should use an array. Array: priorityList = [ "computer" "mouse" "pen" ] My question...
stackexchange/codereview
In college today we made a simple forum in procedural PHP. My homework is to make it so that it's in OOP (for comparison), this is where I'm stuck. In OOP a class should only do one thing, right? So a Topic class should allow a topic to be created, set whether replies are allow, and get its replies... This is what I go...
stackexchange/codereview
For an application I am developing, we allow users to add a link to their Facebook Page (strictly page, not Profile, not Group, only a Page). I cannot find anything about validating whether the URL I received (server-side, PHP) is actually a valid Page URL. Even better if I can get the "true" URL information, i.e. minu...
stackexchange/codereview
I have a preparedStatement called PrepStatement which contains a Select Query like Select a, b from abc where ab="cd". executed below ResultSet selectParams = PrepStatement.executeQuery(); Is there anyway i can get the executed Query with parameters passed from ResultSet object? I can get it from PrepStatement object...
stackexchange/codereview
I’m using jQuery for my project. $(function(){...}) fires the function “when the DOM is ready” — this doesn’t say that all images are loaded, right? Is there an event that gets fired when every image is loaded too?
stackexchange/codereview
I have an application that in the admin area there is options such as Background image: [ File Upload ] Top Illustration: [ File Upload ] and in the front end I want to easily attach this info to the CSS, maybe teh simply way should be .background { background: url(<%: Model.BackgroundUrl %>); ... } I current...
stackexchange/codereview
I'm creating an application that basically downloads and uploads files from various types of locations. I asked some advice on here and I was told that I should take an Object Oriented Approach with something like this, but this is my first real usage of OOP so I'm having a hard time understanding how to carry out what...
stackexchange/codereview
I have a WP7 app with two lists (ItemsControl) in a stackpanel. I use three different FluidMoveBehaviors, one for the stackpanel children and one for each ItemsControl children. When I click item in the top list they are moved to the bottom list. Since the first list will shrink the second list will animate up a bit to...
stackexchange/codereview
I write an App that shows all it's information in a UITableView. Now I use the UIViewController to show 2 UITableViews inside of it. The first UITableView shows the primary information ( this works fine ). But now I want to show an advertisement in my App. I decided to use a second UITableViewController with just one U...
stackexchange/codereview
I'm creating a simple matching game for kids for iPad. All images are drawn on buttons. When a matching pair is found, [matchedBtn1 removeFromSuperview];1 [matchedBtn2 removeFromSuperview]; Now, I'm creating a reset function which allows player to reset the once he/she is done. Question is how do I re-add the UIButtons...
stackexchange/codereview
I am writing a web application with Google App Engine in Python that enables users to read books. I'd like to enable only administrators to add information about books and the contents of book pages to the website. When restricting access to certain pages with the app.yaml configuration, such as below, is it necessary...
stackexchange/codereview
I talked yesterday to an Android app developer for a few minutes and he showed me a really cool feature: automated app crash reports reported directly inside a Google spreadsheets. Basically he made the app crash on purpose using some kind of easter eggs, then went on his Google docs accounts and, sure enough, the bug ...
stackexchange/codereview
I'm using System.Net.Sockets.TcpClient class but whenever I send custom packet over the network I'm seeing bad checksum on my wireshark capture. How can I fix it?
stackexchange/codereview
I am trying to join my table in rails way. this is the sql query SELECT * FROM `ads` left join `state` ON ads.state_id = states.id
stackexchange/codereview
I've been looking the source code available from the Restlet official tutorial. I am trying to hit the Restlet server using the Android app from he tutorial adn I only get the JSON response, not the Java Object. I tried using all libraries and extensions, nothing works. When I hit the tutorial url though ( http://restl...
stackexchange/codereview
I have a page with a static header and footer which is displayed throughout the whole pages. I then have an iframe which is displayed between the header and footer. Currently, the iframe has a static height. I would like to adjust the height depending on the height of the inner page, since the iframe contains an applic...
stackexchange/codereview
I want to sort items in the datagrid alphabetically by name.The order should be: 1) The name should first check for upeercase of the name if it is not then it should look for lowercase for the same letter alphabetically. For example : if i have array of items say{Apple,boy,ant,Bat) then after sorting the list shld be A...
stackexchange/codereview
Possible Duplicate: What's the shebang (#!) in Facebook and new Twitter URLs for? This question may have been asked before so bear with me. #! (pound exclamation) is not a great search term neither on this site nor on google. So anyway, I'm noticing a lot of facebook urls with these two characters in them. What is i...
stackexchange/codereview
I am interested in implementing an Augmented Reality application for mobile phones using Adobe Flash Platform. Can you please let me know if any sources is available for me to find out how to start? I'm not sure what software I need to use to implement AR but as I can understand I need: ARToolKit Marker Generator to c...
stackexchange/codereview
I'm trying to test a c++ code on an Nunit framework but I keep getting the following Exception System.Runtime.InteropServices.SEHException : External Component has thrown an exception. which is supposedly perfectly normal (I assume) anyway I wanna ignore it. (i.e. Use ExpectedException) This is my .h file [Test, Desc...
stackexchange/codereview
My images should be cached so that they are not downloaded more than once. They should only be updated if an image name is not currently stored locally. How should an app cache images and use them locally without downloading again on BlackBerry?
stackexchange/codereview
For example: http://jqueryui.com/demos/progressbar/#animated The progress bar has it's progress increasing from 0 to 100 percent but it still has some animation to it. This helps show the user something is still happening even if the bar is stopped at one point for a moment. When I set the progress bar to indeterminat...
stackexchange/codereview
I have a nice piece of functional and tested Ruby code that I would like to integrate into a rails project: require 'open-uri' def shorten(url) open("http://is.gd/api.php?longurl=#{url}").read rescue nil end I want to call the method shorten(url) from show.html.erb in the following way: <% @shorturl = shorten("h...
stackexchange/codereview
I have already read the Instapaper API page, but it only explains how to: Authenticate a user. Add an article to read later. What I would like is information to programmatically: Retrieve a list of the articles in the "Read Later" list. Archive, favourite, put in a folder, delete a given article from the list. Creat...
stackexchange/codereview
I would like to set up a table within a SQL Server DB that stores the results from a long and complex query that takes almost an hour to run. After running the query the rest of the analysis is done by colleagues using Excel pivot tables. I would prefer not to output the results to text, and want to keep it within SQL ...
stackexchange/codereview
can any body guide me weather i use a name/value .NET Collection or a .NET name/value Dictionary for best performance? What is the best approach please? My application is ASP.NET, WCF/WF Web Application. There should be a range of 10 to 30 entries per collection. I also will need users to potentially change a couple en...
stackexchange/codereview
CreateFileMapping and MapViewOfFile, and then we do I/O with a function like memcpy. Just use Read/WriteFile. Is the first one faster than second? I don't understand that. Why is it faster? If we use a section object, then we can get more cache benefits from VMM or Cache Manager?
stackexchange/codereview
Best Online Open source Project manager/Task Manager???
stackexchange/codereview
What's the difference between TimerTask and Thread in Java and Groovy?
stackexchange/codereview
Short question is: is the following (an id under another id) not recommended for bloating up the CSS file size? #product-box #product-photo { width: 200px } details: Sometimes in SASS, we might have #product-box margin-top: 20px #product-photo width: 200px this way, it means it is "nested" -- that is, #pro...
stackexchange/codereview
I have a little problem. I know that its possible to configure sub domains on my local Machine using host file settings and creating new WEBSITE within iis 7. Let's say I have an IIS web site. And within it I have another web application defined as application folder not just as a virtual folder (which runs it under sa...
stackexchange/codereview
I have a plenty of them of different form and types. Of course I will not store a bitmap as const, and I know about localization strings, but what should I do with other constants?
stackexchange/codereview
I have two jbuttons (left and right on jslider) and one jslider. On pressing mouse on left Jbutton, jslider needs to be move towards left. On pressing mouse on right Jbutton, jslider needs to be movew towards right. Please help me how can i solve this. Thanks Jyoti
stackexchange/codereview
I have a directory that stores all the .py files. bin/ main.py user.py # where class User resides dir.py # where class Dir resides I want to use classes from user.py and dir.py in main.py. How can I import these Python classes into main.py? Furthermore, how can I import class User if user.py is in a sub direc...
stackexchange/codereview